7367dff3729cba2f288d5721c5a5383c091af1ab
[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-08 11:40+0200\n"
11 "PO-Revision-Date: 2010-09-02 14:46+0100\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <LL@li.org>\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 # type: =encoding
19 #: ../src/guestfs.pod:1 ../fish/guestfish.pod:1
20 #: ../test-tool/libguestfs-test-tool.pod:1 ../fuse/guestmount.pod:1
21 #: ../inspector/virt-inspector.pl:36 ../tools/virt-cat.pl:30
22 #: ../tools/virt-df.pl:32 ../tools/virt-edit.pl:31
23 #: ../tools/virt-list-filesystems.pl:28 ../tools/virt-list-partitions.pl:28
24 #: ../tools/virt-ls.pl:31 ../tools/virt-make-fs.pl:33
25 #: ../tools/virt-rescue.pl:29 ../tools/virt-resize.pl:38
26 #: ../tools/virt-tar.pl:30 ../tools/virt-win-reg.pl:34
27 msgid "utf8"
28 msgstr ""
29
30 # type: =head1
31 #: ../src/guestfs.pod:3 ../fish/guestfish.pod:3
32 #: ../test-tool/libguestfs-test-tool.pod:3 ../fuse/guestmount.pod:3
33 #: ../inspector/virt-inspector.pl:38 ../tools/virt-cat.pl:32
34 #: ../tools/virt-df.pl:34 ../tools/virt-edit.pl:33
35 #: ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30
36 #: ../tools/virt-ls.pl:33 ../tools/virt-make-fs.pl:35
37 #: ../tools/virt-rescue.pl:31 ../tools/virt-resize.pl:40
38 #: ../tools/virt-tar.pl:32 ../tools/virt-win-reg.pl:36
39 msgid "NAME"
40 msgstr "名前"
41
42 # type: textblock
43 #: ../src/guestfs.pod:5
44 msgid "guestfs - Library for accessing and modifying virtual machine images"
45 msgstr ""
46
47 # type: =head1
48 #: ../src/guestfs.pod:7 ../fish/guestfish.pod:7
49 #: ../test-tool/libguestfs-test-tool.pod:7 ../fuse/guestmount.pod:7
50 #: ../inspector/virt-inspector.pl:42 ../tools/virt-cat.pl:36
51 #: ../tools/virt-df.pl:38 ../tools/virt-edit.pl:37
52 #: ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34
53 #: ../tools/virt-ls.pl:37 ../tools/virt-make-fs.pl:39
54 #: ../tools/virt-rescue.pl:35 ../tools/virt-resize.pl:44
55 #: ../tools/virt-tar.pl:36 ../tools/virt-win-reg.pl:40
56 msgid "SYNOPSIS"
57 msgstr ""
58
59 # type: verbatim
60 #: ../src/guestfs.pod:9
61 #, no-wrap
62 msgid ""
63 " #include <guestfs.h>\n"
64 " \n"
65 msgstr ""
66
67 # type: verbatim
68 #: ../src/guestfs.pod:11
69 #, no-wrap
70 msgid ""
71 " guestfs_h *g = guestfs_create ();\n"
72 " guestfs_add_drive (g, \"guest.img\");\n"
73 " guestfs_launch (g);\n"
74 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
75 " guestfs_touch (g, \"/hello\");\n"
76 " guestfs_umount (g, \"/\");\n"
77 " guestfs_sync (g);\n"
78 " guestfs_close (g);\n"
79 "\n"
80 msgstr ""
81
82 # type: verbatim
83 #: ../src/guestfs.pod:20
84 #, no-wrap
85 msgid ""
86 " cc prog.c -o prog -lguestfs\n"
87 "or:\n"
88 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
89 "\n"
90 msgstr ""
91
92 # type: =head1
93 #: ../src/guestfs.pod:24 ../fish/guestfish.pod:115
94 #: ../test-tool/libguestfs-test-tool.pod:11 ../fuse/guestmount.pod:16
95 #: ../inspector/virt-inspector.pl:48 ../tools/virt-cat.pl:42
96 #: ../tools/virt-df.pl:46 ../tools/virt-edit.pl:51
97 #: ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40
98 #: ../tools/virt-ls.pl:43 ../tools/virt-make-fs.pl:47
99 #: ../tools/virt-rescue.pl:51 ../tools/virt-resize.pl:50
100 #: ../tools/virt-tar.pl:73 ../tools/virt-win-reg.pl:64
101 msgid "DESCRIPTION"
102 msgstr ""
103
104 # type: textblock
105 #: ../src/guestfs.pod:26
106 msgid ""
107 "Libguestfs is a library for accessing and modifying guest disk images.  "
108 "Amongst the things this is good for: making batch configuration changes to "
109 "guests, getting disk used/free statistics (see also: virt-df), migrating "
110 "between virtualization systems (see also: virt-p2v), performing partial "
111 "backups, performing partial guest clones, cloning guests and changing "
112 "registry/UUID/hostname info, and much else besides."
113 msgstr ""
114
115 # type: textblock
116 #: ../src/guestfs.pod:34
117 msgid ""
118 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
119 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
120 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
121 "qcow2, vmdk."
122 msgstr ""
123
124 # type: textblock
125 #: ../src/guestfs.pod:39
126 msgid ""
127 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
128 "what filesystem is in each LV, etc.).  It can also run commands in the "
129 "context of the guest.  Also you can access filesystems over FUSE."
130 msgstr ""
131
132 # type: textblock
133 #: ../src/guestfs.pod:44
134 msgid ""
135 "Libguestfs is a library that can be linked with C and C++ management "
136 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
137 "PHP, Haskell or C#).  You can also use it from shell scripts or the command "
138 "line."
139 msgstr ""
140
141 # type: textblock
142 #: ../src/guestfs.pod:49
143 msgid ""
144 "You don't need to be root to use libguestfs, although obviously you do need "
145 "enough permissions to access the disk images."
146 msgstr ""
147
148 # type: textblock
149 #: ../src/guestfs.pod:52
150 msgid ""
151 "Libguestfs is a large API because it can do many things.  For a gentle "
152 "introduction, please read the L</API OVERVIEW> section next."
153 msgstr ""
154
155 # type: =head1
156 #: ../src/guestfs.pod:55
157 msgid "API OVERVIEW"
158 msgstr ""
159
160 # type: textblock
161 #: ../src/guestfs.pod:57
162 msgid ""
163 "This section provides a gentler overview of the libguestfs API.  We also try "
164 "to group API calls together, where that may not be obvious from reading "
165 "about the individual calls in the main section of this manual."
166 msgstr ""
167
168 # type: =head2
169 #: ../src/guestfs.pod:62
170 msgid "HANDLES"
171 msgstr ""
172
173 # type: textblock
174 #: ../src/guestfs.pod:64
175 msgid ""
176 "Before you can use libguestfs calls, you have to create a handle.  Then you "
177 "must add at least one disk image to the handle, followed by launching the "
178 "handle, then performing whatever operations you want, and finally closing "
179 "the handle.  By convention we use the single letter C<g> for the name of the "
180 "handle variable, although of course you can use any name you want."
181 msgstr ""
182
183 # type: textblock
184 #: ../src/guestfs.pod:71
185 msgid "The general structure of all libguestfs-using programs looks like this:"
186 msgstr ""
187
188 # type: verbatim
189 #: ../src/guestfs.pod:74
190 #, no-wrap
191 msgid ""
192 " guestfs_h *g = guestfs_create ();\n"
193 " \n"
194 msgstr ""
195
196 # type: verbatim
197 #: ../src/guestfs.pod:76
198 #, no-wrap
199 msgid ""
200 " /* Call guestfs_add_drive additional times if there are\n"
201 "  * multiple disk images.\n"
202 "  */\n"
203 " guestfs_add_drive (g, \"guest.img\");\n"
204 " \n"
205 msgstr ""
206
207 # type: verbatim
208 #: ../src/guestfs.pod:81
209 #, no-wrap
210 msgid ""
211 " /* Most manipulation calls won't work until you've launched\n"
212 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
213 "  * and _before_ other commands.\n"
214 "  */\n"
215 " guestfs_launch (g);\n"
216 " \n"
217 msgstr ""
218
219 # type: verbatim
220 #: ../src/guestfs.pod:87
221 #, no-wrap
222 msgid ""
223 " /* Now you can examine what partitions, LVs etc are available.\n"
224 "  */\n"
225 " char **partitions = guestfs_list_partitions (g);\n"
226 " char **logvols = guestfs_lvs (g);\n"
227 " \n"
228 msgstr ""
229
230 # type: verbatim
231 #: ../src/guestfs.pod:92
232 #, no-wrap
233 msgid ""
234 " /* To access a filesystem in the image, you must mount it.\n"
235 "  */\n"
236 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
237 " \n"
238 msgstr ""
239
240 # type: verbatim
241 #: ../src/guestfs.pod:96
242 #, no-wrap
243 msgid ""
244 " /* Now you can perform filesystem actions on the guest\n"
245 "  * disk image.\n"
246 "  */\n"
247 " guestfs_touch (g, \"/hello\");\n"
248 " \n"
249 msgstr ""
250
251 # type: verbatim
252 #: ../src/guestfs.pod:101
253 #, no-wrap
254 msgid ""
255 " /* You only need to call guestfs_sync if you have made\n"
256 "  * changes to the guest image.  (But if you've made changes\n"
257 "  * then you *must* sync).  See also: guestfs_umount and\n"
258 "  * guestfs_umount_all calls.\n"
259 "  */\n"
260 " guestfs_sync (g);\n"
261 " \n"
262 msgstr ""
263
264 # type: verbatim
265 #: ../src/guestfs.pod:108
266 #, no-wrap
267 msgid ""
268 " /* Close the handle 'g'. */\n"
269 " guestfs_close (g);\n"
270 "\n"
271 msgstr ""
272
273 # type: textblock
274 #: ../src/guestfs.pod:111
275 msgid ""
276 "The code above doesn't include any error checking.  In real code you should "
277 "check return values carefully for errors.  In general all functions that "
278 "return integers return C<-1> on error, and all functions that return "
279 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
280 "how to handle errors, and consult the documentation for each function call "
281 "below to see precisely how they return error indications."
282 msgstr ""
283
284 # type: =head2
285 #: ../src/guestfs.pod:119
286 msgid "DISK IMAGES"
287 msgstr ""
288
289 # type: textblock
290 #: ../src/guestfs.pod:121
291 msgid ""
292 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
293 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
294 "actual block device, or simply an empty file of zeroes that you have created "
295 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
296 "of these."
297 msgstr ""
298
299 # type: textblock
300 #: ../src/guestfs.pod:127
301 msgid ""
302 "You can add a disk read-only using L</guestfs_add_drive_ro>, in which case "
303 "libguestfs won't modify the file."
304 msgstr ""
305
306 # type: textblock
307 #: ../src/guestfs.pod:130
308 msgid ""
309 "Be extremely cautious if the disk image is in use, eg. if it is being used "
310 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
311 "corruption, but adding it read-only is safe."
312 msgstr ""
313
314 # type: textblock
315 #: ../src/guestfs.pod:134
316 msgid ""
317 "You must add at least one disk image, and you may add multiple disk images.  "
318 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
319 "first one you added), C</dev/sdb> (for the second one you added), etc."
320 msgstr ""
321
322 # type: textblock
323 #: ../src/guestfs.pod:139
324 msgid ""
325 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
326 "can call L</guestfs_list_devices> to get a list of the device names, in the "
327 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
328 msgstr ""
329
330 # type: =head2
331 #: ../src/guestfs.pod:144
332 msgid "MOUNTING"
333 msgstr ""
334
335 # type: textblock
336 #: ../src/guestfs.pod:146
337 msgid ""
338 "Before you can read or write files, create directories and so on in a disk "
339 "image that contains filesystems, you have to mount those filesystems using "
340 "L</guestfs_mount>.  If you already know that a disk image contains (for "
341 "example) one partition with a filesystem on that partition, then you can "
342 "mount it directly:"
343 msgstr ""
344
345 # type: verbatim
346 #: ../src/guestfs.pod:152
347 #, no-wrap
348 msgid ""
349 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
350 "\n"
351 msgstr ""
352
353 # type: textblock
354 #: ../src/guestfs.pod:154
355 msgid ""
356 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
357 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
358 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>)."
359 msgstr ""
360
361 # type: textblock
362 #: ../src/guestfs.pod:158
363 msgid ""
364 "If you are given a disk image and you don't know what it contains then you "
365 "have to find out.  Libguestfs can do that too: use L</"
366 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
367 "LVs, and either try mounting each to see what is mountable, or else examine "
368 "them with L</guestfs_vfs_type> or L</guestfs_file>.  Libguestfs also has a "
369 "set of APIs for inspection of disk images (see L</INSPECTION> below).  But "
370 "you might find it easier to look at higher level programs built on top of "
371 "libguestfs, in particular L<virt-inspector(1)>."
372 msgstr ""
373
374 # type: textblock
375 #: ../src/guestfs.pod:168
376 msgid ""
377 "To mount a disk image read-only, use L</guestfs_mount_ro>.  There are "
378 "several other variations of the C<guestfs_mount_*> call."
379 msgstr ""
380
381 # type: =head2
382 #: ../src/guestfs.pod:171
383 msgid "FILESYSTEM ACCESS AND MODIFICATION"
384 msgstr ""
385
386 # type: textblock
387 #: ../src/guestfs.pod:173
388 msgid ""
389 "The majority of the libguestfs API consists of fairly low-level calls for "
390 "accessing and modifying the files, directories, symlinks etc on mounted "
391 "filesystems.  There are over a hundred such calls which you can find listed "
392 "in detail below in this man page, and we don't even pretend to cover them "
393 "all in this overview."
394 msgstr ""
395
396 # type: textblock
397 #: ../src/guestfs.pod:179
398 msgid ""
399 "Specify filenames as full paths, starting with C<\"/\"> and including the "
400 "mount point."
401 msgstr ""
402
403 # type: textblock
404 #: ../src/guestfs.pod:182
405 msgid ""
406 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
407 "the file called C<\"etc/passwd\"> then you could do:"
408 msgstr ""
409
410 # type: verbatim
411 #: ../src/guestfs.pod:185
412 #, no-wrap
413 msgid ""
414 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
415 "\n"
416 msgstr ""
417
418 # type: textblock
419 #: ../src/guestfs.pod:187
420 msgid ""
421 "This would return C<data> as a newly allocated buffer containing the full "
422 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
423 "or C<NULL> if there was an error."
424 msgstr ""
425
426 # type: textblock
427 #: ../src/guestfs.pod:191
428 msgid ""
429 "As another example, to create a top-level directory on that filesystem "
430 "called C<\"var\"> you would do:"
431 msgstr ""
432
433 # type: verbatim
434 #: ../src/guestfs.pod:194
435 #, no-wrap
436 msgid ""
437 " guestfs_mkdir (g, \"/var\");\n"
438 "\n"
439 msgstr ""
440
441 # type: textblock
442 #: ../src/guestfs.pod:196
443 msgid "To create a symlink you could do:"
444 msgstr ""
445
446 # type: verbatim
447 #: ../src/guestfs.pod:198
448 #, no-wrap
449 msgid ""
450 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
451 "               \"/etc/rc3.d/S30portmap\");\n"
452 "\n"
453 msgstr ""
454
455 # type: textblock
456 #: ../src/guestfs.pod:201
457 msgid ""
458 "Libguestfs will reject attempts to use relative paths and there is no "
459 "concept of a current working directory."
460 msgstr ""
461
462 # type: textblock
463 #: ../src/guestfs.pod:204
464 msgid ""
465 "Libguestfs can return errors in many situations: for example if the "
466 "filesystem isn't writable, or if a file or directory that you requested "
467 "doesn't exist.  If you are using the C API (documented here)  you have to "
468 "check for those error conditions after each call.  (Other language bindings "
469 "turn these errors into exceptions)."
470 msgstr ""
471
472 # type: textblock
473 #: ../src/guestfs.pod:210
474 msgid ""
475 "File writes are affected by the per-handle umask, set by calling L</"
476 "guestfs_umask> and defaulting to 022.  See L</UMASK>."
477 msgstr ""
478
479 # type: =head2
480 #: ../src/guestfs.pod:213
481 msgid "PARTITIONING"
482 msgstr ""
483
484 # type: textblock
485 #: ../src/guestfs.pod:215
486 msgid ""
487 "Libguestfs contains API calls to read, create and modify partition tables on "
488 "disk images."
489 msgstr ""
490
491 # type: textblock
492 #: ../src/guestfs.pod:218
493 msgid ""
494 "In the common case where you want to create a single partition covering the "
495 "whole disk, you should use the L</guestfs_part_disk> call:"
496 msgstr ""
497
498 # type: verbatim
499 #: ../src/guestfs.pod:222
500 #, no-wrap
501 msgid ""
502 " const char *parttype = \"mbr\";\n"
503 " if (disk_is_larger_than_2TB)\n"
504 "   parttype = \"gpt\";\n"
505 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
506 "\n"
507 msgstr ""
508
509 # type: textblock
510 #: ../src/guestfs.pod:227
511 msgid ""
512 "Obviously this effectively wipes anything that was on that disk image before."
513 msgstr ""
514
515 # type: =head2
516 #: ../src/guestfs.pod:230
517 msgid "LVM2"
518 msgstr ""
519
520 # type: textblock
521 #: ../src/guestfs.pod:232
522 msgid ""
523 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
524 "guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense unless "
525 "you familiarize yourself with the concepts of physical volumes, volume "
526 "groups and logical volumes."
527 msgstr ""
528
529 # type: textblock
530 #: ../src/guestfs.pod:237
531 msgid ""
532 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
533 "tldp.org/HOWTO/LVM-HOWTO/>."
534 msgstr ""
535
536 # type: =head2
537 #: ../src/guestfs.pod:240
538 msgid "DOWNLOADING"
539 msgstr ""
540
541 # type: textblock
542 #: ../src/guestfs.pod:242
543 msgid ""
544 "Use L</guestfs_cat> to download small, text only files.  This call is "
545 "limited to files which are less than 2 MB and which cannot contain any ASCII "
546 "NUL (C<\\0>) characters.  However it has a very simple to use API."
547 msgstr ""
548
549 # type: textblock
550 #: ../src/guestfs.pod:247
551 msgid ""
552 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
553 "bit data, since it returns a (pointer, size) pair.  However it is still "
554 "limited to \"small\" files, less than 2 MB."
555 msgstr ""
556
557 # type: textblock
558 #: ../src/guestfs.pod:251
559 msgid ""
560 "L</guestfs_download> can be used to download any file, with no limits on "
561 "content or size (even files larger than 4 GB)."
562 msgstr ""
563
564 # type: textblock
565 #: ../src/guestfs.pod:254
566 msgid ""
567 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
568 msgstr ""
569
570 # type: =head2
571 #: ../src/guestfs.pod:257
572 msgid "UPLOADING"
573 msgstr ""
574
575 # type: textblock
576 #: ../src/guestfs.pod:259
577 msgid ""
578 "It's often the case that you want to write a file or files to the disk image."
579 msgstr ""
580
581 # type: textblock
582 #: ../src/guestfs.pod:262
583 msgid ""
584 "To write a small file with fixed content, use L</guestfs_write>.  To create "
585 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
586 "guestfs_fallocate64> (with all disk blocks allocated).  There are a variety "
587 "of other functions for creating test files, for example L</guestfs_fill> and "
588 "L</guestfs_fill_pattern>."
589 msgstr ""
590
591 # type: textblock
592 #: ../src/guestfs.pod:268
593 msgid ""
594 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
595 "file content or size (even files larger than 4 GB)."
596 msgstr ""
597
598 # type: textblock
599 #: ../src/guestfs.pod:271
600 msgid ""
601 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
602 msgstr ""
603
604 # type: textblock
605 #: ../src/guestfs.pod:273
606 msgid ""
607 "However the fastest way to upload I<large numbers of arbitrary files> is to "
608 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
609 ">), then attach this using L</guestfs_add_drive_ro>.  If you add the drive "
610 "in a predictable way (eg. adding it last after all other drives) then you "
611 "can get the device name from L</guestfs_list_devices> and mount it directly "
612 "using L</guestfs_mount_ro>.  Note that squashfs images are sometimes non-"
613 "portable between kernel versions, and they don't support labels or UUIDs.  "
614 "If you want to pre-build an image or you need to mount it using a label or "
615 "UUID, use an ISO image instead."
616 msgstr ""
617
618 # type: =head2
619 #: ../src/guestfs.pod:284
620 msgid "COPYING"
621 msgstr ""
622
623 # type: textblock
624 #: ../src/guestfs.pod:286
625 msgid ""
626 "There are various different commands for copying between files and devices "
627 "and in and out of the guest filesystem.  These are summarised in the table "
628 "below."
629 msgstr ""
630
631 # type: =item
632 #: ../src/guestfs.pod:292
633 msgid "B<file> to B<file>"
634 msgstr ""
635
636 # type: textblock
637 #: ../src/guestfs.pod:294
638 msgid ""
639 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
640 "directories recursively."
641 msgstr ""
642
643 # type: =item
644 #: ../src/guestfs.pod:297
645 msgid "B<file or device> to B<file or device>"
646 msgstr ""
647
648 # type: textblock
649 #: ../src/guestfs.pod:299
650 msgid ""
651 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
652 "devices in the guest."
653 msgstr ""
654
655 # type: textblock
656 #: ../src/guestfs.pod:302
657 msgid "Example: duplicate the contents of an LV:"
658 msgstr ""
659
660 # type: verbatim
661 #: ../src/guestfs.pod:304
662 #, no-wrap
663 msgid ""
664 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
665 "\n"
666 msgstr ""
667
668 # type: textblock
669 #: ../src/guestfs.pod:306
670 msgid ""
671 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
672 "(C</dev/VG/Original>).  To copy less than the whole source device, use L</"
673 "guestfs_copy_size>."
674 msgstr ""
675
676 # type: =item
677 #: ../src/guestfs.pod:310
678 msgid "B<file on the host> to B<file or device>"
679 msgstr ""
680
681 # type: textblock
682 #: ../src/guestfs.pod:312
683 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
684 msgstr ""
685
686 # type: =item
687 #: ../src/guestfs.pod:314
688 msgid "B<file or device> to B<file on the host>"
689 msgstr ""
690
691 # type: textblock
692 #: ../src/guestfs.pod:316
693 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
694 msgstr ""
695
696 # type: =head2
697 #: ../src/guestfs.pod:320
698 msgid "LISTING FILES"
699 msgstr ""
700
701 # type: textblock
702 #: ../src/guestfs.pod:322
703 msgid ""
704 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
705 "L<guestfish(1)>-equivalent command C<ll>)."
706 msgstr ""
707
708 # type: textblock
709 #: ../src/guestfs.pod:325
710 msgid ""
711 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
712 "programs, as a flat list of strings."
713 msgstr ""
714
715 # type: textblock
716 #: ../src/guestfs.pod:328
717 msgid ""
718 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
719 "directory, plus additional information about each one.  It is more "
720 "equivalent to using the L<readdir(3)> call on a local filesystem."
721 msgstr ""
722
723 # type: textblock
724 #: ../src/guestfs.pod:332
725 msgid ""
726 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
727 msgstr ""
728
729 # type: =head2
730 #: ../src/guestfs.pod:335
731 msgid "RUNNING COMMANDS"
732 msgstr ""
733
734 # type: textblock
735 #: ../src/guestfs.pod:337
736 msgid ""
737 "Although libguestfs is a primarily an API for manipulating files inside "
738 "guest images, we also provide some limited facilities for running commands "
739 "inside guests."
740 msgstr ""
741
742 # type: textblock
743 #: ../src/guestfs.pod:341
744 msgid "There are many limitations to this:"
745 msgstr ""
746
747 # type: =item
748 #: ../src/guestfs.pod:345 ../src/guestfs.pod:350 ../src/guestfs.pod:355
749 #: ../src/guestfs.pod:359 ../src/guestfs.pod:364 ../src/guestfs.pod:368
750 #: ../src/guestfs.pod:373 ../src/guestfs.pod:1226 ../src/guestfs.pod:1231
751 #: ../src/guestfs.pod:1235 ../src/guestfs.pod:1337 ../src/guestfs.pod:1341
752 #: ../src/guestfs.pod:1345 ../src/guestfs.pod:1350 ../src/guestfs.pod:1358
753 #: ../src/guestfs.pod:1377 ../src/guestfs.pod:1385 ../src/guestfs.pod:1599
754 #: ../src/guestfs.pod:1605 ../src/guestfs.pod:1610 ../src/guestfs.pod:1616
755 #: ../src/guestfs.pod:1723 ../src/guestfs.pod:1727 ../src/guestfs.pod:1731
756 #: ../src/guestfs.pod:1735 ../src/guestfs-actions.pod:14
757 #: ../src/guestfs-actions.pod:21 ../src/guestfs-actions.pod:372
758 #: ../src/guestfs-actions.pod:380 ../src/guestfs-actions.pod:387
759 #: ../src/guestfs-actions.pod:394 ../src/guestfs-actions.pod:1257
760 #: ../src/guestfs-actions.pod:1261 ../src/guestfs-actions.pod:1265
761 #: ../src/guestfs-actions.pod:1269 ../src/guestfs-actions.pod:1277
762 #: ../src/guestfs-actions.pod:1281 ../src/guestfs-actions.pod:1285
763 #: ../src/guestfs-actions.pod:1295 ../src/guestfs-actions.pod:1299
764 #: ../src/guestfs-actions.pod:1303 ../src/guestfs-actions.pod:1426
765 #: ../src/guestfs-actions.pod:1430 ../src/guestfs-actions.pod:1435
766 #: ../src/guestfs-actions.pod:1440 ../src/guestfs-actions.pod:1492
767 #: ../src/guestfs-actions.pod:1496 ../src/guestfs-actions.pod:1501
768 #: ../fish/guestfish.pod:309 ../fish/guestfish.pod:313
769 #: ../fish/guestfish.pod:317 ../fish/guestfish.pod:321
770 #: ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20
771 #: ../fish/guestfish-actions.pod:300 ../fish/guestfish-actions.pod:308
772 #: ../fish/guestfish-actions.pod:315 ../fish/guestfish-actions.pod:322
773 #: ../fish/guestfish-actions.pod:998 ../fish/guestfish-actions.pod:1002
774 #: ../fish/guestfish-actions.pod:1006 ../fish/guestfish-actions.pod:1010
775 #: ../fish/guestfish-actions.pod:1018 ../fish/guestfish-actions.pod:1022
776 #: ../fish/guestfish-actions.pod:1026 ../fish/guestfish-actions.pod:1036
777 #: ../fish/guestfish-actions.pod:1040 ../fish/guestfish-actions.pod:1044
778 #: ../fish/guestfish-actions.pod:1134 ../fish/guestfish-actions.pod:1138
779 #: ../fish/guestfish-actions.pod:1143 ../fish/guestfish-actions.pod:1148
780 #: ../fish/guestfish-actions.pod:1190 ../fish/guestfish-actions.pod:1194
781 #: ../fish/guestfish-actions.pod:1199 ../tools/virt-resize.pl:324
782 #: ../tools/virt-resize.pl:329 ../tools/virt-resize.pl:339
783 msgid "*"
784 msgstr ""
785
786 # type: textblock
787 #: ../src/guestfs.pod:347
788 msgid ""
789 "The kernel version that the command runs under will be different from what "
790 "it expects."
791 msgstr ""
792
793 # type: textblock
794 #: ../src/guestfs.pod:352
795 msgid ""
796 "If the command needs to communicate with daemons, then most likely they "
797 "won't be running."
798 msgstr ""
799
800 # type: textblock
801 #: ../src/guestfs.pod:357
802 msgid "The command will be running in limited memory."
803 msgstr ""
804
805 # type: textblock
806 #: ../src/guestfs.pod:361
807 msgid ""
808 "The network may not be available unless you enable it (see L</"
809 "guestfs_set_network>)."
810 msgstr ""
811
812 # type: textblock
813 #: ../src/guestfs.pod:366
814 msgid "Only supports Linux guests (not Windows, BSD, etc)."
815 msgstr ""
816
817 # type: textblock
818 #: ../src/guestfs.pod:370
819 msgid ""
820 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
821 msgstr ""
822
823 # type: textblock
824 #: ../src/guestfs.pod:375
825 msgid ""
826 "For SELinux guests, you may need to enable SELinux and load policy first.  "
827 "See L</SELINUX> in this manpage."
828 msgstr ""
829
830 # type: textblock
831 #: ../src/guestfs.pod:380
832 msgid ""
833 "The two main API calls to run commands are L</guestfs_command> and L</"
834 "guestfs_sh> (there are also variations)."
835 msgstr ""
836
837 # type: textblock
838 #: ../src/guestfs.pod:383
839 msgid ""
840 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
841 "shell globs, redirections, etc will work."
842 msgstr ""
843
844 # type: =head2
845 #: ../src/guestfs.pod:386
846 msgid "CONFIGURATION FILES"
847 msgstr ""
848
849 # type: textblock
850 #: ../src/guestfs.pod:388
851 msgid ""
852 "To read and write configuration files in Linux guest filesystems, we "
853 "strongly recommend using Augeas.  For example, Augeas understands how to "
854 "read and write, say, a Linux shadow password file or X.org configuration "
855 "file, and so avoids you having to write that code."
856 msgstr ""
857
858 # type: textblock
859 #: ../src/guestfs.pod:393
860 msgid ""
861 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
862 "document Augeas itself here because there is excellent documentation on the "
863 "L<http://augeas.net/> website."
864 msgstr ""
865
866 # type: textblock
867 #: ../src/guestfs.pod:397
868 msgid ""
869 "If you don't want to use Augeas (you fool!) then try calling L</"
870 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
871 "over."
872 msgstr ""
873
874 # type: =head2
875 #: ../src/guestfs.pod:401
876 msgid "SELINUX"
877 msgstr ""
878
879 # type: textblock
880 #: ../src/guestfs.pod:403
881 msgid ""
882 "We support SELinux guests.  To ensure that labeling happens correctly in "
883 "SELinux guests, you need to enable SELinux and load the guest's policy:"
884 msgstr ""
885
886 # type: =item
887 #: ../src/guestfs.pod:409
888 msgid "1."
889 msgstr ""
890
891 # type: textblock
892 #: ../src/guestfs.pod:411
893 msgid "Before launching, do:"
894 msgstr ""
895
896 # type: verbatim
897 #: ../src/guestfs.pod:413
898 #, no-wrap
899 msgid ""
900 " guestfs_set_selinux (g, 1);\n"
901 "\n"
902 msgstr ""
903
904 # type: =item
905 #: ../src/guestfs.pod:415
906 msgid "2."
907 msgstr ""
908
909 # type: textblock
910 #: ../src/guestfs.pod:417
911 msgid ""
912 "After mounting the guest's filesystem(s), load the policy.  This is best "
913 "done by running the L<load_policy(8)> command in the guest itself:"
914 msgstr ""
915
916 # type: verbatim
917 #: ../src/guestfs.pod:421
918 #, no-wrap
919 msgid ""
920 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
921 "\n"
922 msgstr ""
923
924 # type: textblock
925 #: ../src/guestfs.pod:423
926 msgid ""
927 "(Older versions of C<load_policy> require you to specify the name of the "
928 "policy file)."
929 msgstr ""
930
931 # type: =item
932 #: ../src/guestfs.pod:426
933 msgid "3."
934 msgstr ""
935
936 # type: textblock
937 #: ../src/guestfs.pod:428
938 msgid ""
939 "Optionally, set the security context for the API.  The correct security "
940 "context to use can only be known by inspecting the guest.  As an example:"
941 msgstr ""
942
943 # type: verbatim
944 #: ../src/guestfs.pod:432
945 #, no-wrap
946 msgid ""
947 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
948 "\n"
949 msgstr ""
950
951 # type: textblock
952 #: ../src/guestfs.pod:436
953 msgid "This will work for running commands and editing existing files."
954 msgstr ""
955
956 # type: textblock
957 #: ../src/guestfs.pod:438
958 msgid ""
959 "When new files are created, you may need to label them explicitly, for "
960 "example by running the external command C<restorecon pathname>."
961 msgstr ""
962
963 # type: =head2
964 #: ../src/guestfs.pod:442
965 msgid "UMASK"
966 msgstr ""
967
968 # type: textblock
969 #: ../src/guestfs.pod:444
970 msgid ""
971 "Certain calls are affected by the current file mode creation mask (the "
972 "\"umask\").  In particular ones which create files or directories, such as "
973 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
974 "either the default mode that the file is created with or modifies the mode "
975 "that you supply."
976 msgstr ""
977
978 # type: textblock
979 #: ../src/guestfs.pod:450
980 msgid ""
981 "The default umask is C<022>, so files are created with modes such as C<0644> "
982 "and directories with C<0755>."
983 msgstr ""
984
985 # type: textblock
986 #: ../src/guestfs.pod:453
987 msgid ""
988 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
989 "(call C<guestfs_umask (g, 0)> early after launching).  Or call L</"
990 "guestfs_chmod> after creating each file or directory."
991 msgstr ""
992
993 # type: textblock
994 #: ../src/guestfs.pod:457
995 msgid "For more information about umask, see L<umask(2)>."
996 msgstr ""
997
998 # type: =head1
999 #: ../src/guestfs.pod:459 ../fish/guestfish.pod:559
1000 msgid "ENCRYPTED DISKS"
1001 msgstr ""
1002
1003 # type: textblock
1004 #: ../src/guestfs.pod:461
1005 msgid ""
1006 "Libguestfs allows you to access Linux guests which have been encrypted using "
1007 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
1008 "standard.  This includes nearly all whole disk encryption systems used by "
1009 "modern Linux guests."
1010 msgstr ""
1011
1012 # type: textblock
1013 #: ../src/guestfs.pod:467
1014 msgid ""
1015 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
1016 "returns the string C<crypto_LUKS>)."
1017 msgstr ""
1018
1019 # type: textblock
1020 #: ../src/guestfs.pod:470
1021 msgid ""
1022 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
1023 "will require the passphrase!"
1024 msgstr ""
1025
1026 # type: textblock
1027 #: ../src/guestfs.pod:473
1028 msgid ""
1029 "Opening a LUKS device creates a new device mapper device called C</dev/"
1030 "mapper/mapname> (where C<mapname> is the string you supply to L</"
1031 "guestfs_luks_open>).  Reads and writes to this mapper device are decrypted "
1032 "from and encrypted to the underlying block device respectively."
1033 msgstr ""
1034
1035 # type: textblock
1036 #: ../src/guestfs.pod:479
1037 msgid ""
1038 "LVM volume groups on the device can be made visible by calling L</"
1039 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical volume"
1040 "(s) can now be mounted in the usual way."
1041 msgstr ""
1042
1043 # type: textblock
1044 #: ../src/guestfs.pod:483
1045 msgid ""
1046 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
1047 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
1048 "[\"/dev/VG\"])>.  Then close the mapper device by calling L</"
1049 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
1050 "underlying encrypted block device)."
1051 msgstr ""
1052
1053 # type: =head2
1054 #: ../src/guestfs.pod:490
1055 msgid "INSPECTION"
1056 msgstr ""
1057
1058 # type: textblock
1059 #: ../src/guestfs.pod:492
1060 msgid ""
1061 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
1062 "contains operating systems.  (These APIs used to be in a separate Perl-only "
1063 "library called L<Sys::Guestfs::Lib(3)> but since version 1.5.3 the most "
1064 "frequently used part of this library has been rewritten in C and moved into "
1065 "the core code)."
1066 msgstr ""
1067
1068 # type: textblock
1069 #: ../src/guestfs.pod:498
1070 msgid ""
1071 "Add all disks belonging to the unknown virtual machine and call L</"
1072 "guestfs_launch> in the usual way."
1073 msgstr ""
1074
1075 # type: textblock
1076 #: ../src/guestfs.pod:501
1077 msgid ""
1078 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
1079 "and certain heuristics, and returns a list of operating systems that were "
1080 "found.  An empty list means none were found.  A single element is the root "
1081 "filesystem of the operating system.  For dual- or multi-boot guests, "
1082 "multiple roots can be returned, each one corresponding to a separate "
1083 "operating system.  (Multi-boot virtual machines are extremely rare in the "
1084 "world of virtualization, but since this scenario can happen, we have built "
1085 "libguestfs to deal with it.)"
1086 msgstr ""
1087
1088 # type: textblock
1089 #: ../src/guestfs.pod:510
1090 msgid ""
1091 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
1092 "to get additional details about that operating system.  For example, call L</"
1093 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
1094 "Windows and Linux-based operating systems respectively."
1095 msgstr ""
1096
1097 # type: textblock
1098 #: ../src/guestfs.pod:516
1099 msgid ""
1100 "Un*x-like and Linux-based operating systems usually consist of several "
1101 "filesystems which are mounted at boot time (for example, a separate boot "
1102 "partition mounted on C</boot>).  The inspection rules are able to detect how "
1103 "filesystems correspond to mount points.  Call "
1104 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
1105 "hash table like this example:"
1106 msgstr ""
1107
1108 # type: verbatim
1109 #: ../src/guestfs.pod:523
1110 #, no-wrap
1111 msgid ""
1112 " /boot => /dev/sda1\n"
1113 " /     => /dev/vg_guest/lv_root\n"
1114 " /usr  => /dev/vg_guest/lv_usr\n"
1115 "\n"
1116 msgstr ""
1117
1118 # type: textblock
1119 #: ../src/guestfs.pod:527
1120 msgid ""
1121 "The caller can then make calls to L</guestfs_mount_options> to mount the "
1122 "filesystems as suggested."
1123 msgstr ""
1124
1125 # type: textblock
1126 #: ../src/guestfs.pod:530
1127 msgid ""
1128 "Be careful to mount filesystems in the right order (eg. C</> before C</"
1129 "usr>).  Sorting the keys of the hash by length, shortest first, should work."
1130 msgstr ""
1131
1132 # type: textblock
1133 #: ../src/guestfs.pod:534
1134 msgid ""
1135 "Inspection currently only works for some common operating systems.  "
1136 "Contributors are welcome to send patches for other operating systems that we "
1137 "currently cannot detect."
1138 msgstr ""
1139
1140 # type: textblock
1141 #: ../src/guestfs.pod:538
1142 msgid ""
1143 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
1144 "for more details.  The L</guestfs_inspect_os> function just ignores any "
1145 "encrypted devices."
1146 msgstr ""
1147
1148 # type: textblock
1149 #: ../src/guestfs.pod:542
1150 msgid ""
1151 "A note on the implementation: The call L</guestfs_inspect_os> performs "
1152 "inspection and caches the results in the guest handle.  Subsequent calls to "
1153 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
1154 "read the disks.  If you change the content of the guest disks, you can redo "
1155 "inspection by calling L</guestfs_inspect_os> again."
1156 msgstr ""
1157
1158 # type: =head2
1159 #: ../src/guestfs.pod:549
1160 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
1161 msgstr ""
1162
1163 # type: textblock
1164 #: ../src/guestfs.pod:551
1165 msgid ""
1166 "Libguestfs can mount NTFS partitions.  It does this using the L<http://www."
1167 "ntfs-3g.org/> driver."
1168 msgstr ""
1169
1170 # type: textblock
1171 #: ../src/guestfs.pod:554
1172 msgid ""
1173 "DOS and Windows still use drive letters, and the filesystems are always "
1174 "treated as case insensitive by Windows itself, and therefore you might find "
1175 "a Windows configuration file referring to a path like C<c:\\windows"
1176 "\\system32>.  When the filesystem is mounted in libguestfs, that directory "
1177 "might be referred to as C</WINDOWS/System32>."
1178 msgstr ""
1179
1180 # type: textblock
1181 #: ../src/guestfs.pod:560
1182 msgid ""
1183 "Drive letter mappings are outside the scope of libguestfs.  You have to use "
1184 "libguestfs to read the appropriate Windows Registry and configuration files, "
1185 "to determine yourself how drives are mapped (see also L<hivex(3)> and L<virt-"
1186 "inspector(1)>)."
1187 msgstr ""
1188
1189 # type: textblock
1190 #: ../src/guestfs.pod:565
1191 msgid ""
1192 "Replacing backslash characters with forward slash characters is also outside "
1193 "the scope of libguestfs, but something that you can easily do."
1194 msgstr ""
1195
1196 # type: textblock
1197 #: ../src/guestfs.pod:568
1198 msgid ""
1199 "Where we can help is in resolving the case insensitivity of paths.  For "
1200 "this, call L</guestfs_case_sensitive_path>."
1201 msgstr ""
1202
1203 # type: textblock
1204 #: ../src/guestfs.pod:571
1205 msgid ""
1206 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
1207 "files, through the library C<hivex> which is part of the libguestfs project "
1208 "although ships as a separate tarball.  You have to locate and download the "
1209 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
1210 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
1211 "reg(1)> for more help on this issue."
1212 msgstr ""
1213
1214 # type: =head2
1215 #: ../src/guestfs.pod:579
1216 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
1217 msgstr ""
1218
1219 # type: textblock
1220 #: ../src/guestfs.pod:581
1221 msgid ""
1222 "Although we don't want to discourage you from using the C API, we will "
1223 "mention here that the same API is also available in other languages."
1224 msgstr ""
1225
1226 # type: textblock
1227 #: ../src/guestfs.pod:584
1228 msgid ""
1229 "The API is broadly identical in all supported languages.  This means that "
1230 "the C call C<guestfs_mount(g,path)> is C<$g-E<gt>mount($path)> in Perl, C<g."
1231 "mount(path)> in Python, and C<Guestfs.mount g path> in OCaml.  In other "
1232 "words, a straightforward, predictable isomorphism between each language."
1233 msgstr ""
1234
1235 # type: textblock
1236 #: ../src/guestfs.pod:590
1237 msgid ""
1238 "Error messages are automatically transformed into exceptions if the language "
1239 "supports it."
1240 msgstr ""
1241
1242 # type: textblock
1243 #: ../src/guestfs.pod:593
1244 msgid ""
1245 "We don't try to \"object orientify\" parts of the API in OO languages, "
1246 "although contributors are welcome to write higher level APIs above what we "
1247 "provide in their favourite languages if they wish."
1248 msgstr ""
1249
1250 # type: =item
1251 #: ../src/guestfs.pod:599
1252 msgid "B<C++>"
1253 msgstr ""
1254
1255 # type: textblock
1256 #: ../src/guestfs.pod:601
1257 msgid ""
1258 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
1259 "identical to the C API.  C++ classes and exceptions are not used."
1260 msgstr ""
1261
1262 # type: =item
1263 #: ../src/guestfs.pod:605
1264 msgid "B<C#>"
1265 msgstr ""
1266
1267 # type: textblock
1268 #: ../src/guestfs.pod:607
1269 msgid ""
1270 "The C# bindings are highly experimental.  Please read the warnings at the "
1271 "top of C<csharp/Libguestfs.cs>."
1272 msgstr ""
1273
1274 # type: =item
1275 #: ../src/guestfs.pod:610
1276 msgid "B<Haskell>"
1277 msgstr ""
1278
1279 # type: textblock
1280 #: ../src/guestfs.pod:612
1281 msgid ""
1282 "This is the only language binding that is working but incomplete.  Only "
1283 "calls which return simple integers have been bound in Haskell, and we are "
1284 "looking for help to complete this binding."
1285 msgstr ""
1286
1287 # type: =item
1288 #: ../src/guestfs.pod:616
1289 msgid "B<Java>"
1290 msgstr ""
1291
1292 # type: textblock
1293 #: ../src/guestfs.pod:618
1294 msgid ""
1295 "Full documentation is contained in the Javadoc which is distributed with "
1296 "libguestfs."
1297 msgstr ""
1298
1299 # type: =item
1300 #: ../src/guestfs.pod:621
1301 msgid "B<OCaml>"
1302 msgstr ""
1303
1304 # type: textblock
1305 #: ../src/guestfs.pod:623
1306 msgid "For documentation see the file C<guestfs.mli>."
1307 msgstr ""
1308
1309 # type: =item
1310 #: ../src/guestfs.pod:625
1311 msgid "B<Perl>"
1312 msgstr ""
1313
1314 # type: textblock
1315 #: ../src/guestfs.pod:627
1316 msgid "For documentation see L<Sys::Guestfs(3)>."
1317 msgstr ""
1318
1319 # type: =item
1320 #: ../src/guestfs.pod:629
1321 msgid "B<PHP>"
1322 msgstr ""
1323
1324 # type: textblock
1325 #: ../src/guestfs.pod:631
1326 msgid ""
1327 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
1328 "the php-libguestfs package for your distribution."
1329 msgstr ""
1330
1331 # type: textblock
1332 #: ../src/guestfs.pod:634
1333 msgid "The PHP binding only works correctly on 64 bit machines."
1334 msgstr ""
1335
1336 # type: =item
1337 #: ../src/guestfs.pod:636
1338 msgid "B<Python>"
1339 msgstr ""
1340
1341 # type: textblock
1342 #: ../src/guestfs.pod:638
1343 msgid "For documentation do:"
1344 msgstr ""
1345
1346 # type: verbatim
1347 #: ../src/guestfs.pod:640
1348 #, no-wrap
1349 msgid ""
1350 " $ python\n"
1351 " >>> import guestfs\n"
1352 " >>> help (guestfs)\n"
1353 "\n"
1354 msgstr ""
1355
1356 # type: =item
1357 #: ../src/guestfs.pod:644
1358 msgid "B<Ruby>"
1359 msgstr ""
1360
1361 # type: textblock
1362 #: ../src/guestfs.pod:646
1363 msgid ""
1364 "Use the Guestfs module.  There is no Ruby-specific documentation, but you "
1365 "can find examples written in Ruby in the libguestfs source."
1366 msgstr ""
1367
1368 # type: =item
1369 #: ../src/guestfs.pod:649
1370 msgid "B<shell scripts>"
1371 msgstr ""
1372
1373 # type: textblock
1374 #: ../src/guestfs.pod:651
1375 msgid "For documentation see L<guestfish(1)>."
1376 msgstr ""
1377
1378 # type: =head2
1379 #: ../src/guestfs.pod:655
1380 msgid "LIBGUESTFS GOTCHAS"
1381 msgstr ""
1382
1383 # type: textblock
1384 #: ../src/guestfs.pod:657
1385 msgid ""
1386 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
1387 "system [...] that works in the way it is documented but is counterintuitive "
1388 "and almost invites mistakes.\""
1389 msgstr ""
1390
1391 # type: textblock
1392 #: ../src/guestfs.pod:661
1393 msgid ""
1394 "Since we developed libguestfs and the associated tools, there are several "
1395 "things we would have designed differently, but are now stuck with for "
1396 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
1397 "release, you can expect these to change.  Beware of them."
1398 msgstr ""
1399
1400 # type: =item
1401 #: ../src/guestfs.pod:669
1402 msgid "Autosync / forgetting to sync."
1403 msgstr ""
1404
1405 # type: textblock
1406 #: ../src/guestfs.pod:671
1407 msgid ""
1408 "When modifying a filesystem from C or another language, you B<must> unmount "
1409 "all filesystems and call L</guestfs_sync> explicitly before you close the "
1410 "libguestfs handle.  You can also call:"
1411 msgstr ""
1412
1413 # type: verbatim
1414 #: ../src/guestfs.pod:675
1415 #, no-wrap
1416 msgid ""
1417 " guestfs_set_autosync (g, 1);\n"
1418 "\n"
1419 msgstr ""
1420
1421 # type: textblock
1422 #: ../src/guestfs.pod:677
1423 msgid ""
1424 "to have the unmount/sync done automatically for you when the handle 'g' is "
1425 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
1426 msgstr ""
1427
1428 # type: textblock
1429 #: ../src/guestfs.pod:681
1430 msgid ""
1431 "If you forget to do this, then it is entirely possible that your changes "
1432 "won't be written out, or will be partially written, or (very rarely) that "
1433 "you'll get disk corruption."
1434 msgstr ""
1435
1436 # type: textblock
1437 #: ../src/guestfs.pod:685
1438 msgid ""
1439 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
1440 "guestfish scripts that forget to sync will work just fine, which can make "
1441 "this very puzzling if you are trying to debug a problem."
1442 msgstr ""
1443
1444 # type: =item
1445 #: ../src/guestfs.pod:689
1446 msgid "Mount option C<-o sync> should not be the default."
1447 msgstr ""
1448
1449 # type: textblock
1450 #: ../src/guestfs.pod:691
1451 msgid ""
1452 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
1453 "However C<-o sync> does not add any reliability benefit, but does have a "
1454 "very large performance impact."
1455 msgstr ""
1456
1457 # type: textblock
1458 #: ../src/guestfs.pod:695
1459 msgid ""
1460 "The work around is to use L</guestfs_mount_options> and set the mount "
1461 "options that you actually want to use."
1462 msgstr ""
1463
1464 # type: =item
1465 #: ../src/guestfs.pod:698
1466 msgid "Read-only should be the default."
1467 msgstr ""
1468
1469 # type: textblock
1470 #: ../src/guestfs.pod:700
1471 msgid ""
1472 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
1473 "specify I<--rw> if you want to make changes to the image."
1474 msgstr ""
1475
1476 # type: textblock
1477 #: ../src/guestfs.pod:703
1478 msgid "This would reduce the potential to corrupt live VM images."
1479 msgstr ""
1480
1481 # type: textblock
1482 #: ../src/guestfs.pod:705
1483 msgid ""
1484 "Note that many filesystems change the disk when you just mount and unmount, "
1485 "even if you didn't perform any writes.  You need to use L</"
1486 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
1487 msgstr ""
1488
1489 # type: =item
1490 #: ../src/guestfs.pod:709
1491 msgid "guestfish command line is hard to use."
1492 msgstr ""
1493
1494 # type: textblock
1495 #: ../src/guestfs.pod:711
1496 msgid ""
1497 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
1498 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
1499 "exist, so it fails.  In earlier versions of guestfish the error message was "
1500 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
1501 "we should have used C<guestfish -c command> to run commands."
1502 msgstr ""
1503
1504 # type: =item
1505 #: ../src/guestfs.pod:718
1506 msgid "guestfish megabyte modifiers don't work right on all commands"
1507 msgstr ""
1508
1509 # type: textblock
1510 #: ../src/guestfs.pod:720
1511 msgid ""
1512 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
1513 "other modifiers).  What guestfish actually does is to multiply the number "
1514 "part by the modifier part and pass the result to the C API.  However this "
1515 "doesn't work for a few APIs which aren't expecting bytes, but are already "
1516 "expecting some other unit (eg. megabytes)."
1517 msgstr ""
1518
1519 # type: textblock
1520 #: ../src/guestfs.pod:727
1521 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
1522 msgstr ""
1523
1524 # type: verbatim
1525 #: ../src/guestfs.pod:729
1526 #, no-wrap
1527 msgid ""
1528 " lvcreate LV VG 100M\n"
1529 "\n"
1530 msgstr ""
1531
1532 # type: textblock
1533 #: ../src/guestfs.pod:731
1534 msgid ""
1535 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
1536 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
1537 "megabytes * megabytes) logical volume.  The error message you get from this "
1538 "is also a little obscure."
1539 msgstr ""
1540
1541 # type: textblock
1542 #: ../src/guestfs.pod:736
1543 msgid ""
1544 "This could be fixed in the generator by specially marking parameters and "
1545 "return values which take bytes or other units."
1546 msgstr ""
1547
1548 # type: =item
1549 #: ../src/guestfs.pod:739
1550 msgid "Library should return errno with error messages."
1551 msgstr ""
1552
1553 # type: textblock
1554 #: ../src/guestfs.pod:741
1555 msgid ""
1556 "It would be a nice-to-have to be able to get the original value of 'errno' "
1557 "from inside the appliance along error paths (where set).  Currently "
1558 "L<guestmount(1)> goes through hoops to try to reverse the error message "
1559 "string into an errno, see the function error() in fuse/guestmount.c."
1560 msgstr ""
1561
1562 # type: textblock
1563 #: ../src/guestfs.pod:747
1564 msgid ""
1565 "In libguestfs 1.5.4, the protocol was changed so that the Linux errno is "
1566 "sent back from the daemon."
1567 msgstr ""
1568
1569 # type: =head2
1570 #: ../src/guestfs.pod:752
1571 msgid "PROTOCOL LIMITS"
1572 msgstr ""
1573
1574 # type: textblock
1575 #: ../src/guestfs.pod:754
1576 msgid ""
1577 "Internally libguestfs uses a message-based protocol to pass API calls and "
1578 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
1579 "plenty more detail about this).  The maximum message size used by the "
1580 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
1581 "aware of this limit.  The API calls which may be affected are individually "
1582 "documented, with a link back to this section of the documentation."
1583 msgstr ""
1584
1585 # type: textblock
1586 #: ../src/guestfs.pod:762
1587 msgid ""
1588 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
1589 "a simple string.  Because this string is at some point internally encoded as "
1590 "a message, the maximum size that it can return is slightly under 4 MB.  If "
1591 "the requested file is larger than this then you will get an error."
1592 msgstr ""
1593
1594 # type: textblock
1595 #: ../src/guestfs.pod:768
1596 msgid ""
1597 "In order to transfer large files into and out of the guest filesystem, you "
1598 "need to use particular calls that support this.  The sections L</UPLOADING> "
1599 "and L</DOWNLOADING> document how to do this."
1600 msgstr ""
1601
1602 # type: textblock
1603 #: ../src/guestfs.pod:772
1604 msgid ""
1605 "You might also consider mounting the disk image using our FUSE filesystem "
1606 "support (L<guestmount(1)>)."
1607 msgstr ""
1608
1609 # type: =head2
1610 #: ../src/guestfs.pod:775
1611 msgid "KEYS AND PASSPHRASES"
1612 msgstr ""
1613
1614 # type: textblock
1615 #: ../src/guestfs.pod:777
1616 msgid ""
1617 "Certain libguestfs calls take a parameter that contains sensitive key "
1618 "material, passed in as a C string."
1619 msgstr ""
1620
1621 # type: textblock
1622 #: ../src/guestfs.pod:780
1623 msgid ""
1624 "In the future we would hope to change the libguestfs implementation so that "
1625 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
1626 "swap.  However this is I<not> done at the moment, because of the complexity "
1627 "of such an implementation."
1628 msgstr ""
1629
1630 # type: textblock
1631 #: ../src/guestfs.pod:785
1632 msgid ""
1633 "Therefore you should be aware that any key parameter you pass to libguestfs "
1634 "might end up being written out to the swap partition.  If this is a concern, "
1635 "scrub the swap partition or don't use libguestfs on encrypted devices."
1636 msgstr ""
1637
1638 # type: =head1
1639 #: ../src/guestfs.pod:790
1640 msgid "CONNECTION MANAGEMENT"
1641 msgstr ""
1642
1643 # type: =head2
1644 #: ../src/guestfs.pod:792
1645 msgid "guestfs_h *"
1646 msgstr ""
1647
1648 # type: textblock
1649 #: ../src/guestfs.pod:794
1650 msgid ""
1651 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
1652 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
1653 "handle and release all resources used."
1654 msgstr ""
1655
1656 # type: textblock
1657 #: ../src/guestfs.pod:798
1658 msgid ""
1659 "For information on using multiple handles and threads, see the section L</"
1660 "MULTIPLE HANDLES AND MULTIPLE THREADS> below."
1661 msgstr ""
1662
1663 # type: =head2
1664 #: ../src/guestfs.pod:801
1665 msgid "guestfs_create"
1666 msgstr ""
1667
1668 # type: verbatim
1669 #: ../src/guestfs.pod:803
1670 #, no-wrap
1671 msgid ""
1672 " guestfs_h *guestfs_create (void);\n"
1673 "\n"
1674 msgstr ""
1675
1676 # type: textblock
1677 #: ../src/guestfs.pod:805
1678 msgid "Create a connection handle."
1679 msgstr ""
1680
1681 # type: textblock
1682 #: ../src/guestfs.pod:807
1683 msgid "You have to call L</guestfs_add_drive> on the handle at least once."
1684 msgstr ""
1685
1686 # type: textblock
1687 #: ../src/guestfs.pod:809
1688 msgid ""
1689 "This function returns a non-NULL pointer to a handle on success or NULL on "
1690 "error."
1691 msgstr ""
1692
1693 # type: textblock
1694 #: ../src/guestfs.pod:812
1695 msgid "After configuring the handle, you have to call L</guestfs_launch>."
1696 msgstr ""
1697
1698 # type: textblock
1699 #: ../src/guestfs.pod:814
1700 msgid ""
1701 "You may also want to configure error handling for the handle.  See L</ERROR "
1702 "HANDLING> section below."
1703 msgstr ""
1704
1705 # type: =head2
1706 #: ../src/guestfs.pod:817
1707 msgid "guestfs_close"
1708 msgstr ""
1709
1710 # type: verbatim
1711 #: ../src/guestfs.pod:819
1712 #, no-wrap
1713 msgid ""
1714 " void guestfs_close (guestfs_h *g);\n"
1715 "\n"
1716 msgstr ""
1717
1718 # type: textblock
1719 #: ../src/guestfs.pod:821
1720 msgid "This closes the connection handle and frees up all resources used."
1721 msgstr ""
1722
1723 # type: =head1
1724 #: ../src/guestfs.pod:823
1725 msgid "ERROR HANDLING"
1726 msgstr ""
1727
1728 # type: textblock
1729 #: ../src/guestfs.pod:825
1730 msgid ""
1731 "The convention in all functions that return C<int> is that they return C<-1> "
1732 "to indicate an error.  You can get additional information on errors by "
1733 "calling L</guestfs_last_error> and/or by setting up an error handler with L</"
1734 "guestfs_set_error_handler>."
1735 msgstr ""
1736
1737 # type: textblock
1738 #: ../src/guestfs.pod:830
1739 msgid "The default error handler prints the information string to C<stderr>."
1740 msgstr ""
1741
1742 # type: textblock
1743 #: ../src/guestfs.pod:832
1744 msgid ""
1745 "Out of memory errors are handled differently.  The default action is to call "
1746 "L<abort(3)>.  If this is undesirable, then you can set a handler using L</"
1747 "guestfs_set_out_of_memory_handler>."
1748 msgstr ""
1749
1750 # type: =head2
1751 #: ../src/guestfs.pod:836
1752 msgid "guestfs_last_error"
1753 msgstr ""
1754
1755 # type: verbatim
1756 #: ../src/guestfs.pod:838
1757 #, no-wrap
1758 msgid ""
1759 " const char *guestfs_last_error (guestfs_h *g);\n"
1760 "\n"
1761 msgstr ""
1762
1763 # type: textblock
1764 #: ../src/guestfs.pod:840
1765 msgid ""
1766 "This returns the last error message that happened on C<g>.  If there has not "
1767 "been an error since the handle was created, then this returns C<NULL>."
1768 msgstr ""
1769
1770 # type: textblock
1771 #: ../src/guestfs.pod:844
1772 msgid ""
1773 "The lifetime of the returned string is until the next error occurs, or L</"
1774 "guestfs_close> is called."
1775 msgstr ""
1776
1777 # type: textblock
1778 #: ../src/guestfs.pod:847
1779 msgid ""
1780 "The error string is not localized (ie. is always in English), because this "
1781 "makes searching for error messages in search engines give the largest number "
1782 "of results."
1783 msgstr ""
1784
1785 # type: =head2
1786 #: ../src/guestfs.pod:851
1787 msgid "guestfs_set_error_handler"
1788 msgstr ""
1789
1790 # type: verbatim
1791 #: ../src/guestfs.pod:853
1792 #, no-wrap
1793 msgid ""
1794 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
1795 "                                           void *opaque,\n"
1796 "                                           const char *msg);\n"
1797 " void guestfs_set_error_handler (guestfs_h *g,\n"
1798 "                                 guestfs_error_handler_cb cb,\n"
1799 "                                 void *opaque);\n"
1800 "\n"
1801 msgstr ""
1802
1803 # type: textblock
1804 #: ../src/guestfs.pod:860
1805 msgid ""
1806 "The callback C<cb> will be called if there is an error.  The parameters "
1807 "passed to the callback are an opaque data pointer and the error message "
1808 "string."
1809 msgstr ""
1810
1811 # type: textblock
1812 #: ../src/guestfs.pod:864
1813 msgid ""
1814 "Note that the message string C<msg> is freed as soon as the callback "
1815 "function returns, so if you want to stash it somewhere you must make your "
1816 "own copy."
1817 msgstr ""
1818
1819 # type: textblock
1820 #: ../src/guestfs.pod:868
1821 msgid "The default handler prints messages on C<stderr>."
1822 msgstr ""
1823
1824 # type: textblock
1825 #: ../src/guestfs.pod:870
1826 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
1827 msgstr ""
1828
1829 # type: =head2
1830 #: ../src/guestfs.pod:872
1831 msgid "guestfs_get_error_handler"
1832 msgstr ""
1833
1834 # type: verbatim
1835 #: ../src/guestfs.pod:874
1836 #, no-wrap
1837 msgid ""
1838 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
1839 "                                                     void **opaque_rtn);\n"
1840 "\n"
1841 msgstr ""
1842
1843 # type: textblock
1844 #: ../src/guestfs.pod:877
1845 msgid "Returns the current error handler callback."
1846 msgstr ""
1847
1848 # type: =head2
1849 #: ../src/guestfs.pod:879
1850 msgid "guestfs_set_out_of_memory_handler"
1851 msgstr ""
1852
1853 # type: verbatim
1854 #: ../src/guestfs.pod:881
1855 #, no-wrap
1856 msgid ""
1857 " typedef void (*guestfs_abort_cb) (void);\n"
1858 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
1859 "                                        guestfs_abort_cb);\n"
1860 "\n"
1861 msgstr ""
1862
1863 # type: textblock
1864 #: ../src/guestfs.pod:885
1865 msgid ""
1866 "The callback C<cb> will be called if there is an out of memory situation.  "
1867 "I<Note this callback must not return>."
1868 msgstr ""
1869
1870 # type: textblock
1871 #: ../src/guestfs.pod:888
1872 msgid "The default is to call L<abort(3)>."
1873 msgstr ""
1874
1875 # type: textblock
1876 #: ../src/guestfs.pod:890
1877 msgid ""
1878 "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
1879 msgstr ""
1880
1881 # type: =head2
1882 #: ../src/guestfs.pod:893
1883 msgid "guestfs_get_out_of_memory_handler"
1884 msgstr ""
1885
1886 # type: verbatim
1887 #: ../src/guestfs.pod:895
1888 #, no-wrap
1889 msgid ""
1890 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
1891 "\n"
1892 msgstr ""
1893
1894 # type: textblock
1895 #: ../src/guestfs.pod:897
1896 msgid "This returns the current out of memory handler."
1897 msgstr ""
1898
1899 # type: =head1
1900 #: ../src/guestfs.pod:899
1901 msgid "PATH"
1902 msgstr ""
1903
1904 # type: textblock
1905 #: ../src/guestfs.pod:901
1906 msgid ""
1907 "Libguestfs needs a kernel and initrd.img, which it finds by looking along an "
1908 "internal path."
1909 msgstr ""
1910
1911 # type: textblock
1912 #: ../src/guestfs.pod:904
1913 msgid ""
1914 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
1915 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
1916 msgstr ""
1917
1918 # type: textblock
1919 #: ../src/guestfs.pod:907
1920 msgid ""
1921 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
1922 "to change the directories that libguestfs will search in.  The value is a "
1923 "colon-separated list of paths.  The current directory is I<not> searched "
1924 "unless the path contains an empty element or C<.>.  For example "
1925 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
1926 "then C</usr/lib/guestfs>."
1927 msgstr ""
1928
1929 # type: =head1
1930 #: ../src/guestfs.pod:914
1931 msgid "HIGH-LEVEL API ACTIONS"
1932 msgstr ""
1933
1934 # type: =head2
1935 #: ../src/guestfs.pod:916
1936 msgid "ABI GUARANTEE"
1937 msgstr ""
1938
1939 # type: textblock
1940 #: ../src/guestfs.pod:918
1941 msgid ""
1942 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
1943 "actions as outlined in this section.  Although we will deprecate some "
1944 "actions, for example if they get replaced by newer calls, we will keep the "
1945 "old actions forever.  This allows you the developer to program in confidence "
1946 "against the libguestfs API."
1947 msgstr ""
1948
1949 # type: textblock
1950 #: ../src/guestfs.pod:924 ../fish/guestfish.pod:898
1951 msgid "@ACTIONS@"
1952 msgstr ""
1953
1954 # type: =head1
1955 #: ../src/guestfs.pod:926
1956 msgid "STRUCTURES"
1957 msgstr ""
1958
1959 # type: textblock
1960 #: ../src/guestfs.pod:928
1961 msgid "@STRUCTS@"
1962 msgstr ""
1963
1964 # type: =head1
1965 #: ../src/guestfs.pod:930
1966 msgid "AVAILABILITY"
1967 msgstr ""
1968
1969 # type: =head2
1970 #: ../src/guestfs.pod:932
1971 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
1972 msgstr ""
1973
1974 # type: textblock
1975 #: ../src/guestfs.pod:934
1976 msgid ""
1977 "Using L</guestfs_available> you can test availability of the following "
1978 "groups of functions.  This test queries the appliance to see if the "
1979 "appliance you are currently using supports the functionality."
1980 msgstr ""
1981
1982 # type: textblock
1983 #: ../src/guestfs.pod:939
1984 msgid "@AVAILABILITY@"
1985 msgstr ""
1986
1987 # type: =head2
1988 #: ../src/guestfs.pod:941
1989 msgid "GUESTFISH supported COMMAND"
1990 msgstr ""
1991
1992 # type: textblock
1993 #: ../src/guestfs.pod:943
1994 msgid ""
1995 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
1996 "prints out the available groups and whether they are supported by this build "
1997 "of libguestfs.  Note however that you have to do C<run> first."
1998 msgstr ""
1999
2000 # type: =head2
2001 #: ../src/guestfs.pod:948
2002 msgid "SINGLE CALLS AT COMPILE TIME"
2003 msgstr ""
2004
2005 # type: textblock
2006 #: ../src/guestfs.pod:950
2007 msgid ""
2008 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
2009 "function, such as:"
2010 msgstr ""
2011
2012 # type: verbatim
2013 #: ../src/guestfs.pod:953
2014 #, no-wrap
2015 msgid ""
2016 " #define LIBGUESTFS_HAVE_DD 1\n"
2017 "\n"
2018 msgstr ""
2019
2020 # type: textblock
2021 #: ../src/guestfs.pod:955
2022 msgid "if L</guestfs_dd> is available."
2023 msgstr ""
2024
2025 # type: textblock
2026 #: ../src/guestfs.pod:957
2027 msgid ""
2028 "Before version 1.5.8, if you needed to test whether a single libguestfs "
2029 "function is available at compile time, we recommended using build tools such "
2030 "as autoconf or cmake.  For example in autotools you could use:"
2031 msgstr ""
2032
2033 # type: verbatim
2034 #: ../src/guestfs.pod:962
2035 #, no-wrap
2036 msgid ""
2037 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
2038 " AC_CHECK_FUNCS([guestfs_dd])\n"
2039 "\n"
2040 msgstr ""
2041
2042 # type: textblock
2043 #: ../src/guestfs.pod:965
2044 msgid ""
2045 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
2046 "in your program."
2047 msgstr ""
2048
2049 # type: =head2
2050 #: ../src/guestfs.pod:968
2051 msgid "SINGLE CALLS AT RUN TIME"
2052 msgstr ""
2053
2054 # type: textblock
2055 #: ../src/guestfs.pod:970
2056 msgid ""
2057 "Testing at compile time doesn't guarantee that a function really exists in "
2058 "the library.  The reason is that you might be dynamically linked against a "
2059 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
2060 "This situation unfortunately results in a segmentation fault, which is a "
2061 "shortcoming of the C dynamic linking system itself."
2062 msgstr ""
2063
2064 # type: textblock
2065 #: ../src/guestfs.pod:977
2066 msgid ""
2067 "You can use L<dlopen(3)> to test if a function is available at run time, as "
2068 "in this example program (note that you still need the compile time check as "
2069 "well):"
2070 msgstr ""
2071
2072 # type: verbatim
2073 #: ../src/guestfs.pod:981
2074 #, no-wrap
2075 msgid ""
2076 " #include <stdio.h>\n"
2077 " #include <stdlib.h>\n"
2078 " #include <unistd.h>\n"
2079 " #include <dlfcn.h>\n"
2080 " #include <guestfs.h>\n"
2081 " \n"
2082 msgstr ""
2083
2084 # type: verbatim
2085 #: ../src/guestfs.pod:987
2086 #, no-wrap
2087 msgid ""
2088 " main ()\n"
2089 " {\n"
2090 " #ifdef LIBGUESTFS_HAVE_DD\n"
2091 "   void *dl;\n"
2092 "   int has_function;\n"
2093 " \n"
2094 msgstr ""
2095
2096 # type: verbatim
2097 #: ../src/guestfs.pod:993
2098 #, no-wrap
2099 msgid ""
2100 "   /* Test if the function guestfs_dd is really available. */\n"
2101 "   dl = dlopen (NULL, RTLD_LAZY);\n"
2102 "   if (!dl) {\n"
2103 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
2104 "     exit (EXIT_FAILURE);\n"
2105 "   }\n"
2106 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
2107 "   dlclose (dl);\n"
2108 " \n"
2109 msgstr ""
2110
2111 # type: verbatim
2112 #: ../src/guestfs.pod:1002
2113 #, no-wrap
2114 msgid ""
2115 "   if (!has_function)\n"
2116 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
2117 "   else {\n"
2118 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
2119 "     /* Now it's safe to call\n"
2120 "     guestfs_dd (g, \"foo\", \"bar\");\n"
2121 "     */\n"
2122 "   }\n"
2123 " #else\n"
2124 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
2125 " #endif\n"
2126 "  }\n"
2127 "\n"
2128 msgstr ""
2129
2130 # type: textblock
2131 #: ../src/guestfs.pod:1015
2132 msgid ""
2133 "You may think the above is an awful lot of hassle, and it is.  There are "
2134 "other ways outside of the C linking system to ensure that this kind of "
2135 "incompatibility never arises, such as using package versioning:"
2136 msgstr ""
2137
2138 # type: verbatim
2139 #: ../src/guestfs.pod:1020
2140 #, no-wrap
2141 msgid ""
2142 " Requires: libguestfs >= 1.0.80\n"
2143 "\n"
2144 msgstr ""
2145
2146 # type: =end
2147 #: ../src/guestfs.pod:1022 ../src/guestfs.pod:1027
2148 msgid "html"
2149 msgstr ""
2150
2151 # type: textblock
2152 #: ../src/guestfs.pod:1024
2153 msgid ""
2154 "<!-- old anchor for the next section --> <a name="
2155 "\"state_machine_and_low_level_event_api\"/>"
2156 msgstr ""
2157
2158 # type: =head1
2159 #: ../src/guestfs.pod:1029
2160 msgid "ARCHITECTURE"
2161 msgstr ""
2162
2163 # type: textblock
2164 #: ../src/guestfs.pod:1031
2165 msgid ""
2166 "Internally, libguestfs is implemented by running an appliance (a special "
2167 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
2168 "process of the main program."
2169 msgstr ""
2170
2171 # type: verbatim
2172 #: ../src/guestfs.pod:1035
2173 #, no-wrap
2174 msgid ""
2175 "  ___________________\n"
2176 " /                   \\\n"
2177 " | main program      |\n"
2178 " |                   |\n"
2179 " |                   |           child process / appliance\n"
2180 " |                   |           __________________________\n"
2181 " |                   |          / qemu                     \\\n"
2182 " +-------------------+   RPC    |      +-----------------+ |\n"
2183 " | libguestfs     <--------------------> guestfsd        | |\n"
2184 " |                   |          |      +-----------------+ |\n"
2185 " \\___________________/          |      | Linux kernel    | |\n"
2186 "                                |      +--^--------------+ |\n"
2187 "                                \\_________|________________/\n"
2188 "                                          |\n"
2189 "                                   _______v______\n"
2190 "                                  /              \\\n"
2191 "                                  | Device or    |\n"
2192 "                                  | disk image   |\n"
2193 "                                  \\______________/\n"
2194 "\n"
2195 msgstr ""
2196
2197 # type: textblock
2198 #: ../src/guestfs.pod:1055
2199 msgid ""
2200 "The library, linked to the main program, creates the child process and hence "
2201 "the appliance in the L</guestfs_launch> function."
2202 msgstr ""
2203
2204 # type: textblock
2205 #: ../src/guestfs.pod:1058
2206 msgid ""
2207 "Inside the appliance is a Linux kernel and a complete stack of userspace "
2208 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
2209 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
2210 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
2211 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
2212 "attached to the qemu process which translates device access by the "
2213 "appliance's Linux kernel into accesses to the image."
2214 msgstr ""
2215
2216 # type: textblock
2217 #: ../src/guestfs.pod:1067
2218 msgid ""
2219 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
2220 "Although the disk image you are attached to might also be used by some "
2221 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
2222 "care if both libguestfs's qemu process and your virtual machine are trying "
2223 "to update the disk image at the same time, since these usually results in "
2224 "massive disk corruption)."
2225 msgstr ""
2226
2227 # type: =head1
2228 #: ../src/guestfs.pod:1074
2229 msgid "STATE MACHINE"
2230 msgstr ""
2231
2232 # type: textblock
2233 #: ../src/guestfs.pod:1076
2234 msgid "libguestfs uses a state machine to model the child process:"
2235 msgstr ""
2236
2237 # type: verbatim
2238 #: ../src/guestfs.pod:1078
2239 #, no-wrap
2240 msgid ""
2241 "                         |\n"
2242 "                    guestfs_create\n"
2243 "                         |\n"
2244 "                         |\n"
2245 "                     ____V_____\n"
2246 "                    /          \\\n"
2247 "                    |  CONFIG  |\n"
2248 "                    \\__________/\n"
2249 "                     ^ ^   ^  \\\n"
2250 "                    /  |    \\  \\ guestfs_launch\n"
2251 "                   /   |    _\\__V______\n"
2252 "                  /    |   /           \\\n"
2253 "                 /     |   | LAUNCHING |\n"
2254 "                /      |   \\___________/\n"
2255 "               /       |       /\n"
2256 "              /        |  guestfs_launch\n"
2257 "             /         |     /\n"
2258 "    ______  /        __|____V\n"
2259 "   /      \\ ------> /        \\\n"
2260 "   | BUSY |         | READY  |\n"
2261 "   \\______/ <------ \\________/\n"
2262 "\n"
2263 msgstr ""
2264
2265 # type: textblock
2266 #: ../src/guestfs.pod:1100
2267 msgid ""
2268 "The normal transitions are (1) CONFIG (when the handle is created, but there "
2269 "is no child process), (2) LAUNCHING (when the child process is booting up), "
2270 "(3) alternating between READY and BUSY as commands are issued to, and "
2271 "carried out by, the child process."
2272 msgstr ""
2273
2274 # type: textblock
2275 #: ../src/guestfs.pod:1105
2276 msgid ""
2277 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
2278 "asynchronously at any time (eg. due to some internal error), and that causes "
2279 "the state to transition back to CONFIG."
2280 msgstr ""
2281
2282 # type: textblock
2283 #: ../src/guestfs.pod:1109
2284 msgid ""
2285 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
2286 "issued when in the CONFIG state."
2287 msgstr ""
2288
2289 # type: textblock
2290 #: ../src/guestfs.pod:1112
2291 msgid ""
2292 "The high-level API offers two calls that go from CONFIG through LAUNCHING to "
2293 "READY.  L</guestfs_launch> blocks until the child process is READY to accept "
2294 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
2295 "moves the state from CONFIG to LAUNCHING while it is running."
2296 msgstr ""
2297
2298 # type: textblock
2299 #: ../src/guestfs.pod:1118
2300 msgid ""
2301 "High-level API actions such as L</guestfs_mount> can only be issued when in "
2302 "the READY state.  These high-level API calls block waiting for the command "
2303 "to be carried out (ie. the state to transition to BUSY and then back to "
2304 "READY).  But using the low-level event API, you get non-blocking versions.  "
2305 "(But you can still only carry out one operation per handle at a time - that "
2306 "is a limitation of the communications protocol we use)."
2307 msgstr ""
2308
2309 # type: textblock
2310 #: ../src/guestfs.pod:1126
2311 msgid ""
2312 "Finally, the child process sends asynchronous messages back to the main "
2313 "program, such as kernel log messages.  Mostly these are ignored by the high-"
2314 "level API, but using the low-level event API you can register to receive "
2315 "these messages."
2316 msgstr ""
2317
2318 # type: =head2
2319 #: ../src/guestfs.pod:1131
2320 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
2321 msgstr ""
2322
2323 # type: textblock
2324 #: ../src/guestfs.pod:1133
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:1136
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:1139
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:1144
2348 msgid "guestfs_set_log_message_callback"
2349 msgstr ""
2350
2351 # type: verbatim
2352 #: ../src/guestfs.pod:1146
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:1152
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:1155
2372 msgid "Use this function to capture kernel messages and similar."
2373 msgstr ""
2374
2375 # type: textblock
2376 #: ../src/guestfs.pod:1157
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:1160
2384 msgid "guestfs_set_subprocess_quit_callback"
2385 msgstr ""
2386
2387 # type: verbatim
2388 #: ../src/guestfs.pod:1162
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:1167
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:1172
2408 msgid "guestfs_set_launch_done_callback"
2409 msgstr ""
2410
2411 # type: verbatim
2412 #: ../src/guestfs.pod:1174
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:1179
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:1183
2432 msgid "guestfs_set_close_callback"
2433 msgstr ""
2434
2435 # type: verbatim
2436 #: ../src/guestfs.pod:1185
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:1190
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:1193
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:1201
2466 msgid "guestfs_set_progress_callback"
2467 msgstr ""
2468
2469 # type: verbatim
2470 #: ../src/guestfs.pod:1203
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:1210
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:1216
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:1222
2503 msgid "The only defined and stable parts of the API are:"
2504 msgstr ""
2505
2506 # type: textblock
2507 #: ../src/guestfs.pod:1228
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:1233
2515 msgid "0 E<lt>= C<position> E<lt>= C<total>"
2516 msgstr ""
2517
2518 # type: textblock
2519 #: ../src/guestfs.pod:1237
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:1240
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:1246
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:1251
2544 msgid "PRIVATE DATA AREA"
2545 msgstr ""
2546
2547 # type: textblock
2548 #: ../src/guestfs.pod:1253
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:1257
2557 msgid "To attach a named piece of data, use the following call:"
2558 msgstr ""
2559
2560 # type: verbatim
2561 #: ../src/guestfs.pod:1259
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:1261
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:1265
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:1270
2587 msgid "To retrieve the pointer, use:"
2588 msgstr ""
2589
2590 # type: verbatim
2591 #: ../src/guestfs.pod:1272
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:1274
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:1278
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:1286
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:1289
2627 msgid "BLOCK DEVICE NAMING"
2628 msgstr ""
2629
2630 # type: textblock
2631 #: ../src/guestfs.pod:1291
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:1303
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:1307
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:1312
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:1318
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:1323
2679 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
2680 msgstr ""
2681
2682 # type: textblock
2683 #: ../src/guestfs.pod:1325
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:1331
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:1339
2701 msgid "Is the string a parameter which is a device or partition name?"
2702 msgstr ""
2703
2704 # type: textblock
2705 #: ../src/guestfs.pod:1343
2706 msgid "Does the string begin with C</dev/sd>?"
2707 msgstr ""
2708
2709 # type: textblock
2710 #: ../src/guestfs.pod:1347
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:1352
2718 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
2719 msgstr ""
2720
2721 # type: textblock
2722 #: ../src/guestfs.pod:1354
2723 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
2724 msgstr ""
2725
2726 # type: textblock
2727 #: ../src/guestfs.pod:1356
2728 msgid "If that named device exists, use it.  If not, continue."
2729 msgstr ""
2730
2731 # type: textblock
2732 #: ../src/guestfs.pod:1360
2733 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
2734 msgstr ""
2735
2736 # type: textblock
2737 #: ../src/guestfs.pod:1362
2738 msgid "If that named device exists, use it.  If not, return an error."
2739 msgstr ""
2740
2741 # type: =head2
2742 #: ../src/guestfs.pod:1366
2743 msgid "PORTABILITY CONCERNS"
2744 msgstr ""
2745
2746 # type: textblock
2747 #: ../src/guestfs.pod:1368
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:1372
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:1379
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:1382
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:1387
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:1392
2783 msgid "INTERNALS"
2784 msgstr ""
2785
2786 # type: =head2
2787 #: ../src/guestfs.pod:1394
2788 msgid "COMMUNICATION PROTOCOL"
2789 msgstr ""
2790
2791 # type: textblock
2792 #: ../src/guestfs.pod:1396
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:1399
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:1403
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:1406
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:1413
2825 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
2826 msgstr ""
2827
2828 # type: textblock
2829 #: ../src/guestfs.pod:1415
2830 msgid "For ordinary functions, the request message is:"
2831 msgstr ""
2832
2833 # type: verbatim
2834 #: ../src/guestfs.pod:1417
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:1422
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:1428
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:1431
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:1435
2869 msgid "The reply message for ordinary functions is:"
2870 msgstr ""
2871
2872 # type: verbatim
2873 #: ../src/guestfs.pod:1437
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:1442
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:1445
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:1448
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:1451
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:1456
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:1459
2923 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
2924 msgstr ""
2925
2926 # type: textblock
2927 #: ../src/guestfs.pod:1461
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:1465
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:1473
2950 msgid "The \"sequence of chunks\" is:"
2951 msgstr ""
2952
2953 # type: verbatim
2954 #: ../src/guestfs.pod:1475
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:1483
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:1487
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:1492
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:1498
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:1507
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:1513
3017 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
3018 msgstr ""
3019
3020 # type: textblock
3021 #: ../src/guestfs.pod:1515
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:1518
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:1526
3043 msgid "INITIAL MESSAGE"
3044 msgstr ""
3045
3046 # type: textblock
3047 #: ../src/guestfs.pod:1528
3048 msgid ""
3049 "Because the underlying channel (QEmu -net channel) doesn't have any sort of "
3050 "connection control, when the daemon launches it sends an initial word "
3051 "(C<GUESTFS_LAUNCH_FLAG>) which indicates that the guest and daemon is "
3052 "alive.  This is what L</guestfs_launch> waits for."
3053 msgstr ""
3054
3055 # type: =head1
3056 #: ../src/guestfs.pod:1533
3057 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
3058 msgstr ""
3059
3060 # type: textblock
3061 #: ../src/guestfs.pod:1535
3062 msgid ""
3063 "All high-level libguestfs actions are synchronous.  If you want to use "
3064 "libguestfs asynchronously then you must create a thread."
3065 msgstr ""
3066
3067 # type: textblock
3068 #: ../src/guestfs.pod:1538
3069 msgid ""
3070 "Only use the handle from a single thread.  Either use the handle exclusively "
3071 "from one thread, or provide your own mutex so that two threads cannot issue "
3072 "calls on the same handle at the same time."
3073 msgstr ""
3074
3075 # type: =head1
3076 #: ../src/guestfs.pod:1542
3077 msgid "QEMU WRAPPERS"
3078 msgstr ""
3079
3080 # type: textblock
3081 #: ../src/guestfs.pod:1544
3082 msgid ""
3083 "If you want to compile your own qemu, run qemu from a non-standard location, "
3084 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
3085 "around qemu."
3086 msgstr ""
3087
3088 # type: textblock
3089 #: ../src/guestfs.pod:1548
3090 msgid ""
3091 "There is one important rule to remember: you I<must C<exec qemu>> as the "
3092 "last command in the shell script (so that qemu replaces the shell and "
3093 "becomes the direct child of the libguestfs-using program).  If you don't do "
3094 "this, then the qemu process won't be cleaned up correctly."
3095 msgstr ""
3096
3097 # type: textblock
3098 #: ../src/guestfs.pod:1553
3099 msgid ""
3100 "Here is an example of a wrapper, where I have built my own copy of qemu from "
3101 "source:"
3102 msgstr ""
3103
3104 # type: verbatim
3105 #: ../src/guestfs.pod:1556
3106 #, no-wrap
3107 msgid ""
3108 " #!/bin/sh -\n"
3109 " qemudir=/home/rjones/d/qemu\n"
3110 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
3111 "\n"
3112 msgstr ""
3113
3114 # type: textblock
3115 #: ../src/guestfs.pod:1560
3116 msgid ""
3117 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
3118 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
3119 "example:"
3120 msgstr ""
3121
3122 # type: verbatim
3123 #: ../src/guestfs.pod:1564
3124 #, no-wrap
3125 msgid ""
3126 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
3127 "\n"
3128 msgstr ""
3129
3130 # type: textblock
3131 #: ../src/guestfs.pod:1566
3132 msgid ""
3133 "Note that libguestfs also calls qemu with the -help and -version options in "
3134 "order to determine features."
3135 msgstr ""
3136
3137 # type: =head1
3138 #: ../src/guestfs.pod:1569
3139 msgid "LIBGUESTFS VERSION NUMBERS"
3140 msgstr ""
3141
3142 # type: textblock
3143 #: ../src/guestfs.pod:1571
3144 msgid ""
3145 "Since April 2010, libguestfs has started to make separate development and "
3146 "stable releases, along with corresponding branches in our git repository.  "
3147 "These separate releases can be identified by version number:"
3148 msgstr ""
3149
3150 # type: verbatim
3151 #: ../src/guestfs.pod:1576
3152 #, no-wrap
3153 msgid ""
3154 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
3155 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
3156 "       |\n"
3157 "       v\n"
3158 " 1  .  3  .  5\n"
3159 " ^           ^\n"
3160 " |           |\n"
3161 " |           `-------- sub-version\n"
3162 " |\n"
3163 " `------ always '1' because we don't change the ABI\n"
3164 "\n"
3165 msgstr ""
3166
3167 # type: textblock
3168 #: ../src/guestfs.pod:1587
3169 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
3170 msgstr ""
3171
3172 # type: textblock
3173 #: ../src/guestfs.pod:1589
3174 msgid ""
3175 "As time passes we cherry pick fixes from the development branch and backport "
3176 "those into the stable branch, the effect being that the stable branch should "
3177 "get more stable and less buggy over time.  So the stable releases are ideal "
3178 "for people who don't need new features but would just like the software to "
3179 "work."
3180 msgstr ""
3181
3182 # type: textblock
3183 #: ../src/guestfs.pod:1595
3184 msgid "Our criteria for backporting changes are:"
3185 msgstr ""
3186
3187 # type: textblock
3188 #: ../src/guestfs.pod:1601
3189 msgid ""
3190 "Documentation changes which don't affect any code are backported unless the "
3191 "documentation refers to a future feature which is not in stable."
3192 msgstr ""
3193
3194 # type: textblock
3195 #: ../src/guestfs.pod:1607
3196 msgid ""
3197 "Bug fixes which are not controversial, fix obvious problems, and have been "
3198 "well tested are backported."
3199 msgstr ""
3200
3201 # type: textblock
3202 #: ../src/guestfs.pod:1612
3203 msgid ""
3204 "Simple rearrangements of code which shouldn't affect how it works get "
3205 "backported.  This is so that the code in the two branches doesn't get too "
3206 "far out of step, allowing us to backport future fixes more easily."
3207 msgstr ""
3208
3209 # type: textblock
3210 #: ../src/guestfs.pod:1618
3211 msgid ""
3212 "We I<don't> backport new features, new APIs, new tools etc, except in one "
3213 "exceptional case: the new feature is required in order to implement an "
3214 "important bug fix."
3215 msgstr ""
3216
3217 # type: textblock
3218 #: ../src/guestfs.pod:1624
3219 msgid ""
3220 "A new stable branch starts when we think the new features in development are "
3221 "substantial and compelling enough over the current stable branch to warrant "
3222 "it.  When that happens we create new stable and development versions 1.N.0 "
3223 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
3224 "stable at this point, but by backporting fixes from development, that branch "
3225 "will stabilize over time."
3226 msgstr ""
3227
3228 # type: =head1
3229 #: ../src/guestfs.pod:1632 ../fish/guestfish.pod:905
3230 #: ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:312
3231 #: ../tools/virt-rescue.pl:226
3232 msgid "ENVIRONMENT VARIABLES"
3233 msgstr ""
3234
3235 # type: =item
3236 #: ../src/guestfs.pod:1636 ../fish/guestfish.pod:925
3237 msgid "LIBGUESTFS_APPEND"
3238 msgstr ""
3239
3240 # type: textblock
3241 #: ../src/guestfs.pod:1638 ../fish/guestfish.pod:927
3242 msgid "Pass additional options to the guest kernel."
3243 msgstr ""
3244
3245 # type: =item
3246 #: ../src/guestfs.pod:1640 ../fish/guestfish.pod:929
3247 msgid "LIBGUESTFS_DEBUG"
3248 msgstr ""
3249
3250 # type: textblock
3251 #: ../src/guestfs.pod:1642
3252 msgid ""
3253 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
3254 "effect as calling C<guestfs_set_verbose (g, 1)>."
3255 msgstr ""
3256
3257 # type: =item
3258 #: ../src/guestfs.pod:1645 ../fish/guestfish.pod:934
3259 msgid "LIBGUESTFS_MEMSIZE"
3260 msgstr ""
3261
3262 # type: textblock
3263 #: ../src/guestfs.pod:1647 ../fish/guestfish.pod:936
3264 msgid ""
3265 "Set the memory allocated to the qemu process, in megabytes.  For example:"
3266 msgstr ""
3267
3268 # type: verbatim
3269 #: ../src/guestfs.pod:1650 ../fish/guestfish.pod:939
3270 #, no-wrap
3271 msgid ""
3272 " LIBGUESTFS_MEMSIZE=700\n"
3273 "\n"
3274 msgstr ""
3275
3276 # type: =item
3277 #: ../src/guestfs.pod:1652 ../fish/guestfish.pod:941
3278 msgid "LIBGUESTFS_PATH"
3279 msgstr ""
3280
3281 # type: textblock
3282 #: ../src/guestfs.pod:1654
3283 msgid ""
3284 "Set the path that libguestfs uses to search for kernel and initrd.img.  See "
3285 "the discussion of paths in section PATH above."
3286 msgstr ""
3287
3288 # type: =item
3289 #: ../src/guestfs.pod:1657 ../fish/guestfish.pod:946
3290 msgid "LIBGUESTFS_QEMU"
3291 msgstr ""
3292
3293 # type: textblock
3294 #: ../src/guestfs.pod:1659 ../fish/guestfish.pod:948
3295 msgid ""
3296 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
3297 "which was found at compile time by the configure script is used."
3298 msgstr ""
3299
3300 # type: textblock
3301 #: ../src/guestfs.pod:1663
3302 msgid "See also L</QEMU WRAPPERS> above."
3303 msgstr ""
3304
3305 # type: =item
3306 #: ../src/guestfs.pod:1665 ../fish/guestfish.pod:952
3307 msgid "LIBGUESTFS_TRACE"
3308 msgstr ""
3309
3310 # type: textblock
3311 #: ../src/guestfs.pod:1667
3312 msgid ""
3313 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
3314 "effect as calling C<guestfs_set_trace (g, 1)>."
3315 msgstr ""
3316
3317 # type: =item
3318 #: ../src/guestfs.pod:1670 ../fish/guestfish.pod:961
3319 msgid "TMPDIR"
3320 msgstr ""
3321
3322 # type: textblock
3323 #: ../src/guestfs.pod:1672 ../fish/guestfish.pod:963
3324 msgid "Location of temporary directory, defaults to C</tmp>."
3325 msgstr ""
3326
3327 # type: textblock
3328 #: ../src/guestfs.pod:1674 ../fish/guestfish.pod:965
3329 msgid ""
3330 "If libguestfs was compiled to use the supermin appliance then each handle "
3331 "will require rather a large amount of space in this directory for short "
3332 "periods of time (~ 80 MB).  You can use C<$TMPDIR> to configure another "
3333 "directory to use in case C</tmp> is not large enough."
3334 msgstr ""
3335
3336 # type: =head1
3337 #: ../src/guestfs.pod:1682 ../fish/guestfish.pod:1023
3338 #: ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:178
3339 #: ../inspector/virt-inspector.pl:846 ../tools/virt-cat.pl:163
3340 #: ../tools/virt-df.pl:482 ../tools/virt-edit.pl:325
3341 #: ../tools/virt-list-filesystems.pl:191 ../tools/virt-list-partitions.pl:229
3342 #: ../tools/virt-ls.pl:210 ../tools/virt-make-fs.pl:527
3343 #: ../tools/virt-rescue.pl:231 ../tools/virt-resize.pl:1390
3344 #: ../tools/virt-tar.pl:257 ../tools/virt-win-reg.pl:461
3345 msgid "SEE ALSO"
3346 msgstr ""
3347
3348 # type: textblock
3349 #: ../src/guestfs.pod:1684
3350 msgid ""
3351 "L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-edit"
3352 "(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, L<virt-list-"
3353 "partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-"
3354 "tar(1)>, L<virt-win-reg(1)>, L<qemu(1)>, L<febootstrap(1)>, L<hivex(3)>, "
3355 "L<http://libguestfs.org/>."
3356 msgstr ""
3357
3358 # type: textblock
3359 #: ../src/guestfs.pod:1702
3360 msgid ""
3361 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
3362 "(8)>, L<disktype(1)>."
3363 msgstr ""
3364
3365 # type: =head1
3366 #: ../src/guestfs.pod:1709 ../tools/virt-make-fs.pl:541
3367 #: ../tools/virt-win-reg.pl:476
3368 msgid "BUGS"
3369 msgstr ""
3370
3371 # type: textblock
3372 #: ../src/guestfs.pod:1711
3373 msgid "To get a list of bugs against libguestfs use this link:"
3374 msgstr ""
3375
3376 # type: textblock
3377 #: ../src/guestfs.pod:1713
3378 msgid ""
3379 "L<https://bugzilla.redhat.com/buglist.cgi?"
3380 "component=libguestfs&product=Virtualization+Tools>"
3381 msgstr ""
3382
3383 # type: textblock
3384 #: ../src/guestfs.pod:1715
3385 msgid "To report a new bug against libguestfs use this link:"
3386 msgstr ""
3387
3388 # type: textblock
3389 #: ../src/guestfs.pod:1717
3390 msgid ""
3391 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
3392 "component=libguestfs&product=Virtualization+Tools>"
3393 msgstr ""
3394
3395 # type: textblock
3396 #: ../src/guestfs.pod:1719
3397 msgid "When reporting a bug, please check:"
3398 msgstr ""
3399
3400 # type: textblock
3401 #: ../src/guestfs.pod:1725
3402 msgid "That the bug hasn't been reported already."
3403 msgstr ""
3404
3405 # type: textblock
3406 #: ../src/guestfs.pod:1729
3407 msgid "That you are testing a recent version."
3408 msgstr ""
3409
3410 # type: textblock
3411 #: ../src/guestfs.pod:1733
3412 msgid "Describe the bug accurately, and give a way to reproduce it."
3413 msgstr ""
3414
3415 # type: textblock
3416 #: ../src/guestfs.pod:1737
3417 msgid ""
3418 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
3419 "bug report."
3420 msgstr ""
3421
3422 # type: =head1
3423 #: ../src/guestfs.pod:1742 ../fish/guestfish.pod:1039
3424 #: ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:189
3425 #: ../inspector/virt-inspector.pl:855
3426 msgid "AUTHORS"
3427 msgstr ""
3428
3429 # type: textblock
3430 #: ../src/guestfs.pod:1744 ../fish/guestfish.pod:1041
3431 #: ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:191
3432 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
3433 msgstr ""
3434
3435 # type: =head1
3436 #: ../src/guestfs.pod:1746 ../fish/guestfish.pod:1043
3437 #: ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:193
3438 #: ../inspector/virt-inspector.pl:861 ../tools/virt-cat.pl:177
3439 #: ../tools/virt-df.pl:495 ../tools/virt-edit.pl:341
3440 #: ../tools/virt-list-filesystems.pl:207 ../tools/virt-list-partitions.pl:244
3441 #: ../tools/virt-ls.pl:225 ../tools/virt-make-fs.pl:556
3442 #: ../tools/virt-rescue.pl:245 ../tools/virt-resize.pl:1411
3443 #: ../tools/virt-tar.pl:272 ../tools/virt-win-reg.pl:491
3444 msgid "COPYRIGHT"
3445 msgstr ""
3446
3447 # type: textblock
3448 #: ../src/guestfs.pod:1748 ../fish/guestfish.pod:1045
3449 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
3450 msgstr ""
3451
3452 # type: textblock
3453 #: ../src/guestfs.pod:1751
3454 msgid ""
3455 "This library is free software; you can redistribute it and/or modify it "
3456 "under the terms of the GNU Lesser General Public License as published by the "
3457 "Free Software Foundation; either version 2 of the License, or (at your "
3458 "option) any later version."
3459 msgstr ""
3460
3461 # type: textblock
3462 #: ../src/guestfs.pod:1756
3463 msgid ""
3464 "This library is distributed in the hope that it will be useful, but WITHOUT "
3465 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
3466 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
3467 "for more details."
3468 msgstr ""
3469
3470 # type: textblock
3471 #: ../src/guestfs.pod:1761
3472 msgid ""
3473 "You should have received a copy of the GNU Lesser General Public License "
3474 "along with this library; if not, write to the Free Software Foundation, "
3475 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
3476 msgstr ""
3477
3478 # type: =head2
3479 #: ../src/guestfs-actions.pod:1
3480 msgid "guestfs_add_cdrom"
3481 msgstr ""
3482
3483 # type: verbatim
3484 #: ../src/guestfs-actions.pod:3
3485 #, no-wrap
3486 msgid ""
3487 " int guestfs_add_cdrom (guestfs_h *g,\n"
3488 "\t\tconst char *filename);\n"
3489 "\n"
3490 msgstr ""
3491
3492 # type: textblock
3493 #: ../src/guestfs-actions.pod:6 ../fish/guestfish-actions.pod:5
3494 msgid "This function adds a virtual CD-ROM disk image to the guest."
3495 msgstr ""
3496
3497 # type: textblock
3498 #: ../src/guestfs-actions.pod:8 ../fish/guestfish-actions.pod:7
3499 msgid "This is equivalent to the qemu parameter C<-cdrom filename>."
3500 msgstr ""
3501
3502 # type: textblock
3503 #: ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:1488
3504 #: ../fish/guestfish-actions.pod:9 ../fish/guestfish-actions.pod:1186
3505 msgid "Notes:"
3506 msgstr ""
3507
3508 # type: textblock
3509 #: ../src/guestfs-actions.pod:16
3510 msgid ""
3511 "This call checks for the existence of C<filename>.  This stops you from "
3512 "specifying other types of drive which are supported by qemu such as C<nbd:> "
3513 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
3514 "instead."
3515 msgstr ""
3516
3517 # type: textblock
3518 #: ../src/guestfs-actions.pod:23
3519 msgid ""
3520 "If you just want to add an ISO file (often you use this as an efficient way "
3521 "to transfer large files into the guest), then you should probably use "
3522 "C<guestfs_add_drive_ro> instead."
3523 msgstr ""
3524
3525 # type: textblock
3526 #: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:63
3527 #: ../src/guestfs-actions.pod:92 ../src/guestfs-actions.pod:103
3528 #: ../src/guestfs-actions.pod:114 ../src/guestfs-actions.pod:124
3529 #: ../src/guestfs-actions.pod:135 ../src/guestfs-actions.pod:238
3530 #: ../src/guestfs-actions.pod:255 ../src/guestfs-actions.pod:266
3531 #: ../src/guestfs-actions.pod:302 ../src/guestfs-actions.pod:324
3532 #: ../src/guestfs-actions.pod:339 ../src/guestfs-actions.pod:403
3533 #: ../src/guestfs-actions.pod:430 ../src/guestfs-actions.pod:441
3534 #: ../src/guestfs-actions.pod:453 ../src/guestfs-actions.pod:534
3535 #: ../src/guestfs-actions.pod:549 ../src/guestfs-actions.pod:560
3536 #: ../src/guestfs-actions.pod:571 ../src/guestfs-actions.pod:717
3537 #: ../src/guestfs-actions.pod:734 ../src/guestfs-actions.pod:749
3538 #: ../src/guestfs-actions.pod:824 ../src/guestfs-actions.pod:839
3539 #: ../src/guestfs-actions.pod:855 ../src/guestfs-actions.pod:866
3540 #: ../src/guestfs-actions.pod:883 ../src/guestfs-actions.pod:916
3541 #: ../src/guestfs-actions.pod:974 ../src/guestfs-actions.pod:996
3542 #: ../src/guestfs-actions.pod:1027 ../src/guestfs-actions.pod:1115
3543 #: ../src/guestfs-actions.pod:1146 ../src/guestfs-actions.pod:1346
3544 #: ../src/guestfs-actions.pod:1365 ../src/guestfs-actions.pod:1446
3545 #: ../src/guestfs-actions.pod:1794 ../src/guestfs-actions.pod:1917
3546 #: ../src/guestfs-actions.pod:1972 ../src/guestfs-actions.pod:2002
3547 #: ../src/guestfs-actions.pod:2349 ../src/guestfs-actions.pod:2361
3548 #: ../src/guestfs-actions.pod:2378 ../src/guestfs-actions.pod:2443
3549 #: ../src/guestfs-actions.pod:2454 ../src/guestfs-actions.pod:2464
3550 #: ../src/guestfs-actions.pod:2475 ../src/guestfs-actions.pod:2487
3551 #: ../src/guestfs-actions.pod:2517 ../src/guestfs-actions.pod:2581
3552 #: ../src/guestfs-actions.pod:2598 ../src/guestfs-actions.pod:2612
3553 #: ../src/guestfs-actions.pod:2632 ../src/guestfs-actions.pod:2652
3554 #: ../src/guestfs-actions.pod:2681 ../src/guestfs-actions.pod:2697
3555 #: ../src/guestfs-actions.pod:2713 ../src/guestfs-actions.pod:2725
3556 #: ../src/guestfs-actions.pod:2734 ../src/guestfs-actions.pod:2767
3557 #: ../src/guestfs-actions.pod:2780 ../src/guestfs-actions.pod:2790
3558 #: ../src/guestfs-actions.pod:2802 ../src/guestfs-actions.pod:2816
3559 #: ../src/guestfs-actions.pod:2896 ../src/guestfs-actions.pod:2913
3560 #: ../src/guestfs-actions.pod:2923 ../src/guestfs-actions.pod:2968
3561 #: ../src/guestfs-actions.pod:2983 ../src/guestfs-actions.pod:2998
3562 #: ../src/guestfs-actions.pod:3011 ../src/guestfs-actions.pod:3022
3563 #: ../src/guestfs-actions.pod:3033 ../src/guestfs-actions.pod:3047
3564 #: ../src/guestfs-actions.pod:3059 ../src/guestfs-actions.pod:3076
3565 #: ../src/guestfs-actions.pod:3107 ../src/guestfs-actions.pod:3135
3566 #: ../src/guestfs-actions.pod:3151 ../src/guestfs-actions.pod:3167
3567 #: ../src/guestfs-actions.pod:3176 ../src/guestfs-actions.pod:3190
3568 #: ../src/guestfs-actions.pod:3200 ../src/guestfs-actions.pod:3212
3569 #: ../src/guestfs-actions.pod:3224 ../src/guestfs-actions.pod:3256
3570 #: ../src/guestfs-actions.pod:3268 ../src/guestfs-actions.pod:3285
3571 #: ../src/guestfs-actions.pod:3296 ../src/guestfs-actions.pod:3310
3572 #: ../src/guestfs-actions.pod:3350 ../src/guestfs-actions.pod:3381
3573 #: ../src/guestfs-actions.pod:3392 ../src/guestfs-actions.pod:3417
3574 #: ../src/guestfs-actions.pod:3431 ../src/guestfs-actions.pod:3446
3575 #: ../src/guestfs-actions.pod:3568 ../src/guestfs-actions.pod:3620
3576 #: ../src/guestfs-actions.pod:3639 ../src/guestfs-actions.pod:3654
3577 #: ../src/guestfs-actions.pod:3665 ../src/guestfs-actions.pod:3699
3578 #: ../src/guestfs-actions.pod:3713 ../src/guestfs-actions.pod:3723
3579 #: ../src/guestfs-actions.pod:3734 ../src/guestfs-actions.pod:3966
3580 #: ../src/guestfs-actions.pod:3982 ../src/guestfs-actions.pod:3993
3581 #: ../src/guestfs-actions.pod:4002 ../src/guestfs-actions.pod:4013
3582 #: ../src/guestfs-actions.pod:4022 ../src/guestfs-actions.pod:4033
3583 #: ../src/guestfs-actions.pod:4046 ../src/guestfs-actions.pod:4064
3584 #: ../src/guestfs-actions.pod:4080 ../src/guestfs-actions.pod:4096
3585 #: ../src/guestfs-actions.pod:4111 ../src/guestfs-actions.pod:4131
3586 #: ../src/guestfs-actions.pod:4146 ../src/guestfs-actions.pod:4162
3587 #: ../src/guestfs-actions.pod:4180 ../src/guestfs-actions.pod:4196
3588 #: ../src/guestfs-actions.pod:4210 ../src/guestfs-actions.pod:4235
3589 #: ../src/guestfs-actions.pod:4256 ../src/guestfs-actions.pod:4272
3590 #: ../src/guestfs-actions.pod:4293 ../src/guestfs-actions.pod:4305
3591 #: ../src/guestfs-actions.pod:4317 ../src/guestfs-actions.pod:4333
3592 #: ../src/guestfs-actions.pod:4367 ../src/guestfs-actions.pod:4387
3593 #: ../src/guestfs-actions.pod:4410 ../src/guestfs-actions.pod:4500
3594 #: ../src/guestfs-actions.pod:4606 ../src/guestfs-actions.pod:4615
3595 #: ../src/guestfs-actions.pod:4625 ../src/guestfs-actions.pod:4635
3596 #: ../src/guestfs-actions.pod:4654 ../src/guestfs-actions.pod:4664
3597 #: ../src/guestfs-actions.pod:4674 ../src/guestfs-actions.pod:4684
3598 #: ../src/guestfs-actions.pod:4696 ../src/guestfs-actions.pod:4746
3599 #: ../src/guestfs-actions.pod:4760 ../src/guestfs-actions.pod:4773
3600 #: ../src/guestfs-actions.pod:4786 ../src/guestfs-actions.pod:4800
3601 #: ../src/guestfs-actions.pod:4810 ../src/guestfs-actions.pod:4827
3602 #: ../src/guestfs-actions.pod:4857 ../src/guestfs-actions.pod:4868
3603 #: ../src/guestfs-actions.pod:4903 ../src/guestfs-actions.pod:4913
3604 #: ../src/guestfs-actions.pod:4928 ../src/guestfs-actions.pod:4956
3605 #: ../src/guestfs-actions.pod:5060 ../src/guestfs-actions.pod:5075
3606 #: ../src/guestfs-actions.pod:5086 ../src/guestfs-actions.pod:5132
3607 #: ../src/guestfs-actions.pod:5142 ../src/guestfs-actions.pod:5179
3608 #: ../src/guestfs-actions.pod:5206 ../src/guestfs-actions.pod:5248
3609 #: ../src/guestfs-actions.pod:5271 ../src/guestfs-actions.pod:5328
3610 #: ../src/guestfs-actions.pod:5344 ../src/guestfs-actions.pod:5370
3611 msgid "This function returns 0 on success or -1 on error."
3612 msgstr ""
3613
3614 # type: =head2
3615 #: ../src/guestfs-actions.pod:31
3616 msgid "guestfs_add_drive"
3617 msgstr ""
3618
3619 # type: verbatim
3620 #: ../src/guestfs-actions.pod:33
3621 #, no-wrap
3622 msgid ""
3623 " int guestfs_add_drive (guestfs_h *g,\n"
3624 "\t\tconst char *filename);\n"
3625 "\n"
3626 msgstr ""
3627
3628 # type: textblock
3629 #: ../src/guestfs-actions.pod:36 ../fish/guestfish-actions.pod:32
3630 msgid ""
3631 "This function adds a virtual machine disk image C<filename> to the guest.  "
3632 "The first time you call this function, the disk appears as IDE disk 0 (C</"
3633 "dev/sda>) in the guest, the second time as C</dev/sdb>, and so on."
3634 msgstr ""
3635
3636 # type: textblock
3637 #: ../src/guestfs-actions.pod:41 ../fish/guestfish-actions.pod:37
3638 msgid ""
3639 "You don't necessarily need to be root when using libguestfs.  However you "
3640 "obviously do need sufficient permissions to access the filename for whatever "
3641 "operations you want to perform (ie. read access if you just want to read the "
3642 "image or write access if you want to modify the image)."
3643 msgstr ""
3644
3645 # type: textblock
3646 #: ../src/guestfs-actions.pod:47 ../fish/guestfish-actions.pod:43
3647 msgid ""
3648 "This is equivalent to the qemu parameter C<-drive file=filename,cache=off,"
3649 "if=...>."
3650 msgstr ""
3651
3652 # type: textblock
3653 #: ../src/guestfs-actions.pod:50 ../fish/guestfish-actions.pod:46
3654 msgid ""
3655 "C<cache=off> is omitted in cases where it is not supported by the underlying "
3656 "filesystem."
3657 msgstr ""
3658
3659 # type: textblock
3660 #: ../src/guestfs-actions.pod:53 ../src/guestfs-actions.pod:82
3661 msgid ""
3662 "C<if=...> is set at compile time by the configuration option C<./configure --"
3663 "with-drive-if=...>.  In the rare case where you might need to change this at "
3664 "run time, use C<guestfs_add_drive_with_if> or "
3665 "C<guestfs_add_drive_ro_with_if>."
3666 msgstr ""
3667
3668 # type: textblock
3669 #: ../src/guestfs-actions.pod:58 ../src/guestfs-actions.pod:87
3670 msgid ""
3671 "Note that this call checks for the existence of C<filename>.  This stops you "
3672 "from specifying other types of drive which are supported by qemu such as "
3673 "C<nbd:> and C<http:> URLs.  To specify those, use the general "
3674 "C<guestfs_config> call instead."
3675 msgstr ""
3676
3677 # type: =head2
3678 #: ../src/guestfs-actions.pod:65
3679 msgid "guestfs_add_drive_ro"
3680 msgstr ""
3681
3682 # type: verbatim
3683 #: ../src/guestfs-actions.pod:67
3684 #, no-wrap
3685 msgid ""
3686 " int guestfs_add_drive_ro (guestfs_h *g,\n"
3687 "\t\tconst char *filename);\n"
3688 "\n"
3689 msgstr ""
3690
3691 # type: textblock
3692 #: ../src/guestfs-actions.pod:70 ../fish/guestfish-actions.pod:63
3693 msgid "This adds a drive in snapshot mode, making it effectively read-only."
3694 msgstr ""
3695
3696 # type: textblock
3697 #: ../src/guestfs-actions.pod:73 ../fish/guestfish-actions.pod:66
3698 msgid ""
3699 "Note that writes to the device are allowed, and will be seen for the "
3700 "duration of the guestfs handle, but they are written to a temporary file "
3701 "which is discarded as soon as the guestfs handle is closed.  We don't "
3702 "currently have any method to enable changes to be committed, although qemu "
3703 "can support this."
3704 msgstr ""
3705
3706 # type: textblock
3707 #: ../src/guestfs-actions.pod:79 ../fish/guestfish-actions.pod:72
3708 msgid ""
3709 "This is equivalent to the qemu parameter C<-drive file=filename,snapshot=on,"
3710 "if=...>."
3711 msgstr ""
3712
3713 # type: =head2
3714 #: ../src/guestfs-actions.pod:94
3715 msgid "guestfs_add_drive_ro_with_if"
3716 msgstr ""
3717
3718 # type: verbatim
3719 #: ../src/guestfs-actions.pod:96
3720 #, no-wrap
3721 msgid ""
3722 " int guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
3723 "\t\tconst char *filename,\n"
3724 "\t\tconst char *iface);\n"
3725 "\n"
3726 msgstr ""
3727
3728 # type: textblock
3729 #: ../src/guestfs-actions.pod:100
3730 msgid ""
3731 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
3732 "QEMU interface emulation to use at run time."
3733 msgstr ""
3734
3735 # type: =head2
3736 #: ../src/guestfs-actions.pod:105
3737 msgid "guestfs_add_drive_with_if"
3738 msgstr ""
3739
3740 # type: verbatim
3741 #: ../src/guestfs-actions.pod:107
3742 #, no-wrap
3743 msgid ""
3744 " int guestfs_add_drive_with_if (guestfs_h *g,\n"
3745 "\t\tconst char *filename,\n"
3746 "\t\tconst char *iface);\n"
3747 "\n"
3748 msgstr ""
3749
3750 # type: textblock
3751 #: ../src/guestfs-actions.pod:111
3752 msgid ""
3753 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
3754 "QEMU interface emulation to use at run time."
3755 msgstr ""
3756
3757 # type: =head2
3758 #: ../src/guestfs-actions.pod:116
3759 msgid "guestfs_aug_clear"
3760 msgstr ""
3761
3762 # type: verbatim
3763 #: ../src/guestfs-actions.pod:118
3764 #, no-wrap
3765 msgid ""
3766 " int guestfs_aug_clear (guestfs_h *g,\n"
3767 "\t\tconst char *augpath);\n"
3768 "\n"
3769 msgstr ""
3770
3771 # type: textblock
3772 #: ../src/guestfs-actions.pod:121 ../fish/guestfish-actions.pod:103
3773 msgid ""
3774 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
3775 "L<augtool(1)> C<clear> command."
3776 msgstr ""
3777
3778 # type: =head2
3779 #: ../src/guestfs-actions.pod:126
3780 msgid "guestfs_aug_close"
3781 msgstr ""
3782
3783 # type: verbatim
3784 #: ../src/guestfs-actions.pod:128
3785 #, no-wrap
3786 msgid ""
3787 " int guestfs_aug_close (guestfs_h *g);\n"
3788 "\n"
3789 msgstr ""
3790
3791 # type: textblock
3792 #: ../src/guestfs-actions.pod:130
3793 msgid ""
3794 "Close the current Augeas handle and free up any resources used by it.  After "
3795 "calling this, you have to call C<guestfs_aug_init> again before you can use "
3796 "any other Augeas functions."
3797 msgstr ""
3798
3799 # type: =head2
3800 #: ../src/guestfs-actions.pod:137
3801 msgid "guestfs_aug_defnode"
3802 msgstr ""
3803
3804 # type: verbatim
3805 #: ../src/guestfs-actions.pod:139
3806 #, no-wrap
3807 msgid ""
3808 " struct guestfs_int_bool *guestfs_aug_defnode (guestfs_h *g,\n"
3809 "\t\tconst char *name,\n"
3810 "\t\tconst char *expr,\n"
3811 "\t\tconst char *val);\n"
3812 "\n"
3813 msgstr ""
3814
3815 # type: textblock
3816 #: ../src/guestfs-actions.pod:144 ../fish/guestfish-actions.pod:119
3817 msgid ""
3818 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
3819 msgstr ""
3820
3821 # type: textblock
3822 #: ../src/guestfs-actions.pod:147
3823 msgid ""
3824 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
3825 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
3826 "containing that single node."
3827 msgstr ""
3828
3829 # type: textblock
3830 #: ../src/guestfs-actions.pod:151 ../fish/guestfish-actions.pod:126
3831 msgid ""
3832 "On success this returns a pair containing the number of nodes in the "
3833 "nodeset, and a boolean flag if a node was created."
3834 msgstr ""
3835
3836 # type: textblock
3837 #: ../src/guestfs-actions.pod:155
3838 msgid ""
3839 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
3840 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
3841 msgstr ""
3842
3843 # type: =head2
3844 #: ../src/guestfs-actions.pod:159
3845 msgid "guestfs_aug_defvar"
3846 msgstr ""
3847
3848 # type: verbatim
3849 #: ../src/guestfs-actions.pod:161
3850 #, no-wrap
3851 msgid ""
3852 " int guestfs_aug_defvar (guestfs_h *g,\n"
3853 "\t\tconst char *name,\n"
3854 "\t\tconst char *expr);\n"
3855 "\n"
3856 msgstr ""
3857
3858 # type: textblock
3859 #: ../src/guestfs-actions.pod:165 ../fish/guestfish-actions.pod:134
3860 msgid ""
3861 "Defines an Augeas variable C<name> whose value is the result of evaluating "
3862 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
3863 msgstr ""
3864
3865 # type: textblock
3866 #: ../src/guestfs-actions.pod:169 ../fish/guestfish-actions.pod:138
3867 msgid ""
3868 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
3869 "evaluates to something which is not a nodeset."
3870 msgstr ""
3871
3872 # type: textblock
3873 #: ../src/guestfs-actions.pod:172 ../src/guestfs-actions.pod:313
3874 #: ../src/guestfs-actions.pod:467 ../src/guestfs-actions.pod:492
3875 #: ../src/guestfs-actions.pod:507 ../src/guestfs-actions.pod:523
3876 #: ../src/guestfs-actions.pod:1013 ../src/guestfs-actions.pod:1328
3877 #: ../src/guestfs-actions.pod:1510 ../src/guestfs-actions.pod:1591
3878 #: ../src/guestfs-actions.pod:1622 ../src/guestfs-actions.pod:1665
3879 #: ../src/guestfs-actions.pod:1682 ../src/guestfs-actions.pod:1907
3880 #: ../src/guestfs-actions.pod:2119 ../src/guestfs-actions.pod:2137
3881 #: ../src/guestfs-actions.pod:3370 ../src/guestfs-actions.pod:3477
3882 #: ../src/guestfs-actions.pod:3793 ../src/guestfs-actions.pod:4892
3883 #: ../src/guestfs-actions.pod:5216 ../src/guestfs-actions.pod:5226
3884 #: ../src/guestfs-actions.pod:5236
3885 msgid "On error this function returns -1."
3886 msgstr ""
3887
3888 # type: =head2
3889 #: ../src/guestfs-actions.pod:174
3890 msgid "guestfs_aug_get"
3891 msgstr ""
3892
3893 # type: verbatim
3894 #: ../src/guestfs-actions.pod:176
3895 #, no-wrap
3896 msgid ""
3897 " char *guestfs_aug_get (guestfs_h *g,\n"
3898 "\t\tconst char *augpath);\n"
3899 "\n"
3900 msgstr ""
3901
3902 # type: textblock
3903 #: ../src/guestfs-actions.pod:179 ../fish/guestfish-actions.pod:145
3904 msgid ""
3905 "Look up the value associated with C<path>.  If C<path> matches exactly one "
3906 "node, the C<value> is returned."
3907 msgstr ""
3908
3909 # type: textblock
3910 #: ../src/guestfs-actions.pod:182 ../src/guestfs-actions.pod:610
3911 #: ../src/guestfs-actions.pod:625 ../src/guestfs-actions.pod:682
3912 #: ../src/guestfs-actions.pod:695 ../src/guestfs-actions.pod:786
3913 #: ../src/guestfs-actions.pod:899 ../src/guestfs-actions.pod:928
3914 #: ../src/guestfs-actions.pod:942 ../src/guestfs-actions.pod:958
3915 #: ../src/guestfs-actions.pod:1041 ../src/guestfs-actions.pod:1205
3916 #: ../src/guestfs-actions.pod:1314 ../src/guestfs-actions.pod:1459
3917 #: ../src/guestfs-actions.pod:1473 ../src/guestfs-actions.pod:1549
3918 #: ../src/guestfs-actions.pod:1567 ../src/guestfs-actions.pod:1701
3919 #: ../src/guestfs-actions.pod:1840 ../src/guestfs-actions.pod:2021
3920 #: ../src/guestfs-actions.pod:2071 ../src/guestfs-actions.pod:2187
3921 #: ../src/guestfs-actions.pod:2222 ../src/guestfs-actions.pod:2432
3922 #: ../src/guestfs-actions.pod:2853 ../src/guestfs-actions.pod:2949
3923 #: ../src/guestfs-actions.pod:3492 ../src/guestfs-actions.pod:3771
3924 #: ../src/guestfs-actions.pod:3909 ../src/guestfs-actions.pod:3952
3925 #: ../src/guestfs-actions.pod:4428 ../src/guestfs-actions.pod:4441
3926 #: ../src/guestfs-actions.pod:4455 ../src/guestfs-actions.pod:4476
3927 #: ../src/guestfs-actions.pod:5009 ../src/guestfs-actions.pod:5025
3928 #: ../src/guestfs-actions.pod:5040 ../src/guestfs-actions.pod:5188
3929 #: ../src/guestfs-actions.pod:5418
3930 msgid ""
3931 "This function returns a string, or NULL on error.  I<The caller must free "
3932 "the returned string after use>."
3933 msgstr ""
3934
3935 # type: =head2
3936 #: ../src/guestfs-actions.pod:185
3937 msgid "guestfs_aug_init"
3938 msgstr ""
3939
3940 # type: verbatim
3941 #: ../src/guestfs-actions.pod:187
3942 #, no-wrap
3943 msgid ""
3944 " int guestfs_aug_init (guestfs_h *g,\n"
3945 "\t\tconst char *root,\n"
3946 "\t\tint flags);\n"
3947 "\n"
3948 msgstr ""
3949
3950 # type: textblock
3951 #: ../src/guestfs-actions.pod:191 ../fish/guestfish-actions.pod:152
3952 msgid ""
3953 "Create a new Augeas handle for editing configuration files.  If there was "
3954 "any previous Augeas handle associated with this guestfs session, then it is "
3955 "closed."
3956 msgstr ""
3957
3958 # type: textblock
3959 #: ../src/guestfs-actions.pod:195
3960 msgid "You must call this before using any other C<guestfs_aug_*> commands."
3961 msgstr ""
3962
3963 # type: textblock
3964 #: ../src/guestfs-actions.pod:198 ../fish/guestfish-actions.pod:159
3965 msgid ""
3966 "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
3967 msgstr ""
3968
3969 # type: textblock
3970 #: ../src/guestfs-actions.pod:201 ../fish/guestfish-actions.pod:162
3971 msgid ""
3972 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
3973 "logical I<or> of the following integers:"
3974 msgstr ""
3975
3976 # type: =item
3977 #: ../src/guestfs-actions.pod:207 ../fish/guestfish-actions.pod:168
3978 msgid "C<AUG_SAVE_BACKUP> = 1"
3979 msgstr ""
3980
3981 # type: textblock
3982 #: ../src/guestfs-actions.pod:209 ../fish/guestfish-actions.pod:170
3983 msgid "Keep the original file with a C<.augsave> extension."
3984 msgstr ""
3985
3986 # type: =item
3987 #: ../src/guestfs-actions.pod:211 ../fish/guestfish-actions.pod:172
3988 msgid "C<AUG_SAVE_NEWFILE> = 2"
3989 msgstr ""
3990
3991 # type: textblock
3992 #: ../src/guestfs-actions.pod:213 ../fish/guestfish-actions.pod:174
3993 msgid ""
3994 "Save changes into a file with extension C<.augnew>, and do not overwrite "
3995 "original.  Overrides C<AUG_SAVE_BACKUP>."
3996 msgstr ""
3997
3998 # type: =item
3999 #: ../src/guestfs-actions.pod:216 ../fish/guestfish-actions.pod:177
4000 msgid "C<AUG_TYPE_CHECK> = 4"
4001 msgstr ""
4002
4003 # type: textblock
4004 #: ../src/guestfs-actions.pod:218 ../fish/guestfish-actions.pod:179
4005 msgid "Typecheck lenses (can be expensive)."
4006 msgstr ""
4007
4008 # type: =item
4009 #: ../src/guestfs-actions.pod:220 ../fish/guestfish-actions.pod:181
4010 msgid "C<AUG_NO_STDINC> = 8"
4011 msgstr ""
4012
4013 # type: textblock
4014 #: ../src/guestfs-actions.pod:222 ../fish/guestfish-actions.pod:183
4015 msgid "Do not use standard load path for modules."
4016 msgstr ""
4017
4018 # type: =item
4019 #: ../src/guestfs-actions.pod:224 ../fish/guestfish-actions.pod:185
4020 msgid "C<AUG_SAVE_NOOP> = 16"
4021 msgstr ""
4022
4023 # type: textblock
4024 #: ../src/guestfs-actions.pod:226 ../fish/guestfish-actions.pod:187
4025 msgid "Make save a no-op, just record what would have been changed."
4026 msgstr ""
4027
4028 # type: =item
4029 #: ../src/guestfs-actions.pod:228 ../fish/guestfish-actions.pod:189
4030 msgid "C<AUG_NO_LOAD> = 32"
4031 msgstr ""
4032
4033 # type: textblock
4034 #: ../src/guestfs-actions.pod:230
4035 msgid "Do not load the tree in C<guestfs_aug_init>."
4036 msgstr ""
4037
4038 # type: textblock
4039 #: ../src/guestfs-actions.pod:234
4040 msgid "To close the handle, you can call C<guestfs_aug_close>."
4041 msgstr ""
4042
4043 # type: textblock
4044 #: ../src/guestfs-actions.pod:236 ../fish/guestfish-actions.pod:197
4045 msgid "To find out more about Augeas, see L<http://augeas.net/>."
4046 msgstr ""
4047
4048 # type: =head2
4049 #: ../src/guestfs-actions.pod:240
4050 msgid "guestfs_aug_insert"
4051 msgstr ""
4052
4053 # type: verbatim
4054 #: ../src/guestfs-actions.pod:242
4055 #, no-wrap
4056 msgid ""
4057 " int guestfs_aug_insert (guestfs_h *g,\n"
4058 "\t\tconst char *augpath,\n"
4059 "\t\tconst char *label,\n"
4060 "\t\tint before);\n"
4061 "\n"
4062 msgstr ""
4063
4064 # type: textblock
4065 #: ../src/guestfs-actions.pod:247 ../fish/guestfish-actions.pod:203
4066 msgid ""
4067 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
4068 "or after C<path> (depending on the boolean flag C<before>)."
4069 msgstr ""
4070
4071 # type: textblock
4072 #: ../src/guestfs-actions.pod:251 ../fish/guestfish-actions.pod:207
4073 msgid ""
4074 "C<path> must match exactly one existing node in the tree, and C<label> must "
4075 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
4076 msgstr ""
4077
4078 # type: =head2
4079 #: ../src/guestfs-actions.pod:257
4080 msgid "guestfs_aug_load"
4081 msgstr ""
4082
4083 # type: verbatim
4084 #: ../src/guestfs-actions.pod:259
4085 #, no-wrap
4086 msgid ""
4087 " int guestfs_aug_load (guestfs_h *g);\n"
4088 "\n"
4089 msgstr ""
4090
4091 # type: textblock
4092 #: ../src/guestfs-actions.pod:261 ../fish/guestfish-actions.pod:215
4093 msgid "Load files into the tree."
4094 msgstr ""
4095
4096 # type: textblock
4097 #: ../src/guestfs-actions.pod:263 ../fish/guestfish-actions.pod:217
4098 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
4099 msgstr ""
4100
4101 # type: =head2
4102 #: ../src/guestfs-actions.pod:268
4103 msgid "guestfs_aug_ls"
4104 msgstr ""
4105
4106 # type: verbatim
4107 #: ../src/guestfs-actions.pod:270
4108 #, no-wrap
4109 msgid ""
4110 " char **guestfs_aug_ls (guestfs_h *g,\n"
4111 "\t\tconst char *augpath);\n"
4112 "\n"
4113 msgstr ""
4114
4115 # type: textblock
4116 #: ../src/guestfs-actions.pod:273
4117 msgid ""
4118 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
4119 "sorting the resulting nodes into alphabetical order."
4120 msgstr ""
4121
4122 # type: textblock
4123 #: ../src/guestfs-actions.pod:276 ../src/guestfs-actions.pod:289
4124 #: ../src/guestfs-actions.pod:417 ../src/guestfs-actions.pod:802
4125 #: ../src/guestfs-actions.pod:1053 ../src/guestfs-actions.pod:1069
4126 #: ../src/guestfs-actions.pod:1157 ../src/guestfs-actions.pod:1173
4127 #: ../src/guestfs-actions.pod:1404 ../src/guestfs-actions.pod:1738
4128 #: ../src/guestfs-actions.pod:1751 ../src/guestfs-actions.pod:1767
4129 #: ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:1825
4130 #: ../src/guestfs-actions.pod:1887 ../src/guestfs-actions.pod:1927
4131 #: ../src/guestfs-actions.pod:2093 ../src/guestfs-actions.pod:2259
4132 #: ../src/guestfs-actions.pod:2402 ../src/guestfs-actions.pod:2417
4133 #: ../src/guestfs-actions.pod:2501 ../src/guestfs-actions.pod:2830
4134 #: ../src/guestfs-actions.pod:3337 ../src/guestfs-actions.pod:3748
4135 #: ../src/guestfs-actions.pod:3834 ../src/guestfs-actions.pod:3940
4136 #: ../src/guestfs-actions.pod:4489 ../src/guestfs-actions.pod:4538
4137 #: ../src/guestfs-actions.pod:4590 ../src/guestfs-actions.pod:4706
4138 #: ../src/guestfs-actions.pod:4727 ../src/guestfs-actions.pod:5101
4139 #: ../src/guestfs-actions.pod:5118 ../src/guestfs-actions.pod:5156
4140 #: ../src/guestfs-actions.pod:5292 ../src/guestfs-actions.pod:5308
4141 #: ../src/guestfs-actions.pod:5381 ../src/guestfs-actions.pod:5397
4142 #: ../src/guestfs-actions.pod:5437 ../src/guestfs-actions.pod:5453
4143 msgid ""
4144 "This function returns a NULL-terminated array of strings (like L<environ(3)"
4145 ">), or NULL if there was an error.  I<The caller must free the strings and "
4146 "the array after use>."
4147 msgstr ""
4148
4149 # type: =head2
4150 #: ../src/guestfs-actions.pod:280
4151 msgid "guestfs_aug_match"
4152 msgstr ""
4153
4154 # type: verbatim
4155 #: ../src/guestfs-actions.pod:282
4156 #, no-wrap
4157 msgid ""
4158 " char **guestfs_aug_match (guestfs_h *g,\n"
4159 "\t\tconst char *augpath);\n"
4160 "\n"
4161 msgstr ""
4162
4163 # type: textblock
4164 #: ../src/guestfs-actions.pod:285 ../fish/guestfish-actions.pod:231
4165 msgid ""
4166 "Returns a list of paths which match the path expression C<path>.  The "
4167 "returned paths are sufficiently qualified so that they match exactly one "
4168 "node in the current tree."
4169 msgstr ""
4170
4171 # type: =head2
4172 #: ../src/guestfs-actions.pod:293
4173 msgid "guestfs_aug_mv"
4174 msgstr ""
4175
4176 # type: verbatim
4177 #: ../src/guestfs-actions.pod:295
4178 #, no-wrap
4179 msgid ""
4180 " int guestfs_aug_mv (guestfs_h *g,\n"
4181 "\t\tconst char *src,\n"
4182 "\t\tconst char *dest);\n"
4183 "\n"
4184 msgstr ""
4185
4186 # type: textblock
4187 #: ../src/guestfs-actions.pod:299 ../fish/guestfish-actions.pod:239
4188 msgid ""
4189 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
4190 "C<dest> is overwritten if it exists."
4191 msgstr ""
4192
4193 # type: =head2
4194 #: ../src/guestfs-actions.pod:304
4195 msgid "guestfs_aug_rm"
4196 msgstr ""
4197
4198 # type: verbatim
4199 #: ../src/guestfs-actions.pod:306
4200 #, no-wrap
4201 msgid ""
4202 " int guestfs_aug_rm (guestfs_h *g,\n"
4203 "\t\tconst char *augpath);\n"
4204 "\n"
4205 msgstr ""
4206
4207 # type: textblock
4208 #: ../src/guestfs-actions.pod:309 ../fish/guestfish-actions.pod:246
4209 msgid "Remove C<path> and all of its children."
4210 msgstr ""
4211
4212 # type: textblock
4213 #: ../src/guestfs-actions.pod:311 ../fish/guestfish-actions.pod:248
4214 msgid "On success this returns the number of entries which were removed."
4215 msgstr ""
4216
4217 # type: =head2
4218 #: ../src/guestfs-actions.pod:315
4219 msgid "guestfs_aug_save"
4220 msgstr ""
4221
4222 # type: verbatim
4223 #: ../src/guestfs-actions.pod:317
4224 #, no-wrap
4225 msgid ""
4226 " int guestfs_aug_save (guestfs_h *g);\n"
4227 "\n"
4228 msgstr ""
4229
4230 # type: textblock
4231 #: ../src/guestfs-actions.pod:319 ../fish/guestfish-actions.pod:254
4232 msgid "This writes all pending changes to disk."
4233 msgstr ""
4234
4235 # type: textblock
4236 #: ../src/guestfs-actions.pod:321
4237 msgid ""
4238 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
4239 "are saved."
4240 msgstr ""
4241
4242 # type: =head2
4243 #: ../src/guestfs-actions.pod:326
4244 msgid "guestfs_aug_set"
4245 msgstr ""
4246
4247 # type: verbatim
4248 #: ../src/guestfs-actions.pod:328
4249 #, no-wrap
4250 msgid ""
4251 " int guestfs_aug_set (guestfs_h *g,\n"
4252 "\t\tconst char *augpath,\n"
4253 "\t\tconst char *val);\n"
4254 "\n"
4255 msgstr ""
4256
4257 # type: textblock
4258 #: ../src/guestfs-actions.pod:332 ../fish/guestfish-actions.pod:263
4259 msgid "Set the value associated with C<path> to C<val>."
4260 msgstr ""
4261
4262 # type: textblock
4263 #: ../src/guestfs-actions.pod:334
4264 msgid ""
4265 "In the Augeas API, it is possible to clear a node by setting the value to "
4266 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
4267 "this call.  Instead you must use the C<guestfs_aug_clear> call."
4268 msgstr ""
4269
4270 # type: =head2
4271 #: ../src/guestfs-actions.pod:341
4272 msgid "guestfs_available"
4273 msgstr ""
4274
4275 # type: verbatim
4276 #: ../src/guestfs-actions.pod:343
4277 #, no-wrap
4278 msgid ""
4279 " int guestfs_available (guestfs_h *g,\n"
4280 "\t\tchar *const *groups);\n"
4281 "\n"
4282 msgstr ""
4283
4284 # type: textblock
4285 #: ../src/guestfs-actions.pod:346 ../fish/guestfish-actions.pod:274
4286 msgid ""
4287 "This command is used to check the availability of some groups of "
4288 "functionality in the appliance, which not all builds of the libguestfs "
4289 "appliance will be able to provide."
4290 msgstr ""
4291
4292 # type: textblock
4293 #: ../src/guestfs-actions.pod:350
4294 msgid ""
4295 "The libguestfs groups, and the functions that those groups correspond to, "
4296 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
4297 "runtime by calling C<guestfs_available_all_groups>."
4298 msgstr ""
4299
4300 # type: textblock
4301 #: ../src/guestfs-actions.pod:355 ../fish/guestfish-actions.pod:283
4302 msgid ""
4303 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
4304 "\"]> would check for the availability of the Linux inotify functions and "
4305 "Augeas (configuration file editing) functions."
4306 msgstr ""
4307
4308 # type: textblock
4309 #: ../src/guestfs-actions.pod:360 ../fish/guestfish-actions.pod:288
4310 msgid "The command returns no error if I<all> requested groups are available."
4311 msgstr ""
4312
4313 # type: textblock
4314 #: ../src/guestfs-actions.pod:362 ../fish/guestfish-actions.pod:290
4315 msgid ""
4316 "It fails with an error if one or more of the requested groups is unavailable "
4317 "in the appliance."
4318 msgstr ""
4319
4320 # type: textblock
4321 #: ../src/guestfs-actions.pod:365 ../fish/guestfish-actions.pod:293
4322 msgid ""
4323 "If an unknown group name is included in the list of groups then an error is "
4324 "always returned."
4325 msgstr ""
4326
4327 # type: textblock
4328 #: ../src/guestfs-actions.pod:368 ../fish/guestfish-actions.pod:296
4329 msgid "I<Notes:>"
4330 msgstr ""
4331
4332 # type: textblock
4333 #: ../src/guestfs-actions.pod:374
4334 msgid "You must call C<guestfs_launch> before calling this function."
4335 msgstr ""
4336
4337 # type: textblock
4338 #: ../src/guestfs-actions.pod:376 ../fish/guestfish-actions.pod:304
4339 msgid ""
4340 "The reason is because we don't know what groups are supported by the "
4341 "appliance/daemon until it is running and can be queried."
4342 msgstr ""
4343
4344 # type: textblock
4345 #: ../src/guestfs-actions.pod:382 ../fish/guestfish-actions.pod:310
4346 msgid ""
4347 "If a group of functions is available, this does not necessarily mean that "
4348 "they will work.  You still have to check for errors when calling individual "
4349 "API functions even if they are available."
4350 msgstr ""
4351
4352 # type: textblock
4353 #: ../src/guestfs-actions.pod:389 ../fish/guestfish-actions.pod:317
4354 msgid ""
4355 "It is usually the job of distro packagers to build complete functionality "
4356 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
4357 "with all requirements satisfied, will support everything."
4358 msgstr ""
4359
4360 # type: textblock
4361 #: ../src/guestfs-actions.pod:396
4362 msgid ""
4363 "This call was added in version C<1.0.80>.  In previous versions of "
4364 "libguestfs all you could do would be to speculatively execute a command to "
4365 "find out if the daemon implemented it.  See also C<guestfs_version>."
4366 msgstr ""
4367
4368 # type: =head2
4369 #: ../src/guestfs-actions.pod:405
4370 msgid "guestfs_available_all_groups"
4371 msgstr ""
4372
4373 # type: verbatim
4374 #: ../src/guestfs-actions.pod:407
4375 #, no-wrap
4376 msgid ""
4377 " char **guestfs_available_all_groups (guestfs_h *g);\n"
4378 "\n"
4379 msgstr ""
4380
4381 # type: textblock
4382 #: ../src/guestfs-actions.pod:409
4383 msgid ""
4384 "This command returns a list of all optional groups that this daemon knows "
4385 "about.  Note this returns both supported and unsupported groups.  To find "
4386 "out which ones the daemon can actually support you have to call "
4387 "C<guestfs_available> on each member of the returned list."
4388 msgstr ""
4389
4390 # type: textblock
4391 #: ../src/guestfs-actions.pod:415
4392 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
4393 msgstr ""
4394
4395 # type: =head2
4396 #: ../src/guestfs-actions.pod:421
4397 msgid "guestfs_base64_in"
4398 msgstr ""
4399
4400 # type: verbatim
4401 #: ../src/guestfs-actions.pod:423
4402 #, no-wrap
4403 msgid ""
4404 " int guestfs_base64_in (guestfs_h *g,\n"
4405 "\t\tconst char *base64file,\n"
4406 "\t\tconst char *filename);\n"
4407 "\n"
4408 msgstr ""
4409
4410 # type: textblock
4411 #: ../src/guestfs-actions.pod:427 ../fish/guestfish-actions.pod:347
4412 msgid ""
4413 "This command uploads base64-encoded data from C<base64file> to C<filename>."
4414 msgstr ""
4415
4416 # type: =head2
4417 #: ../src/guestfs-actions.pod:432
4418 msgid "guestfs_base64_out"
4419 msgstr ""
4420
4421 # type: verbatim
4422 #: ../src/guestfs-actions.pod:434
4423 #, no-wrap
4424 msgid ""
4425 " int guestfs_base64_out (guestfs_h *g,\n"
4426 "\t\tconst char *filename,\n"
4427 "\t\tconst char *base64file);\n"
4428 "\n"
4429 msgstr ""
4430
4431 # type: textblock
4432 #: ../src/guestfs-actions.pod:438 ../fish/guestfish-actions.pod:356
4433 msgid ""
4434 "This command downloads the contents of C<filename>, writing it out to local "
4435 "file C<base64file> encoded as base64."
4436 msgstr ""
4437
4438 # type: =head2
4439 #: ../src/guestfs-actions.pod:443
4440 msgid "guestfs_blockdev_flushbufs"
4441 msgstr ""
4442
4443 # type: verbatim
4444 #: ../src/guestfs-actions.pod:445
4445 #, no-wrap
4446 msgid ""
4447 " int guestfs_blockdev_flushbufs (guestfs_h *g,\n"
4448 "\t\tconst char *device);\n"
4449 "\n"
4450 msgstr ""
4451
4452 # type: textblock
4453 #: ../src/guestfs-actions.pod:448 ../fish/guestfish-actions.pod:365
4454 msgid ""
4455 "This tells the kernel to flush internal buffers associated with C<device>."
4456 msgstr ""
4457
4458 # type: textblock
4459 #: ../src/guestfs-actions.pod:451 ../src/guestfs-actions.pod:465
4460 #: ../src/guestfs-actions.pod:477 ../src/guestfs-actions.pod:490
4461 #: ../src/guestfs-actions.pod:505 ../src/guestfs-actions.pod:521
4462 #: ../src/guestfs-actions.pod:532 ../src/guestfs-actions.pod:547
4463 #: ../src/guestfs-actions.pod:558 ../src/guestfs-actions.pod:569
4464 #: ../fish/guestfish-actions.pod:368 ../fish/guestfish-actions.pod:379
4465 #: ../fish/guestfish-actions.pod:388 ../fish/guestfish-actions.pod:398
4466 #: ../fish/guestfish-actions.pod:410 ../fish/guestfish-actions.pod:423
4467 #: ../fish/guestfish-actions.pod:431 ../fish/guestfish-actions.pod:442
4468 #: ../fish/guestfish-actions.pod:450 ../fish/guestfish-actions.pod:458
4469 msgid "This uses the L<blockdev(8)> command."
4470 msgstr ""
4471
4472 # type: =head2
4473 #: ../src/guestfs-actions.pod:455
4474 msgid "guestfs_blockdev_getbsz"
4475 msgstr ""
4476
4477 # type: verbatim
4478 #: ../src/guestfs-actions.pod:457
4479 #, no-wrap
4480 msgid ""
4481 " int guestfs_blockdev_getbsz (guestfs_h *g,\n"
4482 "\t\tconst char *device);\n"
4483 "\n"
4484 msgstr ""
4485
4486 # type: textblock
4487 #: ../src/guestfs-actions.pod:460 ../fish/guestfish-actions.pod:374
4488 msgid "This returns the block size of a device."
4489 msgstr ""
4490
4491 # type: textblock
4492 #: ../src/guestfs-actions.pod:462 ../src/guestfs-actions.pod:544
4493 #: ../fish/guestfish-actions.pod:376 ../fish/guestfish-actions.pod:439
4494 msgid ""
4495 "(Note this is different from both I<size in blocks> and I<filesystem block "
4496 "size>)."
4497 msgstr ""
4498
4499 # type: =head2
4500 #: ../src/guestfs-actions.pod:469
4501 msgid "guestfs_blockdev_getro"
4502 msgstr ""
4503
4504 # type: verbatim
4505 #: ../src/guestfs-actions.pod:471
4506 #, no-wrap
4507 msgid ""
4508 " int guestfs_blockdev_getro (guestfs_h *g,\n"
4509 "\t\tconst char *device);\n"
4510 "\n"
4511 msgstr ""
4512
4513 # type: textblock
4514 #: ../src/guestfs-actions.pod:474 ../fish/guestfish-actions.pod:385
4515 msgid ""
4516 "Returns a boolean indicating if the block device is read-only (true if read-"
4517 "only, false if not)."
4518 msgstr ""
4519
4520 # type: textblock
4521 #: ../src/guestfs-actions.pod:479 ../src/guestfs-actions.pod:1087
4522 #: ../src/guestfs-actions.pod:1099 ../src/guestfs-actions.pod:1531
4523 #: ../src/guestfs-actions.pod:1539 ../src/guestfs-actions.pod:1599
4524 #: ../src/guestfs-actions.pod:1642 ../src/guestfs-actions.pod:1654
4525 #: ../src/guestfs-actions.pod:1673 ../src/guestfs-actions.pod:1690
4526 #: ../src/guestfs-actions.pod:2272 ../src/guestfs-actions.pod:2283
4527 #: ../src/guestfs-actions.pod:2296 ../src/guestfs-actions.pod:2309
4528 #: ../src/guestfs-actions.pod:2320 ../src/guestfs-actions.pod:2330
4529 #: ../src/guestfs-actions.pod:2341 ../src/guestfs-actions.pod:3462
4530 msgid "This function returns a C truth value on success or -1 on error."
4531 msgstr ""
4532
4533 # type: =head2
4534 #: ../src/guestfs-actions.pod:481
4535 msgid "guestfs_blockdev_getsize64"
4536 msgstr ""
4537
4538 # type: verbatim
4539 #: ../src/guestfs-actions.pod:483
4540 #, no-wrap
4541 msgid ""
4542 " int64_t guestfs_blockdev_getsize64 (guestfs_h *g,\n"
4543 "\t\tconst char *device);\n"
4544 "\n"
4545 msgstr ""
4546
4547 # type: textblock
4548 #: ../src/guestfs-actions.pod:486 ../fish/guestfish-actions.pod:394
4549 msgid "This returns the size of the device in bytes."
4550 msgstr ""
4551
4552 # type: textblock
4553 #: ../src/guestfs-actions.pod:488
4554 msgid "See also C<guestfs_blockdev_getsz>."
4555 msgstr ""
4556
4557 # type: =head2
4558 #: ../src/guestfs-actions.pod:494
4559 msgid "guestfs_blockdev_getss"
4560 msgstr ""
4561
4562 # type: verbatim
4563 #: ../src/guestfs-actions.pod:496
4564 #, no-wrap
4565 msgid ""
4566 " int guestfs_blockdev_getss (guestfs_h *g,\n"
4567 "\t\tconst char *device);\n"
4568 "\n"
4569 msgstr ""
4570
4571 # type: textblock
4572 #: ../src/guestfs-actions.pod:499 ../fish/guestfish-actions.pod:404
4573 msgid ""
4574 "This returns the size of sectors on a block device.  Usually 512, but can be "
4575 "larger for modern devices."
4576 msgstr ""
4577
4578 # type: textblock
4579 #: ../src/guestfs-actions.pod:502
4580 msgid ""
4581 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
4582 "that)."
4583 msgstr ""
4584
4585 # type: =head2
4586 #: ../src/guestfs-actions.pod:509
4587 msgid "guestfs_blockdev_getsz"
4588 msgstr ""
4589
4590 # type: verbatim
4591 #: ../src/guestfs-actions.pod:511
4592 #, no-wrap
4593 msgid ""
4594 " int64_t guestfs_blockdev_getsz (guestfs_h *g,\n"
4595 "\t\tconst char *device);\n"
4596 "\n"
4597 msgstr ""
4598
4599 # type: textblock
4600 #: ../src/guestfs-actions.pod:514 ../fish/guestfish-actions.pod:416
4601 msgid ""
4602 "This returns the size of the device in units of 512-byte sectors (even if "
4603 "the sectorsize isn't 512 bytes ... weird)."
4604 msgstr ""
4605
4606 # type: textblock
4607 #: ../src/guestfs-actions.pod:517
4608 msgid ""
4609 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
4610 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
4611 msgstr ""
4612
4613 # type: =head2
4614 #: ../src/guestfs-actions.pod:525
4615 msgid "guestfs_blockdev_rereadpt"
4616 msgstr ""
4617
4618 # type: verbatim
4619 #: ../src/guestfs-actions.pod:527
4620 #, no-wrap
4621 msgid ""
4622 " int guestfs_blockdev_rereadpt (guestfs_h *g,\n"
4623 "\t\tconst char *device);\n"
4624 "\n"
4625 msgstr ""
4626
4627 # type: textblock
4628 #: ../src/guestfs-actions.pod:530 ../fish/guestfish-actions.pod:429
4629 msgid "Reread the partition table on C<device>."
4630 msgstr ""
4631
4632 # type: =head2
4633 #: ../src/guestfs-actions.pod:536
4634 msgid "guestfs_blockdev_setbsz"
4635 msgstr ""
4636
4637 # type: verbatim
4638 #: ../src/guestfs-actions.pod:538
4639 #, no-wrap
4640 msgid ""
4641 " int guestfs_blockdev_setbsz (guestfs_h *g,\n"
4642 "\t\tconst char *device,\n"
4643 "\t\tint blocksize);\n"
4644 "\n"
4645 msgstr ""
4646
4647 # type: textblock
4648 #: ../src/guestfs-actions.pod:542 ../fish/guestfish-actions.pod:437
4649 msgid "This sets the block size of a device."
4650 msgstr ""
4651
4652 # type: =head2
4653 #: ../src/guestfs-actions.pod:551
4654 msgid "guestfs_blockdev_setro"
4655 msgstr ""
4656
4657 # type: verbatim
4658 #: ../src/guestfs-actions.pod:553
4659 #, no-wrap
4660 msgid ""
4661 " int guestfs_blockdev_setro (guestfs_h *g,\n"
4662 "\t\tconst char *device);\n"
4663 "\n"
4664 msgstr ""
4665
4666 # type: textblock
4667 #: ../src/guestfs-actions.pod:556 ../fish/guestfish-actions.pod:448
4668 msgid "Sets the block device named C<device> to read-only."
4669 msgstr ""
4670
4671 # type: =head2
4672 #: ../src/guestfs-actions.pod:562
4673 msgid "guestfs_blockdev_setrw"
4674 msgstr ""
4675
4676 # type: verbatim
4677 #: ../src/guestfs-actions.pod:564
4678 #, no-wrap
4679 msgid ""
4680 " int guestfs_blockdev_setrw (guestfs_h *g,\n"
4681 "\t\tconst char *device);\n"
4682 "\n"
4683 msgstr ""
4684
4685 # type: textblock
4686 #: ../src/guestfs-actions.pod:567 ../fish/guestfish-actions.pod:456
4687 msgid "Sets the block device named C<device> to read-write."
4688 msgstr ""
4689
4690 # type: =head2
4691 #: ../src/guestfs-actions.pod:573
4692 msgid "guestfs_case_sensitive_path"
4693 msgstr ""
4694
4695 # type: verbatim
4696 #: ../src/guestfs-actions.pod:575
4697 #, no-wrap
4698 msgid ""
4699 " char *guestfs_case_sensitive_path (guestfs_h *g,\n"
4700 "\t\tconst char *path);\n"
4701 "\n"
4702 msgstr ""
4703
4704 # type: textblock
4705 #: ../src/guestfs-actions.pod:578 ../fish/guestfish-actions.pod:464
4706 msgid ""
4707 "This can be used to resolve case insensitive paths on a filesystem which is "
4708 "case sensitive.  The use case is to resolve paths which you have read from "
4709 "Windows configuration files or the Windows Registry, to the true path."
4710 msgstr ""
4711
4712 # type: textblock
4713 #: ../src/guestfs-actions.pod:583 ../fish/guestfish-actions.pod:469
4714 msgid ""
4715 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
4716 "(and probably others), which is that although the underlying filesystem is "
4717 "case-insensitive, the driver exports the filesystem to Linux as case-"
4718 "sensitive."
4719 msgstr ""
4720
4721 # type: textblock
4722 #: ../src/guestfs-actions.pod:588 ../fish/guestfish-actions.pod:474
4723 msgid ""
4724 "One consequence of this is that special directories such as C<c:\\windows> "
4725 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
4726 "precise details of how they were created.  In Windows itself this would not "
4727 "be a problem."
4728 msgstr ""
4729
4730 # type: textblock
4731 #: ../src/guestfs-actions.pod:594 ../fish/guestfish-actions.pod:480
4732 msgid ""
4733 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
4734 "#posixfilenames1>"
4735 msgstr ""
4736
4737 # type: textblock
4738 #: ../src/guestfs-actions.pod:597 ../fish/guestfish-actions.pod:483
4739 msgid ""
4740 "This function resolves the true case of each element in the path and returns "
4741 "the case-sensitive path."
4742 msgstr ""
4743
4744 # type: textblock
4745 #: ../src/guestfs-actions.pod:600
4746 msgid ""
4747 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return C<"
4748 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
4749 "how the directories were originally created under Windows)."
4750 msgstr ""
4751
4752 # type: textblock
4753 #: ../src/guestfs-actions.pod:605 ../fish/guestfish-actions.pod:491
4754 msgid "I<Note>: This function does not handle drive names, backslashes etc."
4755 msgstr ""
4756
4757 # type: textblock
4758 #: ../src/guestfs-actions.pod:608
4759 msgid "See also C<guestfs_realpath>."
4760 msgstr ""
4761
4762 # type: =head2
4763 #: ../src/guestfs-actions.pod:613
4764 msgid "guestfs_cat"
4765 msgstr ""
4766
4767 # type: verbatim
4768 #: ../src/guestfs-actions.pod:615
4769 #, no-wrap
4770 msgid ""
4771 " char *guestfs_cat (guestfs_h *g,\n"
4772 "\t\tconst char *path);\n"
4773 "\n"
4774 msgstr ""
4775
4776 # type: textblock
4777 #: ../src/guestfs-actions.pod:618 ../src/guestfs-actions.pod:3824
4778 #: ../fish/guestfish-actions.pod:500 ../fish/guestfish-actions.pod:2944
4779 msgid "Return the contents of the file named C<path>."
4780 msgstr ""
4781
4782 # type: textblock
4783 #: ../src/guestfs-actions.pod:620
4784 msgid ""
4785 "Note that this function cannot correctly handle binary files (specifically, "
4786 "files containing C<\\0> character which is treated as end of string).  For "
4787 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
4788 "functions which have a more complex interface."
4789 msgstr ""
4790
4791 # type: textblock
4792 #: ../src/guestfs-actions.pod:628 ../src/guestfs-actions.pod:789
4793 #: ../src/guestfs-actions.pod:806 ../src/guestfs-actions.pod:1057
4794 #: ../src/guestfs-actions.pod:1073 ../src/guestfs-actions.pod:1161
4795 #: ../src/guestfs-actions.pod:1177 ../src/guestfs-actions.pod:1408
4796 #: ../src/guestfs-actions.pod:1755 ../src/guestfs-actions.pod:1771
4797 #: ../src/guestfs-actions.pod:1808 ../src/guestfs-actions.pod:1829
4798 #: ../src/guestfs-actions.pod:1843 ../src/guestfs-actions.pod:1869
4799 #: ../src/guestfs-actions.pod:3687 ../src/guestfs-actions.pod:3795
4800 #: ../src/guestfs-actions.pod:3816 ../src/guestfs-actions.pod:4542
4801 #: ../src/guestfs-actions.pod:4594 ../src/guestfs-actions.pod:4710
4802 #: ../src/guestfs-actions.pod:4731 ../src/guestfs-actions.pod:5250
4803 #: ../src/guestfs-actions.pod:5273 ../src/guestfs-actions.pod:5296
4804 #: ../src/guestfs-actions.pod:5312 ../src/guestfs-actions.pod:5385
4805 #: ../src/guestfs-actions.pod:5401 ../src/guestfs-actions.pod:5441
4806 #: ../src/guestfs-actions.pod:5457 ../fish/guestfish-actions.pod:507
4807 #: ../fish/guestfish-actions.pod:642 ../fish/guestfish-actions.pod:654
4808 #: ../fish/guestfish-actions.pod:836 ../fish/guestfish-actions.pod:846
4809 #: ../fish/guestfish-actions.pod:913 ../fish/guestfish-actions.pod:923
4810 #: ../fish/guestfish-actions.pod:1118 ../fish/guestfish-actions.pod:1391
4811 #: ../fish/guestfish-actions.pod:1401 ../fish/guestfish-actions.pod:1429
4812 #: ../fish/guestfish-actions.pod:1444 ../fish/guestfish-actions.pod:1454
4813 #: ../fish/guestfish-actions.pod:1473 ../fish/guestfish-actions.pod:2846
4814 #: ../fish/guestfish-actions.pod:2922 ../fish/guestfish-actions.pod:2937
4815 #: ../fish/guestfish-actions.pod:3498 ../fish/guestfish-actions.pod:3544
4816 #: ../fish/guestfish-actions.pod:3629 ../fish/guestfish-actions.pod:3644
4817 #: ../fish/guestfish-actions.pod:4027 ../fish/guestfish-actions.pod:4045
4818 #: ../fish/guestfish-actions.pod:4062 ../fish/guestfish-actions.pod:4072
4819 #: ../fish/guestfish-actions.pod:4120 ../fish/guestfish-actions.pod:4130
4820 #: ../fish/guestfish-actions.pod:4159 ../fish/guestfish-actions.pod:4169
4821 msgid ""
4822 "Because of the message protocol, there is a transfer limit of somewhere "
4823 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
4824 msgstr ""
4825
4826 # type: =head2
4827 #: ../src/guestfs-actions.pod:631
4828 msgid "guestfs_checksum"
4829 msgstr ""
4830
4831 # type: verbatim
4832 #: ../src/guestfs-actions.pod:633
4833 #, no-wrap
4834 msgid ""
4835 " char *guestfs_checksum (guestfs_h *g,\n"
4836 "\t\tconst char *csumtype,\n"
4837 "\t\tconst char *path);\n"
4838 "\n"
4839 msgstr ""
4840
4841 # type: textblock
4842 #: ../src/guestfs-actions.pod:637 ../fish/guestfish-actions.pod:514
4843 msgid ""
4844 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
4845 msgstr ""
4846
4847 # type: textblock
4848 #: ../src/guestfs-actions.pod:640 ../fish/guestfish-actions.pod:517
4849 msgid ""
4850 "The type of checksum to compute is given by the C<csumtype> parameter which "
4851 "must have one of the following values:"
4852 msgstr ""
4853
4854 # type: =item
4855 #: ../src/guestfs-actions.pod:645 ../fish/guestfish-actions.pod:522
4856 msgid "C<crc>"
4857 msgstr ""
4858
4859 # type: textblock
4860 #: ../src/guestfs-actions.pod:647 ../fish/guestfish-actions.pod:524
4861 msgid ""
4862 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
4863 "C<cksum> command."
4864 msgstr ""
4865
4866 # type: =item
4867 #: ../src/guestfs-actions.pod:650 ../fish/guestfish-actions.pod:527
4868 msgid "C<md5>"
4869 msgstr ""
4870
4871 # type: textblock
4872 #: ../src/guestfs-actions.pod:652 ../fish/guestfish-actions.pod:529
4873 msgid "Compute the MD5 hash (using the C<md5sum> program)."
4874 msgstr ""
4875
4876 # type: =item
4877 #: ../src/guestfs-actions.pod:654 ../fish/guestfish-actions.pod:531
4878 msgid "C<sha1>"
4879 msgstr ""
4880
4881 # type: textblock
4882 #: ../src/guestfs-actions.pod:656 ../fish/guestfish-actions.pod:533
4883 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
4884 msgstr ""
4885
4886 # type: =item
4887 #: ../src/guestfs-actions.pod:658 ../fish/guestfish-actions.pod:535
4888 msgid "C<sha224>"
4889 msgstr ""
4890
4891 # type: textblock
4892 #: ../src/guestfs-actions.pod:660 ../fish/guestfish-actions.pod:537
4893 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
4894 msgstr ""
4895
4896 # type: =item
4897 #: ../src/guestfs-actions.pod:662 ../fish/guestfish-actions.pod:539
4898 msgid "C<sha256>"
4899 msgstr ""
4900
4901 # type: textblock
4902 #: ../src/guestfs-actions.pod:664 ../fish/guestfish-actions.pod:541
4903 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
4904 msgstr ""
4905
4906 # type: =item
4907 #: ../src/guestfs-actions.pod:666 ../fish/guestfish-actions.pod:543
4908 msgid "C<sha384>"
4909 msgstr ""
4910
4911 # type: textblock
4912 #: ../src/guestfs-actions.pod:668 ../fish/guestfish-actions.pod:545
4913 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
4914 msgstr ""
4915
4916 # type: =item
4917 #: ../src/guestfs-actions.pod:670 ../fish/guestfish-actions.pod:547
4918 msgid "C<sha512>"
4919 msgstr ""
4920
4921 # type: textblock
4922 #: ../src/guestfs-actions.pod:672 ../fish/guestfish-actions.pod:549
4923 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
4924 msgstr ""
4925
4926 # type: textblock
4927 #: ../src/guestfs-actions.pod:676 ../fish/guestfish-actions.pod:553
4928 msgid "The checksum is returned as a printable string."
4929 msgstr ""
4930
4931 # type: textblock
4932 #: ../src/guestfs-actions.pod:678
4933 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
4934 msgstr ""
4935
4936 # type: textblock
4937 #: ../src/guestfs-actions.pod:680
4938 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
4939 msgstr ""
4940
4941 # type: =head2
4942 #: ../src/guestfs-actions.pod:685
4943 msgid "guestfs_checksum_device"
4944 msgstr ""
4945
4946 # type: verbatim
4947 #: ../src/guestfs-actions.pod:687
4948 #, no-wrap
4949 msgid ""
4950 " char *guestfs_checksum_device (guestfs_h *g,\n"
4951 "\t\tconst char *csumtype,\n"
4952 "\t\tconst char *device);\n"
4953 "\n"
4954 msgstr ""
4955
4956 # type: textblock
4957 #: ../src/guestfs-actions.pod:691
4958 msgid ""
4959 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
4960 "device named C<device>.  For the types of checksums supported see the "
4961 "C<guestfs_checksum> command."
4962 msgstr ""
4963
4964 # type: =head2
4965 #: ../src/guestfs-actions.pod:698
4966 msgid "guestfs_checksums_out"
4967 msgstr ""
4968
4969 # type: verbatim
4970 #: ../src/guestfs-actions.pod:700
4971 #, no-wrap
4972 msgid ""
4973 " int guestfs_checksums_out (guestfs_h *g,\n"
4974 "\t\tconst char *csumtype,\n"
4975 "\t\tconst char *directory,\n"
4976 "\t\tconst char *sumsfile);\n"
4977 "\n"
4978 msgstr ""
4979
4980 # type: textblock
4981 #: ../src/guestfs-actions.pod:705 ../fish/guestfish-actions.pod:571
4982 msgid ""
4983 "This command computes the checksums of all regular files in C<directory> and "
4984 "then emits a list of those checksums to the local output file C<sumsfile>."
4985 msgstr ""
4986
4987 # type: textblock
4988 #: ../src/guestfs-actions.pod:709 ../fish/guestfish-actions.pod:575
4989 msgid ""
4990 "This can be used for verifying the integrity of a virtual machine.  However "
4991 "to be properly secure you should pay attention to the output of the checksum "
4992 "command (it uses the ones from GNU coreutils).  In particular when the "
4993 "filename is not printable, coreutils uses a special backslash syntax.  For "
4994 "more information, see the GNU coreutils info file."
4995 msgstr ""
4996
4997 # type: =head2
4998 #: ../src/guestfs-actions.pod:719
4999 msgid "guestfs_chmod"
5000 msgstr ""
5001
5002 # type: verbatim
5003 #: ../src/guestfs-actions.pod:721
5004 #, no-wrap
5005 msgid ""
5006 " int guestfs_chmod (guestfs_h *g,\n"
5007 "\t\tint mode,\n"
5008 "\t\tconst char *path);\n"
5009 "\n"
5010 msgstr ""
5011
5012 # type: textblock
5013 #: ../src/guestfs-actions.pod:725 ../fish/guestfish-actions.pod:589
5014 msgid ""
5015 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
5016 "supported."
5017 msgstr ""
5018
5019 # type: textblock
5020 #: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:592
5021 msgid ""
5022 "I<Note>: When using this command from guestfish, C<mode> by default would be "
5023 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
5024 "C<700>."
5025 msgstr ""
5026
5027 # type: textblock
5028 #: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:3045
5029 #: ../src/guestfs-actions.pod:3133 ../src/guestfs-actions.pod:3149
5030 #: ../src/guestfs-actions.pod:3165 ../fish/guestfish-actions.pod:596
5031 #: ../fish/guestfish-actions.pod:2362 ../fish/guestfish-actions.pod:2432
5032 #: ../fish/guestfish-actions.pod:2442 ../fish/guestfish-actions.pod:2452
5033 msgid "The mode actually set is affected by the umask."
5034 msgstr ""
5035
5036 # type: =head2
5037 #: ../src/guestfs-actions.pod:736
5038 msgid "guestfs_chown"
5039 msgstr ""
5040
5041 # type: verbatim
5042 #: ../src/guestfs-actions.pod:738
5043 #, no-wrap
5044 msgid ""
5045 " int guestfs_chown (guestfs_h *g,\n"
5046 "\t\tint owner,\n"
5047 "\t\tint group,\n"
5048 "\t\tconst char *path);\n"
5049 "\n"
5050 msgstr ""
5051
5052 # type: textblock
5053 #: ../src/guestfs-actions.pod:743 ../fish/guestfish-actions.pod:602
5054 msgid "Change the file owner to C<owner> and group to C<group>."
5055 msgstr ""
5056
5057 # type: textblock
5058 #: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:2374
5059 #: ../fish/guestfish-actions.pod:604 ../fish/guestfish-actions.pod:1890
5060 msgid ""
5061 "Only numeric uid and gid are supported.  If you want to use names, you will "
5062 "need to locate and parse the password file yourself (Augeas support makes "
5063 "this relatively easy)."
5064 msgstr ""
5065
5066 # type: =head2
5067 #: ../src/guestfs-actions.pod:751
5068 msgid "guestfs_command"
5069 msgstr ""
5070
5071 # type: verbatim
5072 #: ../src/guestfs-actions.pod:753
5073 #, no-wrap
5074 msgid ""
5075 " char *guestfs_command (guestfs_h *g,\n"
5076 "\t\tchar *const *arguments);\n"
5077 "\n"
5078 msgstr ""
5079
5080 # type: textblock
5081 #: ../src/guestfs-actions.pod:756 ../fish/guestfish-actions.pod:612
5082 msgid ""
5083 "This call runs a command from the guest filesystem.  The filesystem must be "
5084 "mounted, and must contain a compatible operating system (ie. something "
5085 "Linux, with the same or compatible processor architecture)."
5086 msgstr ""
5087
5088 # type: textblock
5089 #: ../src/guestfs-actions.pod:761
5090 msgid ""
5091 "The single parameter is an argv-style list of arguments.  The first element "
5092 "is the name of the program to run.  Subsequent elements are parameters.  The "
5093 "list must be non-empty (ie. must contain a program name).  Note that the "
5094 "command runs directly, and is I<not> invoked via the shell (see "
5095 "C<guestfs_sh>)."
5096 msgstr ""
5097
5098 # type: textblock
5099 #: ../src/guestfs-actions.pod:768 ../fish/guestfish-actions.pod:624
5100 msgid "The return value is anything printed to I<stdout> by the command."
5101 msgstr ""
5102
5103 # type: textblock
5104 #: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:627
5105 msgid ""
5106 "If the command returns a non-zero exit status, then this function returns an "
5107 "error message.  The error message string is the content of I<stderr> from "
5108 "the command."
5109 msgstr ""
5110
5111 # type: textblock
5112 #: ../src/guestfs-actions.pod:775 ../fish/guestfish-actions.pod:631
5113 msgid ""
5114 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
5115 "bin>.  If you require a program from another location, you should provide "
5116 "the full path in the first parameter."
5117 msgstr ""
5118
5119 # type: textblock
5120 #: ../src/guestfs-actions.pod:780 ../fish/guestfish-actions.pod:636
5121 msgid ""
5122 "Shared libraries and data files required by the program must be available on "
5123 "filesystems which are mounted in the correct places.  It is the caller's "
5124 "responsibility to ensure all filesystems that are needed are mounted at the "
5125 "right locations."
5126 msgstr ""
5127
5128 # type: =head2
5129 #: ../src/guestfs-actions.pod:792
5130 msgid "guestfs_command_lines"
5131 msgstr ""
5132
5133 # type: verbatim
5134 #: ../src/guestfs-actions.pod:794
5135 #, no-wrap
5136 msgid ""
5137 " char **guestfs_command_lines (guestfs_h *g,\n"
5138 "\t\tchar *const *arguments);\n"
5139 "\n"
5140 msgstr ""
5141
5142 # type: textblock
5143 #: ../src/guestfs-actions.pod:797
5144 msgid ""
5145 "This is the same as C<guestfs_command>, but splits the result into a list of "
5146 "lines."
5147 msgstr ""
5148
5149 # type: textblock
5150 #: ../src/guestfs-actions.pod:800
5151 msgid "See also: C<guestfs_sh_lines>"
5152 msgstr ""
5153
5154 # type: =head2
5155 #: ../src/guestfs-actions.pod:809
5156 msgid "guestfs_config"
5157 msgstr ""
5158
5159 # type: verbatim
5160 #: ../src/guestfs-actions.pod:811
5161 #, no-wrap
5162 msgid ""
5163 " int guestfs_config (guestfs_h *g,\n"
5164 "\t\tconst char *qemuparam,\n"
5165 "\t\tconst char *qemuvalue);\n"
5166 "\n"
5167 msgstr ""
5168
5169 # type: textblock
5170 #: ../src/guestfs-actions.pod:815 ../fish/guestfish-actions.pod:661
5171 msgid ""
5172 "This can be used to add arbitrary qemu command line parameters of the form "
5173 "C<-param value>.  Actually it's not quite arbitrary - we prevent you from "
5174 "setting some parameters which would interfere with parameters that we use."
5175 msgstr ""
5176
5177 # type: textblock
5178 #: ../src/guestfs-actions.pod:820 ../fish/guestfish-actions.pod:666
5179 msgid "The first character of C<param> string must be a C<-> (dash)."
5180 msgstr ""
5181
5182 # type: textblock
5183 #: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:668
5184 msgid "C<value> can be NULL."
5185 msgstr ""
5186
5187 # type: =head2
5188 #: ../src/guestfs-actions.pod:826
5189 msgid "guestfs_copy_size"
5190 msgstr ""
5191
5192 # type: verbatim
5193 #: ../src/guestfs-actions.pod:828
5194 #, no-wrap
5195 msgid ""
5196 " int guestfs_copy_size (guestfs_h *g,\n"
5197 "\t\tconst char *src,\n"
5198 "\t\tconst char *dest,\n"
5199 "\t\tint64_t size);\n"
5200 "\n"
5201 msgstr ""
5202
5203 # type: textblock
5204 #: ../src/guestfs-actions.pod:833 ../fish/guestfish-actions.pod:674
5205 msgid ""
5206 "This command copies exactly C<size> bytes from one source device or file "
5207 "C<src> to another destination device or file C<dest>."
5208 msgstr ""
5209
5210 # type: textblock
5211 #: ../src/guestfs-actions.pod:836 ../fish/guestfish-actions.pod:677
5212 msgid ""
5213 "Note this will fail if the source is too short or if the destination is not "
5214 "large enough."
5215 msgstr ""
5216
5217 # type: textblock
5218 #: ../src/guestfs-actions.pod:841 ../src/guestfs-actions.pod:976
5219 #: ../src/guestfs-actions.pod:1348 ../src/guestfs-actions.pod:1367
5220 #: ../src/guestfs-actions.pod:5330 ../src/guestfs-actions.pod:5346
5221 msgid ""
5222 "This long-running command can generate progress notification messages so "
5223 "that the caller can display a progress bar or indicator.  To receive these "
5224 "messages, the caller must register a progress callback.  See L<guestfs(3)/"
5225 "guestfs_set_progress_callback>."
5226 msgstr ""
5227
5228 # type: =head2
5229 #: ../src/guestfs-actions.pod:846
5230 msgid "guestfs_cp"
5231 msgstr ""
5232
5233 # type: verbatim
5234 #: ../src/guestfs-actions.pod:848
5235 #, no-wrap
5236 msgid ""
5237 " int guestfs_cp (guestfs_h *g,\n"
5238 "\t\tconst char *src,\n"
5239 "\t\tconst char *dest);\n"
5240 "\n"
5241 msgstr ""
5242
5243 # type: textblock
5244 #: ../src/guestfs-actions.pod:852 ../fish/guestfish-actions.pod:684
5245 msgid ""
5246 "This copies a file from C<src> to C<dest> where C<dest> is either a "
5247 "destination filename or destination directory."
5248 msgstr ""
5249
5250 # type: =head2
5251 #: ../src/guestfs-actions.pod:857
5252 msgid "guestfs_cp_a"
5253 msgstr ""
5254
5255 # type: verbatim
5256 #: ../src/guestfs-actions.pod:859
5257 #, no-wrap
5258 msgid ""
5259 " int guestfs_cp_a (guestfs_h *g,\n"
5260 "\t\tconst char *src,\n"
5261 "\t\tconst char *dest);\n"
5262 "\n"
5263 msgstr ""
5264
5265 # type: textblock
5266 #: ../src/guestfs-actions.pod:863 ../fish/guestfish-actions.pod:691
5267 msgid ""
5268 "This copies a file or directory from C<src> to C<dest> recursively using the "
5269 "C<cp -a> command."
5270 msgstr ""
5271
5272 # type: =head2
5273 #: ../src/guestfs-actions.pod:868
5274 msgid "guestfs_dd"
5275 msgstr ""
5276
5277 # type: verbatim
5278 #: ../src/guestfs-actions.pod:870
5279 #, no-wrap
5280 msgid ""
5281 " int guestfs_dd (guestfs_h *g,\n"
5282 "\t\tconst char *src,\n"
5283 "\t\tconst char *dest);\n"
5284 "\n"
5285 msgstr ""
5286
5287 # type: textblock
5288 #: ../src/guestfs-actions.pod:874 ../fish/guestfish-actions.pod:698
5289 msgid ""
5290 "This command copies from one source device or file C<src> to another "
5291 "destination device or file C<dest>.  Normally you would use this to copy to "
5292 "or from a device or partition, for example to duplicate a filesystem."
5293 msgstr ""
5294
5295 # type: textblock
5296 #: ../src/guestfs-actions.pod:879
5297 msgid ""
5298 "If the destination is a device, it must be as large or larger than the "
5299 "source file or device, otherwise the copy will fail.  This command cannot do "
5300 "partial copies (see C<guestfs_copy_size>)."
5301 msgstr ""
5302
5303 # type: =head2
5304 #: ../src/guestfs-actions.pod:885
5305 msgid "guestfs_debug"
5306 msgstr ""
5307
5308 # type: verbatim
5309 #: ../src/guestfs-actions.pod:887
5310 #, no-wrap
5311 msgid ""
5312 " char *guestfs_debug (guestfs_h *g,\n"
5313 "\t\tconst char *subcmd,\n"
5314 "\t\tchar *const *extraargs);\n"
5315 "\n"
5316 msgstr ""
5317
5318 # type: textblock
5319 #: ../src/guestfs-actions.pod:891
5320 msgid ""
5321 "The C<guestfs_debug> command exposes some internals of C<guestfsd> (the "
5322 "guestfs daemon) that runs inside the qemu subprocess."
5323 msgstr ""
5324
5325 # type: textblock
5326 #: ../src/guestfs-actions.pod:895 ../fish/guestfish-actions.pod:715
5327 msgid ""
5328 "There is no comprehensive help for this command.  You have to look at the "
5329 "file C<daemon/debug.c> in the libguestfs source to find out what you can do."
5330 msgstr ""
5331
5332 # type: =head2
5333 #: ../src/guestfs-actions.pod:902
5334 msgid "guestfs_debug_upload"
5335 msgstr ""
5336
5337 # type: verbatim
5338 #: ../src/guestfs-actions.pod:904
5339 #, no-wrap
5340 msgid ""
5341 " int guestfs_debug_upload (guestfs_h *g,\n"
5342 "\t\tconst char *filename,\n"
5343 "\t\tconst char *tmpname,\n"
5344 "\t\tint mode);\n"
5345 "\n"
5346 msgstr ""
5347
5348 # type: textblock
5349 #: ../src/guestfs-actions.pod:909
5350 msgid ""
5351 "The C<guestfs_debug_upload> command uploads a file to the libguestfs "
5352 "appliance."
5353 msgstr ""
5354
5355 # type: textblock
5356 #: ../src/guestfs-actions.pod:912 ../fish/guestfish-actions.pod:726
5357 msgid ""
5358 "There is no comprehensive help for this command.  You have to look at the "
5359 "file C<daemon/debug.c> in the libguestfs source to find out what it is for."
5360 msgstr ""
5361
5362 # type: =head2
5363 #: ../src/guestfs-actions.pod:918
5364 msgid "guestfs_df"
5365 msgstr ""
5366
5367 # type: verbatim
5368 #: ../src/guestfs-actions.pod:920
5369 #, no-wrap
5370 msgid ""
5371 " char *guestfs_df (guestfs_h *g);\n"
5372 "\n"
5373 msgstr ""
5374
5375 # type: textblock
5376 #: ../src/guestfs-actions.pod:922 ../fish/guestfish-actions.pod:736
5377 msgid "This command runs the C<df> command to report disk space used."
5378 msgstr ""
5379
5380 # type: textblock
5381 #: ../src/guestfs-actions.pod:924 ../src/guestfs-actions.pod:938
5382 #: ../fish/guestfish-actions.pod:738 ../fish/guestfish-actions.pod:749
5383 msgid ""
5384 "This command is mostly useful for interactive sessions.  It is I<not> "
5385 "intended that you try to parse the output string.  Use C<statvfs> from "
5386 "programs."
5387 msgstr ""
5388
5389 # type: =head2
5390 #: ../src/guestfs-actions.pod:931
5391 msgid "guestfs_df_h"
5392 msgstr ""
5393
5394 # type: verbatim
5395 #: ../src/guestfs-actions.pod:933
5396 #, no-wrap
5397 msgid ""
5398 " char *guestfs_df_h (guestfs_h *g);\n"
5399 "\n"
5400 msgstr ""
5401
5402 # type: textblock
5403 #: ../src/guestfs-actions.pod:935 ../fish/guestfish-actions.pod:746
5404 msgid ""
5405 "This command runs the C<df -h> command to report disk space used in human-"
5406 "readable format."
5407 msgstr ""
5408
5409 # type: =head2
5410 #: ../src/guestfs-actions.pod:945
5411 msgid "guestfs_dmesg"
5412 msgstr ""
5413
5414 # type: verbatim
5415 #: ../src/guestfs-actions.pod:947
5416 #, no-wrap
5417 msgid ""
5418 " char *guestfs_dmesg (guestfs_h *g);\n"
5419 "\n"
5420 msgstr ""
5421
5422 # type: textblock
5423 #: ../src/guestfs-actions.pod:949 ../fish/guestfish-actions.pod:757
5424 msgid ""
5425 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
5426 "This is sometimes useful for extended debugging of problems."
5427 msgstr ""
5428
5429 # type: textblock
5430 #: ../src/guestfs-actions.pod:953
5431 msgid ""
5432 "Another way to get the same information is to enable verbose messages with "
5433 "C<guestfs_set_verbose> or by setting the environment variable "
5434 "C<LIBGUESTFS_DEBUG=1> before running the program."
5435 msgstr ""
5436
5437 # type: =head2
5438 #: ../src/guestfs-actions.pod:961
5439 msgid "guestfs_download"
5440 msgstr ""
5441
5442 # type: verbatim
5443 #: ../src/guestfs-actions.pod:963
5444 #, no-wrap
5445 msgid ""
5446 " int guestfs_download (guestfs_h *g,\n"
5447 "\t\tconst char *remotefilename,\n"
5448 "\t\tconst char *filename);\n"
5449 "\n"
5450 msgstr ""
5451
5452 # type: textblock
5453 #: ../src/guestfs-actions.pod:967 ../fish/guestfish-actions.pod:770
5454 msgid ""
5455 "Download file C<remotefilename> and save it as C<filename> on the local "
5456 "machine."
5457 msgstr ""
5458
5459 # type: textblock
5460 #: ../src/guestfs-actions.pod:970 ../src/guestfs-actions.pod:4924
5461 #: ../fish/guestfish-actions.pod:773 ../fish/guestfish-actions.pod:3798
5462 msgid "C<filename> can also be a named pipe."
5463 msgstr ""
5464
5465 # type: textblock
5466 #: ../src/guestfs-actions.pod:972
5467 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
5468 msgstr ""
5469
5470 # type: =head2
5471 #: ../src/guestfs-actions.pod:981
5472 msgid "guestfs_drop_caches"
5473 msgstr ""
5474
5475 # type: verbatim
5476 #: ../src/guestfs-actions.pod:983
5477 #, no-wrap
5478 msgid ""
5479 " int guestfs_drop_caches (guestfs_h *g,\n"
5480 "\t\tint whattodrop);\n"
5481 "\n"
5482 msgstr ""
5483
5484 # type: textblock
5485 #: ../src/guestfs-actions.pod:986 ../fish/guestfish-actions.pod:783
5486 msgid ""
5487 "This instructs the guest kernel to drop its page cache, and/or dentries and "
5488 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
5489 "to drop, see L<http://linux-mm.org/Drop_Caches>"
5490 msgstr ""
5491
5492 # type: textblock
5493 #: ../src/guestfs-actions.pod:991 ../fish/guestfish-actions.pod:788
5494 msgid "Setting C<whattodrop> to 3 should drop everything."
5495 msgstr ""
5496
5497 # type: textblock
5498 #: ../src/guestfs-actions.pod:993 ../fish/guestfish-actions.pod:790
5499 msgid ""
5500 "This automatically calls L<sync(2)> before the operation, so that the "
5501 "maximum guest memory is freed."
5502 msgstr ""
5503
5504 # type: =head2
5505 #: ../src/guestfs-actions.pod:998
5506 msgid "guestfs_du"
5507 msgstr ""
5508
5509 # type: verbatim
5510 #: ../src/guestfs-actions.pod:1000
5511 #, no-wrap
5512 msgid ""
5513 " int64_t guestfs_du (guestfs_h *g,\n"
5514 "\t\tconst char *path);\n"
5515 "\n"
5516 msgstr ""
5517
5518 # type: textblock
5519 #: ../src/guestfs-actions.pod:1003 ../fish/guestfish-actions.pod:797
5520 msgid ""
5521 "This command runs the C<du -s> command to estimate file space usage for "
5522 "C<path>."
5523 msgstr ""
5524
5525 # type: textblock
5526 #: ../src/guestfs-actions.pod:1006 ../fish/guestfish-actions.pod:800
5527 msgid ""
5528 "C<path> can be a file or a directory.  If C<path> is a directory then the "
5529 "estimate includes the contents of the directory and all subdirectories "
5530 "(recursively)."
5531 msgstr ""
5532
5533 # type: textblock
5534 #: ../src/guestfs-actions.pod:1010 ../fish/guestfish-actions.pod:804
5535 msgid ""
5536 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
5537 msgstr ""
5538
5539 # type: =head2
5540 #: ../src/guestfs-actions.pod:1015
5541 msgid "guestfs_e2fsck_f"
5542 msgstr ""
5543
5544 # type: verbatim
5545 #: ../src/guestfs-actions.pod:1017
5546 #, no-wrap
5547 msgid ""
5548 " int guestfs_e2fsck_f (guestfs_h *g,\n"
5549 "\t\tconst char *device);\n"
5550 "\n"
5551 msgstr ""
5552
5553 # type: textblock
5554 #: ../src/guestfs-actions.pod:1020 ../fish/guestfish-actions.pod:811
5555 msgid ""
5556 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
5557 "on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
5558 "clean (C<-f>)."
5559 msgstr ""
5560
5561 # type: textblock
5562 #: ../src/guestfs-actions.pod:1024
5563 msgid ""
5564 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
5565 "Normally you should use C<guestfs_fsck>."
5566 msgstr ""
5567
5568 # type: =head2
5569 #: ../src/guestfs-actions.pod:1029
5570 msgid "guestfs_echo_daemon"
5571 msgstr ""
5572
5573 # type: verbatim
5574 #: ../src/guestfs-actions.pod:1031
5575 #, no-wrap
5576 msgid ""
5577 " char *guestfs_echo_daemon (guestfs_h *g,\n"
5578 "\t\tchar *const *words);\n"
5579 "\n"
5580 msgstr ""
5581
5582 # type: textblock
5583 #: ../src/guestfs-actions.pod:1034 ../fish/guestfish-actions.pod:822
5584 msgid ""
5585 "This command concatenates the list of C<words> passed with single spaces "
5586 "between them and returns the resulting string."
5587 msgstr ""
5588
5589 # type: textblock
5590 #: ../src/guestfs-actions.pod:1037 ../fish/guestfish-actions.pod:825
5591 msgid "You can use this command to test the connection through to the daemon."
5592 msgstr ""
5593
5594 # type: textblock
5595 #: ../src/guestfs-actions.pod:1039
5596 msgid "See also C<guestfs_ping_daemon>."
5597 msgstr ""
5598
5599 # type: =head2
5600 #: ../src/guestfs-actions.pod:1044
5601 msgid "guestfs_egrep"
5602 msgstr ""
5603
5604 # type: verbatim
5605 #: ../src/guestfs-actions.pod:1046
5606 #, no-wrap
5607 msgid ""
5608 " char **guestfs_egrep (guestfs_h *g,\n"
5609 "\t\tconst char *regex,\n"
5610 "\t\tconst char *path);\n"
5611 "\n"
5612 msgstr ""
5613
5614 # type: textblock
5615 #: ../src/guestfs-actions.pod:1050 ../fish/guestfish-actions.pod:833
5616 msgid ""
5617 "This calls the external C<egrep> program and returns the matching lines."
5618 msgstr ""
5619
5620 # type: =head2
5621 #: ../src/guestfs-actions.pod:1060
5622 msgid "guestfs_egrepi"
5623 msgstr ""
5624
5625 # type: verbatim
5626 #: ../src/guestfs-actions.pod:1062
5627 #, no-wrap
5628 msgid ""
5629 " char **guestfs_egrepi (guestfs_h *g,\n"
5630 "\t\tconst char *regex,\n"
5631 "\t\tconst char *path);\n"
5632 "\n"
5633 msgstr ""
5634
5635 # type: textblock
5636 #: ../src/guestfs-actions.pod:1066 ../fish/guestfish-actions.pod:843
5637 msgid ""
5638 "This calls the external C<egrep -i> program and returns the matching lines."
5639 msgstr ""
5640
5641 # type: =head2
5642 #: ../src/guestfs-actions.pod:1076
5643 msgid "guestfs_equal"
5644 msgstr ""
5645
5646 # type: verbatim
5647 #: ../src/guestfs-actions.pod:1078
5648 #, no-wrap
5649 msgid ""
5650 " int guestfs_equal (guestfs_h *g,\n"
5651 "\t\tconst char *file1,\n"
5652 "\t\tconst char *file2);\n"
5653 "\n"
5654 msgstr ""
5655
5656 # type: textblock
5657 #: ../src/guestfs-actions.pod:1082 ../fish/guestfish-actions.pod:853
5658 msgid ""
5659 "This compares the two files C<file1> and C<file2> and returns true if their "
5660 "content is exactly equal, or false otherwise."
5661 msgstr ""
5662
5663 # type: textblock
5664 #: ../src/guestfs-actions.pod:1085 ../fish/guestfish-actions.pod:856
5665 msgid "The external L<cmp(1)> program is used for the comparison."
5666 msgstr ""
5667
5668 # type: =head2
5669 #: ../src/guestfs-actions.pod:1089
5670 msgid "guestfs_exists"
5671 msgstr ""
5672
5673 # type: verbatim
5674 #: ../src/guestfs-actions.pod:1091
5675 #, no-wrap
5676 msgid ""
5677 " int guestfs_exists (guestfs_h *g,\n"
5678 "\t\tconst char *path);\n"
5679 "\n"
5680 msgstr ""
5681
5682 # type: textblock
5683 #: ../src/guestfs-actions.pod:1094 ../fish/guestfish-actions.pod:862
5684 msgid ""
5685 "This returns C<true> if and only if there is a file, directory (or anything) "
5686 "with the given C<path> name."
5687 msgstr ""
5688
5689 # type: textblock
5690 #: ../src/guestfs-actions.pod:1097
5691 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
5692 msgstr ""
5693
5694 # type: =head2
5695 #: ../src/guestfs-actions.pod:1101
5696 msgid "guestfs_fallocate"
5697 msgstr ""
5698
5699 # type: verbatim
5700 #: ../src/guestfs-actions.pod:1103
5701 #, no-wrap
5702 msgid ""
5703 " int guestfs_fallocate (guestfs_h *g,\n"
5704 "\t\tconst char *path,\n"
5705 "\t\tint len);\n"
5706 "\n"
5707 msgstr ""
5708
5709 # type: textblock
5710 #: ../src/guestfs-actions.pod:1107 ../src/guestfs-actions.pod:1130
5711 #: ../fish/guestfish-actions.pod:871 ../fish/guestfish-actions.pod:890
5712 msgid ""
5713 "This command preallocates a file (containing zero bytes) named C<path> of "
5714 "size C<len> bytes.  If the file exists already, it is overwritten."
5715 msgstr ""
5716
5717 # type: textblock
5718 #: ../src/guestfs-actions.pod:1111 ../fish/guestfish-actions.pod:875
5719 msgid ""
5720 "Do not confuse this with the guestfish-specific C<alloc> command which "
5721 "allocates a file in the host and attaches it as a device."
5722 msgstr ""
5723
5724 # type: textblock
5725 #: ../src/guestfs-actions.pod:1117 ../fish/guestfish-actions.pod:879
5726 msgid ""
5727 "This function is deprecated.  In new code, use the C<fallocate64> call "
5728 "instead."
5729 msgstr ""
5730
5731 # type: textblock
5732 #: ../src/guestfs-actions.pod:1120 ../src/guestfs-actions.pod:1555
5733 #: ../src/guestfs-actions.pod:1573 ../src/guestfs-actions.pod:5279
5734 #: ../src/guestfs-actions.pod:5424 ../fish/guestfish-actions.pod:882
5735 #: ../fish/guestfish-actions.pod:1239 ../fish/guestfish-actions.pod:1253
5736 #: ../fish/guestfish-actions.pod:4051 ../fish/guestfish-actions.pod:4148
5737 msgid ""
5738 "Deprecated functions will not be removed from the API, but the fact that "
5739 "they are deprecated indicates that there are problems with correct use of "
5740 "these functions."
5741 msgstr ""
5742
5743 # type: =head2
5744 #: ../src/guestfs-actions.pod:1124
5745 msgid "guestfs_fallocate64"
5746 msgstr ""
5747
5748 # type: verbatim
5749 #: ../src/guestfs-actions.pod:1126
5750 #, no-wrap
5751 msgid ""
5752 " int guestfs_fallocate64 (guestfs_h *g,\n"
5753 "\t\tconst char *path,\n"
5754 "\t\tint64_t len);\n"
5755 "\n"
5756 msgstr ""
5757
5758 # type: textblock
5759 #: ../src/guestfs-actions.pod:1134
5760 msgid ""
5761 "Note that this call allocates disk blocks for the file.  To create a sparse "
5762 "file use C<guestfs_truncate_size> instead."
5763 msgstr ""
5764
5765 # type: textblock
5766 #: ../src/guestfs-actions.pod:1137
5767 msgid ""
5768 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
5769 "oversight it only allowed 30 bit lengths to be specified, effectively "
5770 "limiting the maximum size of files created through that call to 1GB."
5771 msgstr ""
5772
5773 # type: textblock
5774 #: ../src/guestfs-actions.pod:1142 ../fish/guestfish-actions.pod:902
5775 msgid ""
5776 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
5777 "commands which create a file in the host and attach it as a device."
5778 msgstr ""
5779
5780 # type: =head2
5781 #: ../src/guestfs-actions.pod:1148
5782 msgid "guestfs_fgrep"
5783 msgstr ""
5784
5785 # type: verbatim
5786 #: ../src/guestfs-actions.pod:1150
5787 #, no-wrap
5788 msgid ""
5789 " char **guestfs_fgrep (guestfs_h *g,\n"
5790 "\t\tconst char *pattern,\n"
5791 "\t\tconst char *path);\n"
5792 "\n"
5793 msgstr ""
5794
5795 # type: textblock
5796 #: ../src/guestfs-actions.pod:1154 ../fish/guestfish-actions.pod:910
5797 msgid ""
5798 "This calls the external C<fgrep> program and returns the matching lines."
5799 msgstr ""
5800
5801 # type: =head2
5802 #: ../src/guestfs-actions.pod:1164
5803 msgid "guestfs_fgrepi"
5804 msgstr ""
5805
5806 # type: verbatim
5807 #: ../src/guestfs-actions.pod:1166
5808 #, no-wrap
5809 msgid ""
5810 " char **guestfs_fgrepi (guestfs_h *g,\n"
5811 "\t\tconst char *pattern,\n"
5812 "\t\tconst char *path);\n"
5813 "\n"
5814 msgstr ""
5815
5816 # type: textblock
5817 #: ../src/guestfs-actions.pod:1170 ../fish/guestfish-actions.pod:920
5818 msgid ""
5819 "This calls the external C<fgrep -i> program and returns the matching lines."
5820 msgstr ""
5821
5822 # type: =head2
5823 #: ../src/guestfs-actions.pod:1180
5824 msgid "guestfs_file"
5825 msgstr ""
5826
5827 # type: verbatim
5828 #: ../src/guestfs-actions.pod:1182
5829 #, no-wrap
5830 msgid ""
5831 " char *guestfs_file (guestfs_h *g,\n"
5832 "\t\tconst char *path);\n"
5833 "\n"
5834 msgstr ""
5835
5836 # type: textblock
5837 #: ../src/guestfs-actions.pod:1185 ../fish/guestfish-actions.pod:930
5838 msgid ""
5839 "This call uses the standard L<file(1)> command to determine the type or "
5840 "contents of the file."
5841 msgstr ""
5842
5843 # type: textblock
5844 #: ../src/guestfs-actions.pod:1188 ../fish/guestfish-actions.pod:933
5845 msgid ""
5846 "This call will also transparently look inside various types of compressed "
5847 "file."
5848 msgstr ""
5849
5850 # type: textblock
5851 #: ../src/guestfs-actions.pod:1191 ../fish/guestfish-actions.pod:936
5852 msgid ""
5853 "The exact command which runs is C<file -zb path>.  Note in particular that "
5854 "the filename is not prepended to the output (the C<-b> option)."
5855 msgstr ""
5856
5857 # type: textblock
5858 #: ../src/guestfs-actions.pod:1195
5859 msgid ""
5860 "This command can also be used on C</dev/> devices (and partitions, LV "
5861 "names).  You can for example use this to determine if a device contains a "
5862 "filesystem, although it's usually better to use C<guestfs_vfs_type>."
5863 msgstr ""
5864
5865 # type: textblock
5866 #: ../src/guestfs-actions.pod:1200 ../fish/guestfish-actions.pod:945
5867 msgid ""
5868 "If the C<path> does not begin with C</dev/> then this command only works for "
5869 "the content of regular files.  For other file types (directory, symbolic "
5870 "link etc) it will just return the string C<directory> etc."
5871 msgstr ""
5872
5873 # type: =head2
5874 #: ../src/guestfs-actions.pod:1208
5875 msgid "guestfs_file_architecture"
5876 msgstr ""
5877
5878 # type: verbatim
5879 #: ../src/guestfs-actions.pod:1210
5880 #, no-wrap
5881 msgid ""
5882 " char *guestfs_file_architecture (guestfs_h *g,\n"
5883 "\t\tconst char *filename);\n"
5884 "\n"
5885 msgstr ""
5886
5887 # type: textblock
5888 #: ../src/guestfs-actions.pod:1213 ../fish/guestfish-actions.pod:954
5889 msgid ""
5890 "This detects the architecture of the binary C<filename>, and returns it if "
5891 "known."
5892 msgstr ""
5893
5894 # type: textblock
5895 #: ../src/guestfs-actions.pod:1216 ../fish/guestfish-actions.pod:957
5896 msgid "Currently defined architectures are:"
5897 msgstr ""
5898
5899 # type: =item
5900 #: ../src/guestfs-actions.pod:1220 ../fish/guestfish-actions.pod:961
5901 msgid "\"i386\""
5902 msgstr ""
5903
5904 # type: textblock
5905 #: ../src/guestfs-actions.pod:1222 ../fish/guestfish-actions.pod:963
5906 msgid ""
5907 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
5908 "irrespective of the precise processor requirements of the binary."
5909 msgstr ""
5910
5911 # type: =item
5912 #: ../src/guestfs-actions.pod:1225 ../fish/guestfish-actions.pod:966
5913 msgid "\"x86_64\""
5914 msgstr ""
5915
5916 # type: textblock
5917 #: ../src/guestfs-actions.pod:1227 ../fish/guestfish-actions.pod:968
5918 msgid "64 bit x86-64."
5919 msgstr ""
5920
5921 # type: =item
5922 #: ../src/guestfs-actions.pod:1229 ../fish/guestfish-actions.pod:970
5923 msgid "\"sparc\""
5924 msgstr ""
5925
5926 # type: textblock
5927 #: ../src/guestfs-actions.pod:1231 ../fish/guestfish-actions.pod:972
5928 msgid "32 bit SPARC."
5929 msgstr ""
5930
5931 # type: =item
5932 #: ../src/guestfs-actions.pod:1233 ../fish/guestfish-actions.pod:974
5933 msgid "\"sparc64\""
5934 msgstr ""
5935
5936 # type: textblock
5937 #: ../src/guestfs-actions.pod:1235 ../fish/guestfish-actions.pod:976
5938 msgid "64 bit SPARC V9 and above."
5939 msgstr ""
5940
5941 # type: =item
5942 #: ../src/guestfs-actions.pod:1237 ../fish/guestfish-actions.pod:978
5943 msgid "\"ia64\""
5944 msgstr ""
5945
5946 # type: textblock
5947 #: ../src/guestfs-actions.pod:1239 ../fish/guestfish-actions.pod:980
5948 msgid "Intel Itanium."
5949 msgstr ""
5950
5951 # type: =item
5952 #: ../src/guestfs-actions.pod:1241 ../fish/guestfish-actions.pod:982
5953 msgid "\"ppc\""
5954 msgstr ""
5955
5956 # type: textblock
5957 #: ../src/guestfs-actions.pod:1243 ../fish/guestfish-actions.pod:984
5958 msgid "32 bit Power PC."
5959 msgstr ""
5960
5961 # type: =item
5962 #: ../src/guestfs-actions.pod:1245 ../fish/guestfish-actions.pod:986
5963 msgid "\"ppc64\""
5964 msgstr ""
5965
5966 # type: textblock
5967 #: ../src/guestfs-actions.pod:1247 ../fish/guestfish-actions.pod:988
5968 msgid "64 bit Power PC."
5969 msgstr ""
5970
5971 # type: textblock
5972 #: ../src/guestfs-actions.pod:1251 ../fish/guestfish-actions.pod:992
5973 msgid "Libguestfs may return other architecture strings in future."
5974 msgstr ""
5975
5976 # type: textblock
5977 #: ../src/guestfs-actions.pod:1253 ../fish/guestfish-actions.pod:994
5978 msgid "The function works on at least the following types of files:"
5979 msgstr ""
5980
5981 # type: textblock
5982 #: ../src/guestfs-actions.pod:1259 ../fish/guestfish-actions.pod:1000
5983 msgid "many types of Un*x and Linux binary"
5984 msgstr ""
5985
5986 # type: textblock
5987 #: ../src/guestfs-actions.pod:1263 ../fish/guestfish-actions.pod:1004
5988 msgid "many types of Un*x and Linux shared library"
5989 msgstr ""
5990
5991 # type: textblock
5992 #: ../src/guestfs-actions.pod:1267 ../fish/guestfish-actions.pod:1008
5993 msgid "Windows Win32 and Win64 binaries"
5994 msgstr ""
5995
5996 # type: textblock
5997 #: ../src/guestfs-actions.pod:1271 ../fish/guestfish-actions.pod:1012
5998 msgid "Windows Win32 and Win64 DLLs"
5999 msgstr ""
6000
6001 # type: textblock
6002 #: ../src/guestfs-actions.pod:1273 ../fish/guestfish-actions.pod:1014
6003 msgid "Win32 binaries and DLLs return C<i386>."
6004 msgstr ""
6005
6006 # type: textblock
6007 #: ../src/guestfs-actions.pod:1275 ../fish/guestfish-actions.pod:1016
6008 msgid "Win64 binaries and DLLs return C<x86_64>."
6009 msgstr ""
6010
6011 # type: textblock
6012 #: ../src/guestfs-actions.pod:1279 ../fish/guestfish-actions.pod:1020
6013 msgid "Linux kernel modules"
6014 msgstr ""
6015
6016 # type: textblock
6017 #: ../src/guestfs-actions.pod:1283 ../fish/guestfish-actions.pod:1024
6018 msgid "Linux new-style initrd images"
6019 msgstr ""
6020
6021 # type: textblock
6022 #: ../src/guestfs-actions.pod:1287 ../fish/guestfish-actions.pod:1028
6023 msgid "some non-x86 Linux vmlinuz kernels"
6024 msgstr ""
6025
6026 # type: textblock
6027 #: ../src/guestfs-actions.pod:1291 ../fish/guestfish-actions.pod:1032
6028 msgid "What it can't do currently:"
6029 msgstr ""
6030
6031 # type: textblock
6032 #: ../src/guestfs-actions.pod:1297 ../fish/guestfish-actions.pod:1038
6033 msgid "static libraries (libfoo.a)"
6034 msgstr ""
6035
6036 # type: textblock
6037 #: ../src/guestfs-actions.pod:1301 ../fish/guestfish-actions.pod:1042
6038 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
6039 msgstr ""
6040
6041 # type: textblock
6042 #: ../src/guestfs-actions.pod:1305 ../fish/guestfish-actions.pod:1046
6043 msgid "x86 Linux vmlinuz kernels"
6044 msgstr ""
6045
6046 # type: textblock
6047 #: ../src/guestfs-actions.pod:1307 ../fish/guestfish-actions.pod:1048
6048 msgid ""
6049 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
6050 "compressed code, and are horribly hard to unpack.  If you want to find the "
6051 "architecture of a kernel, use the architecture of the associated initrd or "
6052 "kernel module(s) instead."
6053 msgstr ""
6054
6055 # type: =head2
6056 #: ../src/guestfs-actions.pod:1317
6057 msgid "guestfs_filesize"
6058 msgstr ""
6059
6060 # type: verbatim
6061 #: ../src/guestfs-actions.pod:1319
6062 #, no-wrap
6063 msgid ""
6064 " int64_t guestfs_filesize (guestfs_h *g,\n"
6065 "\t\tconst char *file);\n"
6066 "\n"
6067 msgstr ""
6068
6069 # type: textblock
6070 #: ../src/guestfs-actions.pod:1322 ../fish/guestfish-actions.pod:1059
6071 msgid "This command returns the size of C<file> in bytes."
6072 msgstr ""
6073
6074 # type: textblock
6075 #: ../src/guestfs-actions.pod:1324
6076 msgid ""
6077 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
6078 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
6079 "devices, use C<guestfs_blockdev_getsize64>."
6080 msgstr ""
6081
6082 # type: =head2
6083 #: ../src/guestfs-actions.pod:1330
6084 msgid "guestfs_fill"
6085 msgstr ""
6086
6087 # type: verbatim
6088 #: ../src/guestfs-actions.pod:1332
6089 #, no-wrap
6090 msgid ""
6091 " int guestfs_fill (guestfs_h *g,\n"
6092 "\t\tint c,\n"
6093 "\t\tint len,\n"
6094 "\t\tconst char *path);\n"
6095 "\n"
6096 msgstr ""
6097
6098 # type: textblock
6099 #: ../src/guestfs-actions.pod:1337 ../fish/guestfish-actions.pod:1069
6100 msgid ""
6101 "This command creates a new file called C<path>.  The initial content of the "
6102 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
6103 "[0..255]>."
6104 msgstr ""
6105
6106 # type: textblock
6107 #: ../src/guestfs-actions.pod:1341
6108 msgid ""
6109 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
6110 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
6111 "bytes use C<guestfs_fill_pattern>."
6112 msgstr ""
6113
6114 # type: =head2
6115 #: ../src/guestfs-actions.pod:1353
6116 msgid "guestfs_fill_pattern"
6117 msgstr ""
6118
6119 # type: verbatim
6120 #: ../src/guestfs-actions.pod:1355
6121 #, no-wrap
6122 msgid ""
6123 " int guestfs_fill_pattern (guestfs_h *g,\n"
6124 "\t\tconst char *pattern,\n"
6125 "\t\tint len,\n"
6126 "\t\tconst char *path);\n"
6127 "\n"
6128 msgstr ""
6129
6130 # type: textblock
6131 #: ../src/guestfs-actions.pod:1360
6132 msgid ""
6133 "This function is like C<guestfs_fill> except that it creates a new file of "
6134 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
6135 "pattern is truncated if necessary to ensure the length of the file is "
6136 "exactly C<len> bytes."
6137 msgstr ""
6138
6139 # type: =head2
6140 #: ../src/guestfs-actions.pod:1372
6141 msgid "guestfs_find"
6142 msgstr ""
6143
6144 # type: verbatim
6145 #: ../src/guestfs-actions.pod:1374
6146 #, no-wrap
6147 msgid ""
6148 " char **guestfs_find (guestfs_h *g,\n"
6149 "\t\tconst char *directory);\n"
6150 "\n"
6151 msgstr ""
6152
6153 # type: textblock
6154 #: ../src/guestfs-actions.pod:1377 ../fish/guestfish-actions.pod:1091
6155 msgid ""
6156 "This command lists out all files and directories, recursively, starting at "
6157 "C<directory>.  It is essentially equivalent to running the shell command "
6158 "C<find directory -print> but some post-processing happens on the output, "
6159 "described below."
6160 msgstr ""
6161
6162 # type: textblock
6163 #: ../src/guestfs-actions.pod:1382 ../fish/guestfish-actions.pod:1096
6164 msgid ""
6165 "This returns a list of strings I<without any prefix>.  Thus if the directory "
6166 "structure was:"
6167 msgstr ""
6168
6169 # type: verbatim
6170 #: ../src/guestfs-actions.pod:1385 ../fish/guestfish-actions.pod:1099
6171 #, no-wrap
6172 msgid ""
6173 " /tmp/a\n"
6174 " /tmp/b\n"
6175 " /tmp/c/d\n"
6176 "\n"
6177 msgstr ""
6178
6179 # type: textblock
6180 #: ../src/guestfs-actions.pod:1389
6181 msgid ""
6182 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
6183 msgstr ""
6184
6185 # type: verbatim
6186 #: ../src/guestfs-actions.pod:1392 ../fish/guestfish-actions.pod:1106
6187 #, no-wrap
6188 msgid ""
6189 " a\n"
6190 " b\n"
6191 " c\n"
6192 " c/d\n"
6193 "\n"
6194 msgstr ""
6195
6196 # type: textblock
6197 #: ../src/guestfs-actions.pod:1397 ../fish/guestfish-actions.pod:1111
6198 msgid "If C<directory> is not a directory, then this command returns an error."
6199 msgstr ""
6200
6201 # type: textblock
6202 #: ../src/guestfs-actions.pod:1400 ../fish/guestfish-actions.pod:1114
6203 msgid "The returned list is sorted."
6204 msgstr ""
6205
6206 # type: textblock
6207 #: ../src/guestfs-actions.pod:1402
6208 msgid "See also C<guestfs_find0>."
6209 msgstr ""
6210
6211 # type: =head2
6212 #: ../src/guestfs-actions.pod:1411
6213 msgid "guestfs_find0"
6214 msgstr ""
6215
6216 # type: verbatim
6217 #: ../src/guestfs-actions.pod:1413
6218 #, no-wrap
6219 msgid ""
6220 " int guestfs_find0 (guestfs_h *g,\n"
6221 "\t\tconst char *directory,\n"
6222 "\t\tconst char *files);\n"
6223 "\n"
6224 msgstr ""
6225
6226 # type: textblock
6227 #: ../src/guestfs-actions.pod:1417 ../fish/guestfish-actions.pod:1125
6228 msgid ""
6229 "This command lists out all files and directories, recursively, starting at "
6230 "C<directory>, placing the resulting list in the external file called "
6231 "C<files>."
6232 msgstr ""
6233
6234 # type: textblock
6235 #: ../src/guestfs-actions.pod:1421
6236 msgid ""
6237 "This command works the same way as C<guestfs_find> with the following "
6238 "exceptions:"
6239 msgstr ""
6240
6241 # type: textblock
6242 #: ../src/guestfs-actions.pod:1428 ../fish/guestfish-actions.pod:1136
6243 msgid "The resulting list is written to an external file."
6244 msgstr ""
6245
6246 # type: textblock
6247 #: ../src/guestfs-actions.pod:1432 ../fish/guestfish-actions.pod:1140
6248 msgid ""
6249 "Items (filenames) in the result are separated by C<\\0> characters.  See "
6250 "L<find(1)> option I<-print0>."
6251 msgstr ""
6252
6253 # type: textblock
6254 #: ../src/guestfs-actions.pod:1437 ../fish/guestfish-actions.pod:1145
6255 msgid "This command is not limited in the number of names that it can return."
6256 msgstr ""
6257
6258 # type: textblock
6259 #: ../src/guestfs-actions.pod:1442 ../fish/guestfish-actions.pod:1150
6260 msgid "The result list is not sorted."
6261 msgstr ""
6262
6263 # type: =head2
6264 #: ../src/guestfs-actions.pod:1448
6265 msgid "guestfs_findfs_label"
6266 msgstr ""
6267
6268 # type: verbatim
6269 #: ../src/guestfs-actions.pod:1450
6270 #, no-wrap
6271 msgid ""
6272 " char *guestfs_findfs_label (guestfs_h *g,\n"
6273 "\t\tconst char *label);\n"
6274 "\n"
6275 msgstr ""
6276
6277 # type: textblock
6278 #: ../src/guestfs-actions.pod:1453 ../fish/guestfish-actions.pod:1160
6279 msgid ""
6280 "This command searches the filesystems and returns the one which has the "
6281 "given label.  An error is returned if no such filesystem can be found."
6282 msgstr ""
6283
6284 # type: textblock
6285 #: ../src/guestfs-actions.pod:1457
6286 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
6287 msgstr ""
6288
6289 # type: =head2
6290 #: ../src/guestfs-actions.pod:1462
6291 msgid "guestfs_findfs_uuid"
6292 msgstr ""
6293
6294 # type: verbatim
6295 #: ../src/guestfs-actions.pod:1464
6296 #, no-wrap
6297 msgid ""
6298 " char *guestfs_findfs_uuid (guestfs_h *g,\n"
6299 "\t\tconst char *uuid);\n"
6300 "\n"
6301 msgstr ""
6302
6303 # type: textblock
6304 #: ../src/guestfs-actions.pod:1467 ../fish/guestfish-actions.pod:1170
6305 msgid ""
6306 "This command searches the filesystems and returns the one which has the "
6307 "given UUID.  An error is returned if no such filesystem can be found."
6308 msgstr ""
6309
6310 # type: textblock
6311 #: ../src/guestfs-actions.pod:1471
6312 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
6313 msgstr ""
6314
6315 # type: =head2
6316 #: ../src/guestfs-actions.pod:1476
6317 msgid "guestfs_fsck"
6318 msgstr ""
6319
6320 # type: verbatim
6321 #: ../src/guestfs-actions.pod:1478
6322 #, no-wrap
6323 msgid ""
6324 " int guestfs_fsck (guestfs_h *g,\n"
6325 "\t\tconst char *fstype,\n"
6326 "\t\tconst char *device);\n"
6327 "\n"
6328 msgstr ""
6329
6330 # type: textblock
6331 #: ../src/guestfs-actions.pod:1482 ../fish/guestfish-actions.pod:1180
6332 msgid ""
6333 "This runs the filesystem checker (fsck) on C<device> which should have "
6334 "filesystem type C<fstype>."
6335 msgstr ""
6336
6337 # type: textblock
6338 #: ../src/guestfs-actions.pod:1485 ../fish/guestfish-actions.pod:1183
6339 msgid ""
6340 "The returned integer is the status.  See L<fsck(8)> for the list of status "
6341 "codes from C<fsck>."
6342 msgstr ""
6343
6344 # type: textblock
6345 #: ../src/guestfs-actions.pod:1494 ../fish/guestfish-actions.pod:1192
6346 msgid "Multiple status codes can be summed together."
6347 msgstr ""
6348
6349 # type: textblock
6350 #: ../src/guestfs-actions.pod:1498 ../fish/guestfish-actions.pod:1196
6351 msgid ""
6352 "A non-zero return code can mean \"success\", for example if errors have been "
6353 "corrected on the filesystem."
6354 msgstr ""
6355
6356 # type: textblock
6357 #: ../src/guestfs-actions.pod:1503 ../fish/guestfish-actions.pod:1201
6358 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
6359 msgstr ""
6360
6361 # type: textblock
6362 #: ../src/guestfs-actions.pod:1508 ../fish/guestfish-actions.pod:1206
6363 msgid ""
6364 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
6365 msgstr ""
6366
6367 # type: =head2
6368 #: ../src/guestfs-actions.pod:1512
6369 msgid "guestfs_get_append"
6370 msgstr ""
6371
6372 # type: verbatim
6373 #: ../src/guestfs-actions.pod:1514
6374 #, no-wrap
6375 msgid ""
6376 " const char *guestfs_get_append (guestfs_h *g);\n"
6377 "\n"
6378 msgstr ""
6379
6380 # type: textblock
6381 #: ../src/guestfs-actions.pod:1516 ../fish/guestfish-actions.pod:1212
6382 msgid ""
6383 "Return the additional kernel options which are added to the guest kernel "
6384 "command line."
6385 msgstr ""
6386
6387 # type: textblock
6388 #: ../src/guestfs-actions.pod:1519 ../fish/guestfish-actions.pod:1215
6389 msgid "If C<NULL> then no options are added."
6390 msgstr ""
6391
6392 # type: textblock
6393 #: ../src/guestfs-actions.pod:1521
6394 msgid ""
6395 "This function returns a string which may be NULL.  There is no way to return "
6396 "an error from this function.  The string is owned by the guest handle and "
6397 "must I<not> be freed."
6398 msgstr ""
6399
6400 # type: =head2
6401 #: ../src/guestfs-actions.pod:1525
6402 msgid "guestfs_get_autosync"
6403 msgstr ""
6404
6405 # type: verbatim
6406 #: ../src/guestfs-actions.pod:1527
6407 #, no-wrap
6408 msgid ""
6409 " int guestfs_get_autosync (guestfs_h *g);\n"
6410 "\n"
6411 msgstr ""
6412
6413 # type: textblock
6414 #: ../src/guestfs-actions.pod:1529 ../fish/guestfish-actions.pod:1221
6415 msgid "Get the autosync flag."
6416 msgstr ""
6417
6418 # type: =head2
6419 #: ../src/guestfs-actions.pod:1533
6420 msgid "guestfs_get_direct"
6421 msgstr ""
6422
6423 # type: verbatim
6424 #: ../src/guestfs-actions.pod:1535
6425 #, no-wrap
6426 msgid ""
6427 " int guestfs_get_direct (guestfs_h *g);\n"
6428 "\n"
6429 msgstr ""
6430
6431 # type: textblock
6432 #: ../src/guestfs-actions.pod:1537 ../fish/guestfish-actions.pod:1227
6433 msgid "Return the direct appliance mode flag."
6434 msgstr ""
6435
6436 # type: =head2
6437 #: ../src/guestfs-actions.pod:1541
6438 msgid "guestfs_get_e2label"
6439 msgstr ""
6440
6441 # type: verbatim
6442 #: ../src/guestfs-actions.pod:1543
6443 #, no-wrap
6444 msgid ""
6445 " char *guestfs_get_e2label (guestfs_h *g,\n"
6446 "\t\tconst char *device);\n"
6447 "\n"
6448 msgstr ""
6449
6450 # type: textblock
6451 #: ../src/guestfs-actions.pod:1546 ../fish/guestfish-actions.pod:1233
6452 msgid ""
6453 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
6454 msgstr ""
6455
6456 # type: textblock
6457 #: ../src/guestfs-actions.pod:1552 ../fish/guestfish-actions.pod:1236
6458 msgid ""
6459 "This function is deprecated.  In new code, use the C<vfs_label> call instead."
6460 msgstr ""
6461
6462 # type: =head2
6463 #: ../src/guestfs-actions.pod:1559
6464 msgid "guestfs_get_e2uuid"
6465 msgstr ""
6466
6467 # type: verbatim
6468 #: ../src/guestfs-actions.pod:1561
6469 #, no-wrap
6470 msgid ""
6471 " char *guestfs_get_e2uuid (guestfs_h *g,\n"
6472 "\t\tconst char *device);\n"
6473 "\n"
6474 msgstr ""
6475
6476 # type: textblock
6477 #: ../src/guestfs-actions.pod:1564 ../fish/guestfish-actions.pod:1247
6478 msgid ""
6479 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
6480 msgstr ""
6481
6482 # type: textblock
6483 #: ../src/guestfs-actions.pod:1570 ../fish/guestfish-actions.pod:1250
6484 msgid ""
6485 "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
6486 msgstr ""
6487
6488 # type: =head2
6489 #: ../src/guestfs-actions.pod:1577
6490 msgid "guestfs_get_memsize"
6491 msgstr ""
6492
6493 # type: verbatim
6494 #: ../src/guestfs-actions.pod:1579
6495 #, no-wrap
6496 msgid ""
6497 " int guestfs_get_memsize (guestfs_h *g);\n"
6498 "\n"
6499 msgstr ""
6500
6501 # type: textblock
6502 #: ../src/guestfs-actions.pod:1581 ../fish/guestfish-actions.pod:1261
6503 msgid ""
6504 "This gets the memory size in megabytes allocated to the qemu subprocess."
6505 msgstr ""
6506
6507 # type: textblock
6508 #: ../src/guestfs-actions.pod:1584
6509 msgid ""
6510 "If C<guestfs_set_memsize> was not called on this handle, and if "
6511 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
6512 "value for memsize."
6513 msgstr ""
6514
6515 # type: textblock
6516 #: ../src/guestfs-actions.pod:1588 ../src/guestfs-actions.pod:1651
6517 #: ../src/guestfs-actions.pod:4177 ../src/guestfs-actions.pod:4269
6518 #: ../fish/guestfish-actions.pod:1268 ../fish/guestfish-actions.pod:1317
6519 #: ../fish/guestfish-actions.pod:3223 ../fish/guestfish-actions.pod:3300
6520 msgid ""
6521 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
6522 msgstr ""
6523
6524 # type: =head2
6525 #: ../src/guestfs-actions.pod:1593
6526 msgid "guestfs_get_network"
6527 msgstr ""
6528
6529 # type: verbatim
6530 #: ../src/guestfs-actions.pod:1595
6531 #, no-wrap
6532 msgid ""
6533 " int guestfs_get_network (guestfs_h *g);\n"
6534 "\n"
6535 msgstr ""
6536
6537 # type: textblock
6538 #: ../src/guestfs-actions.pod:1597 ../fish/guestfish-actions.pod:1275
6539 msgid "This returns the enable network flag."
6540 msgstr ""
6541
6542 # type: =head2
6543 #: ../src/guestfs-actions.pod:1601
6544 msgid "guestfs_get_path"
6545 msgstr ""
6546
6547 # type: verbatim
6548 #: ../src/guestfs-actions.pod:1603
6549 #, no-wrap
6550 msgid ""
6551 " const char *guestfs_get_path (guestfs_h *g);\n"
6552 "\n"
6553 msgstr ""
6554
6555 # type: textblock
6556 #: ../src/guestfs-actions.pod:1605 ../fish/guestfish-actions.pod:1281
6557 msgid "Return the current search path."
6558 msgstr ""
6559
6560 # type: textblock
6561 #: ../src/guestfs-actions.pod:1607 ../fish/guestfish-actions.pod:1283
6562 msgid ""
6563 "This is always non-NULL.  If it wasn't set already, then this will return "
6564 "the default path."
6565 msgstr ""
6566
6567 # type: textblock
6568 #: ../src/guestfs-actions.pod:1610 ../src/guestfs-actions.pod:1633
6569 msgid ""
6570 "This function returns a string, or NULL on error.  The string is owned by "
6571 "the guest handle and must I<not> be freed."
6572 msgstr ""
6573
6574 # type: =head2
6575 #: ../src/guestfs-actions.pod:1613
6576 msgid "guestfs_get_pid"
6577 msgstr ""
6578
6579 # type: verbatim
6580 #: ../src/guestfs-actions.pod:1615
6581 #, no-wrap
6582 msgid ""
6583 " int guestfs_get_pid (guestfs_h *g);\n"
6584 "\n"
6585 msgstr ""
6586
6587 # type: textblock
6588 #: ../src/guestfs-actions.pod:1617 ../fish/guestfish-actions.pod:1290
6589 msgid ""
6590 "Return the process ID of the qemu subprocess.  If there is no qemu "
6591 "subprocess, then this will return an error."
6592 msgstr ""
6593
6594 # type: textblock
6595 #: ../src/guestfs-actions.pod:1620 ../fish/guestfish-actions.pod:1293
6596 msgid "This is an internal call used for debugging and testing."
6597 msgstr ""
6598
6599 # type: =head2
6600 #: ../src/guestfs-actions.pod:1624
6601 msgid "guestfs_get_qemu"
6602 msgstr ""
6603
6604 # type: verbatim
6605 #: ../src/guestfs-actions.pod:1626
6606 #, no-wrap
6607 msgid ""
6608 " const char *guestfs_get_qemu (guestfs_h *g);\n"
6609 "\n"
6610 msgstr ""
6611
6612 # type: textblock
6613 #: ../src/guestfs-actions.pod:1628 ../fish/guestfish-actions.pod:1299
6614 msgid "Return the current qemu binary."
6615 msgstr ""
6616
6617 # type: textblock
6618 #: ../src/guestfs-actions.pod:1630 ../fish/guestfish-actions.pod:1301
6619 msgid ""
6620 "This is always non-NULL.  If it wasn't set already, then this will return "
6621 "the default qemu binary name."
6622 msgstr ""
6623
6624 # type: =head2
6625 #: ../src/guestfs-actions.pod:1636
6626 msgid "guestfs_get_recovery_proc"
6627 msgstr ""
6628
6629 # type: verbatim
6630 #: ../src/guestfs-actions.pod:1638
6631 #, no-wrap
6632 msgid ""
6633 " int guestfs_get_recovery_proc (guestfs_h *g);\n"
6634 "\n"
6635 msgstr ""
6636
6637 # type: textblock
6638 #: ../src/guestfs-actions.pod:1640 ../fish/guestfish-actions.pod:1308
6639 msgid "Return the recovery process enabled flag."
6640 msgstr ""
6641
6642 # type: =head2
6643 #: ../src/guestfs-actions.pod:1644
6644 msgid "guestfs_get_selinux"
6645 msgstr ""
6646
6647 # type: verbatim
6648 #: ../src/guestfs-actions.pod:1646
6649 #, no-wrap
6650 msgid ""
6651 " int guestfs_get_selinux (guestfs_h *g);\n"
6652 "\n"
6653 msgstr ""
6654
6655 # type: textblock
6656 #: ../src/guestfs-actions.pod:1648
6657 msgid ""
6658 "This returns the current setting of the selinux flag which is passed to the "
6659 "appliance at boot time.  See C<guestfs_set_selinux>."
6660 msgstr ""
6661
6662 # type: =head2
6663 #: ../src/guestfs-actions.pod:1656
6664 msgid "guestfs_get_state"
6665 msgstr ""
6666
6667 # type: verbatim
6668 #: ../src/guestfs-actions.pod:1658
6669 #, no-wrap
6670 msgid ""
6671 " int guestfs_get_state (guestfs_h *g);\n"
6672 "\n"
6673 msgstr ""
6674
6675 # type: textblock
6676 #: ../src/guestfs-actions.pod:1660 ../fish/guestfish-actions.pod:1324
6677 msgid ""
6678 "This returns the current state as an opaque integer.  This is only useful "
6679 "for printing debug and internal error messages."
6680 msgstr ""
6681
6682 # type: textblock
6683 #: ../src/guestfs-actions.pod:1663 ../src/guestfs-actions.pod:2270
6684 #: ../src/guestfs-actions.pod:2281 ../src/guestfs-actions.pod:2318
6685 #: ../src/guestfs-actions.pod:2339 ../fish/guestfish-actions.pod:1327
6686 #: ../fish/guestfish-actions.pod:1810 ../fish/guestfish-actions.pod:1819
6687 #: ../fish/guestfish-actions.pod:1848 ../fish/guestfish-actions.pod:1864
6688 msgid "For more information on states, see L<guestfs(3)>."
6689 msgstr ""
6690
6691 # type: =head2
6692 #: ../src/guestfs-actions.pod:1667
6693 msgid "guestfs_get_trace"
6694 msgstr ""
6695
6696 # type: verbatim
6697 #: ../src/guestfs-actions.pod:1669
6698 #, no-wrap
6699 msgid ""
6700 " int guestfs_get_trace (guestfs_h *g);\n"
6701 "\n"
6702 msgstr ""
6703
6704 # type: textblock
6705 #: ../src/guestfs-actions.pod:1671 ../fish/guestfish-actions.pod:1333
6706 msgid "Return the command trace flag."
6707 msgstr ""
6708
6709 # type: =head2
6710 #: ../src/guestfs-actions.pod:1675
6711 msgid "guestfs_get_umask"
6712 msgstr ""
6713
6714 # type: verbatim
6715 #: ../src/guestfs-actions.pod:1677
6716 #, no-wrap
6717 msgid ""
6718 " int guestfs_get_umask (guestfs_h *g);\n"
6719 "\n"
6720 msgstr ""
6721
6722 # type: textblock
6723 #: ../src/guestfs-actions.pod:1679
6724 msgid ""
6725 "Return the current umask.  By default the umask is C<022> unless it has been "
6726 "set by calling C<guestfs_umask>."
6727 msgstr ""
6728
6729 # type: =head2
6730 #: ../src/guestfs-actions.pod:1684
6731 msgid "guestfs_get_verbose"
6732 msgstr ""
6733
6734 # type: verbatim
6735 #: ../src/guestfs-actions.pod:1686
6736 #, no-wrap
6737 msgid ""
6738 " int guestfs_get_verbose (guestfs_h *g);\n"
6739 "\n"
6740 msgstr ""
6741
6742 # type: textblock
6743 #: ../src/guestfs-actions.pod:1688 ../fish/guestfish-actions.pod:1346
6744 msgid "This returns the verbose messages flag."
6745 msgstr ""
6746
6747 # type: =head2
6748 #: ../src/guestfs-actions.pod:1692
6749 msgid "guestfs_getcon"
6750 msgstr ""
6751
6752 # type: verbatim
6753 #: ../src/guestfs-actions.pod:1694
6754 #, no-wrap
6755 msgid ""
6756 " char *guestfs_getcon (guestfs_h *g);\n"
6757 "\n"
6758 msgstr ""
6759
6760 # type: textblock
6761 #: ../src/guestfs-actions.pod:1696 ../fish/guestfish-actions.pod:1352
6762 msgid "This gets the SELinux security context of the daemon."
6763 msgstr ""
6764
6765 # type: textblock
6766 #: ../src/guestfs-actions.pod:1698
6767 msgid ""
6768 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
6769 msgstr ""
6770
6771 # type: =head2
6772 #: ../src/guestfs-actions.pod:1704
6773 msgid "guestfs_getxattrs"
6774 msgstr ""
6775
6776 # type: verbatim
6777 #: ../src/guestfs-actions.pod:1706
6778 #, no-wrap
6779 msgid ""
6780 " struct guestfs_xattr_list *guestfs_getxattrs (guestfs_h *g,\n"
6781 "\t\tconst char *path);\n"
6782 "\n"
6783 msgstr ""
6784
6785 # type: textblock
6786 #: ../src/guestfs-actions.pod:1709 ../fish/guestfish-actions.pod:1361
6787 msgid ""
6788 "This call lists the extended attributes of the file or directory C<path>."
6789 msgstr ""
6790
6791 # type: textblock
6792 #: ../src/guestfs-actions.pod:1712 ../fish/guestfish-actions.pod:1364
6793 msgid ""
6794 "At the system call level, this is a combination of the L<listxattr(2)> and "
6795 "L<getxattr(2)> calls."
6796 msgstr ""
6797
6798 # type: textblock
6799 #: ../src/guestfs-actions.pod:1715
6800 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
6801 msgstr ""
6802
6803 # type: textblock
6804 #: ../src/guestfs-actions.pod:1717 ../src/guestfs-actions.pod:2389
6805 #: ../src/guestfs-actions.pod:2884
6806 msgid ""
6807 "This function returns a C<struct guestfs_xattr_list *> (see E<lt>guestfs-"
6808 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
6809 "C<guestfs_free_xattr_list> after use>."
6810 msgstr ""
6811
6812 # type: =head2
6813 #: ../src/guestfs-actions.pod:1722
6814 msgid "guestfs_glob_expand"
6815 msgstr ""
6816
6817 # type: verbatim
6818 #: ../src/guestfs-actions.pod:1724
6819 #, no-wrap
6820 msgid ""
6821 " char **guestfs_glob_expand (guestfs_h *g,\n"
6822 "\t\tconst char *pattern);\n"
6823 "\n"
6824 msgstr ""
6825
6826 # type: textblock
6827 #: ../src/guestfs-actions.pod:1727 ../fish/guestfish-actions.pod:1373
6828 msgid ""
6829 "This command searches for all the pathnames matching C<pattern> according to "
6830 "the wildcard expansion rules used by the shell."
6831 msgstr ""
6832
6833 # type: textblock
6834 #: ../src/guestfs-actions.pod:1731 ../fish/guestfish-actions.pod:1377
6835 msgid ""
6836 "If no paths match, then this returns an empty list (note: not an error)."
6837 msgstr ""
6838
6839 # type: textblock
6840 #: ../src/guestfs-actions.pod:1734 ../fish/guestfish-actions.pod:1380
6841 msgid ""
6842 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
6843 "GLOB_BRACE>.  See that manual page for more details."
6844 msgstr ""
6845
6846 # type: =head2
6847 #: ../src/guestfs-actions.pod:1742
6848 msgid "guestfs_grep"
6849 msgstr ""
6850
6851 # type: verbatim
6852 #: ../src/guestfs-actions.pod:1744
6853 #, no-wrap
6854 msgid ""
6855 " char **guestfs_grep (guestfs_h *g,\n"
6856 "\t\tconst char *regex,\n"
6857 "\t\tconst char *path);\n"
6858 "\n"
6859 msgstr ""
6860
6861 # type: textblock
6862 #: ../src/guestfs-actions.pod:1748 ../fish/guestfish-actions.pod:1388
6863 msgid "This calls the external C<grep> program and returns the matching lines."
6864 msgstr ""
6865
6866 # type: =head2
6867 #: ../src/guestfs-actions.pod:1758
6868 msgid "guestfs_grepi"
6869 msgstr ""
6870
6871 # type: verbatim
6872 #: ../src/guestfs-actions.pod:1760
6873 #, no-wrap
6874 msgid ""
6875 " char **guestfs_grepi (guestfs_h *g,\n"
6876 "\t\tconst char *regex,\n"
6877 "\t\tconst char *path);\n"
6878 "\n"
6879 msgstr ""
6880
6881 # type: textblock
6882 #: ../src/guestfs-actions.pod:1764 ../fish/guestfish-actions.pod:1398
6883 msgid ""
6884 "This calls the external C<grep -i> program and returns the matching lines."
6885 msgstr ""
6886
6887 # type: =head2
6888 #: ../src/guestfs-actions.pod:1774
6889 msgid "guestfs_grub_install"
6890 msgstr ""
6891
6892 # type: verbatim
6893 #: ../src/guestfs-actions.pod:1776
6894 #, no-wrap
6895 msgid ""
6896 " int guestfs_grub_install (guestfs_h *g,\n"
6897 "\t\tconst char *root,\n"
6898 "\t\tconst char *device);\n"
6899 "\n"
6900 msgstr ""
6901
6902 # type: textblock
6903 #: ../src/guestfs-actions.pod:1780 ../fish/guestfish-actions.pod:1408
6904 msgid ""
6905 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
6906 "the root directory being C<root>."
6907 msgstr ""
6908
6909 # type: textblock
6910 #: ../src/guestfs-actions.pod:1783 ../fish/guestfish-actions.pod:1411
6911 msgid ""
6912 "Note: If grub-install reports the error \"No suitable drive was found in the "
6913 "generated device map.\" it may be that you need to create a C</boot/grub/"
6914 "device.map> file first that contains the mapping between grub device names "
6915 "and Linux device names.  It is usually sufficient to create a file "
6916 "containing:"
6917 msgstr ""
6918
6919 # type: verbatim
6920 #: ../src/guestfs-actions.pod:1790 ../fish/guestfish-actions.pod:1418
6921 #, no-wrap
6922 msgid ""
6923 " (hd0) /dev/vda\n"
6924 "\n"
6925 msgstr ""
6926
6927 # type: textblock
6928 #: ../src/guestfs-actions.pod:1792 ../fish/guestfish-actions.pod:1420
6929 msgid "replacing C</dev/vda> with the name of the installation device."
6930 msgstr ""
6931
6932 # type: =head2
6933 #: ../src/guestfs-actions.pod:1796
6934 msgid "guestfs_head"
6935 msgstr ""
6936
6937 # type: verbatim
6938 #: ../src/guestfs-actions.pod:1798
6939 #, no-wrap
6940 msgid ""
6941 " char **guestfs_head (guestfs_h *g,\n"
6942 "\t\tconst char *path);\n"
6943 "\n"
6944 msgstr ""
6945
6946 # type: textblock
6947 #: ../src/guestfs-actions.pod:1801 ../fish/guestfish-actions.pod:1426
6948 msgid ""
6949 "This command returns up to the first 10 lines of a file as a list of strings."
6950 msgstr ""
6951
6952 # type: =head2
6953 #: ../src/guestfs-actions.pod:1811
6954 msgid "guestfs_head_n"
6955 msgstr ""
6956
6957 # type: verbatim
6958 #: ../src/guestfs-actions.pod:1813
6959 #, no-wrap
6960 msgid ""
6961 " char **guestfs_head_n (guestfs_h *g,\n"
6962 "\t\tint nrlines,\n"
6963 "\t\tconst char *path);\n"
6964 "\n"
6965 msgstr ""
6966
6967 # type: textblock
6968 #: ../src/guestfs-actions.pod:1817 ../fish/guestfish-actions.pod:1436
6969 msgid ""
6970 "If the parameter C<nrlines> is a positive number, this returns the first "
6971 "C<nrlines> lines of the file C<path>."
6972 msgstr ""
6973
6974 # type: textblock
6975 #: ../src/guestfs-actions.pod:1820 ../fish/guestfish-actions.pod:1439
6976 msgid ""
6977 "If the parameter C<nrlines> is a negative number, this returns lines from "
6978 "the file C<path>, excluding the last C<nrlines> lines."
6979 msgstr ""
6980
6981 # type: textblock
6982 #: ../src/guestfs-actions.pod:1823 ../src/guestfs-actions.pod:4725
6983 #: ../fish/guestfish-actions.pod:1442 ../fish/guestfish-actions.pod:3642
6984 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
6985 msgstr ""
6986
6987 # type: =head2
6988 #: ../src/guestfs-actions.pod:1832
6989 msgid "guestfs_hexdump"
6990 msgstr ""
6991
6992 # type: verbatim
6993 #: ../src/guestfs-actions.pod:1834
6994 #, no-wrap
6995 msgid ""
6996 " char *guestfs_hexdump (guestfs_h *g,\n"
6997 "\t\tconst char *path);\n"
6998 "\n"
6999 msgstr ""
7000
7001 # type: textblock
7002 #: ../src/guestfs-actions.pod:1837 ../fish/guestfish-actions.pod:1451
7003 msgid ""
7004 "This runs C<hexdump -C> on the given C<path>.  The result is the human-"
7005 "readable, canonical hex dump of the file."
7006 msgstr ""
7007
7008 # type: =head2
7009 #: ../src/guestfs-actions.pod:1846
7010 msgid "guestfs_initrd_cat"
7011 msgstr ""
7012
7013 # type: verbatim
7014 #: ../src/guestfs-actions.pod:1848
7015 #, no-wrap
7016 msgid ""
7017 " char *guestfs_initrd_cat (guestfs_h *g,\n"
7018 "\t\tconst char *initrdpath,\n"
7019 "\t\tconst char *filename,\n"
7020 "\t\tsize_t *size_r);\n"
7021 "\n"
7022 msgstr ""
7023
7024 # type: textblock
7025 #: ../src/guestfs-actions.pod:1853 ../fish/guestfish-actions.pod:1461
7026 msgid ""
7027 "This command unpacks the file C<filename> from the initrd file called "
7028 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
7029 "character."
7030 msgstr ""
7031
7032 # type: textblock
7033 #: ../src/guestfs-actions.pod:1857 ../fish/guestfish-actions.pod:1465
7034 msgid ""
7035 "For example, in guestfish you could use the following command to examine the "
7036 "boot script (usually called C</init>)  contained in a Linux initrd or "
7037 "initramfs image:"
7038 msgstr ""
7039
7040 # type: verbatim
7041 #: ../src/guestfs-actions.pod:1861 ../fish/guestfish-actions.pod:1469
7042 #, no-wrap
7043 msgid ""
7044 " initrd-cat /boot/initrd-<version>.img init\n"
7045 "\n"
7046 msgstr ""
7047
7048 # type: textblock
7049 #: ../src/guestfs-actions.pod:1863
7050 msgid "See also C<guestfs_initrd_list>."
7051 msgstr ""
7052
7053 # type: textblock
7054 #: ../src/guestfs-actions.pod:1865 ../src/guestfs-actions.pod:3683
7055 #: ../src/guestfs-actions.pod:3812
7056 msgid ""
7057 "This function returns a buffer, or NULL on error.  The size of the returned "
7058 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
7059 "after use>."
7060 msgstr ""
7061
7062 # type: =head2
7063 #: ../src/guestfs-actions.pod:1872
7064 msgid "guestfs_initrd_list"
7065 msgstr ""
7066
7067 # type: verbatim
7068 #: ../src/guestfs-actions.pod:1874
7069 #, no-wrap
7070 msgid ""
7071 " char **guestfs_initrd_list (guestfs_h *g,\n"
7072 "\t\tconst char *path);\n"
7073 "\n"
7074 msgstr ""
7075
7076 # type: textblock
7077 #: ../src/guestfs-actions.pod:1877 ../fish/guestfish-actions.pod:1480
7078 msgid "This command lists out files contained in an initrd."
7079 msgstr ""
7080
7081 # type: textblock
7082 #: ../src/guestfs-actions.pod:1879 ../fish/guestfish-actions.pod:1482
7083 msgid ""
7084 "The files are listed without any initial C</> character.  The files are "
7085 "listed in the order they appear (not necessarily alphabetical).  Directory "
7086 "names are listed as separate items."
7087 msgstr ""
7088
7089 # type: textblock
7090 #: ../src/guestfs-actions.pod:1883 ../fish/guestfish-actions.pod:1486
7091 msgid ""
7092 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
7093 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
7094 "files)."
7095 msgstr ""
7096
7097 # type: =head2
7098 #: ../src/guestfs-actions.pod:1891
7099 msgid "guestfs_inotify_add_watch"
7100 msgstr ""
7101
7102 # type: verbatim
7103 #: ../src/guestfs-actions.pod:1893
7104 #, no-wrap
7105 msgid ""
7106 " int64_t guestfs_inotify_add_watch (guestfs_h *g,\n"
7107 "\t\tconst char *path,\n"
7108 "\t\tint mask);\n"
7109 "\n"
7110 msgstr ""
7111
7112 # type: textblock
7113 #: ../src/guestfs-actions.pod:1897 ../fish/guestfish-actions.pod:1494
7114 msgid "Watch C<path> for the events listed in C<mask>."
7115 msgstr ""
7116
7117 # type: textblock
7118 #: ../src/guestfs-actions.pod:1899 ../fish/guestfish-actions.pod:1496
7119 msgid ""
7120 "Note that if C<path> is a directory then events within that directory are "
7121 "watched, but this does I<not> happen recursively (in subdirectories)."
7122 msgstr ""
7123
7124 # type: textblock
7125 #: ../src/guestfs-actions.pod:1903 ../fish/guestfish-actions.pod:1500
7126 msgid ""
7127 "Note for non-C or non-Linux callers: the inotify events are defined by the "
7128 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
7129 msgstr ""
7130
7131 # type: =head2
7132 #: ../src/guestfs-actions.pod:1909
7133 msgid "guestfs_inotify_close"
7134 msgstr ""
7135
7136 # type: verbatim
7137 #: ../src/guestfs-actions.pod:1911
7138 #, no-wrap
7139 msgid ""
7140 " int guestfs_inotify_close (guestfs_h *g);\n"
7141 "\n"
7142 msgstr ""
7143
7144 # type: textblock
7145 #: ../src/guestfs-actions.pod:1913 ../fish/guestfish-actions.pod:1508
7146 msgid ""
7147 "This closes the inotify handle which was previously opened by inotify_init.  "
7148 "It removes all watches, throws away any pending events, and deallocates all "
7149 "resources."
7150 msgstr ""
7151
7152 # type: =head2
7153 #: ../src/guestfs-actions.pod:1919
7154 msgid "guestfs_inotify_files"
7155 msgstr ""
7156
7157 # type: verbatim
7158 #: ../src/guestfs-actions.pod:1921
7159 #, no-wrap
7160 msgid ""
7161 " char **guestfs_inotify_files (guestfs_h *g);\n"
7162 "\n"
7163 msgstr ""
7164
7165 # type: textblock
7166 #: ../src/guestfs-actions.pod:1923
7167 msgid ""
7168 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
7169 "returns a list of pathnames of objects that were touched.  The returned "
7170 "pathnames are sorted and deduplicated."
7171 msgstr ""
7172
7173 # type: =head2
7174 #: ../src/guestfs-actions.pod:1931
7175 msgid "guestfs_inotify_init"
7176 msgstr ""
7177
7178 # type: verbatim
7179 #: ../src/guestfs-actions.pod:1933
7180 #, no-wrap
7181 msgid ""
7182 " int guestfs_inotify_init (guestfs_h *g,\n"
7183 "\t\tint maxevents);\n"
7184 "\n"
7185 msgstr ""
7186
7187 # type: textblock
7188 #: ../src/guestfs-actions.pod:1936 ../fish/guestfish-actions.pod:1524
7189 msgid ""
7190 "This command creates a new inotify handle.  The inotify subsystem can be "
7191 "used to notify events which happen to objects in the guest filesystem."
7192 msgstr ""
7193
7194 # type: textblock
7195 #: ../src/guestfs-actions.pod:1940
7196 msgid ""
7197 "C<maxevents> is the maximum number of events which will be queued up between "
7198 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
7199 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
7200 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
7201 "throws away events, but records the fact that it threw them away by setting "
7202 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
7203 "C<guestfs_inotify_read>)."
7204 msgstr ""
7205
7206 # type: textblock
7207 #: ../src/guestfs-actions.pod:1950
7208 msgid ""
7209 "Before any events are generated, you have to add some watches to the "
7210 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
7211 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
7212 msgstr ""
7213
7214 # type: textblock
7215 #: ../src/guestfs-actions.pod:1956
7216 msgid ""
7217 "Queued up events should be read periodically by calling "
7218 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
7219 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
7220 "often enough then you risk the internal queue overflowing."
7221 msgstr ""
7222
7223 # type: textblock
7224 #: ../src/guestfs-actions.pod:1963
7225 msgid ""
7226 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
7227 "This also removes any watches automatically."
7228 msgstr ""
7229
7230 # type: textblock
7231 #: ../src/guestfs-actions.pod:1967 ../fish/guestfish-actions.pod:1555
7232 msgid ""
7233 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
7234 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
7235 "that there is one global inotify handle per libguestfs instance."
7236 msgstr ""
7237
7238 # type: =head2
7239 #: ../src/guestfs-actions.pod:1974
7240 msgid "guestfs_inotify_read"
7241 msgstr ""
7242
7243 # type: verbatim
7244 #: ../src/guestfs-actions.pod:1976
7245 #, no-wrap
7246 msgid ""
7247 " struct guestfs_inotify_event_list *guestfs_inotify_read (guestfs_h *g);\n"
7248 "\n"
7249 msgstr ""
7250
7251 # type: textblock
7252 #: ../src/guestfs-actions.pod:1978 ../fish/guestfish-actions.pod:1564
7253 msgid ""
7254 "Return the complete queue of events that have happened since the previous "
7255 "read call."
7256 msgstr ""
7257
7258 # type: textblock
7259 #: ../src/guestfs-actions.pod:1981 ../fish/guestfish-actions.pod:1567
7260 msgid "If no events have happened, this returns an empty list."
7261 msgstr ""
7262
7263 # type: textblock
7264 #: ../src/guestfs-actions.pod:1983 ../fish/guestfish-actions.pod:1569
7265 msgid ""
7266 "I<Note>: In order to make sure that all events have been read, you must call "
7267 "this function repeatedly until it returns an empty list.  The reason is that "
7268 "the call will read events up to the maximum appliance-to-host message size "
7269 "and leave remaining events in the queue."
7270 msgstr ""
7271
7272 # type: textblock
7273 #: ../src/guestfs-actions.pod:1989
7274 msgid ""
7275 "This function returns a C<struct guestfs_inotify_event_list *> (see "
7276 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7277 "must call C<guestfs_free_inotify_event_list> after use>."
7278 msgstr ""
7279
7280 # type: =head2
7281 #: ../src/guestfs-actions.pod:1994
7282 msgid "guestfs_inotify_rm_watch"
7283 msgstr ""
7284
7285 # type: verbatim
7286 #: ../src/guestfs-actions.pod:1996
7287 #, no-wrap
7288 msgid ""
7289 " int guestfs_inotify_rm_watch (guestfs_h *g,\n"
7290 "\t\tint wd);\n"
7291 "\n"
7292 msgstr ""
7293
7294 # type: textblock
7295 #: ../src/guestfs-actions.pod:1999
7296 msgid ""
7297 "Remove a previously defined inotify watch.  See C<guestfs_inotify_add_watch>."
7298 msgstr ""
7299
7300 # type: =head2
7301 #: ../src/guestfs-actions.pod:2004
7302 msgid "guestfs_inspect_get_arch"
7303 msgstr ""
7304
7305 # type: verbatim
7306 #: ../src/guestfs-actions.pod:2006
7307 #, no-wrap
7308 msgid ""
7309 " char *guestfs_inspect_get_arch (guestfs_h *g,\n"
7310 "\t\tconst char *root);\n"
7311 "\n"
7312 msgstr ""
7313
7314 # type: textblock
7315 #: ../src/guestfs-actions.pod:2009 ../src/guestfs-actions.pod:2029
7316 #: ../src/guestfs-actions.pod:2079 ../src/guestfs-actions.pod:2102
7317 #: ../src/guestfs-actions.pod:2126 ../src/guestfs-actions.pod:2144
7318 #: ../src/guestfs-actions.pod:2174 ../src/guestfs-actions.pod:2195
7319 msgid ""
7320 "This function should only be called with a root device string as returned by "
7321 "C<guestfs_inspect_os>."
7322 msgstr ""
7323
7324 # type: textblock
7325 #: ../src/guestfs-actions.pod:2012
7326 msgid ""
7327 "This returns the architecture of the inspected operating system.  The "
7328 "possible return values are listed under C<guestfs_file_architecture>."
7329 msgstr ""
7330
7331 # type: textblock
7332 #: ../src/guestfs-actions.pod:2016 ../fish/guestfish-actions.pod:1593
7333 msgid ""
7334 "If the architecture could not be determined, then the string C<unknown> is "
7335 "returned."
7336 msgstr ""
7337
7338 # type: textblock
7339 #: ../src/guestfs-actions.pod:2019 ../src/guestfs-actions.pod:2069
7340 #: ../src/guestfs-actions.pod:2117 ../src/guestfs-actions.pod:2185
7341 #: ../src/guestfs-actions.pod:2220 ../src/guestfs-actions.pod:2257
7342 #: ../fish/guestfish-actions.pod:1596 ../fish/guestfish-actions.pod:1642
7343 #: ../fish/guestfish-actions.pod:1681 ../fish/guestfish-actions.pod:1736
7344 #: ../fish/guestfish-actions.pod:1767 ../fish/guestfish-actions.pod:1801
7345 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
7346 msgstr ""
7347
7348 # type: =head2
7349 #: ../src/guestfs-actions.pod:2024
7350 msgid "guestfs_inspect_get_distro"
7351 msgstr ""
7352
7353 # type: verbatim
7354 #: ../src/guestfs-actions.pod:2026
7355 #, no-wrap
7356 msgid ""
7357 " char *guestfs_inspect_get_distro (guestfs_h *g,\n"
7358 "\t\tconst char *root);\n"
7359 "\n"
7360 msgstr ""
7361
7362 # type: textblock
7363 #: ../src/guestfs-actions.pod:2032 ../fish/guestfish-actions.pod:1605
7364 msgid ""
7365 "This returns the distro (distribution) of the inspected operating system."
7366 msgstr ""
7367
7368 # type: textblock
7369 #: ../src/guestfs-actions.pod:2035 ../fish/guestfish-actions.pod:1608
7370 msgid "Currently defined distros are:"
7371 msgstr ""
7372
7373 # type: =item
7374 #: ../src/guestfs-actions.pod:2039 ../fish/guestfish-actions.pod:1612
7375 msgid "\"debian\""
7376 msgstr ""
7377
7378 # type: textblock
7379 #: ../src/guestfs-actions.pod:2041 ../fish/guestfish-actions.pod:1614
7380 msgid "Debian or a Debian-derived distro such as Ubuntu."
7381 msgstr ""
7382
7383 # type: =item
7384 #: ../src/guestfs-actions.pod:2043 ../fish/guestfish-actions.pod:1616
7385 msgid "\"fedora\""
7386 msgstr ""
7387
7388 # type: textblock
7389 #: ../src/guestfs-actions.pod:2045 ../fish/guestfish-actions.pod:1618
7390 msgid "Fedora."
7391 msgstr ""
7392
7393 # type: =item
7394 #: ../src/guestfs-actions.pod:2047 ../fish/guestfish-actions.pod:1620
7395 msgid "\"redhat-based\""
7396 msgstr ""
7397
7398 # type: textblock
7399 #: ../src/guestfs-actions.pod:2049 ../fish/guestfish-actions.pod:1622
7400 msgid "Some Red Hat-derived distro."
7401 msgstr ""
7402
7403 # type: =item
7404 #: ../src/guestfs-actions.pod:2051 ../fish/guestfish-actions.pod:1624
7405 msgid "\"rhel\""
7406 msgstr ""
7407
7408 # type: textblock
7409 #: ../src/guestfs-actions.pod:2053 ../fish/guestfish-actions.pod:1626
7410 msgid "Red Hat Enterprise Linux and some derivatives."
7411 msgstr ""
7412
7413 # type: =item
7414 #: ../src/guestfs-actions.pod:2055 ../src/guestfs-actions.pod:2207
7415 #: ../fish/guestfish-actions.pod:1628 ../fish/guestfish-actions.pod:1754
7416 msgid "\"windows\""
7417 msgstr ""
7418
7419 # type: textblock
7420 #: ../src/guestfs-actions.pod:2057 ../fish/guestfish-actions.pod:1630
7421 msgid ""
7422 "Windows does not have distributions.  This string is returned if the OS type "
7423 "is Windows."
7424 msgstr ""
7425
7426 # type: =item
7427 #: ../src/guestfs-actions.pod:2060 ../src/guestfs-actions.pod:2211
7428 #: ../fish/guestfish-actions.pod:1633 ../fish/guestfish-actions.pod:1758
7429 msgid "\"unknown\""
7430 msgstr ""
7431
7432 # type: textblock
7433 #: ../src/guestfs-actions.pod:2062 ../fish/guestfish-actions.pod:1635
7434 msgid "The distro could not be determined."
7435 msgstr ""
7436
7437 # type: textblock
7438 #: ../src/guestfs-actions.pod:2066 ../src/guestfs-actions.pod:2217
7439 #: ../fish/guestfish-actions.pod:1639 ../fish/guestfish-actions.pod:1764
7440 msgid ""
7441 "Future versions of libguestfs may return other strings here.  The caller "
7442 "should be prepared to handle any string."
7443 msgstr ""
7444
7445 # type: =head2
7446 #: ../src/guestfs-actions.pod:2074
7447 msgid "guestfs_inspect_get_filesystems"
7448 msgstr ""
7449
7450 # type: verbatim
7451 #: ../src/guestfs-actions.pod:2076
7452 #, no-wrap
7453 msgid ""
7454 " char **guestfs_inspect_get_filesystems (guestfs_h *g,\n"
7455 "\t\tconst char *root);\n"
7456 "\n"
7457 msgstr ""
7458
7459 # type: textblock
7460 #: ../src/guestfs-actions.pod:2082 ../fish/guestfish-actions.pod:1651
7461 msgid ""
7462 "This returns a list of all the filesystems that we think are associated with "
7463 "this operating system.  This includes the root filesystem, other ordinary "
7464 "filesystems, and non-mounted devices like swap partitions."
7465 msgstr ""
7466
7467 # type: textblock
7468 #: ../src/guestfs-actions.pod:2087 ../fish/guestfish-actions.pod:1656
7469 msgid ""
7470 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
7471 "to be shared between operating systems."
7472 msgstr ""
7473
7474 # type: textblock
7475 #: ../src/guestfs-actions.pod:2090
7476 msgid ""
7477 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7478 "C<guestfs_inspect_get_mountpoints>."
7479 msgstr ""
7480
7481 # type: =head2
7482 #: ../src/guestfs-actions.pod:2097
7483 msgid "guestfs_inspect_get_major_version"
7484 msgstr ""
7485
7486 # type: verbatim
7487 #: ../src/guestfs-actions.pod:2099
7488 #, no-wrap
7489 msgid ""
7490 " int guestfs_inspect_get_major_version (guestfs_h *g,\n"
7491 "\t\tconst char *root);\n"
7492 "\n"
7493 msgstr ""
7494
7495 # type: textblock
7496 #: ../src/guestfs-actions.pod:2105 ../fish/guestfish-actions.pod:1669
7497 msgid ""
7498 "This returns the major version number of the inspected operating system."
7499 msgstr ""
7500
7501 # type: textblock
7502 #: ../src/guestfs-actions.pod:2108 ../fish/guestfish-actions.pod:1672
7503 msgid ""
7504 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
7505 "popular public names used by the operating system.  Notably the operating "
7506 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
7507 "1).  You can find out the real versions corresponding to releases of Windows "
7508 "by consulting Wikipedia or MSDN."
7509 msgstr ""
7510
7511 # type: textblock
7512 #: ../src/guestfs-actions.pod:2115 ../src/guestfs-actions.pod:2132
7513 #: ../fish/guestfish-actions.pod:1679 ../fish/guestfish-actions.pod:1693
7514 msgid "If the version could not be determined, then C<0> is returned."
7515 msgstr ""
7516
7517 # type: =head2
7518 #: ../src/guestfs-actions.pod:2121
7519 msgid "guestfs_inspect_get_minor_version"
7520 msgstr ""
7521
7522 # type: verbatim
7523 #: ../src/guestfs-actions.pod:2123
7524 #, no-wrap
7525 msgid ""
7526 " int guestfs_inspect_get_minor_version (guestfs_h *g,\n"
7527 "\t\tconst char *root);\n"
7528 "\n"
7529 msgstr ""
7530
7531 # type: textblock
7532 #: ../src/guestfs-actions.pod:2129 ../fish/guestfish-actions.pod:1690
7533 msgid ""
7534 "This returns the minor version number of the inspected operating system."
7535 msgstr ""
7536
7537 # type: textblock
7538 #: ../src/guestfs-actions.pod:2134
7539 msgid ""
7540 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7541 "C<guestfs_inspect_get_major_version>."
7542 msgstr ""
7543
7544 # type: =head2
7545 #: ../src/guestfs-actions.pod:2139
7546 msgid "guestfs_inspect_get_mountpoints"
7547 msgstr ""
7548
7549 # type: verbatim
7550 #: ../src/guestfs-actions.pod:2141
7551 #, no-wrap
7552 msgid ""
7553 " char **guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
7554 "\t\tconst char *root);\n"
7555 "\n"
7556 msgstr ""
7557
7558 # type: textblock
7559 #: ../src/guestfs-actions.pod:2147 ../fish/guestfish-actions.pod:1705
7560 msgid ""
7561 "This returns a hash of where we think the filesystems associated with this "
7562 "operating system should be mounted.  Callers should note that this is at "
7563 "best an educated guess made by reading configuration files such as C</etc/"
7564 "fstab>."
7565 msgstr ""
7566
7567 # type: textblock
7568 #: ../src/guestfs-actions.pod:2152 ../fish/guestfish-actions.pod:1710
7569 msgid ""
7570 "Each element in the returned hashtable has a key which is the path of the "
7571 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
7572 "mounted there (eg. C</dev/sda1>)."
7573 msgstr ""
7574
7575 # type: textblock
7576 #: ../src/guestfs-actions.pod:2157 ../fish/guestfish-actions.pod:1715
7577 msgid ""
7578 "Non-mounted devices such as swap devices are I<not> returned in this list."
7579 msgstr ""
7580
7581 # type: textblock
7582 #: ../src/guestfs-actions.pod:2160
7583 msgid ""
7584 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7585 "C<guestfs_inspect_get_filesystems>."
7586 msgstr ""
7587
7588 # type: textblock
7589 #: ../src/guestfs-actions.pod:2163 ../src/guestfs-actions.pod:3320
7590 #: ../src/guestfs-actions.pod:4842
7591 msgid ""
7592 "This function returns a NULL-terminated array of strings, or NULL if there "
7593 "was an error.  The array of strings will always have length C<2n+1>, where "
7594 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
7595 "caller must free the strings and the array after use>."
7596 msgstr ""
7597
7598 # type: =head2
7599 #: ../src/guestfs-actions.pod:2169
7600 msgid "guestfs_inspect_get_product_name"
7601 msgstr ""
7602
7603 # type: verbatim
7604 #: ../src/guestfs-actions.pod:2171
7605 #, no-wrap
7606 msgid ""
7607 " char *guestfs_inspect_get_product_name (guestfs_h *g,\n"
7608 "\t\tconst char *root);\n"
7609 "\n"
7610 msgstr ""
7611
7612 # type: textblock
7613 #: ../src/guestfs-actions.pod:2177 ../fish/guestfish-actions.pod:1728
7614 msgid ""
7615 "This returns the product name of the inspected operating system.  The "
7616 "product name is generally some freeform string which can be displayed to the "
7617 "user, but should not be parsed by programs."
7618 msgstr ""
7619
7620 # type: textblock
7621 #: ../src/guestfs-actions.pod:2182 ../fish/guestfish-actions.pod:1733
7622 msgid ""
7623 "If the product name could not be determined, then the string C<unknown> is "
7624 "returned."
7625 msgstr ""
7626
7627 # type: =head2
7628 #: ../src/guestfs-actions.pod:2190
7629 msgid "guestfs_inspect_get_type"
7630 msgstr ""
7631
7632 # type: verbatim
7633 #: ../src/guestfs-actions.pod:2192
7634 #, no-wrap
7635 msgid ""
7636 " char *guestfs_inspect_get_type (guestfs_h *g,\n"
7637 "\t\tconst char *root);\n"
7638 "\n"
7639 msgstr ""
7640
7641 # type: textblock
7642 #: ../src/guestfs-actions.pod:2198 ../fish/guestfish-actions.pod:1745
7643 msgid ""
7644 "This returns the type of the inspected operating system.  Currently defined "
7645 "types are:"
7646 msgstr ""
7647
7648 # type: =item
7649 #: ../src/guestfs-actions.pod:2203 ../fish/guestfish-actions.pod:1750
7650 msgid "\"linux\""
7651 msgstr ""
7652
7653 # type: textblock
7654 #: ../src/guestfs-actions.pod:2205 ../fish/guestfish-actions.pod:1752
7655 msgid "Any Linux-based operating system."
7656 msgstr ""
7657
7658 # type: textblock
7659 #: ../src/guestfs-actions.pod:2209 ../fish/guestfish-actions.pod:1756
7660 msgid "Any Microsoft Windows operating system."
7661 msgstr ""
7662
7663 # type: textblock
7664 #: ../src/guestfs-actions.pod:2213 ../fish/guestfish-actions.pod:1760
7665 msgid "The operating system type could not be determined."
7666 msgstr ""
7667
7668 # type: =head2
7669 #: ../src/guestfs-actions.pod:2225
7670 msgid "guestfs_inspect_os"
7671 msgstr ""
7672
7673 # type: verbatim
7674 #: ../src/guestfs-actions.pod:2227
7675 #, no-wrap
7676 msgid ""
7677 " char **guestfs_inspect_os (guestfs_h *g);\n"
7678 "\n"
7679 msgstr ""
7680
7681 # type: textblock
7682 #: ../src/guestfs-actions.pod:2229 ../fish/guestfish-actions.pod:1773
7683 msgid ""
7684 "This function uses other libguestfs functions and certain heuristics to "
7685 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
7686 "for operating systems."
7687 msgstr ""
7688
7689 # type: textblock
7690 #: ../src/guestfs-actions.pod:2233 ../fish/guestfish-actions.pod:1777
7691 msgid "The list returned is empty if no operating systems were found."
7692 msgstr ""
7693
7694 # type: textblock
7695 #: ../src/guestfs-actions.pod:2235 ../fish/guestfish-actions.pod:1779
7696 msgid ""
7697 "If one operating system was found, then this returns a list with a single "
7698 "element, which is the name of the root filesystem of this operating system.  "
7699 "It is also possible for this function to return a list containing more than "
7700 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
7701 "element being the root filesystem of one of the operating systems."
7702 msgstr ""
7703
7704 # type: textblock
7705 #: ../src/guestfs-actions.pod:2242
7706 msgid ""
7707 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
7708 "functions in order to query further information about each operating system, "
7709 "such as the name and version."
7710 msgstr ""
7711
7712 # type: textblock
7713 #: ../src/guestfs-actions.pod:2247
7714 msgid ""
7715 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
7716 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
7717 "the contents.  This should be called with no disks currently mounted.  The "
7718 "function may also use Augeas, so any existing Augeas handle will be closed."
7719 msgstr ""
7720
7721 # type: textblock
7722 #: ../src/guestfs-actions.pod:2253 ../fish/guestfish-actions.pod:1797
7723 msgid ""
7724 "This function cannot decrypt encrypted disks.  The caller must do that first "
7725 "(supplying the necessary keys) if the disk is encrypted."
7726 msgstr ""
7727
7728 # type: =head2
7729 #: ../src/guestfs-actions.pod:2263
7730 msgid "guestfs_is_busy"
7731 msgstr ""
7732
7733 # type: verbatim
7734 #: ../src/guestfs-actions.pod:2265
7735 #, no-wrap
7736 msgid ""
7737 " int guestfs_is_busy (guestfs_h *g);\n"
7738 "\n"
7739 msgstr ""
7740
7741 # type: textblock
7742 #: ../src/guestfs-actions.pod:2267 ../fish/guestfish-actions.pod:1807
7743 msgid ""
7744 "This returns true iff this handle is busy processing a command (in the "
7745 "C<BUSY> state)."
7746 msgstr ""
7747
7748 # type: =head2
7749 #: ../src/guestfs-actions.pod:2274
7750 msgid "guestfs_is_config"
7751 msgstr ""
7752
7753 # type: verbatim
7754 #: ../src/guestfs-actions.pod:2276
7755 #, no-wrap
7756 msgid ""
7757 " int guestfs_is_config (guestfs_h *g);\n"
7758 "\n"
7759 msgstr ""
7760
7761 # type: textblock
7762 #: ../src/guestfs-actions.pod:2278 ../fish/guestfish-actions.pod:1816
7763 msgid ""
7764 "This returns true iff this handle is being configured (in the C<CONFIG> "
7765 "state)."
7766 msgstr ""
7767
7768 # type: =head2
7769 #: ../src/guestfs-actions.pod:2285
7770 msgid "guestfs_is_dir"
7771 msgstr ""
7772
7773 # type: verbatim
7774 #: ../src/guestfs-actions.pod:2287
7775 #, no-wrap
7776 msgid ""
7777 " int guestfs_is_dir (guestfs_h *g,\n"
7778 "\t\tconst char *path);\n"
7779 "\n"
7780 msgstr ""
7781
7782 # type: textblock
7783 #: ../src/guestfs-actions.pod:2290 ../fish/guestfish-actions.pod:1825
7784 msgid ""
7785 "This returns C<true> if and only if there is a directory with the given "
7786 "C<path> name.  Note that it returns false for other objects like files."
7787 msgstr ""
7788
7789 # type: textblock
7790 #: ../src/guestfs-actions.pod:2294 ../src/guestfs-actions.pod:2307
7791 msgid "See also C<guestfs_stat>."
7792 msgstr ""
7793
7794 # type: =head2
7795 #: ../src/guestfs-actions.pod:2298
7796 msgid "guestfs_is_file"
7797 msgstr ""
7798
7799 # type: verbatim
7800 #: ../src/guestfs-actions.pod:2300
7801 #, no-wrap
7802 msgid ""
7803 " int guestfs_is_file (guestfs_h *g,\n"
7804 "\t\tconst char *path);\n"
7805 "\n"
7806 msgstr ""
7807
7808 # type: textblock
7809 #: ../src/guestfs-actions.pod:2303 ../fish/guestfish-actions.pod:1835
7810 msgid ""
7811 "This returns C<true> if and only if there is a file with the given C<path> "
7812 "name.  Note that it returns false for other objects like directories."
7813 msgstr ""
7814
7815 # type: =head2
7816 #: ../src/guestfs-actions.pod:2311
7817 msgid "guestfs_is_launching"
7818 msgstr ""
7819
7820 # type: verbatim
7821 #: ../src/guestfs-actions.pod:2313
7822 #, no-wrap
7823 msgid ""
7824 " int guestfs_is_launching (guestfs_h *g);\n"
7825 "\n"
7826 msgstr ""
7827
7828 # type: textblock
7829 #: ../src/guestfs-actions.pod:2315 ../fish/guestfish-actions.pod:1845
7830 msgid ""
7831 "This returns true iff this handle is launching the subprocess (in the "
7832 "C<LAUNCHING> state)."
7833 msgstr ""
7834
7835 # type: =head2
7836 #: ../src/guestfs-actions.pod:2322
7837 msgid "guestfs_is_lv"
7838 msgstr ""
7839
7840 # type: verbatim
7841 #: ../src/guestfs-actions.pod:2324
7842 #, no-wrap
7843 msgid ""
7844 " int guestfs_is_lv (guestfs_h *g,\n"
7845 "\t\tconst char *device);\n"
7846 "\n"
7847 msgstr ""
7848
7849 # type: textblock
7850 #: ../src/guestfs-actions.pod:2327 ../fish/guestfish-actions.pod:1854
7851 msgid ""
7852 "This command tests whether C<device> is a logical volume, and returns true "
7853 "iff this is the case."
7854 msgstr ""
7855
7856 # type: =head2
7857 #: ../src/guestfs-actions.pod:2332
7858 msgid "guestfs_is_ready"
7859 msgstr ""
7860
7861 # type: verbatim
7862 #: ../src/guestfs-actions.pod:2334
7863 #, no-wrap
7864 msgid ""
7865 " int guestfs_is_ready (guestfs_h *g);\n"
7866 "\n"
7867 msgstr ""
7868
7869 # type: textblock
7870 #: ../src/guestfs-actions.pod:2336 ../fish/guestfish-actions.pod:1861
7871 msgid ""
7872 "This returns true iff this handle is ready to accept commands (in the "
7873 "C<READY> state)."
7874 msgstr ""
7875
7876 # type: =head2
7877 #: ../src/guestfs-actions.pod:2343
7878 msgid "guestfs_kill_subprocess"
7879 msgstr ""
7880
7881 # type: verbatim
7882 #: ../src/guestfs-actions.pod:2345
7883 #, no-wrap
7884 msgid ""
7885 " int guestfs_kill_subprocess (guestfs_h *g);\n"
7886 "\n"
7887 msgstr ""
7888
7889 # type: textblock
7890 #: ../src/guestfs-actions.pod:2347 ../fish/guestfish-actions.pod:1870
7891 msgid "This kills the qemu subprocess.  You should never need to call this."
7892 msgstr ""
7893
7894 # type: =head2
7895 #: ../src/guestfs-actions.pod:2351
7896 msgid "guestfs_launch"
7897 msgstr ""
7898
7899 # type: verbatim
7900 #: ../src/guestfs-actions.pod:2353
7901 #, no-wrap
7902 msgid ""
7903 " int guestfs_launch (guestfs_h *g);\n"
7904 "\n"
7905 msgstr ""
7906
7907 # type: textblock
7908 #: ../src/guestfs-actions.pod:2355 ../fish/guestfish-actions.pod:1876
7909 msgid ""
7910 "Internally libguestfs is implemented by running a virtual machine using "
7911 "L<qemu(1)>."
7912 msgstr ""
7913
7914 # type: textblock
7915 #: ../src/guestfs-actions.pod:2358 ../fish/guestfish-actions.pod:1879
7916 msgid ""
7917 "You should call this after configuring the handle (eg. adding drives) but "
7918 "before performing any actions."
7919 msgstr ""
7920
7921 # type: =head2
7922 #: ../src/guestfs-actions.pod:2363
7923 msgid "guestfs_lchown"
7924 msgstr ""
7925
7926 # type: verbatim
7927 #: ../src/guestfs-actions.pod:2365
7928 #, no-wrap
7929 msgid ""
7930 " int guestfs_lchown (guestfs_h *g,\n"
7931 "\t\tint owner,\n"
7932 "\t\tint group,\n"
7933 "\t\tconst char *path);\n"
7934 "\n"
7935 msgstr ""
7936
7937 # type: textblock
7938 #: ../src/guestfs-actions.pod:2370
7939 msgid ""
7940 "Change the file owner to C<owner> and group to C<group>.  This is like "
7941 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
7942 "changed, not the target."
7943 msgstr ""
7944
7945 # type: =head2
7946 #: ../src/guestfs-actions.pod:2380
7947 msgid "guestfs_lgetxattrs"
7948 msgstr ""
7949
7950 # type: verbatim
7951 #: ../src/guestfs-actions.pod:2382
7952 #, no-wrap
7953 msgid ""
7954 " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n"
7955 "\t\tconst char *path);\n"
7956 "\n"
7957 msgstr ""
7958
7959 # type: textblock
7960 #: ../src/guestfs-actions.pod:2385
7961 msgid ""
7962 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
7963 "then it returns the extended attributes of the link itself."
7964 msgstr ""
7965
7966 # type: =head2
7967 #: ../src/guestfs-actions.pod:2394
7968 msgid "guestfs_list_devices"
7969 msgstr ""
7970
7971 # type: verbatim
7972 #: ../src/guestfs-actions.pod:2396
7973 #, no-wrap
7974 msgid ""
7975 " char **guestfs_list_devices (guestfs_h *g);\n"
7976 "\n"
7977 msgstr ""
7978
7979 # type: textblock
7980 #: ../src/guestfs-actions.pod:2398 ../fish/guestfish-actions.pod:1906
7981 msgid "List all the block devices."
7982 msgstr ""
7983
7984 # type: textblock
7985 #: ../src/guestfs-actions.pod:2400 ../fish/guestfish-actions.pod:1908
7986 msgid "The full block device names are returned, eg. C</dev/sda>"
7987 msgstr ""
7988
7989 # type: =head2
7990 #: ../src/guestfs-actions.pod:2406
7991 msgid "guestfs_list_partitions"
7992 msgstr ""
7993
7994 # type: verbatim
7995 #: ../src/guestfs-actions.pod:2408
7996 #, no-wrap
7997 msgid ""
7998 " char **guestfs_list_partitions (guestfs_h *g);\n"
7999 "\n"
8000 msgstr ""
8001
8002 # type: textblock
8003 #: ../src/guestfs-actions.pod:2410 ../fish/guestfish-actions.pod:1914
8004 msgid "List all the partitions detected on all block devices."
8005 msgstr ""
8006
8007 # type: textblock
8008 #: ../src/guestfs-actions.pod:2412 ../fish/guestfish-actions.pod:1916
8009 msgid "The full partition device names are returned, eg. C</dev/sda1>"
8010 msgstr ""
8011
8012 # type: textblock
8013 #: ../src/guestfs-actions.pod:2414
8014 msgid ""
8015 "This does not return logical volumes.  For that you will need to call "
8016 "C<guestfs_lvs>."
8017 msgstr ""
8018
8019 # type: =head2
8020 #: ../src/guestfs-actions.pod:2421
8021 msgid "guestfs_ll"
8022 msgstr ""
8023
8024 # type: verbatim
8025 #: ../src/guestfs-actions.pod:2423
8026 #, no-wrap
8027 msgid ""
8028 " char *guestfs_ll (guestfs_h *g,\n"
8029 "\t\tconst char *directory);\n"
8030 "\n"
8031 msgstr ""
8032
8033 # type: textblock
8034 #: ../src/guestfs-actions.pod:2426 ../fish/guestfish-actions.pod:1925
8035 msgid ""
8036 "List the files in C<directory> (relative to the root directory, there is no "
8037 "cwd) in the format of 'ls -la'."
8038 msgstr ""
8039
8040 # type: textblock
8041 #: ../src/guestfs-actions.pod:2429 ../fish/guestfish-actions.pod:1928
8042 msgid ""
8043 "This command is mostly useful for interactive sessions.  It is I<not> "
8044 "intended that you try to parse the output string."
8045 msgstr ""
8046
8047 # type: =head2
8048 #: ../src/guestfs-actions.pod:2435
8049 msgid "guestfs_ln"
8050 msgstr ""
8051
8052 # type: verbatim
8053 #: ../src/guestfs-actions.pod:2437
8054 #, no-wrap
8055 msgid ""
8056 " int guestfs_ln (guestfs_h *g,\n"
8057 "\t\tconst char *target,\n"
8058 "\t\tconst char *linkname);\n"
8059 "\n"
8060 msgstr ""
8061
8062 # type: textblock
8063 #: ../src/guestfs-actions.pod:2441 ../fish/guestfish-actions.pod:1935
8064 msgid "This command creates a hard link using the C<ln> command."
8065 msgstr ""
8066
8067 # type: =head2
8068 #: ../src/guestfs-actions.pod:2445
8069 msgid "guestfs_ln_f"
8070 msgstr ""
8071
8072 # type: verbatim
8073 #: ../src/guestfs-actions.pod:2447
8074 #, no-wrap
8075 msgid ""
8076 " int guestfs_ln_f (guestfs_h *g,\n"
8077 "\t\tconst char *target,\n"
8078 "\t\tconst char *linkname);\n"
8079 "\n"
8080 msgstr ""
8081
8082 # type: textblock
8083 #: ../src/guestfs-actions.pod:2451 ../fish/guestfish-actions.pod:1941
8084 msgid ""
8085 "This command creates a hard link using the C<ln -f> command.  The C<-f> "
8086 "option removes the link (C<linkname>) if it exists already."
8087 msgstr ""
8088
8089 # type: =head2
8090 #: ../src/guestfs-actions.pod:2456
8091 msgid "guestfs_ln_s"
8092 msgstr ""
8093
8094 # type: verbatim
8095 #: ../src/guestfs-actions.pod:2458
8096 #, no-wrap
8097 msgid ""
8098 " int guestfs_ln_s (guestfs_h *g,\n"
8099 "\t\tconst char *target,\n"
8100 "\t\tconst char *linkname);\n"
8101 "\n"
8102 msgstr ""
8103
8104 # type: textblock
8105 #: ../src/guestfs-actions.pod:2462 ../fish/guestfish-actions.pod:1948
8106 msgid "This command creates a symbolic link using the C<ln -s> command."
8107 msgstr ""
8108
8109 # type: =head2
8110 #: ../src/guestfs-actions.pod:2466
8111 msgid "guestfs_ln_sf"
8112 msgstr ""
8113
8114 # type: verbatim
8115 #: ../src/guestfs-actions.pod:2468
8116 #, no-wrap
8117 msgid ""
8118 " int guestfs_ln_sf (guestfs_h *g,\n"
8119 "\t\tconst char *target,\n"
8120 "\t\tconst char *linkname);\n"
8121 "\n"
8122 msgstr ""
8123
8124 # type: textblock
8125 #: ../src/guestfs-actions.pod:2472 ../fish/guestfish-actions.pod:1954
8126 msgid ""
8127 "This command creates a symbolic link using the C<ln -sf> command, The C<-f> "
8128 "option removes the link (C<linkname>) if it exists already."
8129 msgstr ""
8130
8131 # type: =head2
8132 #: ../src/guestfs-actions.pod:2477
8133 msgid "guestfs_lremovexattr"
8134 msgstr ""
8135
8136 # type: verbatim
8137 #: ../src/guestfs-actions.pod:2479
8138 #, no-wrap
8139 msgid ""
8140 " int guestfs_lremovexattr (guestfs_h *g,\n"
8141 "\t\tconst char *xattr,\n"
8142 "\t\tconst char *path);\n"
8143 "\n"
8144 msgstr ""
8145
8146 # type: textblock
8147 #: ../src/guestfs-actions.pod:2483
8148 msgid ""
8149 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
8150 "link, then it removes an extended attribute of the link itself."
8151 msgstr ""
8152
8153 # type: =head2
8154 #: ../src/guestfs-actions.pod:2489
8155 msgid "guestfs_ls"
8156 msgstr ""
8157
8158 # type: verbatim
8159 #: ../src/guestfs-actions.pod:2491
8160 #, no-wrap
8161 msgid ""
8162 " char **guestfs_ls (guestfs_h *g,\n"
8163 "\t\tconst char *directory);\n"
8164 "\n"
8165 msgstr ""
8166
8167 # type: textblock
8168 #: ../src/guestfs-actions.pod:2494 ../fish/guestfish-actions.pod:1969
8169 msgid ""
8170 "List the files in C<directory> (relative to the root directory, there is no "
8171 "cwd).  The '.' and '..' entries are not returned, but hidden files are shown."
8172 msgstr ""
8173
8174 # type: textblock
8175 #: ../src/guestfs-actions.pod:2498
8176 msgid ""
8177 "This command is mostly useful for interactive sessions.  Programs should "
8178 "probably use C<guestfs_readdir> instead."
8179 msgstr ""
8180
8181 # type: =head2
8182 #: ../src/guestfs-actions.pod:2505
8183 msgid "guestfs_lsetxattr"
8184 msgstr ""
8185
8186 # type: verbatim
8187 #: ../src/guestfs-actions.pod:2507
8188 #, no-wrap
8189 msgid ""
8190 " int guestfs_lsetxattr (guestfs_h *g,\n"
8191 "\t\tconst char *xattr,\n"
8192 "\t\tconst char *val,\n"
8193 "\t\tint vallen,\n"
8194 "\t\tconst char *path);\n"
8195 "\n"
8196 msgstr ""
8197
8198 # type: textblock
8199 #: ../src/guestfs-actions.pod:2513
8200 msgid ""
8201 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
8202 "then it sets an extended attribute of the link itself."
8203 msgstr ""
8204
8205 # type: =head2
8206 #: ../src/guestfs-actions.pod:2519
8207 msgid "guestfs_lstat"
8208 msgstr ""
8209
8210 # type: verbatim
8211 #: ../src/guestfs-actions.pod:2521
8212 #, no-wrap
8213 msgid ""
8214 " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n"
8215 "\t\tconst char *path);\n"
8216 "\n"
8217 msgstr ""
8218
8219 # type: textblock
8220 #: ../src/guestfs-actions.pod:2524 ../src/guestfs-actions.pod:4507
8221 #: ../fish/guestfish-actions.pod:1988 ../fish/guestfish-actions.pod:3477
8222 msgid "Returns file information for the given C<path>."
8223 msgstr ""
8224
8225 # type: textblock
8226 #: ../src/guestfs-actions.pod:2526
8227 msgid ""
8228 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
8229 "link, then the link is stat-ed, not the file it refers to."
8230 msgstr ""
8231
8232 # type: textblock
8233 #: ../src/guestfs-actions.pod:2530 ../fish/guestfish-actions.pod:1994
8234 msgid "This is the same as the C<lstat(2)> system call."
8235 msgstr ""
8236
8237 # type: textblock
8238 #: ../src/guestfs-actions.pod:2532 ../src/guestfs-actions.pod:4511
8239 msgid ""
8240 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
8241 "error.  I<The caller must call C<guestfs_free_stat> after use>."
8242 msgstr ""
8243
8244 # type: =head2
8245 #: ../src/guestfs-actions.pod:2536
8246 msgid "guestfs_lstatlist"
8247 msgstr ""
8248
8249 # type: verbatim
8250 #: ../src/guestfs-actions.pod:2538
8251 #, no-wrap
8252 msgid ""
8253 " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n"
8254 "\t\tconst char *path,\n"
8255 "\t\tchar *const *names);\n"
8256 "\n"
8257 msgstr ""
8258
8259 # type: textblock
8260 #: ../src/guestfs-actions.pod:2542
8261 msgid ""
8262 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
8263 "files, where all files are in the directory C<path>.  C<names> is the list "
8264 "of files from this directory."
8265 msgstr ""
8266
8267 # type: textblock
8268 #: ../src/guestfs-actions.pod:2546 ../fish/guestfish-actions.pod:2004
8269 msgid ""
8270 "On return you get a list of stat structs, with a one-to-one correspondence "
8271 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
8272 "then the C<ino> field of that structure is set to C<-1>."
8273 msgstr ""
8274
8275 # type: textblock
8276 #: ../src/guestfs-actions.pod:2551
8277 msgid ""
8278 "This call is intended for programs that want to efficiently list a directory "
8279 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
8280 "for a similarly efficient call for getting extended attributes.  Very long "
8281 "directory listings might cause the protocol message size to be exceeded, "
8282 "causing this call to fail.  The caller must split up such requests into "
8283 "smaller groups of names."
8284 msgstr ""
8285
8286 # type: textblock
8287 #: ../src/guestfs-actions.pod:2559
8288 msgid ""
8289 "This function returns a C<struct guestfs_stat_list *> (see E<lt>guestfs-"
8290 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
8291 "C<guestfs_free_stat_list> after use>."
8292 msgstr ""
8293
8294 # type: =head2
8295 #: ../src/guestfs-actions.pod:2564
8296 msgid "guestfs_luks_add_key"
8297 msgstr ""
8298
8299 # type: verbatim
8300 #: ../src/guestfs-actions.pod:2566
8301 #, no-wrap
8302 msgid ""
8303 " int guestfs_luks_add_key (guestfs_h *g,\n"
8304 "\t\tconst char *device,\n"
8305 "\t\tconst char *key,\n"
8306 "\t\tconst char *newkey,\n"
8307 "\t\tint keyslot);\n"
8308 "\n"
8309 msgstr ""
8310
8311 # type: textblock
8312 #: ../src/guestfs-actions.pod:2572 ../fish/guestfish-actions.pod:2021
8313 msgid ""
8314 "This command adds a new key on LUKS device C<device>.  C<key> is any "
8315 "existing key, and is used to access the device.  C<newkey> is the new key to "
8316 "add.  C<keyslot> is the key slot that will be replaced."
8317 msgstr ""
8318
8319 # type: textblock
8320 #: ../src/guestfs-actions.pod:2577
8321 msgid ""
8322 "Note that if C<keyslot> already contains a key, then this command will "
8323 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
8324 msgstr ""
8325
8326 # type: textblock
8327 #: ../src/guestfs-actions.pod:2583 ../src/guestfs-actions.pod:2617
8328 #: ../src/guestfs-actions.pod:2637 ../src/guestfs-actions.pod:2654
8329 #: ../src/guestfs-actions.pod:2683 ../src/guestfs-actions.pod:2699
8330 msgid ""
8331 "This function takes a key or passphrase parameter which could contain "
8332 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
8333 "information."
8334 msgstr ""
8335
8336 # type: =head2
8337 #: ../src/guestfs-actions.pod:2587
8338 msgid "guestfs_luks_close"
8339 msgstr ""
8340
8341 # type: verbatim
8342 #: ../src/guestfs-actions.pod:2589
8343 #, no-wrap
8344 msgid ""
8345 " int guestfs_luks_close (guestfs_h *g,\n"
8346 "\t\tconst char *device);\n"
8347 "\n"
8348 msgstr ""
8349
8350 # type: textblock
8351 #: ../src/guestfs-actions.pod:2592
8352 msgid ""
8353 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
8354 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
8355 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
8356 "underlying block device."
8357 msgstr ""
8358
8359 # type: =head2
8360 #: ../src/guestfs-actions.pod:2600
8361 msgid "guestfs_luks_format"
8362 msgstr ""
8363
8364 # type: verbatim
8365 #: ../src/guestfs-actions.pod:2602
8366 #, no-wrap
8367 msgid ""
8368 " int guestfs_luks_format (guestfs_h *g,\n"
8369 "\t\tconst char *device,\n"
8370 "\t\tconst char *key,\n"
8371 "\t\tint keyslot);\n"
8372 "\n"
8373 msgstr ""
8374
8375 # type: textblock
8376 #: ../src/guestfs-actions.pod:2607 ../fish/guestfish-actions.pod:2047
8377 msgid ""
8378 "This command erases existing data on C<device> and formats the device as a "
8379 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
8380 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
8381 msgstr ""
8382
8383 # type: textblock
8384 #: ../src/guestfs-actions.pod:2614 ../src/guestfs-actions.pod:2634
8385 #: ../src/guestfs-actions.pod:2736 ../src/guestfs-actions.pod:3448
8386 #: ../src/guestfs-actions.pod:4048 ../src/guestfs-actions.pod:4369
8387 #: ../src/guestfs-actions.pod:4389 ../src/guestfs-actions.pod:4412
8388 #: ../src/guestfs-actions.pod:5351 ../fish/guestfish-actions.pod:2055
8389 #: ../fish/guestfish-actions.pod:2068 ../fish/guestfish-actions.pod:2139
8390 #: ../fish/guestfish-actions.pod:2654 ../fish/guestfish-actions.pod:3118
8391 #: ../fish/guestfish-actions.pod:3376 ../fish/guestfish-actions.pod:3392
8392 #: ../fish/guestfish-actions.pod:3407 ../fish/guestfish-actions.pod:4095
8393 msgid ""
8394 "B<This command is dangerous.  Without careful use you can easily destroy all "
8395 "your data>."
8396 msgstr ""
8397
8398 # type: =head2
8399 #: ../src/guestfs-actions.pod:2621
8400 msgid "guestfs_luks_format_cipher"
8401 msgstr ""
8402
8403 # type: verbatim
8404 #: ../src/guestfs-actions.pod:2623
8405 #, no-wrap
8406 msgid ""
8407 " int guestfs_luks_format_cipher (guestfs_h *g,\n"
8408 "\t\tconst char *device,\n"
8409 "\t\tconst char *key,\n"
8410 "\t\tint keyslot,\n"
8411 "\t\tconst char *cipher);\n"
8412 "\n"
8413 msgstr ""
8414
8415 # type: textblock
8416 #: ../src/guestfs-actions.pod:2629
8417 msgid ""
8418 "This command is the same as C<guestfs_luks_format> but it also allows you to "
8419 "set the C<cipher> used."
8420 msgstr ""
8421
8422 # type: =head2
8423 #: ../src/guestfs-actions.pod:2641
8424 msgid "guestfs_luks_kill_slot"
8425 msgstr ""
8426
8427 # type: verbatim
8428 #: ../src/guestfs-actions.pod:2643
8429 #, no-wrap
8430 msgid ""
8431 " int guestfs_luks_kill_slot (guestfs_h *g,\n"
8432 "\t\tconst char *device,\n"
8433 "\t\tconst char *key,\n"
8434 "\t\tint keyslot);\n"
8435 "\n"
8436 msgstr ""
8437
8438 # type: textblock
8439 #: ../src/guestfs-actions.pod:2648 ../fish/guestfish-actions.pod:2075
8440 msgid ""
8441 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
8442 "device C<device>.  C<key> must be one of the I<other> keys."
8443 msgstr ""
8444
8445 # type: =head2
8446 #: ../src/guestfs-actions.pod:2658
8447 msgid "guestfs_luks_open"
8448 msgstr ""
8449
8450 # type: verbatim
8451 #: ../src/guestfs-actions.pod:2660
8452 #, no-wrap
8453 msgid ""
8454 " int guestfs_luks_open (guestfs_h *g,\n"
8455 "\t\tconst char *device,\n"
8456 "\t\tconst char *key,\n"
8457 "\t\tconst char *mapname);\n"
8458 "\n"
8459 msgstr ""
8460
8461 # type: textblock
8462 #: ../src/guestfs-actions.pod:2665 ../fish/guestfish-actions.pod:2086
8463 msgid ""
8464 "This command opens a block device which has been encrypted according to the "
8465 "Linux Unified Key Setup (LUKS) standard."
8466 msgstr ""
8467
8468 # type: textblock
8469 #: ../src/guestfs-actions.pod:2668 ../fish/guestfish-actions.pod:2089
8470 msgid "C<device> is the encrypted block device or partition."
8471 msgstr ""
8472
8473 # type: textblock
8474 #: ../src/guestfs-actions.pod:2670 ../fish/guestfish-actions.pod:2091
8475 msgid ""
8476 "The caller must supply one of the keys associated with the LUKS block "
8477 "device, in the C<key> parameter."
8478 msgstr ""
8479
8480 # type: textblock
8481 #: ../src/guestfs-actions.pod:2673 ../fish/guestfish-actions.pod:2094
8482 msgid ""
8483 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
8484 "writes to this block device are decrypted from and encrypted to the "
8485 "underlying C<device> respectively."
8486 msgstr ""
8487
8488 # type: textblock
8489 #: ../src/guestfs-actions.pod:2677
8490 msgid ""
8491 "If this block device contains LVM volume groups, then calling "
8492 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
8493 "visible."
8494 msgstr ""
8495
8496 # type: =head2
8497 #: ../src/guestfs-actions.pod:2687
8498 msgid "guestfs_luks_open_ro"
8499 msgstr ""
8500
8501 # type: verbatim
8502 #: ../src/guestfs-actions.pod:2689
8503 #, no-wrap
8504 msgid ""
8505 " int guestfs_luks_open_ro (guestfs_h *g,\n"
8506 "\t\tconst char *device,\n"
8507 "\t\tconst char *key,\n"
8508 "\t\tconst char *mapname);\n"
8509 "\n"
8510 msgstr ""
8511
8512 # type: textblock
8513 #: ../src/guestfs-actions.pod:2694
8514 msgid ""
8515 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
8516 "created."
8517 msgstr ""
8518
8519 # type: =head2
8520 #: ../src/guestfs-actions.pod:2703
8521 msgid "guestfs_lvcreate"
8522 msgstr ""
8523
8524 # type: verbatim
8525 #: ../src/guestfs-actions.pod:2705
8526 #, no-wrap
8527 msgid ""
8528 " int guestfs_lvcreate (guestfs_h *g,\n"
8529 "\t\tconst char *logvol,\n"
8530 "\t\tconst char *volgroup,\n"
8531 "\t\tint mbytes);\n"
8532 "\n"
8533 msgstr ""
8534
8535 # type: textblock
8536 #: ../src/guestfs-actions.pod:2710 ../fish/guestfish-actions.pod:2119
8537 msgid ""
8538 "This creates an LVM logical volume called C<logvol> on the volume group "
8539 "C<volgroup>, with C<size> megabytes."
8540 msgstr ""
8541
8542 # type: =head2
8543 #: ../src/guestfs-actions.pod:2715
8544 msgid "guestfs_lvm_clear_filter"
8545 msgstr ""
8546
8547 # type: verbatim
8548 #: ../src/guestfs-actions.pod:2717
8549 #, no-wrap
8550 msgid ""
8551 " int guestfs_lvm_clear_filter (guestfs_h *g);\n"
8552 "\n"
8553 msgstr ""
8554
8555 # type: textblock
8556 #: ../src/guestfs-actions.pod:2719
8557 msgid ""
8558 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
8559 "see every block device."
8560 msgstr ""
8561
8562 # type: textblock
8563 #: ../src/guestfs-actions.pod:2722 ../src/guestfs-actions.pod:2758
8564 #: ../fish/guestfish-actions.pod:2129 ../fish/guestfish-actions.pod:2160
8565 msgid ""
8566 "This command also clears the LVM cache and performs a volume group scan."
8567 msgstr ""
8568
8569 # type: =head2
8570 #: ../src/guestfs-actions.pod:2727
8571 msgid "guestfs_lvm_remove_all"
8572 msgstr ""
8573
8574 # type: verbatim
8575 #: ../src/guestfs-actions.pod:2729
8576 #, no-wrap
8577 msgid ""
8578 " int guestfs_lvm_remove_all (guestfs_h *g);\n"
8579 "\n"
8580 msgstr ""
8581
8582 # type: textblock
8583 #: ../src/guestfs-actions.pod:2731 ../fish/guestfish-actions.pod:2136
8584 msgid ""
8585 "This command removes all LVM logical volumes, volume groups and physical "
8586 "volumes."
8587 msgstr ""
8588
8589 # type: =head2
8590 #: ../src/guestfs-actions.pod:2739
8591 msgid "guestfs_lvm_set_filter"
8592 msgstr ""
8593
8594 # type: verbatim
8595 #: ../src/guestfs-actions.pod:2741
8596 #, no-wrap
8597 msgid ""
8598 " int guestfs_lvm_set_filter (guestfs_h *g,\n"
8599 "\t\tchar *const *devices);\n"
8600 "\n"
8601 msgstr ""
8602
8603 # type: textblock
8604 #: ../src/guestfs-actions.pod:2744 ../fish/guestfish-actions.pod:2146
8605 msgid ""
8606 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
8607 "block devices in the list C<devices>, and will ignore all other attached "
8608 "block devices."
8609 msgstr ""
8610
8611 # type: textblock
8612 #: ../src/guestfs-actions.pod:2748 ../fish/guestfish-actions.pod:2150
8613 msgid ""
8614 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
8615 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
8616 "there are two types of duplication possible: either cloned PVs/VGs which "
8617 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
8618 "same name.  In normal operation you cannot create this situation, but you "
8619 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
8620 "inside the LVM metadata."
8621 msgstr ""
8622
8623 # type: textblock
8624 #: ../src/guestfs-actions.pod:2761 ../fish/guestfish-actions.pod:2163
8625 msgid "You can filter whole block devices or individual partitions."
8626 msgstr ""
8627
8628 # type: textblock
8629 #: ../src/guestfs-actions.pod:2763 ../fish/guestfish-actions.pod:2165
8630 msgid ""
8631 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
8632 "filesystem), even if you are not filtering out that VG."
8633 msgstr ""
8634
8635 # type: =head2
8636 #: ../src/guestfs-actions.pod:2769
8637 msgid "guestfs_lvremove"
8638 msgstr ""
8639
8640 # type: verbatim
8641 #: ../src/guestfs-actions.pod:2771
8642 #, no-wrap
8643 msgid ""
8644 " int guestfs_lvremove (guestfs_h *g,\n"
8645 "\t\tconst char *device);\n"
8646 "\n"
8647 msgstr ""
8648
8649 # type: textblock
8650 #: ../src/guestfs-actions.pod:2774 ../fish/guestfish-actions.pod:2173
8651 msgid ""
8652 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
8653 "LV, such as C</dev/VG/LV>."
8654 msgstr ""
8655
8656 # type: textblock
8657 #: ../src/guestfs-actions.pod:2777 ../fish/guestfish-actions.pod:2176
8658 msgid ""
8659 "You can also remove all LVs in a volume group by specifying the VG name, C</"
8660 "dev/VG>."
8661 msgstr ""
8662
8663 # type: =head2
8664 #: ../src/guestfs-actions.pod:2782
8665 msgid "guestfs_lvrename"
8666 msgstr ""
8667
8668 # type: verbatim
8669 #: ../src/guestfs-actions.pod:2784
8670 #, no-wrap
8671 msgid ""
8672 " int guestfs_lvrename (guestfs_h *g,\n"
8673 "\t\tconst char *logvol,\n"
8674 "\t\tconst char *newlogvol);\n"
8675 "\n"
8676 msgstr ""
8677
8678 # type: textblock
8679 #: ../src/guestfs-actions.pod:2788 ../fish/guestfish-actions.pod:2183
8680 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
8681 msgstr ""
8682
8683 # type: =head2
8684 #: ../src/guestfs-actions.pod:2792
8685 msgid "guestfs_lvresize"
8686 msgstr ""
8687
8688 # type: verbatim
8689 #: ../src/guestfs-actions.pod:2794
8690 #, no-wrap
8691 msgid ""
8692 " int guestfs_lvresize (guestfs_h *g,\n"
8693 "\t\tconst char *device,\n"
8694 "\t\tint mbytes);\n"
8695 "\n"
8696 msgstr ""
8697
8698 # type: textblock
8699 #: ../src/guestfs-actions.pod:2798 ../fish/guestfish-actions.pod:2189
8700 msgid ""
8701 "This resizes (expands or shrinks) an existing LVM logical volume to "
8702 "C<mbytes>.  When reducing, data in the reduced part is lost."
8703 msgstr ""
8704
8705 # type: =head2
8706 #: ../src/guestfs-actions.pod:2804
8707 msgid "guestfs_lvresize_free"
8708 msgstr ""
8709
8710 # type: verbatim
8711 #: ../src/guestfs-actions.pod:2806
8712 #, no-wrap
8713 msgid ""
8714 " int guestfs_lvresize_free (guestfs_h *g,\n"
8715 "\t\tconst char *lv,\n"
8716 "\t\tint percent);\n"
8717 "\n"
8718 msgstr ""
8719
8720 # type: textblock
8721 #: ../src/guestfs-actions.pod:2810 ../fish/guestfish-actions.pod:2197
8722 msgid ""
8723 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
8724 "remaining free space in the volume group.  Commonly you would call this with "
8725 "pc = 100 which expands the logical volume as much as possible, using all "
8726 "remaining free space in the volume group."
8727 msgstr ""
8728
8729 # type: =head2
8730 #: ../src/guestfs-actions.pod:2818
8731 msgid "guestfs_lvs"
8732 msgstr ""
8733
8734 # type: verbatim
8735 #: ../src/guestfs-actions.pod:2820
8736 #, no-wrap
8737 msgid ""
8738 " char **guestfs_lvs (guestfs_h *g);\n"
8739 "\n"
8740 msgstr ""
8741
8742 # type: textblock
8743 #: ../src/guestfs-actions.pod:2822 ../fish/guestfish-actions.pod:2207
8744 msgid ""
8745 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
8746 "(8)> command."
8747 msgstr ""
8748
8749 # type: textblock
8750 #: ../src/guestfs-actions.pod:2825 ../fish/guestfish-actions.pod:2210
8751 msgid ""
8752 "This returns a list of the logical volume device names (eg. C</dev/"
8753 "VolGroup00/LogVol00>)."
8754 msgstr ""
8755
8756 # type: textblock
8757 #: ../src/guestfs-actions.pod:2828
8758 msgid "See also C<guestfs_lvs_full>."
8759 msgstr ""
8760
8761 # type: =head2
8762 #: ../src/guestfs-actions.pod:2834
8763 msgid "guestfs_lvs_full"
8764 msgstr ""
8765
8766 # type: verbatim
8767 #: ../src/guestfs-actions.pod:2836
8768 #, no-wrap
8769 msgid ""
8770 " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n"
8771 "\n"
8772 msgstr ""
8773
8774 # type: textblock
8775 #: ../src/guestfs-actions.pod:2838 ../fish/guestfish-actions.pod:2219
8776 msgid ""
8777 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
8778 "(8)> command.  The \"full\" version includes all fields."
8779 msgstr ""
8780
8781 # type: textblock
8782 #: ../src/guestfs-actions.pod:2841
8783 msgid ""
8784 "This function returns a C<struct guestfs_lvm_lv_list *> (see E<lt>guestfs-"
8785 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
8786 "C<guestfs_free_lvm_lv_list> after use>."
8787 msgstr ""
8788
8789 # type: =head2
8790 #: ../src/guestfs-actions.pod:2846
8791 msgid "guestfs_lvuuid"
8792 msgstr ""
8793
8794 # type: verbatim
8795 #: ../src/guestfs-actions.pod:2848
8796 #, no-wrap
8797 msgid ""
8798 " char *guestfs_lvuuid (guestfs_h *g,\n"
8799 "\t\tconst char *device);\n"
8800 "\n"
8801 msgstr ""
8802
8803 # type: textblock
8804 #: ../src/guestfs-actions.pod:2851 ../fish/guestfish-actions.pod:2226
8805 msgid "This command returns the UUID of the LVM LV C<device>."
8806 msgstr ""
8807
8808 # type: =head2
8809 #: ../src/guestfs-actions.pod:2856
8810 msgid "guestfs_lxattrlist"
8811 msgstr ""
8812
8813 # type: verbatim
8814 #: ../src/guestfs-actions.pod:2858
8815 #, no-wrap
8816 msgid ""
8817 " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n"
8818 "\t\tconst char *path,\n"
8819 "\t\tchar *const *names);\n"
8820 "\n"
8821 msgstr ""
8822
8823 # type: textblock
8824 #: ../src/guestfs-actions.pod:2862 ../fish/guestfish-actions.pod:2232
8825 msgid ""
8826 "This call allows you to get the extended attributes of multiple files, where "
8827 "all files are in the directory C<path>.  C<names> is the list of files from "
8828 "this directory."
8829 msgstr ""
8830
8831 # type: textblock
8832 #: ../src/guestfs-actions.pod:2866 ../fish/guestfish-actions.pod:2236
8833 msgid ""
8834 "On return you get a flat list of xattr structs which must be interpreted "
8835 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
8836 "C<attrval> in this struct is zero-length to indicate there was an error "
8837 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
8838 "number (the number of following attributes for this file, which could be C<"
8839 "\"0\">).  Then after the first xattr struct are the zero or more attributes "
8840 "for the first named file.  This repeats for the second and subsequent files."
8841 msgstr ""
8842
8843 # type: textblock
8844 #: ../src/guestfs-actions.pod:2876
8845 msgid ""
8846 "This call is intended for programs that want to efficiently list a directory "
8847 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
8848 "a similarly efficient call for getting standard stats.  Very long directory "
8849 "listings might cause the protocol message size to be exceeded, causing this "
8850 "call to fail.  The caller must split up such requests into smaller groups of "
8851 "names."
8852 msgstr ""
8853
8854 # type: =head2
8855 #: ../src/guestfs-actions.pod:2889
8856 msgid "guestfs_mkdir"
8857 msgstr ""
8858
8859 # type: verbatim
8860 #: ../src/guestfs-actions.pod:2891
8861 #, no-wrap
8862 msgid ""
8863 " int guestfs_mkdir (guestfs_h *g,\n"
8864 "\t\tconst char *path);\n"
8865 "\n"
8866 msgstr ""
8867
8868 # type: textblock
8869 #: ../src/guestfs-actions.pod:2894 ../fish/guestfish-actions.pod:2258
8870 msgid "Create a directory named C<path>."
8871 msgstr ""
8872
8873 # type: =head2
8874 #: ../src/guestfs-actions.pod:2898
8875 msgid "guestfs_mkdir_mode"
8876 msgstr ""
8877
8878 # type: verbatim
8879 #: ../src/guestfs-actions.pod:2900
8880 #, no-wrap
8881 msgid ""
8882 " int guestfs_mkdir_mode (guestfs_h *g,\n"
8883 "\t\tconst char *path,\n"
8884 "\t\tint mode);\n"
8885 "\n"
8886 msgstr ""
8887
8888 # type: textblock
8889 #: ../src/guestfs-actions.pod:2904 ../fish/guestfish-actions.pod:2264
8890 msgid ""
8891 "This command creates a directory, setting the initial permissions of the "
8892 "directory to C<mode>."
8893 msgstr ""
8894
8895 # type: textblock
8896 #: ../src/guestfs-actions.pod:2907 ../fish/guestfish-actions.pod:2267
8897 msgid ""
8898 "For common Linux filesystems, the actual mode which is set will be C<mode & "
8899 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
8900 "other ways."
8901 msgstr ""
8902
8903 # type: textblock
8904 #: ../src/guestfs-actions.pod:2911
8905 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
8906 msgstr ""
8907
8908 # type: =head2
8909 #: ../src/guestfs-actions.pod:2915
8910 msgid "guestfs_mkdir_p"
8911 msgstr ""
8912
8913 # type: verbatim
8914 #: ../src/guestfs-actions.pod:2917
8915 #, no-wrap
8916 msgid ""
8917 " int guestfs_mkdir_p (guestfs_h *g,\n"
8918 "\t\tconst char *path);\n"
8919 "\n"
8920 msgstr ""
8921
8922 # type: textblock
8923 #: ../src/guestfs-actions.pod:2920 ../fish/guestfish-actions.pod:2277
8924 msgid ""
8925 "Create a directory named C<path>, creating any parent directories as "
8926 "necessary.  This is like the C<mkdir -p> shell command."
8927 msgstr ""
8928
8929 # type: =head2
8930 #: ../src/guestfs-actions.pod:2925
8931 msgid "guestfs_mkdtemp"
8932 msgstr ""
8933
8934 # type: verbatim
8935 #: ../src/guestfs-actions.pod:2927
8936 #, no-wrap
8937 msgid ""
8938 " char *guestfs_mkdtemp (guestfs_h *g,\n"
8939 "\t\tconst char *template);\n"
8940 "\n"
8941 msgstr ""
8942
8943 # type: textblock
8944 #: ../src/guestfs-actions.pod:2930 ../fish/guestfish-actions.pod:2284
8945 msgid ""
8946 "This command creates a temporary directory.  The C<template> parameter "
8947 "should be a full pathname for the temporary directory name with the final "
8948 "six characters being \"XXXXXX\"."
8949 msgstr ""
8950
8951 # type: textblock
8952 #: ../src/guestfs-actions.pod:2935 ../fish/guestfish-actions.pod:2289
8953 msgid ""
8954 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
8955 "being suitable for Windows filesystems."
8956 msgstr ""
8957
8958 # type: textblock
8959 #: ../src/guestfs-actions.pod:2938 ../fish/guestfish-actions.pod:2292
8960 msgid "The name of the temporary directory that was created is returned."
8961 msgstr ""
8962
8963 # type: textblock
8964 #: ../src/guestfs-actions.pod:2941 ../fish/guestfish-actions.pod:2295
8965 msgid "The temporary directory is created with mode 0700 and is owned by root."
8966 msgstr ""
8967
8968 # type: textblock
8969 #: ../src/guestfs-actions.pod:2944 ../fish/guestfish-actions.pod:2298
8970 msgid ""
8971 "The caller is responsible for deleting the temporary directory and its "
8972 "contents after use."
8973 msgstr ""
8974
8975 # type: textblock
8976 #: ../src/guestfs-actions.pod:2947 ../fish/guestfish-actions.pod:2301
8977 msgid "See also: L<mkdtemp(3)>"
8978 msgstr ""
8979
8980 # type: =head2
8981 #: ../src/guestfs-actions.pod:2952
8982 msgid "guestfs_mke2fs_J"
8983 msgstr ""
8984
8985 # type: verbatim
8986 #: ../src/guestfs-actions.pod:2954
8987 #, no-wrap
8988 msgid ""
8989 " int guestfs_mke2fs_J (guestfs_h *g,\n"
8990 "\t\tconst char *fstype,\n"
8991 "\t\tint blocksize,\n"
8992 "\t\tconst char *device,\n"
8993 "\t\tconst char *journal);\n"
8994 "\n"
8995 msgstr ""
8996
8997 # type: textblock
8998 #: ../src/guestfs-actions.pod:2960 ../fish/guestfish-actions.pod:2307
8999 msgid ""
9000 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9001 "C<journal>.  It is equivalent to the command:"
9002 msgstr ""
9003
9004 # type: verbatim
9005 #: ../src/guestfs-actions.pod:2964 ../fish/guestfish-actions.pod:2311
9006 #, no-wrap
9007 msgid ""
9008 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
9009 "\n"
9010 msgstr ""
9011
9012 # type: textblock
9013 #: ../src/guestfs-actions.pod:2966
9014 msgid "See also C<guestfs_mke2journal>."
9015 msgstr ""
9016
9017 # type: =head2
9018 #: ../src/guestfs-actions.pod:2970
9019 msgid "guestfs_mke2fs_JL"
9020 msgstr ""
9021
9022 # type: verbatim
9023 #: ../src/guestfs-actions.pod:2972
9024 #, no-wrap
9025 msgid ""
9026 " int guestfs_mke2fs_JL (guestfs_h *g,\n"
9027 "\t\tconst char *fstype,\n"
9028 "\t\tint blocksize,\n"
9029 "\t\tconst char *device,\n"
9030 "\t\tconst char *label);\n"
9031 "\n"
9032 msgstr ""
9033
9034 # type: textblock
9035 #: ../src/guestfs-actions.pod:2978 ../fish/guestfish-actions.pod:2319
9036 msgid ""
9037 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9038 "the journal labeled C<label>."
9039 msgstr ""
9040
9041 # type: textblock
9042 #: ../src/guestfs-actions.pod:2981
9043 msgid "See also C<guestfs_mke2journal_L>."
9044 msgstr ""
9045
9046 # type: =head2
9047 #: ../src/guestfs-actions.pod:2985
9048 msgid "guestfs_mke2fs_JU"
9049 msgstr ""
9050
9051 # type: verbatim
9052 #: ../src/guestfs-actions.pod:2987
9053 #, no-wrap
9054 msgid ""
9055 " int guestfs_mke2fs_JU (guestfs_h *g,\n"
9056 "\t\tconst char *fstype,\n"
9057 "\t\tint blocksize,\n"
9058 "\t\tconst char *device,\n"
9059 "\t\tconst char *uuid);\n"
9060 "\n"
9061 msgstr ""
9062
9063 # type: textblock
9064 #: ../src/guestfs-actions.pod:2993 ../fish/guestfish-actions.pod:2328
9065 msgid ""
9066 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9067 "the journal with UUID C<uuid>."
9068 msgstr ""
9069
9070 # type: textblock
9071 #: ../src/guestfs-actions.pod:2996
9072 msgid "See also C<guestfs_mke2journal_U>."
9073 msgstr ""
9074
9075 # type: =head2
9076 #: ../src/guestfs-actions.pod:3000
9077 msgid "guestfs_mke2journal"
9078 msgstr ""
9079
9080 # type: verbatim
9081 #: ../src/guestfs-actions.pod:3002
9082 #, no-wrap
9083 msgid ""
9084 " int guestfs_mke2journal (guestfs_h *g,\n"
9085 "\t\tint blocksize,\n"
9086 "\t\tconst char *device);\n"
9087 "\n"
9088 msgstr ""
9089
9090 # type: textblock
9091 #: ../src/guestfs-actions.pod:3006 ../fish/guestfish-actions.pod:2337
9092 msgid ""
9093 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
9094 "command:"
9095 msgstr ""
9096
9097 # type: verbatim
9098 #: ../src/guestfs-actions.pod:3009 ../fish/guestfish-actions.pod:2340
9099 #, no-wrap
9100 msgid ""
9101 " mke2fs -O journal_dev -b blocksize device\n"
9102 "\n"
9103 msgstr ""
9104
9105 # type: =head2
9106 #: ../src/guestfs-actions.pod:3013
9107 msgid "guestfs_mke2journal_L"
9108 msgstr ""
9109
9110 # type: verbatim
9111 #: ../src/guestfs-actions.pod:3015
9112 #, no-wrap
9113 msgid ""
9114 " int guestfs_mke2journal_L (guestfs_h *g,\n"
9115 "\t\tint blocksize,\n"
9116 "\t\tconst char *label,\n"
9117 "\t\tconst char *device);\n"
9118 "\n"
9119 msgstr ""
9120
9121 # type: textblock
9122 #: ../src/guestfs-actions.pod:3020 ../fish/guestfish-actions.pod:2346
9123 msgid "This creates an ext2 external journal on C<device> with label C<label>."
9124 msgstr ""
9125
9126 # type: =head2
9127 #: ../src/guestfs-actions.pod:3024
9128 msgid "guestfs_mke2journal_U"
9129 msgstr ""
9130
9131 # type: verbatim
9132 #: ../src/guestfs-actions.pod:3026
9133 #, no-wrap
9134 msgid ""
9135 " int guestfs_mke2journal_U (guestfs_h *g,\n"
9136 "\t\tint blocksize,\n"
9137 "\t\tconst char *uuid,\n"
9138 "\t\tconst char *device);\n"
9139 "\n"
9140 msgstr ""
9141
9142 # type: textblock
9143 #: ../src/guestfs-actions.pod:3031 ../fish/guestfish-actions.pod:2352
9144 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
9145 msgstr ""
9146
9147 # type: =head2
9148 #: ../src/guestfs-actions.pod:3035
9149 msgid "guestfs_mkfifo"
9150 msgstr ""
9151
9152 # type: verbatim
9153 #: ../src/guestfs-actions.pod:3037
9154 #, no-wrap
9155 msgid ""
9156 " int guestfs_mkfifo (guestfs_h *g,\n"
9157 "\t\tint mode,\n"
9158 "\t\tconst char *path);\n"
9159 "\n"
9160 msgstr ""
9161
9162 # type: textblock
9163 #: ../src/guestfs-actions.pod:3041
9164 msgid ""
9165 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
9166 "is just a convenient wrapper around C<guestfs_mknod>."
9167 msgstr ""
9168
9169 # type: =head2
9170 #: ../src/guestfs-actions.pod:3049
9171 msgid "guestfs_mkfs"
9172 msgstr ""
9173
9174 # type: verbatim
9175 #: ../src/guestfs-actions.pod:3051
9176 #, no-wrap
9177 msgid ""
9178 " int guestfs_mkfs (guestfs_h *g,\n"
9179 "\t\tconst char *fstype,\n"
9180 "\t\tconst char *device);\n"
9181 "\n"
9182 msgstr ""
9183
9184 # type: textblock
9185 #: ../src/guestfs-actions.pod:3055 ../fish/guestfish-actions.pod:2368
9186 msgid ""
9187 "This creates a filesystem on C<device> (usually a partition or LVM logical "
9188 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
9189 msgstr ""
9190
9191 # type: =head2
9192 #: ../src/guestfs-actions.pod:3061
9193 msgid "guestfs_mkfs_b"
9194 msgstr ""
9195
9196 # type: verbatim
9197 #: ../src/guestfs-actions.pod:3063
9198 #, no-wrap
9199 msgid ""
9200 " int guestfs_mkfs_b (guestfs_h *g,\n"
9201 "\t\tconst char *fstype,\n"
9202 "\t\tint blocksize,\n"
9203 "\t\tconst char *device);\n"
9204 "\n"
9205 msgstr ""
9206
9207 # type: textblock
9208 #: ../src/guestfs-actions.pod:3068
9209 msgid ""
9210 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
9211 "block size of the resulting filesystem.  Supported block sizes depend on the "
9212 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
9213 msgstr ""
9214
9215 # type: textblock
9216 #: ../src/guestfs-actions.pod:3073 ../fish/guestfish-actions.pod:2381
9217 msgid ""
9218 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
9219 "cluster size."
9220 msgstr ""
9221
9222 # type: =head2
9223 #: ../src/guestfs-actions.pod:3078
9224 msgid "guestfs_mkmountpoint"
9225 msgstr ""
9226
9227 # type: verbatim
9228 #: ../src/guestfs-actions.pod:3080
9229 #, no-wrap
9230 msgid ""
9231 " int guestfs_mkmountpoint (guestfs_h *g,\n"
9232 "\t\tconst char *exemptpath);\n"
9233 "\n"
9234 msgstr ""
9235
9236 # type: textblock
9237 #: ../src/guestfs-actions.pod:3083
9238 msgid ""
9239 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
9240 "that can be used to create extra mountpoints before mounting the first "
9241 "filesystem."
9242 msgstr ""
9243
9244 # type: textblock
9245 #: ../src/guestfs-actions.pod:3087 ../fish/guestfish-actions.pod:2392
9246 msgid ""
9247 "These calls are I<only> necessary in some very limited circumstances, mainly "
9248 "the case where you want to mount a mix of unrelated and/or read-only "
9249 "filesystems together."
9250 msgstr ""
9251
9252 # type: textblock
9253 #: ../src/guestfs-actions.pod:3091 ../fish/guestfish-actions.pod:2396
9254 msgid ""
9255 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
9256 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
9257 "inside that.  You can unpack this as follows in guestfish:"
9258 msgstr ""
9259
9260 # type: verbatim
9261 #: ../src/guestfs-actions.pod:3096 ../fish/guestfish-actions.pod:2401
9262 #, no-wrap
9263 msgid ""
9264 " add-ro Fedora-11-i686-Live.iso\n"
9265 " run\n"
9266 " mkmountpoint /cd\n"
9267 " mkmountpoint /squash\n"
9268 " mkmountpoint /ext3\n"
9269 " mount /dev/sda /cd\n"
9270 " mount-loop /cd/LiveOS/squashfs.img /squash\n"
9271 " mount-loop /squash/LiveOS/ext3fs.img /ext3\n"
9272 "\n"
9273 msgstr ""
9274
9275 # type: textblock
9276 #: ../src/guestfs-actions.pod:3105 ../fish/guestfish-actions.pod:2410
9277 msgid "The inner filesystem is now unpacked under the /ext3 mountpoint."
9278 msgstr ""
9279
9280 # type: =head2
9281 #: ../src/guestfs-actions.pod:3109
9282 msgid "guestfs_mknod"
9283 msgstr ""
9284
9285 # type: verbatim
9286 #: ../src/guestfs-actions.pod:3111
9287 #, no-wrap
9288 msgid ""
9289 " int guestfs_mknod (guestfs_h *g,\n"
9290 "\t\tint mode,\n"
9291 "\t\tint devmajor,\n"
9292 "\t\tint devminor,\n"
9293 "\t\tconst char *path);\n"
9294 "\n"
9295 msgstr ""
9296
9297 # type: textblock
9298 #: ../src/guestfs-actions.pod:3117 ../fish/guestfish-actions.pod:2416
9299 msgid ""
9300 "This call creates block or character special devices, or named pipes (FIFOs)."
9301 msgstr ""
9302
9303 # type: textblock
9304 #: ../src/guestfs-actions.pod:3120 ../fish/guestfish-actions.pod:2419
9305 msgid ""
9306 "The C<mode> parameter should be the mode, using the standard constants.  "
9307 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
9308 "used when creating block and character special devices."
9309 msgstr ""
9310
9311 # type: textblock
9312 #: ../src/guestfs-actions.pod:3125
9313 msgid ""
9314 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
9315 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
9316 "regular file).  These constants are available in the standard Linux header "
9317 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
9318 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
9319 "the appropriate constant for you."
9320 msgstr ""
9321
9322 # type: =head2
9323 #: ../src/guestfs-actions.pod:3137
9324 msgid "guestfs_mknod_b"
9325 msgstr ""
9326
9327 # type: verbatim
9328 #: ../src/guestfs-actions.pod:3139
9329 #, no-wrap
9330 msgid ""
9331 " int guestfs_mknod_b (guestfs_h *g,\n"
9332 "\t\tint mode,\n"
9333 "\t\tint devmajor,\n"
9334 "\t\tint devminor,\n"
9335 "\t\tconst char *path);\n"
9336 "\n"
9337 msgstr ""
9338
9339 # type: textblock
9340 #: ../src/guestfs-actions.pod:3145
9341 msgid ""
9342 "This call creates a block device node called C<path> with mode C<mode> and "
9343 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9344 "wrapper around C<guestfs_mknod>."
9345 msgstr ""
9346
9347 # type: =head2
9348 #: ../src/guestfs-actions.pod:3153
9349 msgid "guestfs_mknod_c"
9350 msgstr ""
9351
9352 # type: verbatim
9353 #: ../src/guestfs-actions.pod:3155
9354 #, no-wrap
9355 msgid ""
9356 " int guestfs_mknod_c (guestfs_h *g,\n"
9357 "\t\tint mode,\n"
9358 "\t\tint devmajor,\n"
9359 "\t\tint devminor,\n"
9360 "\t\tconst char *path);\n"
9361 "\n"
9362 msgstr ""
9363
9364 # type: textblock
9365 #: ../src/guestfs-actions.pod:3161
9366 msgid ""
9367 "This call creates a char device node called C<path> with mode C<mode> and "
9368 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9369 "wrapper around C<guestfs_mknod>."
9370 msgstr ""
9371
9372 # type: =head2
9373 #: ../src/guestfs-actions.pod:3169
9374 msgid "guestfs_mkswap"
9375 msgstr ""
9376
9377 # type: verbatim
9378 #: ../src/guestfs-actions.pod:3171
9379 #, no-wrap
9380 msgid ""
9381 " int guestfs_mkswap (guestfs_h *g,\n"
9382 "\t\tconst char *device);\n"
9383 "\n"
9384 msgstr ""
9385
9386 # type: textblock
9387 #: ../src/guestfs-actions.pod:3174 ../fish/guestfish-actions.pod:2458
9388 msgid "Create a swap partition on C<device>."
9389 msgstr ""
9390
9391 # type: =head2
9392 #: ../src/guestfs-actions.pod:3178
9393 msgid "guestfs_mkswap_L"
9394 msgstr ""
9395
9396 # type: verbatim
9397 #: ../src/guestfs-actions.pod:3180
9398 #, no-wrap
9399 msgid ""
9400 " int guestfs_mkswap_L (guestfs_h *g,\n"
9401 "\t\tconst char *label,\n"
9402 "\t\tconst char *device);\n"
9403 "\n"
9404 msgstr ""
9405
9406 # type: textblock
9407 #: ../src/guestfs-actions.pod:3184 ../fish/guestfish-actions.pod:2464
9408 msgid "Create a swap partition on C<device> with label C<label>."
9409 msgstr ""
9410
9411 # type: textblock
9412 #: ../src/guestfs-actions.pod:3186 ../fish/guestfish-actions.pod:2466
9413 msgid ""
9414 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
9415 "sda>), just to a partition.  This appears to be a limitation of the kernel "
9416 "or swap tools."
9417 msgstr ""
9418
9419 # type: =head2
9420 #: ../src/guestfs-actions.pod:3192
9421 msgid "guestfs_mkswap_U"
9422 msgstr ""
9423
9424 # type: verbatim
9425 #: ../src/guestfs-actions.pod:3194
9426 #, no-wrap
9427 msgid ""
9428 " int guestfs_mkswap_U (guestfs_h *g,\n"
9429 "\t\tconst char *uuid,\n"
9430 "\t\tconst char *device);\n"
9431 "\n"
9432 msgstr ""
9433
9434 # type: textblock
9435 #: ../src/guestfs-actions.pod:3198 ../fish/guestfish-actions.pod:2474
9436 msgid "Create a swap partition on C<device> with UUID C<uuid>."
9437 msgstr ""
9438
9439 # type: =head2
9440 #: ../src/guestfs-actions.pod:3202
9441 msgid "guestfs_mkswap_file"
9442 msgstr ""
9443
9444 # type: verbatim
9445 #: ../src/guestfs-actions.pod:3204
9446 #, no-wrap
9447 msgid ""
9448 " int guestfs_mkswap_file (guestfs_h *g,\n"
9449 "\t\tconst char *path);\n"
9450 "\n"
9451 msgstr ""
9452
9453 # type: textblock
9454 #: ../src/guestfs-actions.pod:3207 ../fish/guestfish-actions.pod:2480
9455 msgid "Create a swap file."
9456 msgstr ""
9457
9458 # type: textblock
9459 #: ../src/guestfs-actions.pod:3209
9460 msgid ""
9461 "This command just writes a swap file signature to an existing file.  To "
9462 "create the file itself, use something like C<guestfs_fallocate>."
9463 msgstr ""
9464
9465 # type: =head2
9466 #: ../src/guestfs-actions.pod:3214
9467 msgid "guestfs_modprobe"
9468 msgstr ""
9469
9470 # type: verbatim
9471 #: ../src/guestfs-actions.pod:3216
9472 #, no-wrap
9473 msgid ""
9474 " int guestfs_modprobe (guestfs_h *g,\n"
9475 "\t\tconst char *modulename);\n"
9476 "\n"
9477 msgstr ""
9478
9479 # type: textblock
9480 #: ../src/guestfs-actions.pod:3219 ../fish/guestfish-actions.pod:2489
9481 msgid "This loads a kernel module in the appliance."
9482 msgstr ""
9483
9484 # type: textblock
9485 #: ../src/guestfs-actions.pod:3221 ../fish/guestfish-actions.pod:2491
9486 msgid ""
9487 "The kernel module must have been whitelisted when libguestfs was built (see "
9488 "C<appliance/kmod.whitelist.in> in the source)."
9489 msgstr ""
9490
9491 # type: =head2
9492 #: ../src/guestfs-actions.pod:3226
9493 msgid "guestfs_mount"
9494 msgstr ""
9495
9496 # type: verbatim
9497 #: ../src/guestfs-actions.pod:3228
9498 #, no-wrap
9499 msgid ""
9500 " int guestfs_mount (guestfs_h *g,\n"
9501 "\t\tconst char *device,\n"
9502 "\t\tconst char *mountpoint);\n"
9503 "\n"
9504 msgstr ""
9505
9506 # type: textblock
9507 #: ../src/guestfs-actions.pod:3232 ../fish/guestfish-actions.pod:2498
9508 msgid ""
9509 "Mount a guest disk at a position in the filesystem.  Block devices are named "
9510 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
9511 "those block devices contain partitions, they will have the usual names (eg. "
9512 "C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
9513 msgstr ""
9514
9515 # type: textblock
9516 #: ../src/guestfs-actions.pod:3238 ../fish/guestfish-actions.pod:2504
9517 msgid ""
9518 "The rules are the same as for L<mount(2)>: A filesystem must first be "
9519 "mounted on C</> before others can be mounted.  Other filesystems can only be "
9520 "mounted on directories which already exist."
9521 msgstr ""
9522
9523 # type: textblock
9524 #: ../src/guestfs-actions.pod:3243 ../fish/guestfish-actions.pod:2509
9525 msgid ""
9526 "The mounted filesystem is writable, if we have sufficient permissions on the "
9527 "underlying device."
9528 msgstr ""
9529
9530 # type: textblock
9531 #: ../src/guestfs-actions.pod:3246
9532 msgid ""
9533 "B<Important note:> When you use this call, the filesystem options C<sync> "
9534 "and C<noatime> are set implicitly.  This was originally done because we "
9535 "thought it would improve reliability, but it turns out that I<-o sync> has a "
9536 "very large negative performance impact and negligible effect on "
9537 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
9538 "in any code that needs performance, and instead use C<guestfs_mount_options> "
9539 "(use an empty string for the first parameter if you don't want any options)."
9540 msgstr ""
9541
9542 # type: =head2
9543 #: ../src/guestfs-actions.pod:3258
9544 msgid "guestfs_mount_loop"
9545 msgstr ""
9546
9547 # type: verbatim
9548 #: ../src/guestfs-actions.pod:3260
9549 #, no-wrap
9550 msgid ""
9551 " int guestfs_mount_loop (guestfs_h *g,\n"
9552 "\t\tconst char *file,\n"
9553 "\t\tconst char *mountpoint);\n"
9554 "\n"
9555 msgstr ""
9556
9557 # type: textblock
9558 #: ../src/guestfs-actions.pod:3264 ../fish/guestfish-actions.pod:2526
9559 msgid ""
9560 "This command lets you mount C<file> (a filesystem image in a file) on a "
9561 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
9562 "mountpoint>."
9563 msgstr ""
9564
9565 # type: =head2
9566 #: ../src/guestfs-actions.pod:3270
9567 msgid "guestfs_mount_options"
9568 msgstr ""
9569
9570 # type: verbatim
9571 #: ../src/guestfs-actions.pod:3272
9572 #, no-wrap
9573 msgid ""
9574 " int guestfs_mount_options (guestfs_h *g,\n"
9575 "\t\tconst char *options,\n"
9576 "\t\tconst char *device,\n"
9577 "\t\tconst char *mountpoint);\n"
9578 "\n"
9579 msgstr ""
9580
9581 # type: textblock
9582 #: ../src/guestfs-actions.pod:3277
9583 msgid ""
9584 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9585 "the mount options as for the L<mount(8)> I<-o> flag."
9586 msgstr ""
9587
9588 # type: textblock
9589 #: ../src/guestfs-actions.pod:3281 ../fish/guestfish-actions.pod:2538
9590 msgid ""
9591 "If the C<options> parameter is an empty string, then no options are passed "
9592 "(all options default to whatever the filesystem uses)."
9593 msgstr ""
9594
9595 # type: =head2
9596 #: ../src/guestfs-actions.pod:3287
9597 msgid "guestfs_mount_ro"
9598 msgstr ""
9599
9600 # type: verbatim
9601 #: ../src/guestfs-actions.pod:3289
9602 #, no-wrap
9603 msgid ""
9604 " int guestfs_mount_ro (guestfs_h *g,\n"
9605 "\t\tconst char *device,\n"
9606 "\t\tconst char *mountpoint);\n"
9607 "\n"
9608 msgstr ""
9609
9610 # type: textblock
9611 #: ../src/guestfs-actions.pod:3293
9612 msgid ""
9613 "This is the same as the C<guestfs_mount> command, but it mounts the "
9614 "filesystem with the read-only (I<-o ro>) flag."
9615 msgstr ""
9616
9617 # type: =head2
9618 #: ../src/guestfs-actions.pod:3298
9619 msgid "guestfs_mount_vfs"
9620 msgstr ""
9621
9622 # type: verbatim
9623 #: ../src/guestfs-actions.pod:3300
9624 #, no-wrap
9625 msgid ""
9626 " int guestfs_mount_vfs (guestfs_h *g,\n"
9627 "\t\tconst char *options,\n"
9628 "\t\tconst char *vfstype,\n"
9629 "\t\tconst char *device,\n"
9630 "\t\tconst char *mountpoint);\n"
9631 "\n"
9632 msgstr ""
9633
9634 # type: textblock
9635 #: ../src/guestfs-actions.pod:3306
9636 msgid ""
9637 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9638 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
9639 "t> flags."
9640 msgstr ""
9641
9642 # type: =head2
9643 #: ../src/guestfs-actions.pod:3312
9644 msgid "guestfs_mountpoints"
9645 msgstr ""
9646
9647 # type: verbatim
9648 #: ../src/guestfs-actions.pod:3314
9649 #, no-wrap
9650 msgid ""
9651 " char **guestfs_mountpoints (guestfs_h *g);\n"
9652 "\n"
9653 msgstr ""
9654
9655 # type: textblock
9656 #: ../src/guestfs-actions.pod:3316
9657 msgid ""
9658 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
9659 "devices.  This one returns a hash table (map) of device name to directory "
9660 "where the device is mounted."
9661 msgstr ""
9662
9663 # type: =head2
9664 #: ../src/guestfs-actions.pod:3326
9665 msgid "guestfs_mounts"
9666 msgstr ""
9667
9668 # type: verbatim
9669 #: ../src/guestfs-actions.pod:3328
9670 #, no-wrap
9671 msgid ""
9672 " char **guestfs_mounts (guestfs_h *g);\n"
9673 "\n"
9674 msgstr ""
9675
9676 # type: textblock
9677 #: ../src/guestfs-actions.pod:3330 ../fish/guestfish-actions.pod:2569
9678 msgid ""
9679 "This returns the list of currently mounted filesystems.  It returns the list "
9680 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
9681 msgstr ""
9682
9683 # type: textblock
9684 #: ../src/guestfs-actions.pod:3333 ../fish/guestfish-actions.pod:2572
9685 msgid "Some internal mounts are not shown."
9686 msgstr ""
9687
9688 # type: textblock
9689 #: ../src/guestfs-actions.pod:3335
9690 msgid "See also: C<guestfs_mountpoints>"
9691 msgstr ""
9692
9693 # type: =head2
9694 #: ../src/guestfs-actions.pod:3341
9695 msgid "guestfs_mv"
9696 msgstr ""
9697
9698 # type: verbatim
9699 #: ../src/guestfs-actions.pod:3343
9700 #, no-wrap
9701 msgid ""
9702 " int guestfs_mv (guestfs_h *g,\n"
9703 "\t\tconst char *src,\n"
9704 "\t\tconst char *dest);\n"
9705 "\n"
9706 msgstr ""
9707
9708 # type: textblock
9709 #: ../src/guestfs-actions.pod:3347 ../fish/guestfish-actions.pod:2580
9710 msgid ""
9711 "This moves a file from C<src> to C<dest> where C<dest> is either a "
9712 "destination filename or destination directory."
9713 msgstr ""
9714
9715 # type: =head2
9716 #: ../src/guestfs-actions.pod:3352
9717 msgid "guestfs_ntfs_3g_probe"
9718 msgstr ""
9719
9720 # type: verbatim
9721 #: ../src/guestfs-actions.pod:3354
9722 #, no-wrap
9723 msgid ""
9724 " int guestfs_ntfs_3g_probe (guestfs_h *g,\n"
9725 "\t\tint rw,\n"
9726 "\t\tconst char *device);\n"
9727 "\n"
9728 msgstr ""
9729
9730 # type: textblock
9731 #: ../src/guestfs-actions.pod:3358 ../fish/guestfish-actions.pod:2587
9732 msgid ""
9733 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
9734 "C<device> for mountability.  (Not all NTFS volumes can be mounted read-"
9735 "write, and some cannot be mounted at all)."
9736 msgstr ""
9737
9738 # type: textblock
9739 #: ../src/guestfs-actions.pod:3362 ../fish/guestfish-actions.pod:2591
9740 msgid ""
9741 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
9742 "can be mounted read-write.  Set it to false if you want to test if the "
9743 "volume can be mounted read-only."
9744 msgstr ""
9745
9746 # type: textblock
9747 #: ../src/guestfs-actions.pod:3366 ../fish/guestfish-actions.pod:2595
9748 msgid ""
9749 "The return value is an integer which C<0> if the operation would succeed, or "
9750 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
9751 msgstr ""
9752
9753 # type: =head2
9754 #: ../src/guestfs-actions.pod:3372
9755 msgid "guestfs_ntfsresize"
9756 msgstr ""
9757
9758 # type: verbatim
9759 #: ../src/guestfs-actions.pod:3374
9760 #, no-wrap
9761 msgid ""
9762 " int guestfs_ntfsresize (guestfs_h *g,\n"
9763 "\t\tconst char *device);\n"
9764 "\n"
9765 msgstr ""
9766
9767 # type: textblock
9768 #: ../src/guestfs-actions.pod:3377 ../fish/guestfish-actions.pod:2603
9769 msgid ""
9770 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
9771 "size of the underlying device.  See also L<ntfsresize(8)>."
9772 msgstr ""
9773
9774 # type: =head2
9775 #: ../src/guestfs-actions.pod:3383
9776 msgid "guestfs_ntfsresize_size"
9777 msgstr ""
9778
9779 # type: verbatim
9780 #: ../src/guestfs-actions.pod:3385
9781 #, no-wrap
9782 msgid ""
9783 " int guestfs_ntfsresize_size (guestfs_h *g,\n"
9784 "\t\tconst char *device,\n"
9785 "\t\tint64_t size);\n"
9786 "\n"
9787 msgstr ""
9788
9789 # type: textblock
9790 #: ../src/guestfs-actions.pod:3389
9791 msgid ""
9792 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
9793 "to specify the new size (in bytes) explicitly."
9794 msgstr ""
9795
9796 # type: =head2
9797 #: ../src/guestfs-actions.pod:3394
9798 msgid "guestfs_part_add"
9799 msgstr ""
9800
9801 # type: verbatim
9802 #: ../src/guestfs-actions.pod:3396
9803 #, no-wrap
9804 msgid ""
9805 " int guestfs_part_add (guestfs_h *g,\n"
9806 "\t\tconst char *device,\n"
9807 "\t\tconst char *prlogex,\n"
9808 "\t\tint64_t startsect,\n"
9809 "\t\tint64_t endsect);\n"
9810 "\n"
9811 msgstr ""
9812
9813 # type: textblock
9814 #: ../src/guestfs-actions.pod:3402
9815 msgid ""
9816 "This command adds a partition to C<device>.  If there is no partition table "
9817 "on the device, call C<guestfs_part_init> first."
9818 msgstr ""
9819
9820 # type: textblock
9821 #: ../src/guestfs-actions.pod:3405 ../fish/guestfish-actions.pod:2621
9822 msgid ""
9823 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
9824 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
9825 "C<logical>) and C<e> (or C<extended>) partition types."
9826 msgstr ""
9827
9828 # type: textblock
9829 #: ../src/guestfs-actions.pod:3410 ../fish/guestfish-actions.pod:2626
9830 msgid ""
9831 "C<startsect> and C<endsect> are the start and end of the partition in "
9832 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
9833 "from the end of the disk (C<-1> is the last sector)."
9834 msgstr ""
9835
9836 # type: textblock
9837 #: ../src/guestfs-actions.pod:3414
9838 msgid ""
9839 "Creating a partition which covers the whole disk is not so easy.  Use "
9840 "C<guestfs_part_disk> to do that."
9841 msgstr ""
9842
9843 # type: =head2
9844 #: ../src/guestfs-actions.pod:3419
9845 msgid "guestfs_part_del"
9846 msgstr ""
9847
9848 # type: verbatim
9849 #: ../src/guestfs-actions.pod:3421
9850 #, no-wrap
9851 msgid ""
9852 " int guestfs_part_del (guestfs_h *g,\n"
9853 "\t\tconst char *device,\n"
9854 "\t\tint partnum);\n"
9855 "\n"
9856 msgstr ""
9857
9858 # type: textblock
9859 #: ../src/guestfs-actions.pod:3425 ../fish/guestfish-actions.pod:2637
9860 msgid "This command deletes the partition numbered C<partnum> on C<device>."
9861 msgstr ""
9862
9863 # type: textblock
9864 #: ../src/guestfs-actions.pod:3427 ../fish/guestfish-actions.pod:2639
9865 msgid ""
9866 "Note that in the case of MBR partitioning, deleting an extended partition "
9867 "also deletes any logical partitions it contains."
9868 msgstr ""
9869
9870 # type: =head2
9871 #: ../src/guestfs-actions.pod:3433
9872 msgid "guestfs_part_disk"
9873 msgstr ""
9874
9875 # type: verbatim
9876 #: ../src/guestfs-actions.pod:3435
9877 #, no-wrap
9878 msgid ""
9879 " int guestfs_part_disk (guestfs_h *g,\n"
9880 "\t\tconst char *device,\n"
9881 "\t\tconst char *parttype);\n"
9882 "\n"
9883 msgstr ""
9884
9885 # type: textblock
9886 #: ../src/guestfs-actions.pod:3439
9887 msgid ""
9888 "This command is simply a combination of C<guestfs_part_init> followed by "
9889 "C<guestfs_part_add> to create a single primary partition covering the whole "
9890 "disk."
9891 msgstr ""
9892
9893 # type: textblock
9894 #: ../src/guestfs-actions.pod:3443
9895 msgid ""
9896 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
9897 "possible values are described in C<guestfs_part_init>."
9898 msgstr ""
9899
9900 # type: =head2
9901 #: ../src/guestfs-actions.pod:3451
9902 msgid "guestfs_part_get_bootable"
9903 msgstr ""
9904
9905 # type: verbatim
9906 #: ../src/guestfs-actions.pod:3453
9907 #, no-wrap
9908 msgid ""
9909 " int guestfs_part_get_bootable (guestfs_h *g,\n"
9910 "\t\tconst char *device,\n"
9911 "\t\tint partnum);\n"
9912 "\n"
9913 msgstr ""
9914
9915 # type: textblock
9916 #: ../src/guestfs-actions.pod:3457 ../fish/guestfish-actions.pod:2661
9917 msgid ""
9918 "This command returns true if the partition C<partnum> on C<device> has the "
9919 "bootable flag set."
9920 msgstr ""
9921
9922 # type: textblock
9923 #: ../src/guestfs-actions.pod:3460
9924 msgid "See also C<guestfs_part_set_bootable>."
9925 msgstr ""
9926
9927 # type: =head2
9928 #: ../src/guestfs-actions.pod:3464
9929 msgid "guestfs_part_get_mbr_id"
9930 msgstr ""
9931
9932 # type: verbatim
9933 #: ../src/guestfs-actions.pod:3466
9934 #, no-wrap
9935 msgid ""
9936 " int guestfs_part_get_mbr_id (guestfs_h *g,\n"
9937 "\t\tconst char *device,\n"
9938 "\t\tint partnum);\n"
9939 "\n"
9940 msgstr ""
9941
9942 # type: textblock
9943 #: ../src/guestfs-actions.pod:3470 ../fish/guestfish-actions.pod:2670
9944 msgid ""
9945 "Returns the MBR type byte (also known as the ID byte) from the numbered "
9946 "partition C<partnum>."
9947 msgstr ""
9948
9949 # type: textblock
9950 #: ../src/guestfs-actions.pod:3473 ../src/guestfs-actions.pod:3635
9951 msgid ""
9952 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
9953 "undefined results for other partition table types (see "
9954 "C<guestfs_part_get_parttype>)."
9955 msgstr ""
9956
9957 # type: =head2
9958 #: ../src/guestfs-actions.pod:3479
9959 msgid "guestfs_part_get_parttype"
9960 msgstr ""
9961
9962 # type: verbatim
9963 #: ../src/guestfs-actions.pod:3481
9964 #, no-wrap
9965 msgid ""
9966 " char *guestfs_part_get_parttype (guestfs_h *g,\n"
9967 "\t\tconst char *device);\n"
9968 "\n"
9969 msgstr ""
9970
9971 # type: textblock
9972 #: ../src/guestfs-actions.pod:3484 ../fish/guestfish-actions.pod:2681
9973 msgid ""
9974 "This command examines the partition table on C<device> and returns the "
9975 "partition table type (format) being used."
9976 msgstr ""
9977
9978 # type: textblock
9979 #: ../src/guestfs-actions.pod:3487
9980 msgid ""
9981 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
9982 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
9983 "possible, although unusual.  See C<guestfs_part_init> for a full list."
9984 msgstr ""
9985
9986 # type: =head2
9987 #: ../src/guestfs-actions.pod:3495
9988 msgid "guestfs_part_init"
9989 msgstr ""
9990
9991 # type: verbatim
9992 #: ../src/guestfs-actions.pod:3497
9993 #, no-wrap
9994 msgid ""
9995 " int guestfs_part_init (guestfs_h *g,\n"
9996 "\t\tconst char *device,\n"
9997 "\t\tconst char *parttype);\n"
9998 "\n"
9999 msgstr ""
10000
10001 # type: textblock
10002 #: ../src/guestfs-actions.pod:3501 ../fish/guestfish-actions.pod:2693
10003 msgid ""
10004 "This creates an empty partition table on C<device> of one of the partition "
10005 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
10006 "(for large disks)."
10007 msgstr ""
10008
10009 # type: textblock
10010 #: ../src/guestfs-actions.pod:3505
10011 msgid ""
10012 "Initially there are no partitions.  Following this, you should call "
10013 "C<guestfs_part_add> for each partition required."
10014 msgstr ""
10015
10016 # type: textblock
10017 #: ../src/guestfs-actions.pod:3508 ../fish/guestfish-actions.pod:2700
10018 msgid "Possible values for C<parttype> are:"
10019 msgstr ""
10020
10021 # type: =item
10022 #: ../src/guestfs-actions.pod:3512 ../fish/guestfish-actions.pod:2704
10023 msgid "B<efi> | B<gpt>"
10024 msgstr ""
10025
10026 # type: textblock
10027 #: ../src/guestfs-actions.pod:3514 ../fish/guestfish-actions.pod:2706
10028 msgid "Intel EFI / GPT partition table."
10029 msgstr ""
10030
10031 # type: textblock
10032 #: ../src/guestfs-actions.pod:3516 ../fish/guestfish-actions.pod:2708
10033 msgid ""
10034 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
10035 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
10036 "the C<mbr> format."
10037 msgstr ""
10038
10039 # type: =item
10040 #: ../src/guestfs-actions.pod:3520 ../fish/guestfish-actions.pod:2712
10041 msgid "B<mbr> | B<msdos>"
10042 msgstr ""
10043
10044 # type: textblock
10045 #: ../src/guestfs-actions.pod:3522 ../fish/guestfish-actions.pod:2714
10046 msgid ""
10047 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
10048 "Windows.  This partition type will B<only> work for device sizes up to 2 "
10049 "TB.  For large disks we recommend using C<gpt>."
10050 msgstr ""
10051
10052 # type: textblock
10053 #: ../src/guestfs-actions.pod:3529 ../fish/guestfish-actions.pod:2721
10054 msgid ""
10055 "Other partition table types that may work but are not supported include:"
10056 msgstr ""
10057
10058 # type: =item
10059 #: ../src/guestfs-actions.pod:3534 ../fish/guestfish-actions.pod:2726
10060 msgid "B<aix>"
10061 msgstr ""
10062
10063 # type: textblock
10064 #: ../src/guestfs-actions.pod:3536 ../fish/guestfish-actions.pod:2728
10065 msgid "AIX disk labels."
10066 msgstr ""
10067
10068 # type: =item
10069 #: ../src/guestfs-actions.pod:3538 ../fish/guestfish-actions.pod:2730
10070 msgid "B<amiga> | B<rdb>"
10071 msgstr ""
10072
10073 # type: textblock
10074 #: ../src/guestfs-actions.pod:3540 ../fish/guestfish-actions.pod:2732
10075 msgid "Amiga \"Rigid Disk Block\" format."
10076 msgstr ""
10077
10078 # type: =item
10079 #: ../src/guestfs-actions.pod:3542 ../fish/guestfish-actions.pod:2734
10080 msgid "B<bsd>"
10081 msgstr ""
10082
10083 # type: textblock
10084 #: ../src/guestfs-actions.pod:3544 ../fish/guestfish-actions.pod:2736
10085 msgid "BSD disk labels."
10086 msgstr ""
10087
10088 # type: =item
10089 #: ../src/guestfs-actions.pod:3546 ../fish/guestfish-actions.pod:2738
10090 msgid "B<dasd>"
10091 msgstr ""
10092
10093 # type: textblock
10094 #: ../src/guestfs-actions.pod:3548 ../fish/guestfish-actions.pod:2740
10095 msgid "DASD, used on IBM mainframes."
10096 msgstr ""
10097
10098 # type: =item
10099 #: ../src/guestfs-actions.pod:3550 ../fish/guestfish-actions.pod:2742
10100 msgid "B<dvh>"
10101 msgstr ""
10102
10103 # type: textblock
10104 #: ../src/guestfs-actions.pod:3552 ../fish/guestfish-actions.pod:2744
10105 msgid "MIPS/SGI volumes."
10106 msgstr ""
10107
10108 # type: =item
10109 #: ../src/guestfs-actions.pod:3554 ../fish/guestfish-actions.pod:2746
10110 msgid "B<mac>"
10111 msgstr ""
10112
10113 # type: textblock
10114 #: ../src/guestfs-actions.pod:3556 ../fish/guestfish-actions.pod:2748
10115 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
10116 msgstr ""
10117
10118 # type: =item
10119 #: ../src/guestfs-actions.pod:3558 ../fish/guestfish-actions.pod:2750
10120 msgid "B<pc98>"
10121 msgstr ""
10122
10123 # type: textblock
10124 #: ../src/guestfs-actions.pod:3560 ../fish/guestfish-actions.pod:2752
10125 msgid "NEC PC-98 format, common in Japan apparently."
10126 msgstr ""
10127
10128 # type: =item
10129 #: ../src/guestfs-actions.pod:3562 ../fish/guestfish-actions.pod:2754
10130 msgid "B<sun>"
10131 msgstr ""
10132
10133 # type: textblock
10134 #: ../src/guestfs-actions.pod:3564 ../fish/guestfish-actions.pod:2756
10135 msgid "Sun disk labels."
10136 msgstr ""
10137
10138 # type: =head2
10139 #: ../src/guestfs-actions.pod:3570
10140 msgid "guestfs_part_list"
10141 msgstr ""
10142
10143 # type: verbatim
10144 #: ../src/guestfs-actions.pod:3572
10145 #, no-wrap
10146 msgid ""
10147 " struct guestfs_partition_list *guestfs_part_list (guestfs_h *g,\n"
10148 "\t\tconst char *device);\n"
10149 "\n"
10150 msgstr ""
10151
10152 # type: textblock
10153 #: ../src/guestfs-actions.pod:3575 ../fish/guestfish-actions.pod:2764
10154 msgid ""
10155 "This command parses the partition table on C<device> and returns the list of "
10156 "partitions found."
10157 msgstr ""
10158
10159 # type: textblock
10160 #: ../src/guestfs-actions.pod:3578 ../fish/guestfish-actions.pod:2767
10161 msgid "The fields in the returned structure are:"
10162 msgstr ""
10163
10164 # type: =item
10165 #: ../src/guestfs-actions.pod:3582 ../fish/guestfish-actions.pod:2771
10166 msgid "B<part_num>"
10167 msgstr ""
10168
10169 # type: textblock
10170 #: ../src/guestfs-actions.pod:3584 ../fish/guestfish-actions.pod:2773
10171 msgid "Partition number, counting from 1."
10172 msgstr ""
10173
10174 # type: =item
10175 #: ../src/guestfs-actions.pod:3586 ../fish/guestfish-actions.pod:2775
10176 msgid "B<part_start>"
10177 msgstr ""
10178
10179 # type: textblock
10180 #: ../src/guestfs-actions.pod:3588
10181 msgid ""
10182 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
10183 "the device's sector size, see C<guestfs_blockdev_getss>."
10184 msgstr ""
10185
10186 # type: =item
10187 #: ../src/guestfs-actions.pod:3591 ../fish/guestfish-actions.pod:2780
10188 msgid "B<part_end>"
10189 msgstr ""
10190
10191 # type: textblock
10192 #: ../src/guestfs-actions.pod:3593 ../fish/guestfish-actions.pod:2782
10193 msgid "End of the partition in bytes."
10194 msgstr ""
10195
10196 # type: =item
10197 #: ../src/guestfs-actions.pod:3595 ../fish/guestfish-actions.pod:2784
10198 msgid "B<part_size>"
10199 msgstr ""
10200
10201 # type: textblock
10202 #: ../src/guestfs-actions.pod:3597 ../fish/guestfish-actions.pod:2786
10203 msgid "Size of the partition in bytes."
10204 msgstr ""
10205
10206 # type: textblock
10207 #: ../src/guestfs-actions.pod:3601
10208 msgid ""
10209 "This function returns a C<struct guestfs_partition_list *> (see E<lt>guestfs-"
10210 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10211 "C<guestfs_free_partition_list> after use>."
10212 msgstr ""
10213
10214 # type: =head2
10215 #: ../src/guestfs-actions.pod:3606
10216 msgid "guestfs_part_set_bootable"
10217 msgstr ""
10218
10219 # type: verbatim
10220 #: ../src/guestfs-actions.pod:3608
10221 #, no-wrap
10222 msgid ""
10223 " int guestfs_part_set_bootable (guestfs_h *g,\n"
10224 "\t\tconst char *device,\n"
10225 "\t\tint partnum,\n"
10226 "\t\tint bootable);\n"
10227 "\n"
10228 msgstr ""
10229
10230 # type: textblock
10231 #: ../src/guestfs-actions.pod:3613 ../fish/guestfish-actions.pod:2794
10232 msgid ""
10233 "This sets the bootable flag on partition numbered C<partnum> on device "
10234 "C<device>.  Note that partitions are numbered from 1."
10235 msgstr ""
10236
10237 # type: textblock
10238 #: ../src/guestfs-actions.pod:3616 ../fish/guestfish-actions.pod:2797
10239 msgid ""
10240 "The bootable flag is used by some operating systems (notably Windows) to "
10241 "determine which partition to boot from.  It is by no means universally "
10242 "recognized."
10243 msgstr ""
10244
10245 # type: =head2
10246 #: ../src/guestfs-actions.pod:3622
10247 msgid "guestfs_part_set_mbr_id"
10248 msgstr ""
10249
10250 # type: verbatim
10251 #: ../src/guestfs-actions.pod:3624
10252 #, no-wrap
10253 msgid ""
10254 " int guestfs_part_set_mbr_id (guestfs_h *g,\n"
10255 "\t\tconst char *device,\n"
10256 "\t\tint partnum,\n"
10257 "\t\tint idbyte);\n"
10258 "\n"
10259 msgstr ""
10260
10261 # type: textblock
10262 #: ../src/guestfs-actions.pod:3629 ../fish/guestfish-actions.pod:2805
10263 msgid ""
10264 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
10265 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
10266 "documentation are in fact hexadecimal numbers, but usually documented "
10267 "without any leading \"0x\" which might be confusing."
10268 msgstr ""
10269
10270 # type: =head2
10271 #: ../src/guestfs-actions.pod:3641
10272 msgid "guestfs_part_set_name"
10273 msgstr ""
10274
10275 # type: verbatim
10276 #: ../src/guestfs-actions.pod:3643
10277 #, no-wrap
10278 msgid ""
10279 " int guestfs_part_set_name (guestfs_h *g,\n"
10280 "\t\tconst char *device,\n"
10281 "\t\tint partnum,\n"
10282 "\t\tconst char *name);\n"
10283 "\n"
10284 msgstr ""
10285
10286 # type: textblock
10287 #: ../src/guestfs-actions.pod:3648 ../fish/guestfish-actions.pod:2819
10288 msgid ""
10289 "This sets the partition name on partition numbered C<partnum> on device "
10290 "C<device>.  Note that partitions are numbered from 1."
10291 msgstr ""
10292
10293 # type: textblock
10294 #: ../src/guestfs-actions.pod:3651 ../fish/guestfish-actions.pod:2822
10295 msgid ""
10296 "The partition name can only be set on certain types of partition table.  "
10297 "This works on C<gpt> but not on C<mbr> partitions."
10298 msgstr ""
10299
10300 # type: =head2
10301 #: ../src/guestfs-actions.pod:3656
10302 msgid "guestfs_ping_daemon"
10303 msgstr ""
10304
10305 # type: verbatim
10306 #: ../src/guestfs-actions.pod:3658
10307 #, no-wrap
10308 msgid ""
10309 " int guestfs_ping_daemon (guestfs_h *g);\n"
10310 "\n"
10311 msgstr ""
10312
10313 # type: textblock
10314 #: ../src/guestfs-actions.pod:3660 ../fish/guestfish-actions.pod:2829
10315 msgid ""
10316 "This is a test probe into the guestfs daemon running inside the qemu "
10317 "subprocess.  Calling this function checks that the daemon responds to the "
10318 "ping message, without affecting the daemon or attached block device(s) in "
10319 "any other way."
10320 msgstr ""
10321
10322 # type: =head2
10323 #: ../src/guestfs-actions.pod:3667
10324 msgid "guestfs_pread"
10325 msgstr ""
10326
10327 # type: verbatim
10328 #: ../src/guestfs-actions.pod:3669
10329 #, no-wrap
10330 msgid ""
10331 " char *guestfs_pread (guestfs_h *g,\n"
10332 "\t\tconst char *path,\n"
10333 "\t\tint count,\n"
10334 "\t\tint64_t offset,\n"
10335 "\t\tsize_t *size_r);\n"
10336 "\n"
10337 msgstr ""
10338
10339 # type: textblock
10340 #: ../src/guestfs-actions.pod:3675 ../fish/guestfish-actions.pod:2838
10341 msgid ""
10342 "This command lets you read part of a file.  It reads C<count> bytes of the "
10343 "file, starting at C<offset>, from file C<path>."
10344 msgstr ""
10345
10346 # type: textblock
10347 #: ../src/guestfs-actions.pod:3678 ../fish/guestfish-actions.pod:2841
10348 msgid ""
10349 "This may read fewer bytes than requested.  For further details see the "
10350 "L<pread(2)> system call."
10351 msgstr ""
10352
10353 # type: textblock
10354 #: ../src/guestfs-actions.pod:3681
10355 msgid "See also C<guestfs_pwrite>."
10356 msgstr ""
10357
10358 # type: =head2
10359 #: ../src/guestfs-actions.pod:3690
10360 msgid "guestfs_pvcreate"
10361 msgstr ""
10362
10363 # type: verbatim
10364 #: ../src/guestfs-actions.pod:3692
10365 #, no-wrap
10366 msgid ""
10367 " int guestfs_pvcreate (guestfs_h *g,\n"
10368 "\t\tconst char *device);\n"
10369 "\n"
10370 msgstr ""
10371
10372 # type: textblock
10373 #: ../src/guestfs-actions.pod:3695 ../fish/guestfish-actions.pod:2853
10374 msgid ""
10375 "This creates an LVM physical volume on the named C<device>, where C<device> "
10376 "should usually be a partition name such as C</dev/sda1>."
10377 msgstr ""
10378
10379 # type: =head2
10380 #: ../src/guestfs-actions.pod:3701
10381 msgid "guestfs_pvremove"
10382 msgstr ""
10383
10384 # type: verbatim
10385 #: ../src/guestfs-actions.pod:3703
10386 #, no-wrap
10387 msgid ""
10388 " int guestfs_pvremove (guestfs_h *g,\n"
10389 "\t\tconst char *device);\n"
10390 "\n"
10391 msgstr ""
10392
10393 # type: textblock
10394 #: ../src/guestfs-actions.pod:3706 ../fish/guestfish-actions.pod:2861
10395 msgid ""
10396 "This wipes a physical volume C<device> so that LVM will no longer recognise "
10397 "it."
10398 msgstr ""
10399
10400 # type: textblock
10401 #: ../src/guestfs-actions.pod:3709 ../fish/guestfish-actions.pod:2864
10402 msgid ""
10403 "The implementation uses the C<pvremove> command which refuses to wipe "
10404 "physical volumes that contain any volume groups, so you have to remove those "
10405 "first."
10406 msgstr ""
10407
10408 # type: =head2
10409 #: ../src/guestfs-actions.pod:3715
10410 msgid "guestfs_pvresize"
10411 msgstr ""
10412
10413 # type: verbatim
10414 #: ../src/guestfs-actions.pod:3717
10415 #, no-wrap
10416 msgid ""
10417 " int guestfs_pvresize (guestfs_h *g,\n"
10418 "\t\tconst char *device);\n"
10419 "\n"
10420 msgstr ""
10421
10422 # type: textblock
10423 #: ../src/guestfs-actions.pod:3720 ../fish/guestfish-actions.pod:2872
10424 msgid ""
10425 "This resizes (expands or shrinks) an existing LVM physical volume to match "
10426 "the new size of the underlying device."
10427 msgstr ""
10428
10429 # type: =head2
10430 #: ../src/guestfs-actions.pod:3725
10431 msgid "guestfs_pvresize_size"
10432 msgstr ""
10433
10434 # type: verbatim
10435 #: ../src/guestfs-actions.pod:3727
10436 #, no-wrap
10437 msgid ""
10438 " int guestfs_pvresize_size (guestfs_h *g,\n"
10439 "\t\tconst char *device,\n"
10440 "\t\tint64_t size);\n"
10441 "\n"
10442 msgstr ""
10443
10444 # type: textblock
10445 #: ../src/guestfs-actions.pod:3731
10446 msgid ""
10447 "This command is the same as C<guestfs_pvresize> except that it allows you to "
10448 "specify the new size (in bytes) explicitly."
10449 msgstr ""
10450
10451 # type: =head2
10452 #: ../src/guestfs-actions.pod:3736
10453 msgid "guestfs_pvs"
10454 msgstr ""
10455
10456 # type: verbatim
10457 #: ../src/guestfs-actions.pod:3738
10458 #, no-wrap
10459 msgid ""
10460 " char **guestfs_pvs (guestfs_h *g);\n"
10461 "\n"
10462 msgstr ""
10463
10464 # type: textblock
10465 #: ../src/guestfs-actions.pod:3740 ../fish/guestfish-actions.pod:2886
10466 msgid ""
10467 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10468 "(8)> command."
10469 msgstr ""
10470
10471 # type: textblock
10472 #: ../src/guestfs-actions.pod:3743 ../fish/guestfish-actions.pod:2889
10473 msgid ""
10474 "This returns a list of just the device names that contain PVs (eg. C</dev/"
10475 "sda2>)."
10476 msgstr ""
10477
10478 # type: textblock
10479 #: ../src/guestfs-actions.pod:3746
10480 msgid "See also C<guestfs_pvs_full>."
10481 msgstr ""
10482
10483 # type: =head2
10484 #: ../src/guestfs-actions.pod:3752
10485 msgid "guestfs_pvs_full"
10486 msgstr ""
10487
10488 # type: verbatim
10489 #: ../src/guestfs-actions.pod:3754
10490 #, no-wrap
10491 msgid ""
10492 " struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *g);\n"
10493 "\n"
10494 msgstr ""
10495
10496 # type: textblock
10497 #: ../src/guestfs-actions.pod:3756 ../fish/guestfish-actions.pod:2898
10498 msgid ""
10499 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10500 "(8)> command.  The \"full\" version includes all fields."
10501 msgstr ""
10502
10503 # type: textblock
10504 #: ../src/guestfs-actions.pod:3759
10505 msgid ""
10506 "This function returns a C<struct guestfs_lvm_pv_list *> (see E<lt>guestfs-"
10507 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10508 "C<guestfs_free_lvm_pv_list> after use>."
10509 msgstr ""
10510
10511 # type: =head2
10512 #: ../src/guestfs-actions.pod:3764
10513 msgid "guestfs_pvuuid"
10514 msgstr ""
10515
10516 # type: verbatim
10517 #: ../src/guestfs-actions.pod:3766
10518 #, no-wrap
10519 msgid ""
10520 " char *guestfs_pvuuid (guestfs_h *g,\n"
10521 "\t\tconst char *device);\n"
10522 "\n"
10523 msgstr ""
10524
10525 # type: textblock
10526 #: ../src/guestfs-actions.pod:3769 ../fish/guestfish-actions.pod:2905
10527 msgid "This command returns the UUID of the LVM PV C<device>."
10528 msgstr ""
10529
10530 # type: =head2
10531 #: ../src/guestfs-actions.pod:3774
10532 msgid "guestfs_pwrite"
10533 msgstr ""
10534
10535 # type: verbatim
10536 #: ../src/guestfs-actions.pod:3776
10537 #, no-wrap
10538 msgid ""
10539 " int guestfs_pwrite (guestfs_h *g,\n"
10540 "\t\tconst char *path,\n"
10541 "\t\tconst char *content,\n"
10542 "\t\tsize_t content_size,\n"
10543 "\t\tint64_t offset);\n"
10544 "\n"
10545 msgstr ""
10546
10547 # type: textblock
10548 #: ../src/guestfs-actions.pod:3782 ../fish/guestfish-actions.pod:2911
10549 msgid ""
10550 "This command writes to part of a file.  It writes the data buffer C<content> "
10551 "to the file C<path> starting at offset C<offset>."
10552 msgstr ""
10553
10554 # type: textblock
10555 #: ../src/guestfs-actions.pod:3785 ../fish/guestfish-actions.pod:2914
10556 msgid ""
10557 "This command implements the L<pwrite(2)> system call, and like that system "
10558 "call it may not write the full data requested.  The return value is the "
10559 "number of bytes that were actually written to the file.  This could even be "
10560 "0, although short writes are unlikely for regular files in ordinary "
10561 "circumstances."
10562 msgstr ""
10563
10564 # type: textblock
10565 #: ../src/guestfs-actions.pod:3791
10566 msgid "See also C<guestfs_pread>."
10567 msgstr ""
10568
10569 # type: =head2
10570 #: ../src/guestfs-actions.pod:3798
10571 msgid "guestfs_read_file"
10572 msgstr ""
10573
10574 # type: verbatim
10575 #: ../src/guestfs-actions.pod:3800
10576 #, no-wrap
10577 msgid ""
10578 " char *guestfs_read_file (guestfs_h *g,\n"
10579 "\t\tconst char *path,\n"
10580 "\t\tsize_t *size_r);\n"
10581 "\n"
10582 msgstr ""
10583
10584 # type: textblock
10585 #: ../src/guestfs-actions.pod:3804 ../fish/guestfish-actions.pod:2929
10586 msgid "This calls returns the contents of the file C<path> as a buffer."
10587 msgstr ""
10588
10589 # type: textblock
10590 #: ../src/guestfs-actions.pod:3807
10591 msgid ""
10592 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
10593 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
10594 "function is limited in the total size of file that can be handled."
10595 msgstr ""
10596
10597 # type: =head2
10598 #: ../src/guestfs-actions.pod:3819
10599 msgid "guestfs_read_lines"
10600 msgstr ""
10601
10602 # type: verbatim
10603 #: ../src/guestfs-actions.pod:3821
10604 #, no-wrap
10605 msgid ""
10606 " char **guestfs_read_lines (guestfs_h *g,\n"
10607 "\t\tconst char *path);\n"
10608 "\n"
10609 msgstr ""
10610
10611 # type: textblock
10612 #: ../src/guestfs-actions.pod:3826 ../fish/guestfish-actions.pod:2946
10613 msgid ""
10614 "The file contents are returned as a list of lines.  Trailing C<LF> and "
10615 "C<CRLF> character sequences are I<not> returned."
10616 msgstr ""
10617
10618 # type: textblock
10619 #: ../src/guestfs-actions.pod:3829
10620 msgid ""
10621 "Note that this function cannot correctly handle binary files (specifically, "
10622 "files containing C<\\0> character which is treated as end of line).  For "
10623 "those you need to use the C<guestfs_read_file> function which has a more "
10624 "complex interface."
10625 msgstr ""
10626
10627 # type: =head2
10628 #: ../src/guestfs-actions.pod:3838
10629 msgid "guestfs_readdir"
10630 msgstr ""
10631
10632 # type: verbatim
10633 #: ../src/guestfs-actions.pod:3840
10634 #, no-wrap
10635 msgid ""
10636 " struct guestfs_dirent_list *guestfs_readdir (guestfs_h *g,\n"
10637 "\t\tconst char *dir);\n"
10638 "\n"
10639 msgstr ""
10640
10641 # type: textblock
10642 #: ../src/guestfs-actions.pod:3843 ../fish/guestfish-actions.pod:2958
10643 msgid "This returns the list of directory entries in directory C<dir>."
10644 msgstr ""
10645
10646 # type: textblock
10647 #: ../src/guestfs-actions.pod:3845 ../fish/guestfish-actions.pod:2960
10648 msgid ""
10649 "All entries in the directory are returned, including C<.> and C<..>.  The "
10650 "entries are I<not> sorted, but returned in the same order as the underlying "
10651 "filesystem."
10652 msgstr ""
10653
10654 # type: textblock
10655 #: ../src/guestfs-actions.pod:3849 ../fish/guestfish-actions.pod:2964
10656 msgid ""
10657 "Also this call returns basic file type information about each file.  The "
10658 "C<ftyp> field will contain one of the following characters:"
10659 msgstr ""
10660
10661 # type: =item
10662 #: ../src/guestfs-actions.pod:3854 ../fish/guestfish-actions.pod:2969
10663 msgid "'b'"
10664 msgstr ""
10665
10666 # type: textblock
10667 #: ../src/guestfs-actions.pod:3856 ../fish/guestfish-actions.pod:2971
10668 msgid "Block special"
10669 msgstr ""
10670
10671 # type: =item
10672 #: ../src/guestfs-actions.pod:3858 ../fish/guestfish-actions.pod:2973
10673 msgid "'c'"
10674 msgstr ""
10675
10676 # type: textblock
10677 #: ../src/guestfs-actions.pod:3860 ../fish/guestfish-actions.pod:2975
10678 msgid "Char special"
10679 msgstr ""
10680
10681 # type: =item
10682 #: ../src/guestfs-actions.pod:3862 ../fish/guestfish-actions.pod:2977
10683 msgid "'d'"
10684 msgstr ""
10685
10686 # type: textblock
10687 #: ../src/guestfs-actions.pod:3864 ../fish/guestfish-actions.pod:2979
10688 msgid "Directory"
10689 msgstr ""
10690
10691 # type: =item
10692 #: ../src/guestfs-actions.pod:3866 ../fish/guestfish-actions.pod:2981
10693 msgid "'f'"
10694 msgstr ""
10695
10696 # type: textblock
10697 #: ../src/guestfs-actions.pod:3868 ../fish/guestfish-actions.pod:2983
10698 msgid "FIFO (named pipe)"
10699 msgstr ""
10700
10701 # type: =item
10702 #: ../src/guestfs-actions.pod:3870 ../fish/guestfish-actions.pod:2985
10703 msgid "'l'"
10704 msgstr ""
10705
10706 # type: textblock
10707 #: ../src/guestfs-actions.pod:3872 ../fish/guestfish-actions.pod:2987
10708 msgid "Symbolic link"
10709 msgstr ""
10710
10711 # type: =item
10712 #: ../src/guestfs-actions.pod:3874 ../fish/guestfish-actions.pod:2989
10713 msgid "'r'"
10714 msgstr ""
10715
10716 # type: textblock
10717 #: ../src/guestfs-actions.pod:3876 ../fish/guestfish-actions.pod:2991
10718 msgid "Regular file"
10719 msgstr ""
10720
10721 # type: =item
10722 #: ../src/guestfs-actions.pod:3878 ../fish/guestfish-actions.pod:2993
10723 msgid "'s'"
10724 msgstr ""
10725
10726 # type: textblock
10727 #: ../src/guestfs-actions.pod:3880 ../fish/guestfish-actions.pod:2995
10728 msgid "Socket"
10729 msgstr ""
10730
10731 # type: =item
10732 #: ../src/guestfs-actions.pod:3882 ../fish/guestfish-actions.pod:2997
10733 msgid "'u'"
10734 msgstr ""
10735
10736 # type: textblock
10737 #: ../src/guestfs-actions.pod:3884 ../fish/guestfish-actions.pod:2999
10738 msgid "Unknown file type"
10739 msgstr ""
10740
10741 # type: =item
10742 #: ../src/guestfs-actions.pod:3886 ../fish/guestfish-actions.pod:3001
10743 msgid "'?'"
10744 msgstr ""
10745
10746 # type: textblock
10747 #: ../src/guestfs-actions.pod:3888 ../fish/guestfish-actions.pod:3003
10748 msgid ""
10749 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
10750 msgstr ""
10751
10752 # type: textblock
10753 #: ../src/guestfs-actions.pod:3893
10754 msgid ""
10755 "This function is primarily intended for use by programs.  To get a simple "
10756 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
10757 "consumption, use C<guestfs_ll>."
10758 msgstr ""
10759
10760 # type: textblock
10761 #: ../src/guestfs-actions.pod:3897
10762 msgid ""
10763 "This function returns a C<struct guestfs_dirent_list *> (see E<lt>guestfs-"
10764 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10765 "C<guestfs_free_dirent_list> after use>."
10766 msgstr ""
10767
10768 # type: =head2
10769 #: ../src/guestfs-actions.pod:3902
10770 msgid "guestfs_readlink"
10771 msgstr ""
10772
10773 # type: verbatim
10774 #: ../src/guestfs-actions.pod:3904
10775 #, no-wrap
10776 msgid ""
10777 " char *guestfs_readlink (guestfs_h *g,\n"
10778 "\t\tconst char *path);\n"
10779 "\n"
10780 msgstr ""
10781
10782 # type: textblock
10783 #: ../src/guestfs-actions.pod:3907 ../fish/guestfish-actions.pod:3016
10784 msgid "This command reads the target of a symbolic link."
10785 msgstr ""
10786
10787 # type: =head2
10788 #: ../src/guestfs-actions.pod:3912
10789 msgid "guestfs_readlinklist"
10790 msgstr ""
10791
10792 # type: verbatim
10793 #: ../src/guestfs-actions.pod:3914
10794 #, no-wrap
10795 msgid ""
10796 " char **guestfs_readlinklist (guestfs_h *g,\n"
10797 "\t\tconst char *path,\n"
10798 "\t\tchar *const *names);\n"
10799 "\n"
10800 msgstr ""
10801
10802 # type: textblock
10803 #: ../src/guestfs-actions.pod:3918 ../fish/guestfish-actions.pod:3022
10804 msgid ""
10805 "This call allows you to do a C<readlink> operation on multiple files, where "
10806 "all files are in the directory C<path>.  C<names> is the list of files from "
10807 "this directory."
10808 msgstr ""
10809
10810 # type: textblock
10811 #: ../src/guestfs-actions.pod:3922 ../fish/guestfish-actions.pod:3026
10812 msgid ""
10813 "On return you get a list of strings, with a one-to-one correspondence to the "
10814 "C<names> list.  Each string is the value of the symbolic link."
10815 msgstr ""
10816
10817 # type: textblock
10818 #: ../src/guestfs-actions.pod:3926 ../fish/guestfish-actions.pod:3030
10819 msgid ""
10820 "If the C<readlink(2)> operation fails on any name, then the corresponding "
10821 "result string is the empty string C<\"\">.  However the whole operation is "
10822 "completed even if there were C<readlink(2)> errors, and so you can call this "
10823 "function with names where you don't know if they are symbolic links already "
10824 "(albeit slightly less efficient)."
10825 msgstr ""
10826
10827 # type: textblock
10828 #: ../src/guestfs-actions.pod:3933 ../fish/guestfish-actions.pod:3037
10829 msgid ""
10830 "This call is intended for programs that want to efficiently list a directory "
10831 "contents without making many round-trips.  Very long directory listings "
10832 "might cause the protocol message size to be exceeded, causing this call to "
10833 "fail.  The caller must split up such requests into smaller groups of names."
10834 msgstr ""
10835
10836 # type: =head2
10837 #: ../src/guestfs-actions.pod:3944
10838 msgid "guestfs_realpath"
10839 msgstr ""
10840
10841 # type: verbatim
10842 #: ../src/guestfs-actions.pod:3946
10843 #, no-wrap
10844 msgid ""
10845 " char *guestfs_realpath (guestfs_h *g,\n"
10846 "\t\tconst char *path);\n"
10847 "\n"
10848 msgstr ""
10849
10850 # type: textblock
10851 #: ../src/guestfs-actions.pod:3949 ../fish/guestfish-actions.pod:3048
10852 msgid ""
10853 "Return the canonicalized absolute pathname of C<path>.  The returned path "
10854 "has no C<.>, C<..> or symbolic link path elements."
10855 msgstr ""
10856
10857 # type: =head2
10858 #: ../src/guestfs-actions.pod:3955
10859 msgid "guestfs_removexattr"
10860 msgstr ""
10861
10862 # type: verbatim
10863 #: ../src/guestfs-actions.pod:3957
10864 #, no-wrap
10865 msgid ""
10866 " int guestfs_removexattr (guestfs_h *g,\n"
10867 "\t\tconst char *xattr,\n"
10868 "\t\tconst char *path);\n"
10869 "\n"
10870 msgstr ""
10871
10872 # type: textblock
10873 #: ../src/guestfs-actions.pod:3961 ../fish/guestfish-actions.pod:3055
10874 msgid ""
10875 "This call removes the extended attribute named C<xattr> of the file C<path>."
10876 msgstr ""
10877
10878 # type: textblock
10879 #: ../src/guestfs-actions.pod:3964
10880 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
10881 msgstr ""
10882
10883 # type: =head2
10884 #: ../src/guestfs-actions.pod:3968
10885 msgid "guestfs_resize2fs"
10886 msgstr ""
10887
10888 # type: verbatim
10889 #: ../src/guestfs-actions.pod:3970
10890 #, no-wrap
10891 msgid ""
10892 " int guestfs_resize2fs (guestfs_h *g,\n"
10893 "\t\tconst char *device);\n"
10894 "\n"
10895 msgstr ""
10896
10897 # type: textblock
10898 #: ../src/guestfs-actions.pod:3973 ../fish/guestfish-actions.pod:3064
10899 msgid ""
10900 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
10901 "underlying device."
10902 msgstr ""
10903
10904 # type: textblock
10905 #: ../src/guestfs-actions.pod:3976
10906 msgid ""
10907 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
10908 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
10909 "sometimes gives an error about this and sometimes not.  In any case, it is "
10910 "always safe to call C<guestfs_e2fsck_f> before calling this function."
10911 msgstr ""
10912
10913 # type: =head2
10914 #: ../src/guestfs-actions.pod:3984
10915 msgid "guestfs_resize2fs_size"
10916 msgstr ""
10917
10918 # type: verbatim
10919 #: ../src/guestfs-actions.pod:3986
10920 #, no-wrap
10921 msgid ""
10922 " int guestfs_resize2fs_size (guestfs_h *g,\n"
10923 "\t\tconst char *device,\n"
10924 "\t\tint64_t size);\n"
10925 "\n"
10926 msgstr ""
10927
10928 # type: textblock
10929 #: ../src/guestfs-actions.pod:3990
10930 msgid ""
10931 "This command is the same as C<guestfs_resize2fs> except that it allows you "
10932 "to specify the new size (in bytes) explicitly."
10933 msgstr ""
10934
10935 # type: =head2
10936 #: ../src/guestfs-actions.pod:3995
10937 msgid "guestfs_rm"
10938 msgstr ""
10939
10940 # type: verbatim
10941 #: ../src/guestfs-actions.pod:3997
10942 #, no-wrap
10943 msgid ""
10944 " int guestfs_rm (guestfs_h *g,\n"
10945 "\t\tconst char *path);\n"
10946 "\n"
10947 msgstr ""
10948
10949 # type: textblock
10950 #: ../src/guestfs-actions.pod:4000 ../fish/guestfish-actions.pod:3084
10951 msgid "Remove the single file C<path>."
10952 msgstr ""
10953
10954 # type: =head2
10955 #: ../src/guestfs-actions.pod:4004
10956 msgid "guestfs_rm_rf"
10957 msgstr ""
10958
10959 # type: verbatim
10960 #: ../src/guestfs-actions.pod:4006
10961 #, no-wrap
10962 msgid ""
10963 " int guestfs_rm_rf (guestfs_h *g,\n"
10964 "\t\tconst char *path);\n"
10965 "\n"
10966 msgstr ""
10967
10968 # type: textblock
10969 #: ../src/guestfs-actions.pod:4009 ../fish/guestfish-actions.pod:3090
10970 msgid ""
10971 "Remove the file or directory C<path>, recursively removing the contents if "
10972 "its a directory.  This is like the C<rm -rf> shell command."
10973 msgstr ""
10974
10975 # type: =head2
10976 #: ../src/guestfs-actions.pod:4015
10977 msgid "guestfs_rmdir"
10978 msgstr ""
10979
10980 # type: verbatim
10981 #: ../src/guestfs-actions.pod:4017
10982 #, no-wrap
10983 msgid ""
10984 " int guestfs_rmdir (guestfs_h *g,\n"
10985 "\t\tconst char *path);\n"
10986 "\n"
10987 msgstr ""
10988
10989 # type: textblock
10990 #: ../src/guestfs-actions.pod:4020 ../fish/guestfish-actions.pod:3098
10991 msgid "Remove the single directory C<path>."
10992 msgstr ""
10993
10994 # type: =head2
10995 #: ../src/guestfs-actions.pod:4024
10996 msgid "guestfs_rmmountpoint"
10997 msgstr ""
10998
10999 # type: verbatim
11000 #: ../src/guestfs-actions.pod:4026
11001 #, no-wrap
11002 msgid ""
11003 " int guestfs_rmmountpoint (guestfs_h *g,\n"
11004 "\t\tconst char *exemptpath);\n"
11005 "\n"
11006 msgstr ""
11007
11008 # type: textblock
11009 #: ../src/guestfs-actions.pod:4029
11010 msgid ""
11011 "This calls removes a mountpoint that was previously created with "
11012 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
11013 msgstr ""
11014
11015 # type: =head2
11016 #: ../src/guestfs-actions.pod:4035
11017 msgid "guestfs_scrub_device"
11018 msgstr ""
11019
11020 # type: verbatim
11021 #: ../src/guestfs-actions.pod:4037
11022 #, no-wrap
11023 msgid ""
11024 " int guestfs_scrub_device (guestfs_h *g,\n"
11025 "\t\tconst char *device);\n"
11026 "\n"
11027 msgstr ""
11028
11029 # type: textblock
11030 #: ../src/guestfs-actions.pod:4040 ../fish/guestfish-actions.pod:3112
11031 msgid ""
11032 "This command writes patterns over C<device> to make data retrieval more "
11033 "difficult."
11034 msgstr ""
11035
11036 # type: textblock
11037 #: ../src/guestfs-actions.pod:4043 ../src/guestfs-actions.pod:4061
11038 #: ../src/guestfs-actions.pod:4077 ../fish/guestfish-actions.pod:3115
11039 #: ../fish/guestfish-actions.pod:3130 ../fish/guestfish-actions.pod:3143
11040 msgid ""
11041 "It is an interface to the L<scrub(1)> program.  See that manual page for "
11042 "more details."
11043 msgstr ""
11044
11045 # type: =head2
11046 #: ../src/guestfs-actions.pod:4051
11047 msgid "guestfs_scrub_file"
11048 msgstr ""
11049
11050 # type: verbatim
11051 #: ../src/guestfs-actions.pod:4053
11052 #, no-wrap
11053 msgid ""
11054 " int guestfs_scrub_file (guestfs_h *g,\n"
11055 "\t\tconst char *file);\n"
11056 "\n"
11057 msgstr ""
11058
11059 # type: textblock
11060 #: ../src/guestfs-actions.pod:4056 ../fish/guestfish-actions.pod:3125
11061 msgid ""
11062 "This command writes patterns over a file to make data retrieval more "
11063 "difficult."
11064 msgstr ""
11065
11066 # type: textblock
11067 #: ../src/guestfs-actions.pod:4059 ../fish/guestfish-actions.pod:3128
11068 msgid "The file is I<removed> after scrubbing."
11069 msgstr ""
11070
11071 # type: =head2
11072 #: ../src/guestfs-actions.pod:4066
11073 msgid "guestfs_scrub_freespace"
11074 msgstr ""
11075
11076 # type: verbatim
11077 #: ../src/guestfs-actions.pod:4068
11078 #, no-wrap
11079 msgid ""
11080 " int guestfs_scrub_freespace (guestfs_h *g,\n"
11081 "\t\tconst char *dir);\n"
11082 "\n"
11083 msgstr ""
11084
11085 # type: textblock
11086 #: ../src/guestfs-actions.pod:4071
11087 msgid ""
11088 "This command creates the directory C<dir> and then fills it with files until "
11089 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
11090 "and deletes them.  The intention is to scrub any free space on the partition "
11091 "containing C<dir>."
11092 msgstr ""
11093
11094 # type: =head2
11095 #: ../src/guestfs-actions.pod:4082
11096 msgid "guestfs_set_append"
11097 msgstr ""
11098
11099 # type: verbatim
11100 #: ../src/guestfs-actions.pod:4084
11101 #, no-wrap
11102 msgid ""
11103 " int guestfs_set_append (guestfs_h *g,\n"
11104 "\t\tconst char *append);\n"
11105 "\n"
11106 msgstr ""
11107
11108 # type: textblock
11109 #: ../src/guestfs-actions.pod:4087 ../fish/guestfish-actions.pod:3150
11110 msgid ""
11111 "This function is used to add additional options to the guest kernel command "
11112 "line."
11113 msgstr ""
11114
11115 # type: textblock
11116 #: ../src/guestfs-actions.pod:4090 ../fish/guestfish-actions.pod:3153
11117 msgid ""
11118 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
11119 "environment variable."
11120 msgstr ""
11121
11122 # type: textblock
11123 #: ../src/guestfs-actions.pod:4093 ../fish/guestfish-actions.pod:3156
11124 msgid ""
11125 "Setting C<append> to C<NULL> means I<no> additional options are passed "
11126 "(libguestfs always adds a few of its own)."
11127 msgstr ""
11128
11129 # type: =head2
11130 #: ../src/guestfs-actions.pod:4098
11131 msgid "guestfs_set_autosync"
11132 msgstr ""
11133
11134 # type: verbatim
11135 #: ../src/guestfs-actions.pod:4100
11136 #, no-wrap
11137 msgid ""
11138 " int guestfs_set_autosync (guestfs_h *g,\n"
11139 "\t\tint autosync);\n"
11140 "\n"
11141 msgstr ""
11142
11143 # type: textblock
11144 #: ../src/guestfs-actions.pod:4103
11145 msgid ""
11146 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
11147 "effort attempt to run C<guestfs_umount_all> followed by C<guestfs_sync> when "
11148 "the handle is closed (also if the program exits without closing handles)."
11149 msgstr ""
11150
11151 # type: textblock
11152 #: ../src/guestfs-actions.pod:4108 ../fish/guestfish-actions.pod:3168
11153 msgid ""
11154 "This is disabled by default (except in guestfish where it is enabled by "
11155 "default)."
11156 msgstr ""
11157
11158 # type: =head2
11159 #: ../src/guestfs-actions.pod:4113
11160 msgid "guestfs_set_direct"
11161 msgstr ""
11162
11163 # type: verbatim
11164 #: ../src/guestfs-actions.pod:4115
11165 #, no-wrap
11166 msgid ""
11167 " int guestfs_set_direct (guestfs_h *g,\n"
11168 "\t\tint direct);\n"
11169 "\n"
11170 msgstr ""
11171
11172 # type: textblock
11173 #: ../src/guestfs-actions.pod:4118 ../fish/guestfish-actions.pod:3175
11174 msgid ""
11175 "If the direct appliance mode flag is enabled, then stdin and stdout are "
11176 "passed directly through to the appliance once it is launched."
11177 msgstr ""
11178
11179 # type: textblock
11180 #: ../src/guestfs-actions.pod:4122
11181 msgid ""
11182 "One consequence of this is that log messages aren't caught by the library "
11183 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
11184 "stdout."
11185 msgstr ""
11186
11187 # type: textblock
11188 #: ../src/guestfs-actions.pod:4126 ../fish/guestfish-actions.pod:3183
11189 msgid "You probably don't want to use this unless you know what you are doing."
11190 msgstr ""
11191
11192 # type: textblock
11193 #: ../src/guestfs-actions.pod:4129 ../fish/guestfish-actions.pod:3186
11194 msgid "The default is disabled."
11195 msgstr ""
11196
11197 # type: =head2
11198 #: ../src/guestfs-actions.pod:4133
11199 msgid "guestfs_set_e2label"
11200 msgstr ""
11201
11202 # type: verbatim
11203 #: ../src/guestfs-actions.pod:4135
11204 #, no-wrap
11205 msgid ""
11206 " int guestfs_set_e2label (guestfs_h *g,\n"
11207 "\t\tconst char *device,\n"
11208 "\t\tconst char *label);\n"
11209 "\n"
11210 msgstr ""
11211
11212 # type: textblock
11213 #: ../src/guestfs-actions.pod:4139 ../fish/guestfish-actions.pod:3192
11214 msgid ""
11215 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
11216 "C<label>.  Filesystem labels are limited to 16 characters."
11217 msgstr ""
11218
11219 # type: textblock
11220 #: ../src/guestfs-actions.pod:4143
11221 msgid ""
11222 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
11223 "the existing label on a filesystem."
11224 msgstr ""
11225
11226 # type: =head2
11227 #: ../src/guestfs-actions.pod:4148
11228 msgid "guestfs_set_e2uuid"
11229 msgstr ""
11230
11231 # type: verbatim
11232 #: ../src/guestfs-actions.pod:4150
11233 #, no-wrap
11234 msgid ""
11235 " int guestfs_set_e2uuid (guestfs_h *g,\n"
11236 "\t\tconst char *device,\n"
11237 "\t\tconst char *uuid);\n"
11238 "\n"
11239 msgstr ""
11240
11241 # type: textblock
11242 #: ../src/guestfs-actions.pod:4154 ../fish/guestfish-actions.pod:3203
11243 msgid ""
11244 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
11245 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
11246 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
11247 msgstr ""
11248
11249 # type: textblock
11250 #: ../src/guestfs-actions.pod:4159
11251 msgid ""
11252 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
11253 "the existing UUID of a filesystem."
11254 msgstr ""
11255
11256 # type: =head2
11257 #: ../src/guestfs-actions.pod:4164
11258 msgid "guestfs_set_memsize"
11259 msgstr ""
11260
11261 # type: verbatim
11262 #: ../src/guestfs-actions.pod:4166
11263 #, no-wrap
11264 msgid ""
11265 " int guestfs_set_memsize (guestfs_h *g,\n"
11266 "\t\tint memsize);\n"
11267 "\n"
11268 msgstr ""
11269
11270 # type: textblock
11271 #: ../src/guestfs-actions.pod:4169
11272 msgid ""
11273 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
11274 "This only has any effect if called before C<guestfs_launch>."
11275 msgstr ""
11276
11277 # type: textblock
11278 #: ../src/guestfs-actions.pod:4173 ../fish/guestfish-actions.pod:3219
11279 msgid ""
11280 "You can also change this by setting the environment variable "
11281 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
11282 msgstr ""
11283
11284 # type: =head2
11285 #: ../src/guestfs-actions.pod:4182
11286 msgid "guestfs_set_network"
11287 msgstr ""
11288
11289 # type: verbatim
11290 #: ../src/guestfs-actions.pod:4184
11291 #, no-wrap
11292 msgid ""
11293 " int guestfs_set_network (guestfs_h *g,\n"
11294 "\t\tint network);\n"
11295 "\n"
11296 msgstr ""
11297
11298 # type: textblock
11299 #: ../src/guestfs-actions.pod:4187 ../fish/guestfish-actions.pod:3230
11300 msgid ""
11301 "If C<network> is true, then the network is enabled in the libguestfs "
11302 "appliance.  The default is false."
11303 msgstr ""
11304
11305 # type: textblock
11306 #: ../src/guestfs-actions.pod:4190 ../fish/guestfish-actions.pod:3233
11307 msgid ""
11308 "This affects whether commands are able to access the network (see L<guestfs"
11309 "(3)/RUNNING COMMANDS>)."
11310 msgstr ""
11311
11312 # type: textblock
11313 #: ../src/guestfs-actions.pod:4193
11314 msgid ""
11315 "You must call this before calling C<guestfs_launch>, otherwise it has no "
11316 "effect."
11317 msgstr ""
11318
11319 # type: =head2
11320 #: ../src/guestfs-actions.pod:4198
11321 msgid "guestfs_set_path"
11322 msgstr ""
11323
11324 # type: verbatim
11325 #: ../src/guestfs-actions.pod:4200
11326 #, no-wrap
11327 msgid ""
11328 " int guestfs_set_path (guestfs_h *g,\n"
11329 "\t\tconst char *searchpath);\n"
11330 "\n"
11331 msgstr ""
11332
11333 # type: textblock
11334 #: ../src/guestfs-actions.pod:4203 ../fish/guestfish-actions.pod:3243
11335 msgid "Set the path that libguestfs searches for kernel and initrd.img."
11336 msgstr ""
11337
11338 # type: textblock
11339 #: ../src/guestfs-actions.pod:4205 ../fish/guestfish-actions.pod:3245
11340 msgid ""
11341 "The default is C<$libdir/guestfs> unless overridden by setting "
11342 "C<LIBGUESTFS_PATH> environment variable."
11343 msgstr ""
11344
11345 # type: textblock
11346 #: ../src/guestfs-actions.pod:4208 ../fish/guestfish-actions.pod:3248
11347 msgid "Setting C<path> to C<NULL> restores the default path."
11348 msgstr ""
11349
11350 # type: =head2
11351 #: ../src/guestfs-actions.pod:4212
11352 msgid "guestfs_set_qemu"
11353 msgstr ""
11354
11355 # type: verbatim
11356 #: ../src/guestfs-actions.pod:4214
11357 #, no-wrap
11358 msgid ""
11359 " int guestfs_set_qemu (guestfs_h *g,\n"
11360 "\t\tconst char *qemu);\n"
11361 "\n"
11362 msgstr ""
11363
11364 # type: textblock
11365 #: ../src/guestfs-actions.pod:4217 ../fish/guestfish-actions.pod:3254
11366 msgid "Set the qemu binary that we will use."
11367 msgstr ""
11368
11369 # type: textblock
11370 #: ../src/guestfs-actions.pod:4219 ../fish/guestfish-actions.pod:3256
11371 msgid ""
11372 "The default is chosen when the library was compiled by the configure script."
11373 msgstr ""
11374
11375 # type: textblock
11376 #: ../src/guestfs-actions.pod:4222 ../fish/guestfish-actions.pod:3259
11377 msgid ""
11378 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
11379 "variable."
11380 msgstr ""
11381
11382 # type: textblock
11383 #: ../src/guestfs-actions.pod:4225 ../fish/guestfish-actions.pod:3262
11384 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
11385 msgstr ""
11386
11387 # type: textblock
11388 #: ../src/guestfs-actions.pod:4227 ../fish/guestfish-actions.pod:3264
11389 msgid ""
11390 "Note that you should call this function as early as possible after creating "
11391 "the handle.  This is because some pre-launch operations depend on testing "
11392 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
11393 "don't retest features, and so you might see inconsistent results.  Using the "
11394 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
11395 "the qemu binary at the same time as the handle is created."
11396 msgstr ""
11397
11398 # type: =head2
11399 #: ../src/guestfs-actions.pod:4237
11400 msgid "guestfs_set_recovery_proc"
11401 msgstr ""
11402
11403 # type: verbatim
11404 #: ../src/guestfs-actions.pod:4239
11405 #, no-wrap
11406 msgid ""
11407 " int guestfs_set_recovery_proc (guestfs_h *g,\n"
11408 "\t\tint recoveryproc);\n"
11409 "\n"
11410 msgstr ""
11411
11412 # type: textblock
11413 #: ../src/guestfs-actions.pod:4242
11414 msgid ""
11415 "If this is called with the parameter C<false> then C<guestfs_launch> does "
11416 "not create a recovery process.  The purpose of the recovery process is to "
11417 "stop runaway qemu processes in the case where the main program aborts "
11418 "abruptly."
11419 msgstr ""
11420
11421 # type: textblock
11422 #: ../src/guestfs-actions.pod:4247
11423 msgid ""
11424 "This only has any effect if called before C<guestfs_launch>, and the default "
11425 "is true."
11426 msgstr ""
11427
11428 # type: textblock
11429 #: ../src/guestfs-actions.pod:4250 ../fish/guestfish-actions.pod:3284
11430 msgid ""
11431 "About the only time when you would want to disable this is if the main "
11432 "process will fork itself into the background (\"daemonize\" itself).  In "
11433 "this case the recovery process thinks that the main program has disappeared "
11434 "and so kills qemu, which is not very helpful."
11435 msgstr ""
11436
11437 # type: =head2
11438 #: ../src/guestfs-actions.pod:4258
11439 msgid "guestfs_set_selinux"
11440 msgstr ""
11441
11442 # type: verbatim
11443 #: ../src/guestfs-actions.pod:4260
11444 #, no-wrap
11445 msgid ""
11446 " int guestfs_set_selinux (guestfs_h *g,\n"
11447 "\t\tint selinux);\n"
11448 "\n"
11449 msgstr ""
11450
11451 # type: textblock
11452 #: ../src/guestfs-actions.pod:4263 ../fish/guestfish-actions.pod:3294
11453 msgid ""
11454 "This sets the selinux flag that is passed to the appliance at boot time.  "
11455 "The default is C<selinux=0> (disabled)."
11456 msgstr ""
11457
11458 # type: textblock
11459 #: ../src/guestfs-actions.pod:4266 ../fish/guestfish-actions.pod:3297
11460 msgid ""
11461 "Note that if SELinux is enabled, it is always in Permissive mode "
11462 "(C<enforcing=0>)."
11463 msgstr ""
11464
11465 # type: =head2
11466 #: ../src/guestfs-actions.pod:4274
11467 msgid "guestfs_set_trace"
11468 msgstr ""
11469
11470 # type: verbatim
11471 #: ../src/guestfs-actions.pod:4276
11472 #, no-wrap
11473 msgid ""
11474 " int guestfs_set_trace (guestfs_h *g,\n"
11475 "\t\tint trace);\n"
11476 "\n"
11477 msgstr ""
11478
11479 # type: textblock
11480 #: ../src/guestfs-actions.pod:4279 ../fish/guestfish-actions.pod:3307
11481 msgid ""
11482 "If the command trace flag is set to 1, then commands are printed on stderr "
11483 "before they are executed in a format which is very similar to the one used "
11484 "by guestfish.  In other words, you can run a program with this enabled, and "
11485 "you will get out a script which you can feed to guestfish to perform the "
11486 "same set of actions."
11487 msgstr ""
11488
11489 # type: textblock
11490 #: ../src/guestfs-actions.pod:4286 ../fish/guestfish-actions.pod:3314
11491 msgid ""
11492 "If you want to trace C API calls into libguestfs (and other libraries) then "
11493 "possibly a better way is to use the external ltrace(1) command."
11494 msgstr ""
11495
11496 # type: textblock
11497 #: ../src/guestfs-actions.pod:4290 ../fish/guestfish-actions.pod:3318
11498 msgid ""
11499 "Command traces are disabled unless the environment variable "
11500 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
11501 msgstr ""
11502
11503 # type: =head2
11504 #: ../src/guestfs-actions.pod:4295
11505 msgid "guestfs_set_verbose"
11506 msgstr ""
11507
11508 # type: verbatim
11509 #: ../src/guestfs-actions.pod:4297
11510 #, no-wrap
11511 msgid ""
11512 " int guestfs_set_verbose (guestfs_h *g,\n"
11513 "\t\tint verbose);\n"
11514 "\n"
11515 msgstr ""
11516
11517 # type: textblock
11518 #: ../src/guestfs-actions.pod:4300 ../fish/guestfish-actions.pod:3325
11519 msgid "If C<verbose> is true, this turns on verbose messages (to C<stderr>)."
11520 msgstr ""
11521
11522 # type: textblock
11523 #: ../src/guestfs-actions.pod:4302 ../fish/guestfish-actions.pod:3327
11524 msgid ""
11525 "Verbose messages are disabled unless the environment variable "
11526 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
11527 msgstr ""
11528
11529 # type: =head2
11530 #: ../src/guestfs-actions.pod:4307
11531 msgid "guestfs_setcon"
11532 msgstr ""
11533
11534 # type: verbatim
11535 #: ../src/guestfs-actions.pod:4309
11536 #, no-wrap
11537 msgid ""
11538 " int guestfs_setcon (guestfs_h *g,\n"
11539 "\t\tconst char *context);\n"
11540 "\n"
11541 msgstr ""
11542
11543 # type: textblock
11544 #: ../src/guestfs-actions.pod:4312 ../fish/guestfish-actions.pod:3334
11545 msgid ""
11546 "This sets the SELinux security context of the daemon to the string "
11547 "C<context>."
11548 msgstr ""
11549
11550 # type: textblock
11551 #: ../src/guestfs-actions.pod:4315 ../fish/guestfish-actions.pod:3337
11552 msgid "See the documentation about SELINUX in L<guestfs(3)>."
11553 msgstr ""
11554
11555 # type: =head2
11556 #: ../src/guestfs-actions.pod:4319
11557 msgid "guestfs_setxattr"
11558 msgstr ""
11559
11560 # type: verbatim
11561 #: ../src/guestfs-actions.pod:4321
11562 #, no-wrap
11563 msgid ""
11564 " int guestfs_setxattr (guestfs_h *g,\n"
11565 "\t\tconst char *xattr,\n"
11566 "\t\tconst char *val,\n"
11567 "\t\tint vallen,\n"
11568 "\t\tconst char *path);\n"
11569 "\n"
11570 msgstr ""
11571
11572 # type: textblock
11573 #: ../src/guestfs-actions.pod:4327 ../fish/guestfish-actions.pod:3343
11574 msgid ""
11575 "This call sets the extended attribute named C<xattr> of the file C<path> to "
11576 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
11577 msgstr ""
11578
11579 # type: textblock
11580 #: ../src/guestfs-actions.pod:4331
11581 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
11582 msgstr ""
11583
11584 # type: =head2
11585 #: ../src/guestfs-actions.pod:4335
11586 msgid "guestfs_sfdisk"
11587 msgstr ""
11588
11589 # type: verbatim
11590 #: ../src/guestfs-actions.pod:4337
11591 #, no-wrap
11592 msgid ""
11593 " int guestfs_sfdisk (guestfs_h *g,\n"
11594 "\t\tconst char *device,\n"
11595 "\t\tint cyls,\n"
11596 "\t\tint heads,\n"
11597 "\t\tint sectors,\n"
11598 "\t\tchar *const *lines);\n"
11599 "\n"
11600 msgstr ""
11601
11602 # type: textblock
11603 #: ../src/guestfs-actions.pod:4344 ../fish/guestfish-actions.pod:3353
11604 msgid ""
11605 "This is a direct interface to the L<sfdisk(8)> program for creating "
11606 "partitions on block devices."
11607 msgstr ""
11608
11609 # type: textblock
11610 #: ../src/guestfs-actions.pod:4347 ../fish/guestfish-actions.pod:3356
11611 msgid "C<device> should be a block device, for example C</dev/sda>."
11612 msgstr ""
11613
11614 # type: textblock
11615 #: ../src/guestfs-actions.pod:4349 ../fish/guestfish-actions.pod:3358
11616 msgid ""
11617 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
11618 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
11619 "H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
11620 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
11621 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
11622 "the kernel) cannot work out the right geometry and you will need to tell it."
11623 msgstr ""
11624
11625 # type: textblock
11626 #: ../src/guestfs-actions.pod:4357 ../fish/guestfish-actions.pod:3366
11627 msgid ""
11628 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
11629 "refer to the L<sfdisk(8)> manpage."
11630 msgstr ""
11631
11632 # type: textblock
11633 #: ../src/guestfs-actions.pod:4360 ../fish/guestfish-actions.pod:3369
11634 msgid ""
11635 "To create a single partition occupying the whole disk, you would pass "
11636 "C<lines> as a single element list, when the single element being the string "
11637 "C<,> (comma)."
11638 msgstr ""
11639
11640 # type: textblock
11641 #: ../src/guestfs-actions.pod:4364
11642 msgid ""
11643 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
11644 msgstr ""
11645
11646 # type: =head2
11647 #: ../src/guestfs-actions.pod:4372
11648 msgid "guestfs_sfdiskM"
11649 msgstr ""
11650
11651 # type: verbatim
11652 #: ../src/guestfs-actions.pod:4374
11653 #, no-wrap
11654 msgid ""
11655 " int guestfs_sfdiskM (guestfs_h *g,\n"
11656 "\t\tconst char *device,\n"
11657 "\t\tchar *const *lines);\n"
11658 "\n"
11659 msgstr ""
11660
11661 # type: textblock
11662 #: ../src/guestfs-actions.pod:4378
11663 msgid ""
11664 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
11665 "partition sizes are specified in megabytes only (rounded to the nearest "
11666 "cylinder) and you don't need to specify the cyls, heads and sectors "
11667 "parameters which were rarely if ever used anyway."
11668 msgstr ""
11669
11670 # type: textblock
11671 #: ../src/guestfs-actions.pod:4384
11672 msgid ""
11673 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
11674 "C<guestfs_part_disk>"
11675 msgstr ""
11676
11677 # type: =head2
11678 #: ../src/guestfs-actions.pod:4392
11679 msgid "guestfs_sfdisk_N"
11680 msgstr ""
11681
11682 # type: verbatim
11683 #: ../src/guestfs-actions.pod:4394
11684 #, no-wrap
11685 msgid ""
11686 " int guestfs_sfdisk_N (guestfs_h *g,\n"
11687 "\t\tconst char *device,\n"
11688 "\t\tint partnum,\n"
11689 "\t\tint cyls,\n"
11690 "\t\tint heads,\n"
11691 "\t\tint sectors,\n"
11692 "\t\tconst char *line);\n"
11693 "\n"
11694 msgstr ""
11695
11696 # type: textblock
11697 #: ../src/guestfs-actions.pod:4402 ../fish/guestfish-actions.pod:3399
11698 msgid ""
11699 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
11700 "(note: C<n> counts from 1)."
11701 msgstr ""
11702
11703 # type: textblock
11704 #: ../src/guestfs-actions.pod:4405
11705 msgid ""
11706 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
11707 "for the cyls/heads/sectors parameters."
11708 msgstr ""
11709
11710 # type: textblock
11711 #: ../src/guestfs-actions.pod:4408
11712 msgid "See also: C<guestfs_part_add>"
11713 msgstr ""
11714
11715 # type: =head2
11716 #: ../src/guestfs-actions.pod:4415
11717 msgid "guestfs_sfdisk_disk_geometry"
11718 msgstr ""
11719
11720 # type: verbatim
11721 #: ../src/guestfs-actions.pod:4417
11722 #, no-wrap
11723 msgid ""
11724 " char *guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
11725 "\t\tconst char *device);\n"
11726 "\n"
11727 msgstr ""
11728
11729 # type: textblock
11730 #: ../src/guestfs-actions.pod:4420
11731 msgid ""
11732 "This displays the disk geometry of C<device> read from the partition table.  "
11733 "Especially in the case where the underlying block device has been resized, "
11734 "this can be different from the kernel's idea of the geometry (see "
11735 "C<guestfs_sfdisk_kernel_geometry>)."
11736 msgstr ""
11737
11738 # type: textblock
11739 #: ../src/guestfs-actions.pod:4425 ../src/guestfs-actions.pod:4438
11740 #: ../fish/guestfish-actions.pod:3419 ../fish/guestfish-actions.pod:3428
11741 msgid "The result is in human-readable format, and not designed to be parsed."
11742 msgstr ""
11743
11744 # type: =head2
11745 #: ../src/guestfs-actions.pod:4431
11746 msgid "guestfs_sfdisk_kernel_geometry"
11747 msgstr ""
11748
11749 # type: verbatim
11750 #: ../src/guestfs-actions.pod:4433
11751 #, no-wrap
11752 msgid ""
11753 " char *guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
11754 "\t\tconst char *device);\n"
11755 "\n"
11756 msgstr ""
11757
11758 # type: textblock
11759 #: ../src/guestfs-actions.pod:4436 ../fish/guestfish-actions.pod:3426
11760 msgid "This displays the kernel's idea of the geometry of C<device>."
11761 msgstr ""
11762
11763 # type: =head2
11764 #: ../src/guestfs-actions.pod:4444
11765 msgid "guestfs_sfdisk_l"
11766 msgstr ""
11767
11768 # type: verbatim
11769 #: ../src/guestfs-actions.pod:4446
11770 #, no-wrap
11771 msgid ""
11772 " char *guestfs_sfdisk_l (guestfs_h *g,\n"
11773 "\t\tconst char *device);\n"
11774 "\n"
11775 msgstr ""
11776
11777 # type: textblock
11778 #: ../src/guestfs-actions.pod:4449 ../fish/guestfish-actions.pod:3435
11779 msgid ""
11780 "This displays the partition table on C<device>, in the human-readable output "
11781 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
11782 msgstr ""
11783
11784 # type: textblock
11785 #: ../src/guestfs-actions.pod:4453
11786 msgid "See also: C<guestfs_part_list>"
11787 msgstr ""
11788
11789 # type: =head2
11790 #: ../src/guestfs-actions.pod:4458
11791 msgid "guestfs_sh"
11792 msgstr ""
11793
11794 # type: verbatim
11795 #: ../src/guestfs-actions.pod:4460
11796 #, no-wrap
11797 msgid ""
11798 " char *guestfs_sh (guestfs_h *g,\n"
11799 "\t\tconst char *command);\n"
11800 "\n"
11801 msgstr ""
11802
11803 # type: textblock
11804 #: ../src/guestfs-actions.pod:4463 ../fish/guestfish-actions.pod:3445
11805 msgid ""
11806 "This call runs a command from the guest filesystem via the guest's C</bin/"
11807 "sh>."
11808 msgstr ""
11809
11810 # type: textblock
11811 #: ../src/guestfs-actions.pod:4466
11812 msgid "This is like C<guestfs_command>, but passes the command to:"
11813 msgstr ""
11814
11815 # type: verbatim
11816 #: ../src/guestfs-actions.pod:4468 ../fish/guestfish-actions.pod:3450
11817 #, no-wrap
11818 msgid ""
11819 " /bin/sh -c \"command\"\n"
11820 "\n"
11821 msgstr ""
11822
11823 # type: textblock
11824 #: ../src/guestfs-actions.pod:4470 ../fish/guestfish-actions.pod:3452
11825 msgid ""
11826 "Depending on the guest's shell, this usually results in wildcards being "
11827 "expanded, shell expressions being interpolated and so on."
11828 msgstr ""
11829
11830 # type: textblock
11831 #: ../src/guestfs-actions.pod:4474
11832 msgid "All the provisos about C<guestfs_command> apply to this call."
11833 msgstr ""
11834
11835 # type: =head2
11836 #: ../src/guestfs-actions.pod:4479
11837 msgid "guestfs_sh_lines"
11838 msgstr ""
11839
11840 # type: verbatim
11841 #: ../src/guestfs-actions.pod:4481
11842 #, no-wrap
11843 msgid ""
11844 " char **guestfs_sh_lines (guestfs_h *g,\n"
11845 "\t\tconst char *command);\n"
11846 "\n"
11847 msgstr ""
11848
11849 # type: textblock
11850 #: ../src/guestfs-actions.pod:4484
11851 msgid ""
11852 "This is the same as C<guestfs_sh>, but splits the result into a list of "
11853 "lines."
11854 msgstr ""
11855
11856 # type: textblock
11857 #: ../src/guestfs-actions.pod:4487
11858 msgid "See also: C<guestfs_command_lines>"
11859 msgstr ""
11860
11861 # type: =head2
11862 #: ../src/guestfs-actions.pod:4493
11863 msgid "guestfs_sleep"
11864 msgstr ""
11865
11866 # type: verbatim
11867 #: ../src/guestfs-actions.pod:4495
11868 #, no-wrap
11869 msgid ""
11870 " int guestfs_sleep (guestfs_h *g,\n"
11871 "\t\tint secs);\n"
11872 "\n"
11873 msgstr ""
11874
11875 # type: textblock
11876 #: ../src/guestfs-actions.pod:4498 ../fish/guestfish-actions.pod:3471
11877 msgid "Sleep for C<secs> seconds."
11878 msgstr ""
11879
11880 # type: =head2
11881 #: ../src/guestfs-actions.pod:4502 ../src/guestfs-structs.pod:109
11882 msgid "guestfs_stat"
11883 msgstr ""
11884
11885 # type: verbatim
11886 #: ../src/guestfs-actions.pod:4504
11887 #, no-wrap
11888 msgid ""
11889 " struct guestfs_stat *guestfs_stat (guestfs_h *g,\n"
11890 "\t\tconst char *path);\n"
11891 "\n"
11892 msgstr ""
11893
11894 # type: textblock
11895 #: ../src/guestfs-actions.pod:4509 ../fish/guestfish-actions.pod:3479
11896 msgid "This is the same as the C<stat(2)> system call."
11897 msgstr ""
11898
11899 # type: =head2
11900 #: ../src/guestfs-actions.pod:4515 ../src/guestfs-structs.pod:135
11901 msgid "guestfs_statvfs"
11902 msgstr ""
11903
11904 # type: verbatim
11905 #: ../src/guestfs-actions.pod:4517
11906 #, no-wrap
11907 msgid ""
11908 " struct guestfs_statvfs *guestfs_statvfs (guestfs_h *g,\n"
11909 "\t\tconst char *path);\n"
11910 "\n"
11911 msgstr ""
11912
11913 # type: textblock
11914 #: ../src/guestfs-actions.pod:4520 ../fish/guestfish-actions.pod:3485
11915 msgid ""
11916 "Returns file system statistics for any mounted file system.  C<path> should "
11917 "be a file or directory in the mounted file system (typically it is the mount "
11918 "point itself, but it doesn't need to be)."
11919 msgstr ""
11920
11921 # type: textblock
11922 #: ../src/guestfs-actions.pod:4524 ../fish/guestfish-actions.pod:3489
11923 msgid "This is the same as the C<statvfs(2)> system call."
11924 msgstr ""
11925
11926 # type: textblock
11927 #: ../src/guestfs-actions.pod:4526
11928 msgid ""
11929 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
11930 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
11931 msgstr ""
11932
11933 # type: =head2
11934 #: ../src/guestfs-actions.pod:4530
11935 msgid "guestfs_strings"
11936 msgstr ""
11937
11938 # type: verbatim
11939 #: ../src/guestfs-actions.pod:4532
11940 #, no-wrap
11941 msgid ""
11942 " char **guestfs_strings (guestfs_h *g,\n"
11943 "\t\tconst char *path);\n"
11944 "\n"
11945 msgstr ""
11946
11947 # type: textblock
11948 #: ../src/guestfs-actions.pod:4535 ../fish/guestfish-actions.pod:3495
11949 msgid ""
11950 "This runs the L<strings(1)> command on a file and returns the list of "
11951 "printable strings found."
11952 msgstr ""
11953
11954 # type: =head2
11955 #: ../src/guestfs-actions.pod:4545
11956 msgid "guestfs_strings_e"
11957 msgstr ""
11958
11959 # type: verbatim
11960 #: ../src/guestfs-actions.pod:4547
11961 #, no-wrap
11962 msgid ""
11963 " char **guestfs_strings_e (guestfs_h *g,\n"
11964 "\t\tconst char *encoding,\n"
11965 "\t\tconst char *path);\n"
11966 "\n"
11967 msgstr ""
11968
11969 # type: textblock
11970 #: ../src/guestfs-actions.pod:4551
11971 msgid ""
11972 "This is like the C<guestfs_strings> command, but allows you to specify the "
11973 "encoding of strings that are looked for in the source file C<path>."
11974 msgstr ""
11975
11976 # type: textblock
11977 #: ../src/guestfs-actions.pod:4555 ../fish/guestfish-actions.pod:3509
11978 msgid "Allowed encodings are:"
11979 msgstr ""
11980
11981 # type: =item
11982 #: ../src/guestfs-actions.pod:4559 ../fish/guestfish-actions.pod:3513
11983 msgid "s"
11984 msgstr ""
11985
11986 # type: textblock
11987 #: ../src/guestfs-actions.pod:4561
11988 msgid ""
11989 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
11990 "ISO-8859-X (this is what C<guestfs_strings> uses)."
11991 msgstr ""
11992
11993 # type: =item
11994 #: ../src/guestfs-actions.pod:4564 ../fish/guestfish-actions.pod:3518
11995 msgid "S"
11996 msgstr ""
11997
11998 # type: textblock
11999 #: ../src/guestfs-actions.pod:4566 ../fish/guestfish-actions.pod:3520
12000 msgid "Single 8-bit-byte characters."
12001 msgstr ""
12002
12003 # type: =item
12004 #: ../src/guestfs-actions.pod:4568 ../fish/guestfish-actions.pod:3522
12005 msgid "b"
12006 msgstr ""
12007
12008 # type: textblock
12009 #: ../src/guestfs-actions.pod:4570 ../fish/guestfish-actions.pod:3524
12010 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
12011 msgstr ""
12012
12013 # type: =item
12014 #: ../src/guestfs-actions.pod:4573 ../fish/guestfish-actions.pod:3527
12015 msgid "l (lower case letter L)"
12016 msgstr ""
12017
12018 # type: textblock
12019 #: ../src/guestfs-actions.pod:4575 ../fish/guestfish-actions.pod:3529
12020 msgid ""
12021 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
12022 "examining binaries in Windows guests."
12023 msgstr ""
12024
12025 # type: =item
12026 #: ../src/guestfs-actions.pod:4578 ../fish/guestfish-actions.pod:3532
12027 msgid "B"
12028 msgstr ""
12029
12030 # type: textblock
12031 #: ../src/guestfs-actions.pod:4580 ../fish/guestfish-actions.pod:3534
12032 msgid "32-bit big endian such as UCS-4BE."
12033 msgstr ""
12034
12035 # type: =item
12036 #: ../src/guestfs-actions.pod:4582 ../fish/guestfish-actions.pod:3536
12037 msgid "L"
12038 msgstr ""
12039
12040 # type: textblock
12041 #: ../src/guestfs-actions.pod:4584 ../fish/guestfish-actions.pod:3538
12042 msgid "32-bit little endian such as UCS-4LE."
12043 msgstr ""
12044
12045 # type: textblock
12046 #: ../src/guestfs-actions.pod:4588 ../fish/guestfish-actions.pod:3542
12047 msgid "The returned strings are transcoded to UTF-8."
12048 msgstr ""
12049
12050 # type: =head2
12051 #: ../src/guestfs-actions.pod:4597
12052 msgid "guestfs_swapoff_device"
12053 msgstr ""
12054
12055 # type: verbatim
12056 #: ../src/guestfs-actions.pod:4599
12057 #, no-wrap
12058 msgid ""
12059 " int guestfs_swapoff_device (guestfs_h *g,\n"
12060 "\t\tconst char *device);\n"
12061 "\n"
12062 msgstr ""
12063
12064 # type: textblock
12065 #: ../src/guestfs-actions.pod:4602
12066 msgid ""
12067 "This command disables the libguestfs appliance swap device or partition "
12068 "named C<device>.  See C<guestfs_swapon_device>."
12069 msgstr ""
12070
12071 # type: =head2
12072 #: ../src/guestfs-actions.pod:4608
12073 msgid "guestfs_swapoff_file"
12074 msgstr ""
12075
12076 # type: verbatim
12077 #: ../src/guestfs-actions.pod:4610
12078 #, no-wrap
12079 msgid ""
12080 " int guestfs_swapoff_file (guestfs_h *g,\n"
12081 "\t\tconst char *file);\n"
12082 "\n"
12083 msgstr ""
12084
12085 # type: textblock
12086 #: ../src/guestfs-actions.pod:4613 ../fish/guestfish-actions.pod:3559
12087 msgid "This command disables the libguestfs appliance swap on file."
12088 msgstr ""
12089
12090 # type: =head2
12091 #: ../src/guestfs-actions.pod:4617
12092 msgid "guestfs_swapoff_label"
12093 msgstr ""
12094
12095 # type: verbatim
12096 #: ../src/guestfs-actions.pod:4619
12097 #, no-wrap
12098 msgid ""
12099 " int guestfs_swapoff_label (guestfs_h *g,\n"
12100 "\t\tconst char *label);\n"
12101 "\n"
12102 msgstr ""
12103
12104 # type: textblock
12105 #: ../src/guestfs-actions.pod:4622 ../fish/guestfish-actions.pod:3565
12106 msgid ""
12107 "This command disables the libguestfs appliance swap on labeled swap "
12108 "partition."
12109 msgstr ""
12110
12111 # type: =head2
12112 #: ../src/guestfs-actions.pod:4627
12113 msgid "guestfs_swapoff_uuid"
12114 msgstr ""
12115
12116 # type: verbatim
12117 #: ../src/guestfs-actions.pod:4629
12118 #, no-wrap
12119 msgid ""
12120 " int guestfs_swapoff_uuid (guestfs_h *g,\n"
12121 "\t\tconst char *uuid);\n"
12122 "\n"
12123 msgstr ""
12124
12125 # type: textblock
12126 #: ../src/guestfs-actions.pod:4632 ../fish/guestfish-actions.pod:3572
12127 msgid ""
12128 "This command disables the libguestfs appliance swap partition with the given "
12129 "UUID."
12130 msgstr ""
12131
12132 # type: =head2
12133 #: ../src/guestfs-actions.pod:4637
12134 msgid "guestfs_swapon_device"
12135 msgstr ""
12136
12137 # type: verbatim
12138 #: ../src/guestfs-actions.pod:4639
12139 #, no-wrap
12140 msgid ""
12141 " int guestfs_swapon_device (guestfs_h *g,\n"
12142 "\t\tconst char *device);\n"
12143 "\n"
12144 msgstr ""
12145
12146 # type: textblock
12147 #: ../src/guestfs-actions.pod:4642
12148 msgid ""
12149 "This command enables the libguestfs appliance to use the swap device or "
12150 "partition named C<device>.  The increased memory is made available for all "
12151 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
12152 msgstr ""
12153
12154 # type: textblock
12155 #: ../src/guestfs-actions.pod:4647 ../fish/guestfish-actions.pod:3584
12156 msgid ""
12157 "Note that you should not swap to existing guest swap partitions unless you "
12158 "know what you are doing.  They may contain hibernation information, or other "
12159 "information that the guest doesn't want you to trash.  You also risk leaking "
12160 "information about the host to the guest this way.  Instead, attach a new "
12161 "host device to the guest and swap on that."
12162 msgstr ""
12163
12164 # type: =head2
12165 #: ../src/guestfs-actions.pod:4656
12166 msgid "guestfs_swapon_file"
12167 msgstr ""
12168
12169 # type: verbatim
12170 #: ../src/guestfs-actions.pod:4658
12171 #, no-wrap
12172 msgid ""
12173 " int guestfs_swapon_file (guestfs_h *g,\n"
12174 "\t\tconst char *file);\n"
12175 "\n"
12176 msgstr ""
12177
12178 # type: textblock
12179 #: ../src/guestfs-actions.pod:4661
12180 msgid ""
12181 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
12182 "notes."
12183 msgstr ""
12184
12185 # type: =head2
12186 #: ../src/guestfs-actions.pod:4666
12187 msgid "guestfs_swapon_label"
12188 msgstr ""
12189
12190 # type: verbatim
12191 #: ../src/guestfs-actions.pod:4668
12192 #, no-wrap
12193 msgid ""
12194 " int guestfs_swapon_label (guestfs_h *g,\n"
12195 "\t\tconst char *label);\n"
12196 "\n"
12197 msgstr ""
12198
12199 # type: textblock
12200 #: ../src/guestfs-actions.pod:4671
12201 msgid ""
12202 "This command enables swap to a labeled swap partition.  See "
12203 "C<guestfs_swapon_device> for other notes."
12204 msgstr ""
12205
12206 # type: =head2
12207 #: ../src/guestfs-actions.pod:4676
12208 msgid "guestfs_swapon_uuid"
12209 msgstr ""
12210
12211 # type: verbatim
12212 #: ../src/guestfs-actions.pod:4678
12213 #, no-wrap
12214 msgid ""
12215 " int guestfs_swapon_uuid (guestfs_h *g,\n"
12216 "\t\tconst char *uuid);\n"
12217 "\n"
12218 msgstr ""
12219
12220 # type: textblock
12221 #: ../src/guestfs-actions.pod:4681
12222 msgid ""
12223 "This command enables swap to a swap partition with the given UUID.  See "
12224 "C<guestfs_swapon_device> for other notes."
12225 msgstr ""
12226
12227 # type: =head2
12228 #: ../src/guestfs-actions.pod:4686
12229 msgid "guestfs_sync"
12230 msgstr ""
12231
12232 # type: verbatim
12233 #: ../src/guestfs-actions.pod:4688
12234 #, no-wrap
12235 msgid ""
12236 " int guestfs_sync (guestfs_h *g);\n"
12237 "\n"
12238 msgstr ""
12239
12240 # type: textblock
12241 #: ../src/guestfs-actions.pod:4690 ../fish/guestfish-actions.pod:3616
12242 msgid ""
12243 "This syncs the disk, so that any writes are flushed through to the "
12244 "underlying disk image."
12245 msgstr ""
12246
12247 # type: textblock
12248 #: ../src/guestfs-actions.pod:4693 ../fish/guestfish-actions.pod:3619
12249 msgid ""
12250 "You should always call this if you have modified a disk image, before "
12251 "closing the handle."
12252 msgstr ""
12253
12254 # type: =head2
12255 #: ../src/guestfs-actions.pod:4698
12256 msgid "guestfs_tail"
12257 msgstr ""
12258
12259 # type: verbatim
12260 #: ../src/guestfs-actions.pod:4700
12261 #, no-wrap
12262 msgid ""
12263 " char **guestfs_tail (guestfs_h *g,\n"
12264 "\t\tconst char *path);\n"
12265 "\n"
12266 msgstr ""
12267
12268 # type: textblock
12269 #: ../src/guestfs-actions.pod:4703 ../fish/guestfish-actions.pod:3626
12270 msgid ""
12271 "This command returns up to the last 10 lines of a file as a list of strings."
12272 msgstr ""
12273
12274 # type: =head2
12275 #: ../src/guestfs-actions.pod:4713
12276 msgid "guestfs_tail_n"
12277 msgstr ""
12278
12279 # type: verbatim
12280 #: ../src/guestfs-actions.pod:4715
12281 #, no-wrap
12282 msgid ""
12283 " char **guestfs_tail_n (guestfs_h *g,\n"
12284 "\t\tint nrlines,\n"
12285 "\t\tconst char *path);\n"
12286 "\n"
12287 msgstr ""
12288
12289 # type: textblock
12290 #: ../src/guestfs-actions.pod:4719 ../fish/guestfish-actions.pod:3636
12291 msgid ""
12292 "If the parameter C<nrlines> is a positive number, this returns the last "
12293 "C<nrlines> lines of the file C<path>."
12294 msgstr ""
12295
12296 # type: textblock
12297 #: ../src/guestfs-actions.pod:4722 ../fish/guestfish-actions.pod:3639
12298 msgid ""
12299 "If the parameter C<nrlines> is a negative number, this returns lines from "
12300 "the file C<path>, starting with the C<-nrlines>th line."
12301 msgstr ""
12302
12303 # type: =head2
12304 #: ../src/guestfs-actions.pod:4734
12305 msgid "guestfs_tar_in"
12306 msgstr ""
12307
12308 # type: verbatim
12309 #: ../src/guestfs-actions.pod:4736
12310 #, no-wrap
12311 msgid ""
12312 " int guestfs_tar_in (guestfs_h *g,\n"
12313 "\t\tconst char *tarfile,\n"
12314 "\t\tconst char *directory);\n"
12315 "\n"
12316 msgstr ""
12317
12318 # type: textblock
12319 #: ../src/guestfs-actions.pod:4740 ../fish/guestfish-actions.pod:3651
12320 msgid ""
12321 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
12322 "tar file) into C<directory>."
12323 msgstr ""
12324
12325 # type: textblock
12326 #: ../src/guestfs-actions.pod:4743
12327 msgid ""
12328 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
12329 msgstr ""
12330
12331 # type: =head2
12332 #: ../src/guestfs-actions.pod:4748
12333 msgid "guestfs_tar_out"
12334 msgstr ""
12335
12336 # type: verbatim
12337 #: ../src/guestfs-actions.pod:4750
12338 #, no-wrap
12339 msgid ""
12340 " int guestfs_tar_out (guestfs_h *g,\n"
12341 "\t\tconst char *directory,\n"
12342 "\t\tconst char *tarfile);\n"
12343 "\n"
12344 msgstr ""
12345
12346 # type: textblock
12347 #: ../src/guestfs-actions.pod:4754 ../fish/guestfish-actions.pod:3663
12348 msgid ""
12349 "This command packs the contents of C<directory> and downloads it to local "
12350 "file C<tarfile>."
12351 msgstr ""
12352
12353 # type: textblock
12354 #: ../src/guestfs-actions.pod:4757
12355 msgid ""
12356 "To download a compressed tarball, use C<guestfs_tgz_out> or "
12357 "C<guestfs_txz_out>."
12358 msgstr ""
12359
12360 # type: =head2
12361 #: ../src/guestfs-actions.pod:4762
12362 msgid "guestfs_tgz_in"
12363 msgstr ""
12364
12365 # type: verbatim
12366 #: ../src/guestfs-actions.pod:4764
12367 #, no-wrap
12368 msgid ""
12369 " int guestfs_tgz_in (guestfs_h *g,\n"
12370 "\t\tconst char *tarball,\n"
12371 "\t\tconst char *directory);\n"
12372 "\n"
12373 msgstr ""
12374
12375 # type: textblock
12376 #: ../src/guestfs-actions.pod:4768 ../fish/guestfish-actions.pod:3675
12377 msgid ""
12378 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
12379 "tar file) into C<directory>."
12380 msgstr ""
12381
12382 # type: textblock
12383 #: ../src/guestfs-actions.pod:4771
12384 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
12385 msgstr ""
12386
12387 # type: =head2
12388 #: ../src/guestfs-actions.pod:4775
12389 msgid "guestfs_tgz_out"
12390 msgstr ""
12391
12392 # type: verbatim
12393 #: ../src/guestfs-actions.pod:4777
12394 #, no-wrap
12395 msgid ""
12396 " int guestfs_tgz_out (guestfs_h *g,\n"
12397 "\t\tconst char *directory,\n"
12398 "\t\tconst char *tarball);\n"
12399 "\n"
12400 msgstr ""
12401
12402 # type: textblock
12403 #: ../src/guestfs-actions.pod:4781 ../fish/guestfish-actions.pod:3686
12404 msgid ""
12405 "This command packs the contents of C<directory> and downloads it to local "
12406 "file C<tarball>."
12407 msgstr ""
12408
12409 # type: textblock
12410 #: ../src/guestfs-actions.pod:4784
12411 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
12412 msgstr ""
12413
12414 # type: =head2
12415 #: ../src/guestfs-actions.pod:4788
12416 msgid "guestfs_touch"
12417 msgstr ""
12418
12419 # type: verbatim
12420 #: ../src/guestfs-actions.pod:4790
12421 #, no-wrap
12422 msgid ""
12423 " int guestfs_touch (guestfs_h *g,\n"
12424 "\t\tconst char *path);\n"
12425 "\n"
12426 msgstr ""
12427
12428 # type: textblock
12429 #: ../src/guestfs-actions.pod:4793 ../fish/guestfish-actions.pod:3697
12430 msgid ""
12431 "Touch acts like the L<touch(1)> command.  It can be used to update the "
12432 "timestamps on a file, or, if the file does not exist, to create a new zero-"
12433 "length file."
12434 msgstr ""
12435
12436 # type: textblock
12437 #: ../src/guestfs-actions.pod:4797 ../fish/guestfish-actions.pod:3701
12438 msgid ""
12439 "This command only works on regular files, and will fail on other file types "
12440 "such as directories, symbolic links, block special etc."
12441 msgstr ""
12442
12443 # type: =head2
12444 #: ../src/guestfs-actions.pod:4802
12445 msgid "guestfs_truncate"
12446 msgstr ""
12447
12448 # type: verbatim
12449 #: ../src/guestfs-actions.pod:4804
12450 #, no-wrap
12451 msgid ""
12452 " int guestfs_truncate (guestfs_h *g,\n"
12453 "\t\tconst char *path);\n"
12454 "\n"
12455 msgstr ""
12456
12457 # type: textblock
12458 #: ../src/guestfs-actions.pod:4807 ../fish/guestfish-actions.pod:3708
12459 msgid ""
12460 "This command truncates C<path> to a zero-length file.  The file must exist "
12461 "already."
12462 msgstr ""
12463
12464 # type: =head2
12465 #: ../src/guestfs-actions.pod:4812
12466 msgid "guestfs_truncate_size"
12467 msgstr ""
12468
12469 # type: verbatim
12470 #: ../src/guestfs-actions.pod:4814
12471 #, no-wrap
12472 msgid ""
12473 " int guestfs_truncate_size (guestfs_h *g,\n"
12474 "\t\tconst char *path,\n"
12475 "\t\tint64_t size);\n"
12476 "\n"
12477 msgstr ""
12478
12479 # type: textblock
12480 #: ../src/guestfs-actions.pod:4818 ../fish/guestfish-actions.pod:3715
12481 msgid ""
12482 "This command truncates C<path> to size C<size> bytes.  The file must exist "
12483 "already."
12484 msgstr ""
12485
12486 # type: textblock
12487 #: ../src/guestfs-actions.pod:4821
12488 msgid ""
12489 "If the current file size is less than C<size> then the file is extended to "
12490 "the required size with zero bytes.  This creates a sparse file (ie. disk "
12491 "blocks are not allocated for the file until you write to it).  To create a "
12492 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
12493 msgstr ""
12494
12495 # type: =head2
12496 #: ../src/guestfs-actions.pod:4829
12497 msgid "guestfs_tune2fs_l"
12498 msgstr ""
12499
12500 # type: verbatim
12501 #: ../src/guestfs-actions.pod:4831
12502 #, no-wrap
12503 msgid ""
12504 " char **guestfs_tune2fs_l (guestfs_h *g,\n"
12505 "\t\tconst char *device);\n"
12506 "\n"
12507 msgstr ""
12508
12509 # type: textblock
12510 #: ../src/guestfs-actions.pod:4834 ../fish/guestfish-actions.pod:3728
12511 msgid ""
12512 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
12513 "C<device>."
12514 msgstr ""
12515
12516 # type: textblock
12517 #: ../src/guestfs-actions.pod:4837 ../fish/guestfish-actions.pod:3731
12518 msgid ""
12519 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
12520 "for more details.  The list of fields returned isn't clearly defined, and "
12521 "depends on both the version of C<tune2fs> that libguestfs was built against, "
12522 "and the filesystem itself."
12523 msgstr ""
12524
12525 # type: =head2
12526 #: ../src/guestfs-actions.pod:4848
12527 msgid "guestfs_txz_in"
12528 msgstr ""
12529
12530 # type: verbatim
12531 #: ../src/guestfs-actions.pod:4850
12532 #, no-wrap
12533 msgid ""
12534 " int guestfs_txz_in (guestfs_h *g,\n"
12535 "\t\tconst char *tarball,\n"
12536 "\t\tconst char *directory);\n"
12537 "\n"
12538 msgstr ""
12539
12540 # type: textblock
12541 #: ../src/guestfs-actions.pod:4854 ../fish/guestfish-actions.pod:3740
12542 msgid ""
12543 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
12544 "tar file) into C<directory>."
12545 msgstr ""
12546
12547 # type: =head2
12548 #: ../src/guestfs-actions.pod:4859
12549 msgid "guestfs_txz_out"
12550 msgstr ""
12551
12552 # type: verbatim
12553 #: ../src/guestfs-actions.pod:4861
12554 #, no-wrap
12555 msgid ""
12556 " int guestfs_txz_out (guestfs_h *g,\n"
12557 "\t\tconst char *directory,\n"
12558 "\t\tconst char *tarball);\n"
12559 "\n"
12560 msgstr ""
12561
12562 # type: textblock
12563 #: ../src/guestfs-actions.pod:4865 ../fish/guestfish-actions.pod:3749
12564 msgid ""
12565 "This command packs the contents of C<directory> and downloads it to local "
12566 "file C<tarball> (as an xz compressed tar archive)."
12567 msgstr ""
12568
12569 # type: =head2
12570 #: ../src/guestfs-actions.pod:4870
12571 msgid "guestfs_umask"
12572 msgstr ""
12573
12574 # type: verbatim
12575 #: ../src/guestfs-actions.pod:4872
12576 #, no-wrap
12577 msgid ""
12578 " int guestfs_umask (guestfs_h *g,\n"
12579 "\t\tint mask);\n"
12580 "\n"
12581 msgstr ""
12582
12583 # type: textblock
12584 #: ../src/guestfs-actions.pod:4875 ../fish/guestfish-actions.pod:3758
12585 msgid ""
12586 "This function sets the mask used for creating new files and device nodes to "
12587 "C<mask & 0777>."
12588 msgstr ""
12589
12590 # type: textblock
12591 #: ../src/guestfs-actions.pod:4878 ../fish/guestfish-actions.pod:3761
12592 msgid ""
12593 "Typical umask values would be C<022> which creates new files with "
12594 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
12595 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
12596 msgstr ""
12597
12598 # type: textblock
12599 #: ../src/guestfs-actions.pod:4883 ../fish/guestfish-actions.pod:3766
12600 msgid ""
12601 "The default umask is C<022>.  This is important because it means that "
12602 "directories and device nodes will be created with C<0644> or C<0755> mode "
12603 "even if you specify C<0777>."
12604 msgstr ""
12605
12606 # type: textblock
12607 #: ../src/guestfs-actions.pod:4887
12608 msgid ""
12609 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
12610 "C<guestfs_mkdir>."
12611 msgstr ""
12612
12613 # type: textblock
12614 #: ../src/guestfs-actions.pod:4890 ../fish/guestfish-actions.pod:3773
12615 msgid "This call returns the previous umask."
12616 msgstr ""
12617
12618 # type: =head2
12619 #: ../src/guestfs-actions.pod:4894
12620 msgid "guestfs_umount"
12621 msgstr ""
12622
12623 # type: verbatim
12624 #: ../src/guestfs-actions.pod:4896
12625 #, no-wrap
12626 msgid ""
12627 " int guestfs_umount (guestfs_h *g,\n"
12628 "\t\tconst char *pathordevice);\n"
12629 "\n"
12630 msgstr ""
12631
12632 # type: textblock
12633 #: ../src/guestfs-actions.pod:4899 ../fish/guestfish-actions.pod:3779
12634 msgid ""
12635 "This unmounts the given filesystem.  The filesystem may be specified either "
12636 "by its mountpoint (path) or the device which contains the filesystem."
12637 msgstr ""
12638
12639 # type: =head2
12640 #: ../src/guestfs-actions.pod:4905
12641 msgid "guestfs_umount_all"
12642 msgstr ""
12643
12644 # type: verbatim
12645 #: ../src/guestfs-actions.pod:4907
12646 #, no-wrap
12647 msgid ""
12648 " int guestfs_umount_all (guestfs_h *g);\n"
12649 "\n"
12650 msgstr ""
12651
12652 # type: textblock
12653 #: ../src/guestfs-actions.pod:4909 ../fish/guestfish-actions.pod:3787
12654 msgid "This unmounts all mounted filesystems."
12655 msgstr ""
12656
12657 # type: textblock
12658 #: ../src/guestfs-actions.pod:4911 ../fish/guestfish-actions.pod:3789
12659 msgid "Some internal mounts are not unmounted by this call."
12660 msgstr ""
12661
12662 # type: =head2
12663 #: ../src/guestfs-actions.pod:4915
12664 msgid "guestfs_upload"
12665 msgstr ""
12666
12667 # type: verbatim
12668 #: ../src/guestfs-actions.pod:4917
12669 #, no-wrap
12670 msgid ""
12671 " int guestfs_upload (guestfs_h *g,\n"
12672 "\t\tconst char *filename,\n"
12673 "\t\tconst char *remotefilename);\n"
12674 "\n"
12675 msgstr ""
12676
12677 # type: textblock
12678 #: ../src/guestfs-actions.pod:4921 ../fish/guestfish-actions.pod:3795
12679 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
12680 msgstr ""
12681
12682 # type: textblock
12683 #: ../src/guestfs-actions.pod:4926
12684 msgid "See also C<guestfs_download>."
12685 msgstr ""
12686
12687 # type: =head2
12688 #: ../src/guestfs-actions.pod:4930
12689 msgid "guestfs_utimens"
12690 msgstr ""
12691
12692 # type: verbatim
12693 #: ../src/guestfs-actions.pod:4932
12694 #, no-wrap
12695 msgid ""
12696 " int guestfs_utimens (guestfs_h *g,\n"
12697 "\t\tconst char *path,\n"
12698 "\t\tint64_t atsecs,\n"
12699 "\t\tint64_t atnsecs,\n"
12700 "\t\tint64_t mtsecs,\n"
12701 "\t\tint64_t mtnsecs);\n"
12702 "\n"
12703 msgstr ""
12704
12705 # type: textblock
12706 #: ../src/guestfs-actions.pod:4939 ../fish/guestfish-actions.pod:3808
12707 msgid "This command sets the timestamps of a file with nanosecond precision."
12708 msgstr ""
12709
12710 # type: textblock
12711 #: ../src/guestfs-actions.pod:4942 ../fish/guestfish-actions.pod:3811
12712 msgid ""
12713 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
12714 "from the epoch."
12715 msgstr ""
12716
12717 # type: textblock
12718 #: ../src/guestfs-actions.pod:4945 ../fish/guestfish-actions.pod:3814
12719 msgid ""
12720 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
12721 "nanoseconds from the epoch."
12722 msgstr ""
12723
12724 # type: textblock
12725 #: ../src/guestfs-actions.pod:4948 ../fish/guestfish-actions.pod:3817
12726 msgid ""
12727 "If the C<*nsecs> field contains the special value C<-1> then the "
12728 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
12729 "ignored in this case)."
12730 msgstr ""
12731
12732 # type: textblock
12733 #: ../src/guestfs-actions.pod:4952 ../fish/guestfish-actions.pod:3821
12734 msgid ""
12735 "If the C<*nsecs> field contains the special value C<-2> then the "
12736 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
12737 "in this case)."
12738 msgstr ""
12739
12740 # type: =head2
12741 #: ../src/guestfs-actions.pod:4958 ../src/guestfs-structs.pod:175
12742 msgid "guestfs_version"
12743 msgstr ""
12744
12745 # type: verbatim
12746 #: ../src/guestfs-actions.pod:4960
12747 #, no-wrap
12748 msgid ""
12749 " struct guestfs_version *guestfs_version (guestfs_h *g);\n"
12750 "\n"
12751 msgstr ""
12752
12753 # type: textblock
12754 #: ../src/guestfs-actions.pod:4962 ../fish/guestfish-actions.pod:3829
12755 msgid ""
12756 "Return the libguestfs version number that the program is linked against."
12757 msgstr ""
12758
12759 # type: textblock
12760 #: ../src/guestfs-actions.pod:4965 ../fish/guestfish-actions.pod:3832
12761 msgid ""
12762 "Note that because of dynamic linking this is not necessarily the version of "
12763 "libguestfs that you compiled against.  You can compile the program, and then "
12764 "at runtime dynamically link against a completely different C<libguestfs.so> "
12765 "library."
12766 msgstr ""
12767
12768 # type: textblock
12769 #: ../src/guestfs-actions.pod:4970 ../fish/guestfish-actions.pod:3837
12770 msgid ""
12771 "This call was added in version C<1.0.58>.  In previous versions of "
12772 "libguestfs there was no way to get the version number.  From C code you can "
12773 "use dynamic linker functions to find out if this symbol exists (if it "
12774 "doesn't, then it's an earlier version)."
12775 msgstr ""
12776
12777 # type: textblock
12778 #: ../src/guestfs-actions.pod:4976 ../fish/guestfish-actions.pod:3843
12779 msgid ""
12780 "The call returns a structure with four elements.  The first three (C<major>, "
12781 "C<minor> and C<release>) are numbers and correspond to the usual version "
12782 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
12783 "but may be used for distro-specific information."
12784 msgstr ""
12785
12786 # type: textblock
12787 #: ../src/guestfs-actions.pod:4982 ../fish/guestfish-actions.pod:3849
12788 msgid ""
12789 "To construct the original version string: C<$major.$minor.$release$extra>"
12790 msgstr ""
12791
12792 # type: textblock
12793 #: ../src/guestfs-actions.pod:4985 ../fish/guestfish-actions.pod:3852
12794 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
12795 msgstr ""
12796
12797 # type: textblock
12798 #: ../src/guestfs-actions.pod:4987
12799 msgid ""
12800 "I<Note:> Don't use this call to test for availability of features.  In "
12801 "enterprise distributions we backport features from later versions into "
12802 "earlier versions, making this an unreliable way to test for features.  Use "
12803 "C<guestfs_available> instead."
12804 msgstr ""
12805
12806 # type: textblock
12807 #: ../src/guestfs-actions.pod:4993
12808 msgid ""
12809 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
12810 "error.  I<The caller must call C<guestfs_free_version> after use>."
12811 msgstr ""
12812
12813 # type: =head2
12814 #: ../src/guestfs-actions.pod:4997
12815 msgid "guestfs_vfs_label"
12816 msgstr ""
12817
12818 # type: verbatim
12819 #: ../src/guestfs-actions.pod:4999
12820 #, no-wrap
12821 msgid ""
12822 " char *guestfs_vfs_label (guestfs_h *g,\n"
12823 "\t\tconst char *device);\n"
12824 "\n"
12825 msgstr ""
12826
12827 # type: textblock
12828 #: ../src/guestfs-actions.pod:5002 ../fish/guestfish-actions.pod:3864
12829 msgid "This returns the filesystem label of the filesystem on C<device>."
12830 msgstr ""
12831
12832 # type: textblock
12833 #: ../src/guestfs-actions.pod:5005 ../fish/guestfish-actions.pod:3867
12834 msgid "If the filesystem is unlabeled, this returns the empty string."
12835 msgstr ""
12836
12837 # type: textblock
12838 #: ../src/guestfs-actions.pod:5007
12839 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
12840 msgstr ""
12841
12842 # type: =head2
12843 #: ../src/guestfs-actions.pod:5012
12844 msgid "guestfs_vfs_type"
12845 msgstr ""
12846
12847 # type: verbatim
12848 #: ../src/guestfs-actions.pod:5014
12849 #, no-wrap
12850 msgid ""
12851 " char *guestfs_vfs_type (guestfs_h *g,\n"
12852 "\t\tconst char *device);\n"
12853 "\n"
12854 msgstr ""
12855
12856 # type: textblock
12857 #: ../src/guestfs-actions.pod:5017 ../fish/guestfish-actions.pod:3875
12858 msgid ""
12859 "This command gets the filesystem type corresponding to the filesystem on "
12860 "C<device>."
12861 msgstr ""
12862
12863 # type: textblock
12864 #: ../src/guestfs-actions.pod:5020 ../fish/guestfish-actions.pod:3878
12865 msgid ""
12866 "For most filesystems, the result is the name of the Linux VFS module which "
12867 "would be used to mount this filesystem if you mounted it without specifying "
12868 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
12869 msgstr ""
12870
12871 # type: =head2
12872 #: ../src/guestfs-actions.pod:5028
12873 msgid "guestfs_vfs_uuid"
12874 msgstr ""
12875
12876 # type: verbatim
12877 #: ../src/guestfs-actions.pod:5030
12878 #, no-wrap
12879 msgid ""
12880 " char *guestfs_vfs_uuid (guestfs_h *g,\n"
12881 "\t\tconst char *device);\n"
12882 "\n"
12883 msgstr ""
12884
12885 # type: textblock
12886 #: ../src/guestfs-actions.pod:5033 ../fish/guestfish-actions.pod:3887
12887 msgid "This returns the filesystem UUID of the filesystem on C<device>."
12888 msgstr ""
12889
12890 # type: textblock
12891 #: ../src/guestfs-actions.pod:5036 ../fish/guestfish-actions.pod:3890
12892 msgid "If the filesystem does not have a UUID, this returns the empty string."
12893 msgstr ""
12894
12895 # type: textblock
12896 #: ../src/guestfs-actions.pod:5038
12897 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
12898 msgstr ""
12899
12900 # type: =head2
12901 #: ../src/guestfs-actions.pod:5043
12902 msgid "guestfs_vg_activate"
12903 msgstr ""
12904
12905 # type: verbatim
12906 #: ../src/guestfs-actions.pod:5045
12907 #, no-wrap
12908 msgid ""
12909 " int guestfs_vg_activate (guestfs_h *g,\n"
12910 "\t\tint activate,\n"
12911 "\t\tchar *const *volgroups);\n"
12912 "\n"
12913 msgstr ""
12914
12915 # type: textblock
12916 #: ../src/guestfs-actions.pod:5049 ../fish/guestfish-actions.pod:3898
12917 msgid ""
12918 "This command activates or (if C<activate> is false) deactivates all logical "
12919 "volumes in the listed volume groups C<volgroups>.  If activated, then they "
12920 "are made known to the kernel, ie. they appear as C</dev/mapper> devices.  If "
12921 "deactivated, then those devices disappear."
12922 msgstr ""
12923
12924 # type: textblock
12925 #: ../src/guestfs-actions.pod:5055 ../fish/guestfish-actions.pod:3904
12926 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
12927 msgstr ""
12928
12929 # type: textblock
12930 #: ../src/guestfs-actions.pod:5057 ../fish/guestfish-actions.pod:3906
12931 msgid ""
12932 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
12933 "activated or deactivated."
12934 msgstr ""
12935
12936 # type: =head2
12937 #: ../src/guestfs-actions.pod:5062
12938 msgid "guestfs_vg_activate_all"
12939 msgstr ""
12940
12941 # type: verbatim
12942 #: ../src/guestfs-actions.pod:5064
12943 #, no-wrap
12944 msgid ""
12945 " int guestfs_vg_activate_all (guestfs_h *g,\n"
12946 "\t\tint activate);\n"
12947 "\n"
12948 msgstr ""
12949
12950 # type: textblock
12951 #: ../src/guestfs-actions.pod:5067 ../fish/guestfish-actions.pod:3913
12952 msgid ""
12953 "This command activates or (if C<activate> is false) deactivates all logical "
12954 "volumes in all volume groups.  If activated, then they are made known to the "
12955 "kernel, ie. they appear as C</dev/mapper> devices.  If deactivated, then "
12956 "those devices disappear."
12957 msgstr ""
12958
12959 # type: textblock
12960 #: ../src/guestfs-actions.pod:5073 ../fish/guestfish-actions.pod:3919
12961 msgid "This command is the same as running C<vgchange -a y|n>"
12962 msgstr ""
12963
12964 # type: =head2
12965 #: ../src/guestfs-actions.pod:5077
12966 msgid "guestfs_vgcreate"
12967 msgstr ""
12968
12969 # type: verbatim
12970 #: ../src/guestfs-actions.pod:5079
12971 #, no-wrap
12972 msgid ""
12973 " int guestfs_vgcreate (guestfs_h *g,\n"
12974 "\t\tconst char *volgroup,\n"
12975 "\t\tchar *const *physvols);\n"
12976 "\n"
12977 msgstr ""
12978
12979 # type: textblock
12980 #: ../src/guestfs-actions.pod:5083 ../fish/guestfish-actions.pod:3925
12981 msgid ""
12982 "This creates an LVM volume group called C<volgroup> from the non-empty list "
12983 "of physical volumes C<physvols>."
12984 msgstr ""
12985
12986 # type: =head2
12987 #: ../src/guestfs-actions.pod:5088
12988 msgid "guestfs_vglvuuids"
12989 msgstr ""
12990
12991 # type: verbatim
12992 #: ../src/guestfs-actions.pod:5090
12993 #, no-wrap
12994 msgid ""
12995 " char **guestfs_vglvuuids (guestfs_h *g,\n"
12996 "\t\tconst char *vgname);\n"
12997 "\n"
12998 msgstr ""
12999
13000 # type: textblock
13001 #: ../src/guestfs-actions.pod:5093 ../fish/guestfish-actions.pod:3932
13002 msgid ""
13003 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
13004 "volumes created in this volume group."
13005 msgstr ""
13006
13007 # type: textblock
13008 #: ../src/guestfs-actions.pod:5096
13009 msgid ""
13010 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
13011 "associate logical volumes and volume groups."
13012 msgstr ""
13013
13014 # type: textblock
13015 #: ../src/guestfs-actions.pod:5099
13016 msgid "See also C<guestfs_vgpvuuids>."
13017 msgstr ""
13018
13019 # type: =head2
13020 #: ../src/guestfs-actions.pod:5105
13021 msgid "guestfs_vgpvuuids"
13022 msgstr ""
13023
13024 # type: verbatim
13025 #: ../src/guestfs-actions.pod:5107
13026 #, no-wrap
13027 msgid ""
13028 " char **guestfs_vgpvuuids (guestfs_h *g,\n"
13029 "\t\tconst char *vgname);\n"
13030 "\n"
13031 msgstr ""
13032
13033 # type: textblock
13034 #: ../src/guestfs-actions.pod:5110 ../fish/guestfish-actions.pod:3944
13035 msgid ""
13036 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
13037 "volumes that this volume group resides on."
13038 msgstr ""
13039
13040 # type: textblock
13041 #: ../src/guestfs-actions.pod:5113
13042 msgid ""
13043 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
13044 "associate physical volumes and volume groups."
13045 msgstr ""
13046
13047 # type: textblock
13048 #: ../src/guestfs-actions.pod:5116
13049 msgid "See also C<guestfs_vglvuuids>."
13050 msgstr ""
13051
13052 # type: =head2
13053 #: ../src/guestfs-actions.pod:5122
13054 msgid "guestfs_vgremove"
13055 msgstr ""
13056
13057 # type: verbatim
13058 #: ../src/guestfs-actions.pod:5124
13059 #, no-wrap
13060 msgid ""
13061 " int guestfs_vgremove (guestfs_h *g,\n"
13062 "\t\tconst char *vgname);\n"
13063 "\n"
13064 msgstr ""
13065
13066 # type: textblock
13067 #: ../src/guestfs-actions.pod:5127 ../fish/guestfish-actions.pod:3956
13068 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
13069 msgstr ""
13070
13071 # type: textblock
13072 #: ../src/guestfs-actions.pod:5129 ../fish/guestfish-actions.pod:3958
13073 msgid ""
13074 "This also forcibly removes all logical volumes in the volume group (if any)."
13075 msgstr ""
13076
13077 # type: =head2
13078 #: ../src/guestfs-actions.pod:5134
13079 msgid "guestfs_vgrename"
13080 msgstr ""
13081
13082 # type: verbatim
13083 #: ../src/guestfs-actions.pod:5136
13084 #, no-wrap
13085 msgid ""
13086 " int guestfs_vgrename (guestfs_h *g,\n"
13087 "\t\tconst char *volgroup,\n"
13088 "\t\tconst char *newvolgroup);\n"
13089 "\n"
13090 msgstr ""
13091
13092 # type: textblock
13093 #: ../src/guestfs-actions.pod:5140 ../fish/guestfish-actions.pod:3965
13094 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
13095 msgstr ""
13096
13097 # type: =head2
13098 #: ../src/guestfs-actions.pod:5144
13099 msgid "guestfs_vgs"
13100 msgstr ""
13101
13102 # type: verbatim
13103 #: ../src/guestfs-actions.pod:5146
13104 #, no-wrap
13105 msgid ""
13106 " char **guestfs_vgs (guestfs_h *g);\n"
13107 "\n"
13108 msgstr ""
13109
13110 # type: textblock
13111 #: ../src/guestfs-actions.pod:5148 ../fish/guestfish-actions.pod:3971
13112 msgid ""
13113 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13114 "> command."
13115 msgstr ""
13116
13117 # type: textblock
13118 #: ../src/guestfs-actions.pod:5151 ../fish/guestfish-actions.pod:3974
13119 msgid ""
13120 "This returns a list of just the volume group names that were detected (eg. "
13121 "C<VolGroup00>)."
13122 msgstr ""
13123
13124 # type: textblock
13125 #: ../src/guestfs-actions.pod:5154
13126 msgid "See also C<guestfs_vgs_full>."
13127 msgstr ""
13128
13129 # type: =head2
13130 #: ../src/guestfs-actions.pod:5160
13131 msgid "guestfs_vgs_full"
13132 msgstr ""
13133
13134 # type: verbatim
13135 #: ../src/guestfs-actions.pod:5162
13136 #, no-wrap
13137 msgid ""
13138 " struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *g);\n"
13139 "\n"
13140 msgstr ""
13141
13142 # type: textblock
13143 #: ../src/guestfs-actions.pod:5164 ../fish/guestfish-actions.pod:3983
13144 msgid ""
13145 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13146 "> command.  The \"full\" version includes all fields."
13147 msgstr ""
13148
13149 # type: textblock
13150 #: ../src/guestfs-actions.pod:5167
13151 msgid ""
13152 "This function returns a C<struct guestfs_lvm_vg_list *> (see E<lt>guestfs-"
13153 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
13154 "C<guestfs_free_lvm_vg_list> after use>."
13155 msgstr ""
13156
13157 # type: =head2
13158 #: ../src/guestfs-actions.pod:5172
13159 msgid "guestfs_vgscan"
13160 msgstr ""
13161
13162 # type: verbatim
13163 #: ../src/guestfs-actions.pod:5174
13164 #, no-wrap
13165 msgid ""
13166 " int guestfs_vgscan (guestfs_h *g);\n"
13167 "\n"
13168 msgstr ""
13169
13170 # type: textblock
13171 #: ../src/guestfs-actions.pod:5176 ../fish/guestfish-actions.pod:3990
13172 msgid ""
13173 "This rescans all block devices and rebuilds the list of LVM physical "
13174 "volumes, volume groups and logical volumes."
13175 msgstr ""
13176
13177 # type: =head2
13178 #: ../src/guestfs-actions.pod:5181
13179 msgid "guestfs_vguuid"
13180 msgstr ""
13181
13182 # type: verbatim
13183 #: ../src/guestfs-actions.pod:5183
13184 #, no-wrap
13185 msgid ""
13186 " char *guestfs_vguuid (guestfs_h *g,\n"
13187 "\t\tconst char *vgname);\n"
13188 "\n"
13189 msgstr ""
13190
13191 # type: textblock
13192 #: ../src/guestfs-actions.pod:5186 ../fish/guestfish-actions.pod:3997
13193 msgid "This command returns the UUID of the LVM VG named C<vgname>."
13194 msgstr ""
13195
13196 # type: =head2
13197 #: ../src/guestfs-actions.pod:5191
13198 msgid "guestfs_wait_ready"
13199 msgstr ""
13200
13201 # type: verbatim
13202 #: ../src/guestfs-actions.pod:5193
13203 #, no-wrap
13204 msgid ""
13205 " int guestfs_wait_ready (guestfs_h *g);\n"
13206 "\n"
13207 msgstr ""
13208
13209 # type: textblock
13210 #: ../src/guestfs-actions.pod:5195
13211 msgid "This function is a no op."
13212 msgstr ""
13213
13214 # type: textblock
13215 #: ../src/guestfs-actions.pod:5197
13216 msgid ""
13217 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
13218 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
13219 "is no longer necessary because C<guestfs_launch> now does the waiting."
13220 msgstr ""
13221
13222 # type: textblock
13223 #: ../src/guestfs-actions.pod:5202
13224 msgid ""
13225 "If you see any calls to this function in code then you can just remove them, "
13226 "unless you want to retain compatibility with older versions of the API."
13227 msgstr ""
13228
13229 # type: =head2
13230 #: ../src/guestfs-actions.pod:5208
13231 msgid "guestfs_wc_c"
13232 msgstr ""
13233
13234 # type: verbatim
13235 #: ../src/guestfs-actions.pod:5210
13236 #, no-wrap
13237 msgid ""
13238 " int guestfs_wc_c (guestfs_h *g,\n"
13239 "\t\tconst char *path);\n"
13240 "\n"
13241 msgstr ""
13242
13243 # type: textblock
13244 #: ../src/guestfs-actions.pod:5213 ../fish/guestfish-actions.pod:4003
13245 msgid ""
13246 "This command counts the characters in a file, using the C<wc -c> external "
13247 "command."
13248 msgstr ""
13249
13250 # type: =head2
13251 #: ../src/guestfs-actions.pod:5218
13252 msgid "guestfs_wc_l"
13253 msgstr ""
13254
13255 # type: verbatim
13256 #: ../src/guestfs-actions.pod:5220
13257 #, no-wrap
13258 msgid ""
13259 " int guestfs_wc_l (guestfs_h *g,\n"
13260 "\t\tconst char *path);\n"
13261 "\n"
13262 msgstr ""
13263
13264 # type: textblock
13265 #: ../src/guestfs-actions.pod:5223 ../fish/guestfish-actions.pod:4010
13266 msgid ""
13267 "This command counts the lines in a file, using the C<wc -l> external command."
13268 msgstr ""
13269
13270 # type: =head2
13271 #: ../src/guestfs-actions.pod:5228
13272 msgid "guestfs_wc_w"
13273 msgstr ""
13274
13275 # type: verbatim
13276 #: ../src/guestfs-actions.pod:5230
13277 #, no-wrap
13278 msgid ""
13279 " int guestfs_wc_w (guestfs_h *g,\n"
13280 "\t\tconst char *path);\n"
13281 "\n"
13282 msgstr ""
13283
13284 # type: textblock
13285 #: ../src/guestfs-actions.pod:5233 ../fish/guestfish-actions.pod:4017
13286 msgid ""
13287 "This command counts the words in a file, using the C<wc -w> external command."
13288 msgstr ""
13289
13290 # type: =head2
13291 #: ../src/guestfs-actions.pod:5238
13292 msgid "guestfs_write"
13293 msgstr ""
13294
13295 # type: verbatim
13296 #: ../src/guestfs-actions.pod:5240
13297 #, no-wrap
13298 msgid ""
13299 " int guestfs_write (guestfs_h *g,\n"
13300 "\t\tconst char *path,\n"
13301 "\t\tconst char *content,\n"
13302 "\t\tsize_t content_size);\n"
13303 "\n"
13304 msgstr ""
13305
13306 # type: textblock
13307 #: ../src/guestfs-actions.pod:5245 ../fish/guestfish-actions.pod:4024
13308 msgid ""
13309 "This call creates a file called C<path>.  The content of the file is the "
13310 "string C<content> (which can contain any 8 bit data)."
13311 msgstr ""
13312
13313 # type: =head2
13314 #: ../src/guestfs-actions.pod:5253
13315 msgid "guestfs_write_file"
13316 msgstr ""
13317
13318 # type: verbatim
13319 #: ../src/guestfs-actions.pod:5255
13320 #, no-wrap
13321 msgid ""
13322 " int guestfs_write_file (guestfs_h *g,\n"
13323 "\t\tconst char *path,\n"
13324 "\t\tconst char *content,\n"
13325 "\t\tint size);\n"
13326 "\n"
13327 msgstr ""
13328
13329 # type: textblock
13330 #: ../src/guestfs-actions.pod:5260 ../fish/guestfish-actions.pod:4034
13331 msgid ""
13332 "This call creates a file called C<path>.  The contents of the file is the "
13333 "string C<content> (which can contain any 8 bit data), with length C<size>."
13334 msgstr ""
13335
13336 # type: textblock
13337 #: ../src/guestfs-actions.pod:5264 ../fish/guestfish-actions.pod:4038
13338 msgid ""
13339 "As a special case, if C<size> is C<0> then the length is calculated using "
13340 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
13341 msgstr ""
13342
13343 # type: textblock
13344 #: ../src/guestfs-actions.pod:5268 ../fish/guestfish-actions.pod:4042
13345 msgid ""
13346 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
13347 "I<not> work, even if the length is specified."
13348 msgstr ""
13349
13350 # type: textblock
13351 #: ../src/guestfs-actions.pod:5276 ../fish/guestfish-actions.pod:4048
13352 msgid ""
13353 "This function is deprecated.  In new code, use the C<write> call instead."
13354 msgstr ""
13355
13356 # type: =head2
13357 #: ../src/guestfs-actions.pod:5283
13358 msgid "guestfs_zegrep"
13359 msgstr ""
13360
13361 # type: verbatim
13362 #: ../src/guestfs-actions.pod:5285
13363 #, no-wrap
13364 msgid ""
13365 " char **guestfs_zegrep (guestfs_h *g,\n"
13366 "\t\tconst char *regex,\n"
13367 "\t\tconst char *path);\n"
13368 "\n"
13369 msgstr ""
13370
13371 # type: textblock
13372 #: ../src/guestfs-actions.pod:5289 ../fish/guestfish-actions.pod:4059
13373 msgid ""
13374 "This calls the external C<zegrep> program and returns the matching lines."
13375 msgstr ""
13376
13377 # type: =head2
13378 #: ../src/guestfs-actions.pod:5299
13379 msgid "guestfs_zegrepi"
13380 msgstr ""
13381
13382 # type: verbatim
13383 #: ../src/guestfs-actions.pod:5301
13384 #, no-wrap
13385 msgid ""
13386 " char **guestfs_zegrepi (guestfs_h *g,\n"
13387 "\t\tconst char *regex,\n"
13388 "\t\tconst char *path);\n"
13389 "\n"
13390 msgstr ""
13391
13392 # type: textblock
13393 #: ../src/guestfs-actions.pod:5305 ../fish/guestfish-actions.pod:4069
13394 msgid ""
13395 "This calls the external C<zegrep -i> program and returns the matching lines."
13396 msgstr ""
13397
13398 # type: =head2
13399 #: ../src/guestfs-actions.pod:5315
13400 msgid "guestfs_zero"
13401 msgstr ""
13402
13403 # type: verbatim
13404 #: ../src/guestfs-actions.pod:5317
13405 #, no-wrap
13406 msgid ""
13407 " int guestfs_zero (guestfs_h *g,\n"
13408 "\t\tconst char *device);\n"
13409 "\n"
13410 msgstr ""
13411
13412 # type: textblock
13413 #: ../src/guestfs-actions.pod:5320 ../fish/guestfish-actions.pod:4079
13414 msgid "This command writes zeroes over the first few blocks of C<device>."
13415 msgstr ""
13416
13417 # type: textblock
13418 #: ../src/guestfs-actions.pod:5322 ../fish/guestfish-actions.pod:4081
13419 msgid ""
13420 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
13421 "securely wipe the device).  It should be sufficient to remove any partition "
13422 "tables, filesystem superblocks and so on."
13423 msgstr ""
13424
13425 # type: textblock
13426 #: ../src/guestfs-actions.pod:5326
13427 msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
13428 msgstr ""
13429
13430 # type: =head2
13431 #: ../src/guestfs-actions.pod:5335
13432 msgid "guestfs_zero_device"
13433 msgstr ""
13434
13435 # type: verbatim
13436 #: ../src/guestfs-actions.pod:5337
13437 #, no-wrap
13438 msgid ""
13439 " int guestfs_zero_device (guestfs_h *g,\n"
13440 "\t\tconst char *device);\n"
13441 "\n"
13442 msgstr ""
13443
13444 # type: textblock
13445 #: ../src/guestfs-actions.pod:5340
13446 msgid ""
13447 "This command writes zeroes over the entire C<device>.  Compare with "
13448 "C<guestfs_zero> which just zeroes the first few blocks of a device."
13449 msgstr ""
13450
13451 # type: =head2
13452 #: ../src/guestfs-actions.pod:5354
13453 msgid "guestfs_zerofree"
13454 msgstr ""
13455
13456 # type: verbatim
13457 #: ../src/guestfs-actions.pod:5356
13458 #, no-wrap
13459 msgid ""
13460 " int guestfs_zerofree (guestfs_h *g,\n"
13461 "\t\tconst char *device);\n"
13462 "\n"
13463 msgstr ""
13464
13465 # type: textblock
13466 #: ../src/guestfs-actions.pod:5359 ../fish/guestfish-actions.pod:4102
13467 msgid ""
13468 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
13469 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
13470 "possible to compress the filesystem more effectively."
13471 msgstr ""
13472
13473 # type: textblock
13474 #: ../src/guestfs-actions.pod:5364 ../fish/guestfish-actions.pod:4107
13475 msgid "You should B<not> run this program if the filesystem is mounted."
13476 msgstr ""
13477
13478 # type: textblock
13479 #: ../src/guestfs-actions.pod:5367 ../fish/guestfish-actions.pod:4110
13480 msgid ""
13481 "It is possible that using this program can damage the filesystem or data on "
13482 "the filesystem."
13483 msgstr ""
13484
13485 # type: =head2
13486 #: ../src/guestfs-actions.pod:5372
13487 msgid "guestfs_zfgrep"
13488 msgstr ""
13489
13490 # type: verbatim
13491 #: ../src/guestfs-actions.pod:5374
13492 #, no-wrap
13493 msgid ""
13494 " char **guestfs_zfgrep (guestfs_h *g,\n"
13495 "\t\tconst char *pattern,\n"
13496 "\t\tconst char *path);\n"
13497 "\n"
13498 msgstr ""
13499
13500 # type: textblock
13501 #: ../src/guestfs-actions.pod:5378 ../fish/guestfish-actions.pod:4117
13502 msgid ""
13503 "This calls the external C<zfgrep> program and returns the matching lines."
13504 msgstr ""
13505
13506 # type: =head2
13507 #: ../src/guestfs-actions.pod:5388
13508 msgid "guestfs_zfgrepi"
13509 msgstr ""
13510
13511 # type: verbatim
13512 #: ../src/guestfs-actions.pod:5390
13513 #, no-wrap
13514 msgid ""
13515 " char **guestfs_zfgrepi (guestfs_h *g,\n"
13516 "\t\tconst char *pattern,\n"
13517 "\t\tconst char *path);\n"
13518 "\n"
13519 msgstr ""
13520
13521 # type: textblock
13522 #: ../src/guestfs-actions.pod:5394 ../fish/guestfish-actions.pod:4127
13523 msgid ""
13524 "This calls the external C<zfgrep -i> program and returns the matching lines."
13525 msgstr ""
13526
13527 # type: =head2
13528 #: ../src/guestfs-actions.pod:5404
13529 msgid "guestfs_zfile"
13530 msgstr ""
13531
13532 # type: verbatim
13533 #: ../src/guestfs-actions.pod:5406
13534 #, no-wrap
13535 msgid ""
13536 " char *guestfs_zfile (guestfs_h *g,\n"
13537 "\t\tconst char *meth,\n"
13538 "\t\tconst char *path);\n"
13539 "\n"
13540 msgstr ""
13541
13542 # type: textblock
13543 #: ../src/guestfs-actions.pod:5410 ../fish/guestfish-actions.pod:4137
13544 msgid ""
13545 "This command runs C<file> after first decompressing C<path> using C<method>."
13546 msgstr ""
13547
13548 # type: textblock
13549 #: ../src/guestfs-actions.pod:5413 ../fish/guestfish-actions.pod:4140
13550 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
13551 msgstr ""
13552
13553 # type: textblock
13554 #: ../src/guestfs-actions.pod:5415
13555 msgid ""
13556 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
13557 "files."
13558 msgstr ""
13559
13560 # type: textblock
13561 #: ../src/guestfs-actions.pod:5421 ../fish/guestfish-actions.pod:4145
13562 msgid ""
13563 "This function is deprecated.  In new code, use the C<file> call instead."
13564 msgstr ""
13565
13566 # type: =head2
13567 #: ../src/guestfs-actions.pod:5428
13568 msgid "guestfs_zgrep"
13569 msgstr ""
13570
13571 # type: verbatim
13572 #: ../src/guestfs-actions.pod:5430
13573 #, no-wrap
13574 msgid ""
13575 " char **guestfs_zgrep (guestfs_h *g,\n"
13576 "\t\tconst char *regex,\n"
13577 "\t\tconst char *path);\n"
13578 "\n"
13579 msgstr ""
13580
13581 # type: textblock
13582 #: ../src/guestfs-actions.pod:5434 ../fish/guestfish-actions.pod:4156
13583 msgid ""
13584 "This calls the external C<zgrep> program and returns the matching lines."
13585 msgstr ""
13586
13587 # type: =head2
13588 #: ../src/guestfs-actions.pod:5444
13589 msgid "guestfs_zgrepi"
13590 msgstr ""
13591
13592 # type: verbatim
13593 #: ../src/guestfs-actions.pod:5446
13594 #, no-wrap
13595 msgid ""
13596 " char **guestfs_zgrepi (guestfs_h *g,\n"
13597 "\t\tconst char *regex,\n"
13598 "\t\tconst char *path);\n"
13599 "\n"
13600 msgstr ""
13601
13602 # type: textblock
13603 #: ../src/guestfs-actions.pod:5450 ../fish/guestfish-actions.pod:4166
13604 msgid ""
13605 "This calls the external C<zgrep -i> program and returns the matching lines."
13606 msgstr ""
13607
13608 # type: =item
13609 #: ../src/guestfs-availability.pod:3
13610 msgid "B<augeas>"
13611 msgstr ""
13612
13613 # type: textblock
13614 #: ../src/guestfs-availability.pod:5
13615 msgid ""
13616 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
13617 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
13618 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
13619 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
13620 "L</guestfs_aug_save> L</guestfs_aug_set>"
13621 msgstr ""
13622
13623 # type: =item
13624 #: ../src/guestfs-availability.pod:21
13625 msgid "B<inotify>"
13626 msgstr ""
13627
13628 # type: textblock
13629 #: ../src/guestfs-availability.pod:23
13630 msgid ""
13631 "The following functions: L</guestfs_inotify_add_watch> L</"
13632 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
13633 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
13634 msgstr ""
13635
13636 # type: =item
13637 #: ../src/guestfs-availability.pod:31
13638 msgid "B<linuxfsuuid>"
13639 msgstr ""
13640
13641 # type: textblock
13642 #: ../src/guestfs-availability.pod:33
13643 msgid ""
13644 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
13645 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
13646 msgstr ""
13647
13648 # type: =item
13649 #: ../src/guestfs-availability.pod:40
13650 msgid "B<linuxmodules>"
13651 msgstr ""
13652
13653 # type: textblock
13654 #: ../src/guestfs-availability.pod:42
13655 msgid "The following functions: L</guestfs_modprobe>"
13656 msgstr ""
13657
13658 # type: =item
13659 #: ../src/guestfs-availability.pod:45
13660 msgid "B<linuxxattrs>"
13661 msgstr ""
13662
13663 # type: textblock
13664 #: ../src/guestfs-availability.pod:47
13665 msgid ""
13666 "The following functions: L</guestfs_getxattrs> L</guestfs_lgetxattrs> L</"
13667 "guestfs_lremovexattr> L</guestfs_lsetxattr> L</guestfs_lxattrlist> L</"
13668 "guestfs_removexattr> L</guestfs_setxattr>"
13669 msgstr ""
13670
13671 # type: =item
13672 #: ../src/guestfs-availability.pod:56
13673 msgid "B<luks>"
13674 msgstr ""
13675
13676 # type: textblock
13677 #: ../src/guestfs-availability.pod:58
13678 msgid ""
13679 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
13680 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
13681 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
13682 msgstr ""
13683
13684 # type: =item
13685 #: ../src/guestfs-availability.pod:67
13686 msgid "B<lvm2>"
13687 msgstr ""
13688
13689 # type: textblock
13690 #: ../src/guestfs-availability.pod:69
13691 msgid ""
13692 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
13693 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
13694 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
13695 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
13696 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
13697 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
13698 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
13699 msgstr ""
13700
13701 # type: =item
13702 #: ../src/guestfs-availability.pod:92
13703 msgid "B<mknod>"
13704 msgstr ""
13705
13706 # type: textblock
13707 #: ../src/guestfs-availability.pod:94
13708 msgid ""
13709 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
13710 "guestfs_mknod_b> L</guestfs_mknod_c>"
13711 msgstr ""
13712
13713 # type: =item
13714 #: ../src/guestfs-availability.pod:100
13715 msgid "B<ntfs3g>"
13716 msgstr ""
13717
13718 # type: textblock
13719 #: ../src/guestfs-availability.pod:102
13720 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
13721 msgstr ""
13722
13723 # type: =item
13724 #: ../src/guestfs-availability.pod:105
13725 msgid "B<ntfsprogs>"
13726 msgstr ""
13727
13728 # type: textblock
13729 #: ../src/guestfs-availability.pod:107
13730 msgid ""
13731 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_size>"
13732 msgstr ""
13733
13734 # type: =item
13735 #: ../src/guestfs-availability.pod:111
13736 msgid "B<realpath>"
13737 msgstr ""
13738
13739 # type: textblock
13740 #: ../src/guestfs-availability.pod:113
13741 msgid "The following functions: L</guestfs_realpath>"
13742 msgstr ""
13743
13744 # type: =item
13745 #: ../src/guestfs-availability.pod:116
13746 msgid "B<scrub>"
13747 msgstr ""
13748
13749 # type: textblock
13750 #: ../src/guestfs-availability.pod:118
13751 msgid ""
13752 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
13753 "guestfs_scrub_freespace>"
13754 msgstr ""
13755
13756 # type: =item
13757 #: ../src/guestfs-availability.pod:123
13758 msgid "B<selinux>"
13759 msgstr ""
13760
13761 # type: textblock
13762 #: ../src/guestfs-availability.pod:125
13763 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
13764 msgstr ""
13765
13766 # type: =item
13767 #: ../src/guestfs-availability.pod:129
13768 msgid "B<xz>"
13769 msgstr ""
13770
13771 # type: textblock
13772 #: ../src/guestfs-availability.pod:131
13773 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
13774 msgstr ""
13775
13776 # type: =item
13777 #: ../src/guestfs-availability.pod:135
13778 msgid "B<zerofree>"
13779 msgstr ""
13780
13781 # type: textblock
13782 #: ../src/guestfs-availability.pod:137
13783 msgid "The following functions: L</guestfs_zerofree>"
13784 msgstr ""
13785
13786 # type: =head2
13787 #: ../src/guestfs-structs.pod:1
13788 msgid "guestfs_int_bool"
13789 msgstr ""
13790
13791 # type: verbatim
13792 #: ../src/guestfs-structs.pod:3
13793 #, no-wrap
13794 msgid ""
13795 " struct guestfs_int_bool {\n"
13796 "   int32_t i;\n"
13797 "   int32_t b;\n"
13798 " };\n"
13799 " \n"
13800 msgstr ""
13801
13802 # type: verbatim
13803 #: ../src/guestfs-structs.pod:8
13804 #, no-wrap
13805 msgid ""
13806 " struct guestfs_int_bool_list {\n"
13807 "   uint32_t len; /* Number of elements in list. */\n"
13808 "   struct guestfs_int_bool *val; /* Elements. */\n"
13809 " };\n"
13810 " \n"
13811 msgstr ""
13812
13813 # type: verbatim
13814 #: ../src/guestfs-structs.pod:13
13815 #, no-wrap
13816 msgid ""
13817 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
13818 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
13819 "\n"
13820 msgstr ""
13821
13822 # type: =head2
13823 #: ../src/guestfs-structs.pod:16
13824 msgid "guestfs_lvm_pv"
13825 msgstr ""
13826
13827 # type: verbatim
13828 #: ../src/guestfs-structs.pod:18
13829 #, no-wrap
13830 msgid ""
13831 " struct guestfs_lvm_pv {\n"
13832 "   char *pv_name;\n"
13833 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
13834 "   char pv_uuid[32];\n"
13835 "   char *pv_fmt;\n"
13836 "   uint64_t pv_size;\n"
13837 "   uint64_t dev_size;\n"
13838 "   uint64_t pv_free;\n"
13839 "   uint64_t pv_used;\n"
13840 "   char *pv_attr;\n"
13841 "   int64_t pv_pe_count;\n"
13842 "   int64_t pv_pe_alloc_count;\n"
13843 "   char *pv_tags;\n"
13844 "   uint64_t pe_start;\n"
13845 "   int64_t pv_mda_count;\n"
13846 "   uint64_t pv_mda_free;\n"
13847 " };\n"
13848 " \n"
13849 msgstr ""
13850
13851 # type: verbatim
13852 #: ../src/guestfs-structs.pod:36
13853 #, no-wrap
13854 msgid ""
13855 " struct guestfs_lvm_pv_list {\n"
13856 "   uint32_t len; /* Number of elements in list. */\n"
13857 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
13858 " };\n"
13859 " \n"
13860 msgstr ""
13861
13862 # type: verbatim
13863 #: ../src/guestfs-structs.pod:41
13864 #, no-wrap
13865 msgid ""
13866 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
13867 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
13868 "\n"
13869 msgstr ""
13870
13871 # type: =head2
13872 #: ../src/guestfs-structs.pod:44
13873 msgid "guestfs_lvm_vg"
13874 msgstr ""
13875
13876 # type: verbatim
13877 #: ../src/guestfs-structs.pod:46
13878 #, no-wrap
13879 msgid ""
13880 " struct guestfs_lvm_vg {\n"
13881 "   char *vg_name;\n"
13882 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
13883 "   char vg_uuid[32];\n"
13884 "   char *vg_fmt;\n"
13885 "   char *vg_attr;\n"
13886 "   uint64_t vg_size;\n"
13887 "   uint64_t vg_free;\n"
13888 "   char *vg_sysid;\n"
13889 "   uint64_t vg_extent_size;\n"
13890 "   int64_t vg_extent_count;\n"
13891 "   int64_t vg_free_count;\n"
13892 "   int64_t max_lv;\n"
13893 "   int64_t max_pv;\n"
13894 "   int64_t pv_count;\n"
13895 "   int64_t lv_count;\n"
13896 "   int64_t snap_count;\n"
13897 "   int64_t vg_seqno;\n"
13898 "   char *vg_tags;\n"
13899 "   int64_t vg_mda_count;\n"
13900 "   uint64_t vg_mda_free;\n"
13901 " };\n"
13902 " \n"
13903 msgstr ""
13904
13905 # type: verbatim
13906 #: ../src/guestfs-structs.pod:69
13907 #, no-wrap
13908 msgid ""
13909 " struct guestfs_lvm_vg_list {\n"
13910 "   uint32_t len; /* Number of elements in list. */\n"
13911 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
13912 " };\n"
13913 " \n"
13914 msgstr ""
13915
13916 # type: verbatim
13917 #: ../src/guestfs-structs.pod:74
13918 #, no-wrap
13919 msgid ""
13920 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
13921 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
13922 "\n"
13923 msgstr ""
13924
13925 # type: =head2
13926 #: ../src/guestfs-structs.pod:77
13927 msgid "guestfs_lvm_lv"
13928 msgstr ""
13929
13930 # type: verbatim
13931 #: ../src/guestfs-structs.pod:79
13932 #, no-wrap
13933 msgid ""
13934 " struct guestfs_lvm_lv {\n"
13935 "   char *lv_name;\n"
13936 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
13937 "   char lv_uuid[32];\n"
13938 "   char *lv_attr;\n"
13939 "   int64_t lv_major;\n"
13940 "   int64_t lv_minor;\n"
13941 "   int64_t lv_kernel_major;\n"
13942 "   int64_t lv_kernel_minor;\n"
13943 "   uint64_t lv_size;\n"
13944 "   int64_t seg_count;\n"
13945 "   char *origin;\n"
13946 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
13947 "   float snap_percent;\n"
13948 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
13949 "   float copy_percent;\n"
13950 "   char *move_pv;\n"
13951 "   char *lv_tags;\n"
13952 "   char *mirror_log;\n"
13953 "   char *modules;\n"
13954 " };\n"
13955 " \n"
13956 msgstr ""
13957
13958 # type: verbatim
13959 #: ../src/guestfs-structs.pod:101
13960 #, no-wrap
13961 msgid ""
13962 " struct guestfs_lvm_lv_list {\n"
13963 "   uint32_t len; /* Number of elements in list. */\n"
13964 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
13965 " };\n"
13966 " \n"
13967 msgstr ""
13968
13969 # type: verbatim
13970 #: ../src/guestfs-structs.pod:106
13971 #, no-wrap
13972 msgid ""
13973 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
13974 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
13975 "\n"
13976 msgstr ""
13977
13978 # type: verbatim
13979 #: ../src/guestfs-structs.pod:111
13980 #, no-wrap
13981 msgid ""
13982 " struct guestfs_stat {\n"
13983 "   int64_t dev;\n"
13984 "   int64_t ino;\n"
13985 "   int64_t mode;\n"
13986 "   int64_t nlink;\n"
13987 "   int64_t uid;\n"
13988 "   int64_t gid;\n"
13989 "   int64_t rdev;\n"
13990 "   int64_t size;\n"
13991 "   int64_t blksize;\n"
13992 "   int64_t blocks;\n"
13993 "   int64_t atime;\n"
13994 "   int64_t mtime;\n"
13995 "   int64_t ctime;\n"
13996 " };\n"
13997 " \n"
13998 msgstr ""
13999
14000 # type: verbatim
14001 #: ../src/guestfs-structs.pod:127
14002 #, no-wrap
14003 msgid ""
14004 " struct guestfs_stat_list {\n"
14005 "   uint32_t len; /* Number of elements in list. */\n"
14006 "   struct guestfs_stat *val; /* Elements. */\n"
14007 " };\n"
14008 " \n"
14009 msgstr ""
14010
14011 # type: verbatim
14012 #: ../src/guestfs-structs.pod:132
14013 #, no-wrap
14014 msgid ""
14015 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
14016 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
14017 "\n"
14018 msgstr ""
14019
14020 # type: verbatim
14021 #: ../src/guestfs-structs.pod:137
14022 #, no-wrap
14023 msgid ""
14024 " struct guestfs_statvfs {\n"
14025 "   int64_t bsize;\n"
14026 "   int64_t frsize;\n"
14027 "   int64_t blocks;\n"
14028 "   int64_t bfree;\n"
14029 "   int64_t bavail;\n"
14030 "   int64_t files;\n"
14031 "   int64_t ffree;\n"
14032 "   int64_t favail;\n"
14033 "   int64_t fsid;\n"
14034 "   int64_t flag;\n"
14035 "   int64_t namemax;\n"
14036 " };\n"
14037 " \n"
14038 msgstr ""
14039
14040 # type: verbatim
14041 #: ../src/guestfs-structs.pod:151
14042 #, no-wrap
14043 msgid ""
14044 " struct guestfs_statvfs_list {\n"
14045 "   uint32_t len; /* Number of elements in list. */\n"
14046 "   struct guestfs_statvfs *val; /* Elements. */\n"
14047 " };\n"
14048 " \n"
14049 msgstr ""
14050
14051 # type: verbatim
14052 #: ../src/guestfs-structs.pod:156
14053 #, no-wrap
14054 msgid ""
14055 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
14056 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
14057 "\n"
14058 msgstr ""
14059
14060 # type: =head2
14061 #: ../src/guestfs-structs.pod:159
14062 msgid "guestfs_dirent"
14063 msgstr ""
14064
14065 # type: verbatim
14066 #: ../src/guestfs-structs.pod:161
14067 #, no-wrap
14068 msgid ""
14069 " struct guestfs_dirent {\n"
14070 "   int64_t ino;\n"
14071 "   char ftyp;\n"
14072 "   char *name;\n"
14073 " };\n"
14074 " \n"
14075 msgstr ""
14076
14077 # type: verbatim
14078 #: ../src/guestfs-structs.pod:167
14079 #, no-wrap
14080 msgid ""
14081 " struct guestfs_dirent_list {\n"
14082 "   uint32_t len; /* Number of elements in list. */\n"
14083 "   struct guestfs_dirent *val; /* Elements. */\n"
14084 " };\n"
14085 " \n"
14086 msgstr ""
14087
14088 # type: verbatim
14089 #: ../src/guestfs-structs.pod:172
14090 #, no-wrap
14091 msgid ""
14092 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
14093 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
14094 "\n"
14095 msgstr ""
14096
14097 # type: verbatim
14098 #: ../src/guestfs-structs.pod:177
14099 #, no-wrap
14100 msgid ""
14101 " struct guestfs_version {\n"
14102 "   int64_t major;\n"
14103 "   int64_t minor;\n"
14104 "   int64_t release;\n"
14105 "   char *extra;\n"
14106 " };\n"
14107 " \n"
14108 msgstr ""
14109
14110 # type: verbatim
14111 #: ../src/guestfs-structs.pod:184
14112 #, no-wrap
14113 msgid ""
14114 " struct guestfs_version_list {\n"
14115 "   uint32_t len; /* Number of elements in list. */\n"
14116 "   struct guestfs_version *val; /* Elements. */\n"
14117 " };\n"
14118 " \n"
14119 msgstr ""
14120
14121 # type: verbatim
14122 #: ../src/guestfs-structs.pod:189
14123 #, no-wrap
14124 msgid ""
14125 " void guestfs_free_version (struct guestfs_free_version *);\n"
14126 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
14127 "\n"
14128 msgstr ""
14129
14130 # type: =head2
14131 #: ../src/guestfs-structs.pod:192
14132 msgid "guestfs_xattr"
14133 msgstr ""
14134
14135 # type: verbatim
14136 #: ../src/guestfs-structs.pod:194
14137 #, no-wrap
14138 msgid ""
14139 " struct guestfs_xattr {\n"
14140 "   char *attrname;\n"
14141 "   /* The next two fields describe a byte array. */\n"
14142 "   uint32_t attrval_len;\n"
14143 "   char *attrval;\n"
14144 " };\n"
14145 " \n"
14146 msgstr ""
14147
14148 # type: verbatim
14149 #: ../src/guestfs-structs.pod:201
14150 #, no-wrap
14151 msgid ""
14152 " struct guestfs_xattr_list {\n"
14153 "   uint32_t len; /* Number of elements in list. */\n"
14154 "   struct guestfs_xattr *val; /* Elements. */\n"
14155 " };\n"
14156 " \n"
14157 msgstr ""
14158
14159 # type: verbatim
14160 #: ../src/guestfs-structs.pod:206
14161 #, no-wrap
14162 msgid ""
14163 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
14164 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
14165 "\n"
14166 msgstr ""
14167
14168 # type: =head2
14169 #: ../src/guestfs-structs.pod:209
14170 msgid "guestfs_inotify_event"
14171 msgstr ""
14172
14173 # type: verbatim
14174 #: ../src/guestfs-structs.pod:211
14175 #, no-wrap
14176 msgid ""
14177 " struct guestfs_inotify_event {\n"
14178 "   int64_t in_wd;\n"
14179 "   uint32_t in_mask;\n"
14180 "   uint32_t in_cookie;\n"
14181 "   char *in_name;\n"
14182 " };\n"
14183 " \n"
14184 msgstr ""
14185
14186 # type: verbatim
14187 #: ../src/guestfs-structs.pod:218
14188 #, no-wrap
14189 msgid ""
14190 " struct guestfs_inotify_event_list {\n"
14191 "   uint32_t len; /* Number of elements in list. */\n"
14192 "   struct guestfs_inotify_event *val; /* Elements. */\n"
14193 " };\n"
14194 " \n"
14195 msgstr ""
14196
14197 # type: verbatim
14198 #: ../src/guestfs-structs.pod:223
14199 #, no-wrap
14200 msgid ""
14201 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
14202 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
14203 "\n"
14204 msgstr ""
14205
14206 # type: =head2
14207 #: ../src/guestfs-structs.pod:226
14208 msgid "guestfs_partition"
14209 msgstr ""
14210
14211 # type: verbatim
14212 #: ../src/guestfs-structs.pod:228
14213 #, no-wrap
14214 msgid ""
14215 " struct guestfs_partition {\n"
14216 "   int32_t part_num;\n"
14217 "   uint64_t part_start;\n"
14218 "   uint64_t part_end;\n"
14219 "   uint64_t part_size;\n"
14220 " };\n"
14221 " \n"
14222 msgstr ""
14223
14224 # type: verbatim
14225 #: ../src/guestfs-structs.pod:235
14226 #, no-wrap
14227 msgid ""
14228 " struct guestfs_partition_list {\n"
14229 "   uint32_t len; /* Number of elements in list. */\n"
14230 "   struct guestfs_partition *val; /* Elements. */\n"
14231 " };\n"
14232 " \n"
14233 msgstr ""
14234
14235 # type: verbatim
14236 #: ../src/guestfs-structs.pod:240
14237 #, no-wrap
14238 msgid ""
14239 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
14240 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
14241 "\n"
14242 msgstr ""
14243
14244 # type: textblock
14245 #: ../fish/guestfish.pod:5
14246 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
14247 msgstr ""
14248
14249 # type: verbatim
14250 #: ../fish/guestfish.pod:9
14251 #, no-wrap
14252 msgid ""
14253 " guestfish [--options] [commands]\n"
14254 "\n"
14255 msgstr ""
14256
14257 # type: verbatim
14258 #: ../fish/guestfish.pod:11
14259 #, no-wrap
14260 msgid ""
14261 " guestfish\n"
14262 "\n"
14263 msgstr ""
14264
14265 # type: verbatim
14266 #: ../fish/guestfish.pod:13
14267 #, no-wrap
14268 msgid ""
14269 " guestfish -a disk.img\n"
14270 "\n"
14271 msgstr ""
14272
14273 # type: verbatim
14274 #: ../fish/guestfish.pod:15
14275 #, no-wrap
14276 msgid ""
14277 " guestfish -a disk.img -m dev[:mountpoint]\n"
14278 "\n"
14279 msgstr ""
14280
14281 # type: verbatim
14282 #: ../fish/guestfish.pod:17
14283 #, no-wrap
14284 msgid ""
14285 " guestfish -d libvirt-domain\n"
14286 "\n"
14287 msgstr ""
14288
14289 # type: verbatim
14290 #: ../fish/guestfish.pod:19
14291 #, no-wrap
14292 msgid ""
14293 " guestfish -a disk.img -i\n"
14294 "\n"
14295 msgstr ""
14296
14297 # type: verbatim
14298 #: ../fish/guestfish.pod:21
14299 #, no-wrap
14300 msgid ""
14301 " guestfish -d libvirt-domain -i\n"
14302 "\n"
14303 msgstr ""
14304
14305 # type: =head1
14306 #: ../fish/guestfish.pod:23 ../fuse/guestmount.pod:11 ../tools/virt-edit.pl:45
14307 #: ../tools/virt-rescue.pl:41 ../tools/virt-tar.pl:60
14308 #: ../tools/virt-win-reg.pl:52
14309 msgid "WARNING"
14310 msgstr ""
14311
14312 # type: textblock
14313 #: ../fish/guestfish.pod:25
14314 msgid ""
14315 "Using guestfish in read/write mode on live virtual machines can be "
14316 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
14317 "option to use guestfish safely if the disk image or virtual machine might be "
14318 "live."
14319 msgstr ""
14320
14321 # type: =head1
14322 #: ../fish/guestfish.pod:30 ../fish/guestfish.pod:729
14323 #: ../fuse/guestmount.pod:35 ../tools/virt-cat.pl:51 ../tools/virt-edit.pl:59
14324 #: ../tools/virt-resize.pl:66 ../tools/virt-tar.pl:46
14325 msgid "EXAMPLES"
14326 msgstr ""
14327
14328 # type: =head2
14329 #: ../fish/guestfish.pod:32
14330 msgid "As an interactive shell"
14331 msgstr ""
14332
14333 # type: verbatim
14334 #: ../fish/guestfish.pod:34
14335 #, no-wrap
14336 msgid ""
14337 " $ guestfish\n"
14338 " \n"
14339 msgstr ""
14340
14341 # type: verbatim
14342 #: ../fish/guestfish.pod:36
14343 #, no-wrap
14344 msgid ""
14345 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
14346 " editing virtual machine filesystems.\n"
14347 " \n"
14348 msgstr ""
14349
14350 # type: verbatim
14351 #: ../fish/guestfish.pod:39
14352 #, no-wrap
14353 msgid ""
14354 " Type: 'help' for a list of commands\n"
14355 "       'man' to read the manual\n"
14356 "       'quit' to quit the shell\n"
14357 " \n"
14358 msgstr ""
14359
14360 # type: verbatim
14361 #: ../fish/guestfish.pod:43
14362 #, no-wrap
14363 msgid ""
14364 " ><fs> man\n"
14365 "\n"
14366 msgstr ""
14367
14368 # type: =head2
14369 #: ../fish/guestfish.pod:45
14370 msgid "From shell scripts"
14371 msgstr ""
14372
14373 # type: textblock
14374 #: ../fish/guestfish.pod:47
14375 msgid "Create a new C</etc/motd> file in a guest:"
14376 msgstr ""
14377
14378 # type: verbatim
14379 #: ../fish/guestfish.pod:49
14380 #, no-wrap
14381 msgid ""
14382 " guestfish <<_EOF_\n"
14383 " add disk.img\n"
14384 " run\n"
14385 " mount /dev/vg_guest/lv_root /\n"
14386 " write /etc/motd \"Welcome, new users\"\n"
14387 " _EOF_\n"
14388 "\n"
14389 msgstr ""
14390
14391 # type: textblock
14392 #: ../fish/guestfish.pod:56
14393 msgid "List the LVM logical volumes in a guest:"
14394 msgstr ""
14395
14396 # type: verbatim
14397 #: ../fish/guestfish.pod:58
14398 #, no-wrap
14399 msgid ""
14400 " guestfish -a disk.img --ro <<_EOF_\n"
14401 " run\n"
14402 " lvs\n"
14403 " _EOF_\n"
14404 "\n"
14405 msgstr ""
14406
14407 # type: =head2
14408 #: ../fish/guestfish.pod:63
14409 msgid "On one command line"
14410 msgstr ""
14411
14412 # type: textblock
14413 #: ../fish/guestfish.pod:65
14414 msgid "Update C</etc/resolv.conf> in a guest:"
14415 msgstr ""
14416
14417 # type: verbatim
14418 #: ../fish/guestfish.pod:67
14419 #, no-wrap
14420 msgid ""
14421 " guestfish \\\n"
14422 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
14423 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
14424 "\n"
14425 msgstr ""
14426
14427 # type: textblock
14428 #: ../fish/guestfish.pod:71
14429 msgid "Edit C</boot/grub/grub.conf> interactively:"
14430 msgstr ""
14431
14432 # type: verbatim
14433 #: ../fish/guestfish.pod:73
14434 #, no-wrap
14435 msgid ""
14436 " guestfish --add disk.img \\\n"
14437 "   --mount /dev/vg_guest/lv_root \\\n"
14438 "   --mount /dev/sda1:/boot \\\n"
14439 "   edit /boot/grub/grub.conf\n"
14440 "\n"
14441 msgstr ""
14442
14443 # type: =head2
14444 #: ../fish/guestfish.pod:78
14445 msgid "Mount disks automatically"
14446 msgstr ""
14447
14448 # type: textblock
14449 #: ../fish/guestfish.pod:80
14450 msgid ""
14451 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
14452 msgstr ""
14453
14454 # type: verbatim
14455 #: ../fish/guestfish.pod:83
14456 #, no-wrap
14457 msgid ""
14458 " guestfish --ro -a disk.img -i cat /etc/group\n"
14459 "\n"
14460 msgstr ""
14461
14462 # type: verbatim
14463 #: ../fish/guestfish.pod:85
14464 #, no-wrap
14465 msgid ""
14466 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
14467 "\n"
14468 msgstr ""
14469
14470 # type: =head2
14471 #: ../fish/guestfish.pod:87
14472 msgid "As a script interpreter"
14473 msgstr ""
14474
14475 # type: textblock
14476 #: ../fish/guestfish.pod:89
14477 msgid "Create a 100MB disk containing an ext2-formatted partition:"
14478 msgstr ""
14479
14480 # type: verbatim
14481 #: ../fish/guestfish.pod:91
14482 #, no-wrap
14483 msgid ""
14484 " #!/usr/bin/guestfish -f\n"
14485 " sparse test1.img 100M\n"
14486 " run\n"
14487 " part-disk /dev/sda mbr\n"
14488 " mkfs ext2 /dev/sda1\n"
14489 "\n"
14490 msgstr ""
14491
14492 # type: =head2
14493 #: ../fish/guestfish.pod:97
14494 msgid "Start with a prepared disk"
14495 msgstr ""
14496
14497 # type: textblock
14498 #: ../fish/guestfish.pod:99
14499 msgid ""
14500 "An alternate way to create a 100MB disk called C<test1.img> containing a "
14501 "single ext2-formatted partition:"
14502 msgstr ""
14503
14504 # type: verbatim
14505 #: ../fish/guestfish.pod:102
14506 #, no-wrap
14507 msgid ""
14508 " guestfish -N fs\n"
14509 "\n"
14510 msgstr ""
14511
14512 # type: textblock
14513 #: ../fish/guestfish.pod:104
14514 msgid "To list what is available do:"
14515 msgstr ""
14516
14517 # type: verbatim
14518 #: ../fish/guestfish.pod:106 ../fish/guestfish.pod:720
14519 #, no-wrap
14520 msgid ""
14521 " guestfish -N help | less\n"
14522 "\n"
14523 msgstr ""
14524
14525 # type: =head2
14526 #: ../fish/guestfish.pod:108
14527 msgid "Remote control"
14528 msgstr ""
14529
14530 # type: verbatim
14531 #: ../fish/guestfish.pod:110
14532 #, no-wrap
14533 msgid ""
14534 " eval `guestfish --listen --ro`\n"
14535 " guestfish --remote add disk.img\n"
14536 " guestfish --remote run\n"
14537 " guestfish --remote lvs\n"
14538 "\n"
14539 msgstr ""
14540
14541 # type: textblock
14542 #: ../fish/guestfish.pod:117
14543 msgid ""
14544 "Guestfish is a shell and command-line tool for examining and modifying "
14545 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
14546 "functionality of the guestfs API, see L<guestfs(3)>."
14547 msgstr ""
14548
14549 # type: textblock
14550 #: ../fish/guestfish.pod:121
14551 msgid ""
14552 "Guestfish gives you structured access to the libguestfs API, from shell "
14553 "scripts or the command line or interactively.  If you want to rescue a "
14554 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
14555 "command."
14556 msgstr ""
14557
14558 # type: =head1
14559 #: ../fish/guestfish.pod:126 ../test-tool/libguestfs-test-tool.pod:37
14560 #: ../fuse/guestmount.pod:70 ../inspector/virt-inspector.pl:75
14561 #: ../tools/virt-cat.pl:80 ../tools/virt-df.pl:71 ../tools/virt-edit.pl:73
14562 #: ../tools/virt-list-filesystems.pl:50 ../tools/virt-list-partitions.pl:51
14563 #: ../tools/virt-ls.pl:79 ../tools/virt-make-fs.pl:153
14564 #: ../tools/virt-rescue.pl:103 ../tools/virt-resize.pl:233
14565 #: ../tools/virt-tar.pl:99 ../tools/virt-win-reg.pl:172
14566 msgid "OPTIONS"
14567 msgstr ""
14568
14569 # type: =item
14570 #: ../fish/guestfish.pod:130 ../fuse/guestmount.pod:94
14571 #: ../inspector/virt-inspector.pl:83 ../tools/virt-cat.pl:88
14572 #: ../tools/virt-df.pl:79 ../tools/virt-edit.pl:81
14573 #: ../tools/virt-list-filesystems.pl:58 ../tools/virt-list-partitions.pl:59
14574 #: ../tools/virt-ls.pl:87 ../tools/virt-make-fs.pl:161
14575 #: ../tools/virt-rescue.pl:111 ../tools/virt-resize.pl:241
14576 #: ../tools/virt-tar.pl:107 ../tools/virt-win-reg.pl:180
14577 msgid "B<--help>"
14578 msgstr ""
14579
14580 # type: textblock
14581 #: ../fish/guestfish.pod:132
14582 msgid "Displays general help on options."
14583 msgstr ""
14584
14585 # type: =item
14586 #: ../fish/guestfish.pod:134
14587 msgid "B<-h> | B<--cmd-help>"
14588 msgstr ""
14589
14590 # type: textblock
14591 #: ../fish/guestfish.pod:136
14592 msgid "Lists all available guestfish commands."
14593 msgstr ""
14594
14595 # type: =item
14596 #: ../fish/guestfish.pod:138
14597 msgid "B<-h cmd> | B<--cmd-help cmd>"
14598 msgstr ""
14599
14600 # type: textblock
14601 #: ../fish/guestfish.pod:140
14602 msgid "Displays detailed help on a single command C<cmd>."
14603 msgstr ""
14604
14605 # type: =item
14606 #: ../fish/guestfish.pod:142 ../fuse/guestmount.pod:74
14607 msgid "B<-a image> | B<--add image>"
14608 msgstr ""
14609
14610 # type: textblock
14611 #: ../fish/guestfish.pod:144
14612 msgid "Add a block device or virtual machine image to the shell."
14613 msgstr ""
14614
14615 # type: =item
14616 #: ../fish/guestfish.pod:146
14617 msgid "B<-c URI> | B<--connect URI>"
14618 msgstr ""
14619
14620 # type: textblock
14621 #: ../fish/guestfish.pod:148
14622 msgid ""
14623 "When used in conjunction with the I<-d> option, this specifies the libvirt "
14624 "URI to use.  The default is to use the default libvirt connection."
14625 msgstr ""
14626
14627 # type: =item
14628 #: ../fish/guestfish.pod:152
14629 msgid "B<-d libvirt-domain> | B<--domain libvirt-domain>"
14630 msgstr ""
14631
14632 # type: textblock
14633 #: ../fish/guestfish.pod:154
14634 msgid ""
14635 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
14636 "used, then any libvirt domain can be used.  However in write mode, only "
14637 "libvirt domains which are shut down can be named here."
14638 msgstr ""
14639
14640 # type: =item
14641 #: ../fish/guestfish.pod:158
14642 msgid "B<-D> | B<--no-dest-paths>"
14643 msgstr ""
14644
14645 # type: textblock
14646 #: ../fish/guestfish.pod:160
14647 msgid ""
14648 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
14649 "to hit the tab key to complete paths on the guest filesystem, but this "
14650 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
14651 "allow this feature to be disabled."
14652 msgstr ""
14653
14654 # type: =item
14655 #: ../fish/guestfish.pod:165
14656 msgid "B<-f file> | B<--file file>"
14657 msgstr ""
14658
14659 # type: textblock
14660 #: ../fish/guestfish.pod:167
14661 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
14662 msgstr ""
14663
14664 # type: verbatim
14665 #: ../fish/guestfish.pod:170
14666 #, no-wrap
14667 msgid ""
14668 " #!/usr/bin/guestfish -f\n"
14669 "\n"
14670 msgstr ""
14671
14672 # type: =item
14673 #: ../fish/guestfish.pod:172
14674 msgid "B<-i> | B<--inspector>"
14675 msgstr ""
14676
14677 # type: textblock
14678 #: ../fish/guestfish.pod:174
14679 msgid ""
14680 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
14681 "system and mount filesystems as they would be mounted on the real virtual "
14682 "machine."
14683 msgstr ""
14684
14685 # type: textblock
14686 #: ../fish/guestfish.pod:178
14687 msgid "Typical usage is either:"
14688 msgstr ""
14689
14690 # type: verbatim
14691 #: ../fish/guestfish.pod:180
14692 #, no-wrap
14693 msgid ""
14694 " guestfish -d myguest -i\n"
14695 "\n"
14696 msgstr ""
14697
14698 # type: textblock
14699 #: ../fish/guestfish.pod:182
14700 msgid "(for an inactive libvirt domain called I<myguest>), or:"
14701 msgstr ""
14702
14703 # type: verbatim
14704 #: ../fish/guestfish.pod:184
14705 #, no-wrap
14706 msgid ""
14707 " guestfish --ro -d myguest -i\n"
14708 "\n"
14709 msgstr ""
14710
14711 # type: textblock
14712 #: ../fish/guestfish.pod:186
14713 msgid "(for active domains, readonly), or specify the block device directly:"
14714 msgstr ""
14715
14716 # type: verbatim
14717 #: ../fish/guestfish.pod:188
14718 #, no-wrap
14719 msgid ""
14720 " guestfish -a /dev/Guests/MyGuest -i\n"
14721 "\n"
14722 msgstr ""
14723
14724 # type: textblock
14725 #: ../fish/guestfish.pod:190
14726 msgid ""
14727 "Note that the command line syntax changed slightly over older versions of "
14728 "guestfish.  You can still use the old syntax:"
14729 msgstr ""
14730
14731 # type: verbatim
14732 #: ../fish/guestfish.pod:193
14733 #, no-wrap
14734 msgid ""
14735 " guestfish [--ro] -i disk.img\n"
14736 "\n"
14737 msgstr ""
14738
14739 # type: verbatim
14740 #: ../fish/guestfish.pod:195
14741 #, no-wrap
14742 msgid ""
14743 " guestfish [--ro] -i libvirt-domain\n"
14744 "\n"
14745 msgstr ""
14746
14747 # type: =item
14748 #: ../fish/guestfish.pod:197
14749 msgid "B<--keys-from-stdin>"
14750 msgstr ""
14751
14752 # type: textblock
14753 #: ../fish/guestfish.pod:199
14754 msgid ""
14755 "Read key or passphrase parameters from stdin.  The default is to try to read "
14756 "passphrases from the user by opening C</dev/tty>."
14757 msgstr ""
14758
14759 # type: =item
14760 #: ../fish/guestfish.pod:202
14761 msgid "B<--listen>"
14762 msgstr ""
14763
14764 # type: textblock
14765 #: ../fish/guestfish.pod:204
14766 msgid ""
14767 "Fork into the background and listen for remote commands.  See section L</"
14768 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
14769 msgstr ""
14770
14771 # type: =item
14772 #: ../fish/guestfish.pod:207
14773 msgid "B<-m dev[:mountpoint]> | B<--mount dev[:mountpoint]>"
14774 msgstr ""
14775
14776 # type: textblock
14777 #: ../fish/guestfish.pod:209
14778 msgid "Mount the named partition or logical volume on the given mountpoint."
14779 msgstr ""
14780
14781 # type: textblock
14782 #: ../fish/guestfish.pod:211
14783 msgid "If the mountpoint is omitted, it defaults to C</>."
14784 msgstr ""
14785
14786 # type: textblock
14787 #: ../fish/guestfish.pod:213
14788 msgid "You have to mount something on C</> before most commands will work."
14789 msgstr ""
14790
14791 # type: textblock
14792 #: ../fish/guestfish.pod:215
14793 msgid ""
14794 "If any I<-m> or I<--mount> options are given, the guest is automatically "
14795 "launched."
14796 msgstr ""
14797
14798 # type: textblock
14799 #: ../fish/guestfish.pod:218
14800 msgid ""
14801 "If you don't know what filesystems a disk image contains, you can either run "
14802 "guestfish without this option, then list the partitions and LVs available "
14803 "(see L</list-partitions> and L</lvs> commands), or you can use the L<virt-"
14804 "list-filesystems(1)> program."
14805 msgstr ""
14806
14807 # type: =item
14808 #: ../fish/guestfish.pod:223 ../fuse/guestmount.pod:106
14809 msgid "B<-n> | B<--no-sync>"
14810 msgstr ""
14811
14812 # type: textblock
14813 #: ../fish/guestfish.pod:225
14814 msgid ""
14815 "Disable autosync.  This is enabled by default.  See the discussion of "
14816 "autosync in the L<guestfs(3)> manpage."
14817 msgstr ""
14818
14819 # type: =item
14820 #: ../fish/guestfish.pod:228
14821 msgid "B<-N type> | B<--new type> | B<-N help>"
14822 msgstr ""
14823
14824 # type: textblock
14825 #: ../fish/guestfish.pod:230
14826 msgid ""
14827 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
14828 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
14829 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
14830 "IMAGES> below."
14831 msgstr ""
14832
14833 # type: =item
14834 #: ../fish/guestfish.pod:235
14835 msgid "B<--progress-bars>"
14836 msgstr ""
14837
14838 # type: textblock
14839 #: ../fish/guestfish.pod:237
14840 msgid "Enable progress bars, even when guestfish is used non-interactively."
14841 msgstr ""
14842
14843 # type: textblock
14844 #: ../fish/guestfish.pod:239
14845 msgid ""
14846 "Progress bars are enabled by default when guestfish is used as an "
14847 "interactive shell."
14848 msgstr ""
14849
14850 # type: =item
14851 #: ../fish/guestfish.pod:242
14852 msgid "B<--no-progress-bars>"
14853 msgstr ""
14854
14855 # type: textblock
14856 #: ../fish/guestfish.pod:244
14857 msgid "Disable progress bars."
14858 msgstr ""
14859
14860 # type: =item
14861 #: ../fish/guestfish.pod:246
14862 msgid "B<--remote[=pid]>"
14863 msgstr ""
14864
14865 # type: textblock
14866 #: ../fish/guestfish.pod:248
14867 msgid ""
14868 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
14869 "CONTROL GUESTFISH OVER A SOCKET> below."
14870 msgstr ""
14871
14872 # type: =item
14873 #: ../fish/guestfish.pod:251 ../fuse/guestmount.pod:148
14874 msgid "B<-r> | B<--ro>"
14875 msgstr ""
14876
14877 # type: textblock
14878 #: ../fish/guestfish.pod:253
14879 msgid ""
14880 "This changes the I<-a> and I<-m> options so that disks are added and mounts "
14881 "are done read-only (see L<guestfs(3)/guestfs_mount_ro>)."
14882 msgstr ""
14883
14884 # type: textblock
14885 #: ../fish/guestfish.pod:256 ../tools/virt-rescue.pl:162
14886 msgid ""
14887 "The option must always be used if the disk image or virtual machine might be "
14888 "running, and is generally recommended in cases where you don't need write "
14889 "access to the disk."
14890 msgstr ""
14891
14892 # type: textblock
14893 #: ../fish/guestfish.pod:260
14894 msgid ""
14895 "Note that prepared disk images created with I<-N> are not affected by the "
14896 "I<--ro> option."
14897 msgstr ""
14898
14899 # type: =item
14900 #: ../fish/guestfish.pod:263 ../fuse/guestmount.pod:158
14901 #: ../tools/virt-rescue.pl:170
14902 msgid "B<--selinux>"
14903 msgstr ""
14904
14905 # type: textblock
14906 #: ../fish/guestfish.pod:265
14907 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
14908 msgstr ""
14909
14910 # type: =item
14911 #: ../fish/guestfish.pod:267 ../fuse/guestmount.pod:168
14912 msgid "B<-v> | B<--verbose>"
14913 msgstr ""
14914
14915 # type: textblock
14916 #: ../fish/guestfish.pod:269
14917 msgid ""
14918 "Enable very verbose messages.  This is particularly useful if you find a bug."
14919 msgstr ""
14920
14921 # type: =item
14922 #: ../fish/guestfish.pod:272 ../fuse/guestmount.pod:172
14923 msgid "B<-V> | B<--version>"
14924 msgstr ""
14925
14926 # type: textblock
14927 #: ../fish/guestfish.pod:274
14928 msgid "Display the guestfish / libguestfs version number and exit."
14929 msgstr ""
14930
14931 # type: =item
14932 #: ../fish/guestfish.pod:276
14933 msgid "B<-x>"
14934 msgstr ""
14935
14936 # type: textblock
14937 #: ../fish/guestfish.pod:278
14938 msgid "Echo each command before executing it."
14939 msgstr ""
14940
14941 # type: =head1
14942 #: ../fish/guestfish.pod:282
14943 msgid "COMMANDS ON COMMAND LINE"
14944 msgstr ""
14945
14946 # type: textblock
14947 #: ../fish/guestfish.pod:284
14948 msgid ""
14949 "Any additional (non-option) arguments are treated as commands to execute."
14950 msgstr ""
14951
14952 # type: textblock
14953 #: ../fish/guestfish.pod:287
14954 msgid ""
14955 "Commands to execute should be separated by a colon (C<:>), where the colon "
14956 "is a separate parameter.  Thus:"
14957 msgstr ""
14958
14959 # type: verbatim
14960 #: ../fish/guestfish.pod:290
14961 #, no-wrap
14962 msgid ""
14963 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
14964 "\n"
14965 msgstr ""
14966
14967 # type: textblock
14968 #: ../fish/guestfish.pod:292
14969 msgid ""
14970 "If there are no additional arguments, then we enter a shell, either an "
14971 "interactive shell with a prompt (if the input is a terminal) or a non-"
14972 "interactive shell."
14973 msgstr ""
14974
14975 # type: textblock
14976 #: ../fish/guestfish.pod:296
14977 msgid ""
14978 "In either command line mode or non-interactive shell, the first command that "
14979 "gives an error causes the whole shell to exit.  In interactive mode (with a "
14980 "prompt) if a command fails, you can continue to enter commands."
14981 msgstr ""
14982
14983 # type: =head1
14984 #: ../fish/guestfish.pod:301
14985 msgid "USING launch (OR run)"
14986 msgstr ""
14987
14988 # type: textblock
14989 #: ../fish/guestfish.pod:303
14990 msgid ""
14991 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
14992 "then launch it, then mount any disks you need, and finally issue actions/"
14993 "commands.  So the general order of the day is:"
14994 msgstr ""
14995
14996 # type: textblock
14997 #: ../fish/guestfish.pod:311
14998 msgid "add or -a/--add"
14999 msgstr ""
15000
15001 # type: textblock
15002 #: ../fish/guestfish.pod:315
15003 msgid "launch (aka run)"
15004 msgstr ""
15005
15006 # type: textblock
15007 #: ../fish/guestfish.pod:319
15008 msgid "mount or -m/--mount"
15009 msgstr ""
15010
15011 # type: textblock
15012 #: ../fish/guestfish.pod:323
15013 msgid "any other commands"
15014 msgstr ""
15015
15016 # type: textblock
15017 #: ../fish/guestfish.pod:327
15018 msgid ""
15019 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
15020 "guest before mounting or performing any other commands."
15021 msgstr ""
15022
15023 # type: textblock
15024 #: ../fish/guestfish.pod:330
15025 msgid ""
15026 "The only exception is that if the I<-m> or I<--mount> option was given, the "
15027 "guest is automatically run for you (simply because guestfish can't mount the "
15028 "disks you asked for without doing this)."
15029 msgstr ""
15030
15031 # type: =head1
15032 #: ../fish/guestfish.pod:334
15033 msgid "QUOTING"
15034 msgstr ""
15035
15036 # type: textblock
15037 #: ../fish/guestfish.pod:336
15038 msgid ""
15039 "You can quote ordinary parameters using either single or double quotes.  For "
15040 "example:"
15041 msgstr ""
15042
15043 # type: verbatim
15044 #: ../fish/guestfish.pod:339
15045 #, no-wrap
15046 msgid ""
15047 " add \"file with a space.img\"\n"
15048 "\n"
15049 msgstr ""
15050
15051 # type: verbatim
15052 #: ../fish/guestfish.pod:341
15053 #, no-wrap
15054 msgid ""
15055 " rm '/file name'\n"
15056 "\n"
15057 msgstr ""
15058
15059 # type: verbatim
15060 #: ../fish/guestfish.pod:343
15061 #, no-wrap
15062 msgid ""
15063 " rm '/\"'\n"
15064 "\n"
15065 msgstr ""
15066
15067 # type: textblock
15068 #: ../fish/guestfish.pod:345
15069 msgid ""
15070 "A few commands require a list of strings to be passed.  For these, use a "
15071 "whitespace-separated list, enclosed in quotes.  Strings containing "
15072 "whitespace to be passed through must be enclosed in single quotes.  A "
15073 "literal single quote must be escaped with a backslash."
15074 msgstr ""
15075
15076 # type: verbatim
15077 #: ../fish/guestfish.pod:350
15078 #, no-wrap
15079 msgid ""
15080 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
15081 " command \"/bin/echo 'foo      bar'\"\n"
15082 " command \"/bin/echo \\'foo\\'\"\n"
15083 "\n"
15084 msgstr ""
15085
15086 # type: =head1
15087 #: ../fish/guestfish.pod:354
15088 msgid "NUMBERS"
15089 msgstr ""
15090
15091 # type: textblock
15092 #: ../fish/guestfish.pod:356
15093 msgid ""
15094 "This section applies to all commands which can take integers as parameters."
15095 msgstr ""
15096
15097 # type: =head2
15098 #: ../fish/guestfish.pod:359
15099 msgid "SIZE SUFFIX"
15100 msgstr ""
15101
15102 # type: textblock
15103 #: ../fish/guestfish.pod:361
15104 msgid ""
15105 "When the command takes a parameter measured in bytes, you can use one of the "
15106 "following suffixes to specify kilobytes, megabytes and larger sizes:"
15107 msgstr ""
15108
15109 # type: =item
15110 #: ../fish/guestfish.pod:367
15111 msgid "B<k> or B<K> or B<KiB>"
15112 msgstr ""
15113
15114 # type: textblock
15115 #: ../fish/guestfish.pod:369
15116 msgid "The size in kilobytes (multiplied by 1024)."
15117 msgstr ""
15118
15119 # type: =item
15120 #: ../fish/guestfish.pod:371
15121 msgid "B<KB>"
15122 msgstr ""
15123
15124 # type: textblock
15125 #: ../fish/guestfish.pod:373
15126 msgid "The size in SI 1000 byte units."
15127 msgstr ""
15128
15129 # type: =item
15130 #: ../fish/guestfish.pod:375
15131 msgid "B<M> or B<MiB>"
15132 msgstr ""
15133
15134 # type: textblock
15135 #: ../fish/guestfish.pod:377
15136 msgid "The size in megabytes (multiplied by 1048576)."
15137 msgstr ""
15138
15139 # type: =item
15140 #: ../fish/guestfish.pod:379
15141 msgid "B<MB>"
15142 msgstr ""
15143
15144 # type: textblock
15145 #: ../fish/guestfish.pod:381
15146 msgid "The size in SI 1000000 byte units."
15147 msgstr ""
15148
15149 # type: =item
15150 #: ../fish/guestfish.pod:383
15151 msgid "B<G> or B<GiB>"
15152 msgstr ""
15153
15154 # type: textblock
15155 #: ../fish/guestfish.pod:385
15156 msgid "The size in gigabytes (multiplied by 2**30)."
15157 msgstr ""
15158
15159 # type: =item
15160 #: ../fish/guestfish.pod:387
15161 msgid "B<GB>"
15162 msgstr ""
15163
15164 # type: textblock
15165 #: ../fish/guestfish.pod:389
15166 msgid "The size in SI 10**9 byte units."
15167 msgstr ""
15168
15169 # type: =item
15170 #: ../fish/guestfish.pod:391
15171 msgid "B<T> or B<TiB>"
15172 msgstr ""
15173
15174 # type: textblock
15175 #: ../fish/guestfish.pod:393
15176 msgid "The size in terabytes (multiplied by 2**40)."
15177 msgstr ""
15178
15179 # type: =item
15180 #: ../fish/guestfish.pod:395
15181 msgid "B<TB>"
15182 msgstr ""
15183
15184 # type: textblock
15185 #: ../fish/guestfish.pod:397
15186 msgid "The size in SI 10**12 byte units."
15187 msgstr ""
15188
15189 # type: =item
15190 #: ../fish/guestfish.pod:399
15191 msgid "B<P> or B<PiB>"
15192 msgstr ""
15193
15194 # type: textblock
15195 #: ../fish/guestfish.pod:401
15196 msgid "The size in petabytes (multiplied by 2**50)."
15197 msgstr ""
15198
15199 # type: =item
15200 #: ../fish/guestfish.pod:403
15201 msgid "B<PB>"
15202 msgstr ""
15203
15204 # type: textblock
15205 #: ../fish/guestfish.pod:405
15206 msgid "The size in SI 10**15 byte units."
15207 msgstr ""
15208
15209 # type: =item
15210 #: ../fish/guestfish.pod:407
15211 msgid "B<E> or B<EiB>"
15212 msgstr ""
15213
15214 # type: textblock
15215 #: ../fish/guestfish.pod:409
15216 msgid "The size in exabytes (multiplied by 2**60)."
15217 msgstr ""
15218
15219 # type: =item
15220 #: ../fish/guestfish.pod:411
15221 msgid "B<EB>"
15222 msgstr ""
15223
15224 # type: textblock
15225 #: ../fish/guestfish.pod:413
15226 msgid "The size in SI 10**18 byte units."
15227 msgstr ""
15228
15229 # type: =item
15230 #: ../fish/guestfish.pod:415
15231 msgid "B<Z> or B<ZiB>"
15232 msgstr ""
15233
15234 # type: textblock
15235 #: ../fish/guestfish.pod:417
15236 msgid "The size in zettabytes (multiplied by 2**70)."
15237 msgstr ""
15238
15239 # type: =item
15240 #: ../fish/guestfish.pod:419
15241 msgid "B<ZB>"
15242 msgstr ""
15243
15244 # type: textblock
15245 #: ../fish/guestfish.pod:421
15246 msgid "The size in SI 10**21 byte units."
15247 msgstr ""
15248
15249 # type: =item
15250 #: ../fish/guestfish.pod:423
15251 msgid "B<Y> or B<YiB>"
15252 msgstr ""
15253
15254 # type: textblock
15255 #: ../fish/guestfish.pod:425
15256 msgid "The size in yottabytes (multiplied by 2**80)."
15257 msgstr ""
15258
15259 # type: =item
15260 #: ../fish/guestfish.pod:427
15261 msgid "B<YB>"
15262 msgstr ""
15263
15264 # type: textblock
15265 #: ../fish/guestfish.pod:429
15266 msgid "The size in SI 10**24 byte units."
15267 msgstr ""
15268
15269 # type: textblock
15270 #: ../fish/guestfish.pod:433
15271 msgid "For example:"
15272 msgstr ""
15273
15274 # type: verbatim
15275 #: ../fish/guestfish.pod:435
15276 #, no-wrap
15277 msgid ""
15278 " truncate-size /file 1G\n"
15279 "\n"
15280 msgstr ""
15281
15282 # type: textblock
15283 #: ../fish/guestfish.pod:437
15284 msgid "would truncate the file to 1 gigabyte."
15285 msgstr ""
15286
15287 # type: textblock
15288 #: ../fish/guestfish.pod:439
15289 msgid ""
15290 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
15291 "the parameter to L</memsize> is specified in megabytes already).  Adding a "
15292 "suffix will probably not do what you expect."
15293 msgstr ""
15294
15295 # type: =head2
15296 #: ../fish/guestfish.pod:443
15297 msgid "OCTAL AND HEXADECIMAL NUMBERS"
15298 msgstr ""
15299
15300 # type: textblock
15301 #: ../fish/guestfish.pod:445
15302 msgid ""
15303 "For specifying the radix (base) use the C convention: C<0> to prefix an "
15304 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
15305 msgstr ""
15306
15307 # type: verbatim
15308 #: ../fish/guestfish.pod:448
15309 #, no-wrap
15310 msgid ""
15311 " 1234      decimal number 1234\n"
15312 " 02322     octal number, equivalent to decimal 1234\n"
15313 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
15314 "\n"
15315 msgstr ""
15316
15317 # type: textblock
15318 #: ../fish/guestfish.pod:452
15319 msgid ""
15320 "When using the C<chmod> command, you almost always want to specify an octal "
15321 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
15322 "L<chmod(1)> program):"
15323 msgstr ""
15324
15325 # type: verbatim
15326 #: ../fish/guestfish.pod:456
15327 #, no-wrap
15328 msgid ""
15329 " chmod 0777 /public  # OK\n"
15330 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
15331 "\n"
15332 msgstr ""
15333
15334 # type: textblock
15335 #: ../fish/guestfish.pod:459
15336 msgid ""
15337 "Commands that return numbers usually print them in decimal, but some "
15338 "commands print numbers in other radices (eg. C<umask> prints the mode in "
15339 "octal, preceeded by C<0>)."
15340 msgstr ""
15341
15342 # type: =head1
15343 #: ../fish/guestfish.pod:463
15344 msgid "WILDCARDS AND GLOBBING"
15345 msgstr ""
15346
15347 # type: textblock
15348 #: ../fish/guestfish.pod:465
15349 msgid ""
15350 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
15351 "(globbing) by default.  So for example the following will not do what you "
15352 "expect:"
15353 msgstr ""
15354
15355 # type: verbatim
15356 #: ../fish/guestfish.pod:469
15357 #, no-wrap
15358 msgid ""
15359 " rm-rf /home/*\n"
15360 "\n"
15361 msgstr ""
15362
15363 # type: textblock
15364 #: ../fish/guestfish.pod:471
15365 msgid ""
15366 "Assuming you don't have a directory literally called C</home/*> then the "
15367 "above command will return an error."
15368 msgstr ""
15369
15370 # type: textblock
15371 #: ../fish/guestfish.pod:474
15372 msgid "To perform wildcard expansion, use the C<glob> command."
15373 msgstr ""
15374
15375 # type: verbatim
15376 #: ../fish/guestfish.pod:476
15377 #, no-wrap
15378 msgid ""
15379 " glob rm-rf /home/*\n"
15380 "\n"
15381 msgstr ""
15382
15383 # type: textblock
15384 #: ../fish/guestfish.pod:478
15385 msgid ""
15386 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
15387 "many times), equivalent to:"
15388 msgstr ""
15389
15390 # type: verbatim
15391 #: ../fish/guestfish.pod:481
15392 #, no-wrap
15393 msgid ""
15394 " rm-rf /home/jim\n"
15395 " rm-rf /home/joe\n"
15396 " rm-rf /home/mary\n"
15397 "\n"
15398 msgstr ""
15399
15400 # type: textblock
15401 #: ../fish/guestfish.pod:485
15402 msgid "C<glob> only works on simple guest paths and not on device names."
15403 msgstr ""
15404
15405 # type: textblock
15406 #: ../fish/guestfish.pod:487
15407 msgid ""
15408 "If you have several parameters, each containing a wildcard, then glob will "
15409 "perform a cartesian product."
15410 msgstr ""
15411
15412 # type: =head1
15413 #: ../fish/guestfish.pod:490
15414 msgid "COMMENTS"
15415 msgstr ""
15416
15417 # type: textblock
15418 #: ../fish/guestfish.pod:492
15419 msgid ""
15420 "Any line which starts with a I<#> character is treated as a comment and "
15421 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
15422 "a command.  For example:"
15423 msgstr ""
15424
15425 # type: verbatim
15426 #: ../fish/guestfish.pod:496
15427 #, no-wrap
15428 msgid ""
15429 " # this is a comment\n"
15430 "         # this is a comment\n"
15431 " foo # NOT a comment\n"
15432 "\n"
15433 msgstr ""
15434
15435 # type: textblock
15436 #: ../fish/guestfish.pod:500
15437 msgid "Blank lines are also ignored."
15438 msgstr ""
15439
15440 # type: =head1
15441 #: ../fish/guestfish.pod:502
15442 msgid "RUNNING COMMANDS LOCALLY"
15443 msgstr ""
15444
15445 # type: textblock
15446 #: ../fish/guestfish.pod:504
15447 msgid ""
15448 "Any line which starts with a I<!> character is treated as a command sent to "
15449 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
15450 msgstr ""
15451
15452 # type: verbatim
15453 #: ../fish/guestfish.pod:508
15454 #, no-wrap
15455 msgid ""
15456 " !mkdir local\n"
15457 " tgz-out /remote local/remote-data.tar.gz\n"
15458 "\n"
15459 msgstr ""
15460
15461 # type: textblock
15462 #: ../fish/guestfish.pod:511
15463 msgid ""
15464 "will create a directory C<local> on the host, and then export the contents "
15465 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
15466 "(See C<tgz-out>)."
15467 msgstr ""
15468
15469 # type: textblock
15470 #: ../fish/guestfish.pod:515
15471 msgid ""
15472 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
15473 "effect, due to the way that subprocesses work in Unix."
15474 msgstr ""
15475
15476 # type: =head1
15477 #: ../fish/guestfish.pod:518
15478 msgid "PIPES"
15479 msgstr ""
15480
15481 # type: textblock
15482 #: ../fish/guestfish.pod:520
15483 msgid ""
15484 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
15485 "command (a guestfish command) to the second command (any host command).  For "
15486 "example:"
15487 msgstr ""
15488
15489 # type: verbatim
15490 #: ../fish/guestfish.pod:524
15491 #, no-wrap
15492 msgid ""
15493 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
15494 "\n"
15495 msgstr ""
15496
15497 # type: textblock
15498 #: ../fish/guestfish.pod:526
15499 msgid ""
15500 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
15501 "program).  The above command would list all accounts in the guest filesystem "
15502 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
15503 msgstr ""
15504
15505 # type: verbatim
15506 #: ../fish/guestfish.pod:531
15507 #, no-wrap
15508 msgid ""
15509 " hexdump /bin/ls | head\n"
15510 " list-devices | tail -1\n"
15511 " tgz-out / - | tar ztf -\n"
15512 "\n"
15513 msgstr ""
15514
15515 # type: textblock
15516 #: ../fish/guestfish.pod:535
15517 msgid ""
15518 "The space before the pipe symbol is required, any space after the pipe "
15519 "symbol is optional.  Everything after the pipe symbol is just passed "
15520 "straight to the host shell, so it can contain redirections, globs and "
15521 "anything else that makes sense on the host side."
15522 msgstr ""
15523
15524 # type: textblock
15525 #: ../fish/guestfish.pod:540
15526 msgid ""
15527 "To use a literal argument which begins with a pipe symbol, you have to quote "
15528 "it, eg:"
15529 msgstr ""
15530
15531 # type: verbatim
15532 #: ../fish/guestfish.pod:543
15533 #, no-wrap
15534 msgid ""
15535 " echo \"|\"\n"
15536 "\n"
15537 msgstr ""
15538
15539 # type: =head1
15540 #: ../fish/guestfish.pod:545
15541 msgid "HOME DIRECTORIES"
15542 msgstr ""
15543
15544 # type: textblock
15545 #: ../fish/guestfish.pod:547
15546 msgid ""
15547 "If a parameter starts with the character C<~> then the tilde may be expanded "
15548 "as a home directory path (either C<~> for the current user's home directory, "
15549 "or C<~user> for another user)."
15550 msgstr ""
15551
15552 # type: textblock
15553 #: ../fish/guestfish.pod:551
15554 msgid ""
15555 "Note that home directory expansion happens for users known I<on the host>, "
15556 "not in the guest filesystem."
15557 msgstr ""
15558
15559 # type: textblock
15560 #: ../fish/guestfish.pod:554
15561 msgid ""
15562 "To use a literal argument which begins with a tilde, you have to quote it, "
15563 "eg:"
15564 msgstr ""
15565
15566 # type: verbatim
15567 #: ../fish/guestfish.pod:557
15568 #, no-wrap
15569 msgid ""
15570 " echo \"~\"\n"
15571 "\n"
15572 msgstr ""
15573
15574 # type: textblock
15575 #: ../fish/guestfish.pod:561
15576 msgid ""
15577 "Libguestfs has some support for Linux guests encrypted according to the "
15578 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
15579 "disk encryption systems used by modern Linux guests.  Currently only LVM-on-"
15580 "LUKS is supported."
15581 msgstr ""
15582
15583 # type: textblock
15584 #: ../fish/guestfish.pod:566
15585 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
15586 msgstr ""
15587
15588 # type: verbatim
15589 #: ../fish/guestfish.pod:568
15590 #, no-wrap
15591 msgid ""
15592 " ><fs> vfs-type /dev/sda2\n"
15593 " crypto_LUKS\n"
15594 "\n"
15595 msgstr ""
15596
15597 # type: textblock
15598 #: ../fish/guestfish.pod:571
15599 msgid ""
15600 "Then open those devices using L</luks-open>.  This creates a device-mapper "
15601 "device called C</dev/mapper/luksdev>."
15602 msgstr ""
15603
15604 # type: verbatim
15605 #: ../fish/guestfish.pod:574
15606 #, no-wrap
15607 msgid ""
15608 " ><fs> luks-open /dev/sda2 luksdev\n"
15609 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
15610 "\n"
15611 msgstr ""
15612
15613 # type: textblock
15614 #: ../fish/guestfish.pod:577
15615 msgid ""
15616 "Finally you have to tell LVM to scan for volume groups on the newly created "
15617 "mapper device:"
15618 msgstr ""
15619
15620 # type: verbatim
15621 #: ../fish/guestfish.pod:580
15622 #, no-wrap
15623 msgid ""
15624 " ><fs> vgscan\n"
15625 " ><fs> vg-activate-all true\n"
15626 "\n"
15627 msgstr ""
15628
15629 # type: textblock
15630 #: ../fish/guestfish.pod:583
15631 msgid "The logical volume(s) can now be mounted in the usual way."
15632 msgstr ""
15633
15634 # type: textblock
15635 #: ../fish/guestfish.pod:585
15636 msgid ""
15637 "Before closing a LUKS device you must unmount any logical volumes on it and "
15638 "deactivate the volume groups by calling C<vg-activate false VG> on each "
15639 "one.  Then you can close the mapper device:"
15640 msgstr ""
15641
15642 # type: verbatim
15643 #: ../fish/guestfish.pod:589
15644 #, no-wrap
15645 msgid ""
15646 " ><fs> vg-activate false /dev/VG\n"
15647 " ><fs> luks-close /dev/mapper/luksdev\n"
15648 "\n"
15649 msgstr ""
15650
15651 # type: =head1
15652 #: ../fish/guestfish.pod:592
15653 msgid "WINDOWS PATHS"
15654 msgstr ""
15655
15656 # type: textblock
15657 #: ../fish/guestfish.pod:594
15658 msgid ""
15659 "If a path is prefixed with C<win:> then you can use Windows-style paths "
15660 "(with some limitations).  The following commands are equivalent:"
15661 msgstr ""
15662
15663 # type: verbatim
15664 #: ../fish/guestfish.pod:597
15665 #, no-wrap
15666 msgid ""
15667 " file /WINDOWS/system32/config/system.LOG\n"
15668 "\n"
15669 msgstr ""
15670
15671 # type: verbatim
15672 #: ../fish/guestfish.pod:599
15673 #, no-wrap
15674 msgid ""
15675 " file win:/windows/system32/config/system.log\n"
15676 "\n"
15677 msgstr ""
15678
15679 # type: verbatim
15680 #: ../fish/guestfish.pod:601
15681 #, no-wrap
15682 msgid ""
15683 " file win:\\windows\\system32\\config\\system.log\n"
15684 "\n"
15685 msgstr ""
15686
15687 # type: verbatim
15688 #: ../fish/guestfish.pod:603
15689 #, no-wrap
15690 msgid ""
15691 " file WIN:C:\\Windows\\SYSTEM32\\conFIG\\SYSTEM.LOG\n"
15692 "\n"
15693 msgstr ""
15694
15695 # type: textblock
15696 #: ../fish/guestfish.pod:605
15697 msgid ""
15698 "This syntax implicitly calls C<case-sensitive-path> (q.v.) so it also "
15699 "handles case insensitivity like Windows would.  This only works in argument "
15700 "positions that expect a path."
15701 msgstr ""
15702
15703 # type: =head1
15704 #: ../fish/guestfish.pod:609
15705 msgid "UPLOADING AND DOWNLOADING FILES"
15706 msgstr ""
15707
15708 # type: textblock
15709 #: ../fish/guestfish.pod:611
15710 msgid ""
15711 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
15712 "others which upload from or download to a local file, you can use the "
15713 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
15714 msgstr ""
15715
15716 # type: verbatim
15717 #: ../fish/guestfish.pod:615
15718 #, no-wrap
15719 msgid ""
15720 " upload - /foo\n"
15721 "\n"
15722 msgstr ""
15723
15724 # type: textblock
15725 #: ../fish/guestfish.pod:617
15726 msgid ""
15727 "reads stdin and creates from that a file C</foo> in the disk image, and:"
15728 msgstr ""
15729
15730 # type: verbatim
15731 #: ../fish/guestfish.pod:620
15732 #, no-wrap
15733 msgid ""
15734 " tar-out /etc - | tar tf -\n"
15735 "\n"
15736 msgstr ""
15737
15738 # type: textblock
15739 #: ../fish/guestfish.pod:622
15740 msgid ""
15741 "writes the tarball to stdout and then pipes that into the external \"tar\" "
15742 "command (see L</PIPES>)."
15743 msgstr ""
15744
15745 # type: textblock
15746 #: ../fish/guestfish.pod:625
15747 msgid ""
15748 "When using C<-> to read from stdin, the input is read up to the end of "
15749 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
15750 "some arbitrary end marker:"
15751 msgstr ""
15752
15753 # type: verbatim
15754 #: ../fish/guestfish.pod:629
15755 #, no-wrap
15756 msgid ""
15757 " upload -<<END /foo\n"
15758 " input line 1\n"
15759 " input line 2\n"
15760 " input line 3\n"
15761 " END\n"
15762 "\n"
15763 msgstr ""
15764
15765 # type: textblock
15766 #: ../fish/guestfish.pod:635
15767 msgid ""
15768 "Any string of characters can be used instead of C<END>.  The end marker must "
15769 "appear on a line of its own, without any preceeding or following characters "
15770 "(not even spaces)."
15771 msgstr ""
15772
15773 # type: textblock
15774 #: ../fish/guestfish.pod:639
15775 msgid ""
15776 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
15777 "upload local files (so-called \"FileIn\" parameters in the generator)."
15778 msgstr ""
15779
15780 # type: =head1
15781 #: ../fish/guestfish.pod:642
15782 msgid "EXIT ON ERROR BEHAVIOUR"
15783 msgstr ""
15784
15785 # type: textblock
15786 #: ../fish/guestfish.pod:644
15787 msgid ""
15788 "By default, guestfish will ignore any errors when in interactive mode (ie. "
15789 "taking commands from a human over a tty), and will exit on the first error "
15790 "in non-interactive mode (scripts, commands given on the command line)."
15791 msgstr ""
15792
15793 # type: textblock
15794 #: ../fish/guestfish.pod:649
15795 msgid ""
15796 "If you prefix a command with a I<-> character, then that command will not "
15797 "cause guestfish to exit, even if that (one) command returns an error."
15798 msgstr ""
15799
15800 # type: =head1
15801 #: ../fish/guestfish.pod:653
15802 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
15803 msgstr ""
15804
15805 # type: textblock
15806 #: ../fish/guestfish.pod:655
15807 msgid ""
15808 "Guestfish can be remote-controlled over a socket.  This is useful "
15809 "particularly in shell scripts where you want to make several different "
15810 "changes to a filesystem, but you don't want the overhead of starting up a "
15811 "guestfish process each time."
15812 msgstr ""
15813
15814 # type: textblock
15815 #: ../fish/guestfish.pod:660
15816 msgid "Start a guestfish server process using:"
15817 msgstr ""
15818
15819 # type: verbatim
15820 #: ../fish/guestfish.pod:662
15821 #, no-wrap
15822 msgid ""
15823 " eval `guestfish --listen`\n"
15824 "\n"
15825 msgstr ""
15826
15827 # type: textblock
15828 #: ../fish/guestfish.pod:664
15829 msgid "and then send it commands by doing:"
15830 msgstr ""
15831
15832 # type: verbatim
15833 #: ../fish/guestfish.pod:666
15834 #, no-wrap
15835 msgid ""
15836 " guestfish --remote cmd [...]\n"
15837 "\n"
15838 msgstr ""
15839
15840 # type: textblock
15841 #: ../fish/guestfish.pod:668
15842 msgid "To cause the server to exit, send it the exit command:"
15843 msgstr ""
15844
15845 # type: verbatim
15846 #: ../fish/guestfish.pod:670
15847 #, no-wrap
15848 msgid ""
15849 " guestfish --remote exit\n"
15850 "\n"
15851 msgstr ""
15852
15853 # type: textblock
15854 #: ../fish/guestfish.pod:672
15855 msgid ""
15856 "Note that the server will normally exit if there is an error in a command.  "
15857 "You can change this in the usual way.  See section L</EXIT ON ERROR "
15858 "BEHAVIOUR>."
15859 msgstr ""
15860
15861 # type: =head2
15862 #: ../fish/guestfish.pod:676
15863 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
15864 msgstr ""
15865
15866 # type: textblock
15867 #: ../fish/guestfish.pod:678
15868 msgid ""
15869 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
15870 "is how the I<--remote> option knows where to send the commands.  You can "
15871 "have several guestfish listener processes running using:"
15872 msgstr ""
15873
15874 # type: verbatim
15875 #: ../fish/guestfish.pod:682
15876 #, no-wrap
15877 msgid ""
15878 " eval `guestfish --listen`\n"
15879 " pid1=$GUESTFISH_PID\n"
15880 " eval `guestfish --listen`\n"
15881 " pid2=$GUESTFISH_PID\n"
15882 " ...\n"
15883 " guestfish --remote=$pid1 cmd\n"
15884 " guestfish --remote=$pid2 cmd\n"
15885 "\n"
15886 msgstr ""
15887
15888 # type: =head2
15889 #: ../fish/guestfish.pod:690
15890 msgid "REMOTE CONTROL DETAILS"
15891 msgstr ""
15892
15893 # type: textblock
15894 #: ../fish/guestfish.pod:692
15895 msgid ""
15896 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
15897 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
15898 "and C<$PID> is the process ID of the server."
15899 msgstr ""
15900
15901 # type: textblock
15902 #: ../fish/guestfish.pod:696
15903 msgid "Guestfish client and server versions must match exactly."
15904 msgstr ""
15905
15906 # type: =head1
15907 #: ../fish/guestfish.pod:698
15908 msgid "PREPARED DISK IMAGES"
15909 msgstr ""
15910
15911 # type: textblock
15912 #: ../fish/guestfish.pod:700
15913 msgid ""
15914 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
15915 "preformatted disk images that guestfish can make for you to save typing.  "
15916 "This is particularly useful for testing purposes.  This option is used "
15917 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
15918 "can be mixed with I<-a>)."
15919 msgstr ""
15920
15921 # type: textblock
15922 #: ../fish/guestfish.pod:706
15923 msgid ""
15924 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
15925 "the second and so on.  Existing files in the current directory are "
15926 "I<overwritten>."
15927 msgstr ""
15928
15929 # type: textblock
15930 #: ../fish/guestfish.pod:710
15931 msgid ""
15932 "The type briefly describes how the disk should be sized, partitioned, how "
15933 "filesystem(s) should be created, and how content should be added.  "
15934 "Optionally the type can be followed by extra parameters, separated by C<:> "
15935 "(colon) characters.  For example, I<-N fs> creates a default 100MB, sparsely-"
15936 "allocated disk, containing a single partition, with the partition formatted "
15937 "as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
15938 "disk instead."
15939 msgstr ""
15940
15941 # type: textblock
15942 #: ../fish/guestfish.pod:718
15943 msgid "To list the available types and any extra parameters they take, run:"
15944 msgstr ""
15945
15946 # type: textblock
15947 #: ../fish/guestfish.pod:722
15948 msgid ""
15949 "Note that the prepared filesystem is not mounted.  You would usually have to "
15950 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
15951 msgstr ""
15952
15953 # type: textblock
15954 #: ../fish/guestfish.pod:726
15955 msgid ""
15956 "If any I<-N> or I<--new> options are given, the guest is automatically "
15957 "launched."
15958 msgstr ""
15959
15960 # type: textblock
15961 #: ../fish/guestfish.pod:731
15962 msgid "Create a 100MB disk with an ext4-formatted partition:"
15963 msgstr ""
15964
15965 # type: verbatim
15966 #: ../fish/guestfish.pod:733
15967 #, no-wrap
15968 msgid ""
15969 " guestfish -N fs:ext4\n"
15970 "\n"
15971 msgstr ""
15972
15973 # type: textblock
15974 #: ../fish/guestfish.pod:735
15975 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
15976 msgstr ""
15977
15978 # type: verbatim
15979 #: ../fish/guestfish.pod:737
15980 #, no-wrap
15981 msgid ""
15982 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
15983 "\n"
15984 msgstr ""
15985
15986 # type: textblock
15987 #: ../fish/guestfish.pod:739
15988 msgid "Create a blank 200MB disk:"
15989 msgstr ""
15990
15991 # type: verbatim
15992 #: ../fish/guestfish.pod:741
15993 #, no-wrap
15994 msgid ""
15995 " guestfish -N disk:200M\n"
15996 "\n"
15997 msgstr ""
15998
15999 # type: =head1
16000 #: ../fish/guestfish.pod:743
16001 msgid "PROGRESS BARS"
16002 msgstr ""
16003
16004 # type: textblock
16005 #: ../fish/guestfish.pod:745
16006 msgid ""
16007 "Some (not all) long-running commands send progress notification messages as "
16008 "they are running.  Guestfish turns these messages into progress bars."
16009 msgstr ""
16010
16011 # type: textblock
16012 #: ../fish/guestfish.pod:749
16013 msgid ""
16014 "When a command that supports progress bars takes longer than two seconds to "
16015 "run, and if progress bars are enabled, then you will see one appearing below "
16016 "the command:"
16017 msgstr ""
16018
16019 # type: verbatim
16020 #: ../fish/guestfish.pod:753
16021 #, no-wrap
16022 msgid ""
16023 " ><fs> copy-size /large-file /another-file 2048M\n"
16024 " / 10% [#####-----------------------------------------] 00:30\n"
16025 "\n"
16026 msgstr ""
16027
16028 # type: textblock
16029 #: ../fish/guestfish.pod:756
16030 msgid ""
16031 "The spinner on the left hand side moves round once for every progress "
16032 "notification received from the backend.  This is a (reasonably) golden "
16033 "assurance that the command is \"doing something\" even if the progress bar "
16034 "is not moving, because the command is able to send the progress "
16035 "notifications.  When the bar reaches 100% and the command finishes, the "
16036 "spinner disappears."
16037 msgstr ""
16038
16039 # type: textblock
16040 #: ../fish/guestfish.pod:763
16041 msgid ""
16042 "Progress bars are enabled by default when guestfish is used interactively.  "
16043 "You can enable them even for non-interactive modes using I<--progress-bars>, "
16044 "and you can disable them completely using I<--no-progress-bars>."
16045 msgstr ""
16046
16047 # type: =head1
16048 #: ../fish/guestfish.pod:768
16049 msgid "GUESTFISH COMMANDS"
16050 msgstr ""
16051
16052 # type: textblock
16053 #: ../fish/guestfish.pod:770
16054 msgid ""
16055 "The commands in this section are guestfish convenience commands, in other "
16056 "words, they are not part of the L<guestfs(3)> API."
16057 msgstr ""
16058
16059 # type: =head2
16060 #: ../fish/guestfish.pod:773
16061 msgid "alloc | allocate"
16062 msgstr ""
16063
16064 # type: verbatim
16065 #: ../fish/guestfish.pod:775
16066 #, no-wrap
16067 msgid ""
16068 " alloc filename size\n"
16069 "\n"
16070 msgstr ""
16071
16072 # type: textblock
16073 #: ../fish/guestfish.pod:777
16074 msgid ""
16075 "This creates an empty (zeroed) file of the given size, and then adds so it "
16076 "can be further examined."
16077 msgstr ""
16078
16079 # type: textblock
16080 #: ../fish/guestfish.pod:780 ../fish/guestfish.pod:875
16081 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
16082 msgstr ""
16083
16084 # type: textblock
16085 #: ../fish/guestfish.pod:782 ../fish/guestfish.pod:877
16086 msgid "Size can be specified using standard suffixes, eg. C<1M>."
16087 msgstr ""
16088
16089 # type: =head2
16090 #: ../fish/guestfish.pod:784
16091 msgid "echo"
16092 msgstr ""
16093
16094 # type: verbatim
16095 #: ../fish/guestfish.pod:786
16096 #, no-wrap
16097 msgid ""
16098 " echo [params ...]\n"
16099 "\n"
16100 msgstr ""
16101
16102 # type: textblock
16103 #: ../fish/guestfish.pod:788
16104 msgid "This echos the parameters to the terminal."
16105 msgstr ""
16106
16107 # type: =head2
16108 #: ../fish/guestfish.pod:790
16109 msgid "edit | vi | emacs"
16110 msgstr ""
16111
16112 # type: verbatim
16113 #: ../fish/guestfish.pod:792
16114 #, no-wrap
16115 msgid ""
16116 " edit filename\n"
16117 "\n"
16118 msgstr ""
16119
16120 # type: textblock
16121 #: ../fish/guestfish.pod:794
16122 msgid ""
16123 "This is used to edit a file.  It downloads the file, edits it locally using "
16124 "your editor, then uploads the result."
16125 msgstr ""
16126
16127 # type: textblock
16128 #: ../fish/guestfish.pod:797
16129 msgid ""
16130 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
16131 "or C<emacs> you will get those corresponding editors."
16132 msgstr ""
16133
16134 # type: textblock
16135 #: ../fish/guestfish.pod:801 ../fish/guestfish.pod:847
16136 msgid ""
16137 "NOTE: This will not work reliably for large files (> 2 MB) or binary files "
16138 "containing \\0 bytes."
16139 msgstr ""
16140
16141 # type: =head2
16142 #: ../fish/guestfish.pod:804
16143 msgid "glob"
16144 msgstr ""
16145
16146 # type: verbatim
16147 #: ../fish/guestfish.pod:806
16148 #, no-wrap
16149 msgid ""
16150 " glob command args...\n"
16151 "\n"
16152 msgstr ""
16153
16154 # type: textblock
16155 #: ../fish/guestfish.pod:808
16156 msgid ""
16157 "Expand wildcards in any paths in the args list, and run C<command> "
16158 "repeatedly on each matching path."
16159 msgstr ""
16160
16161 # type: textblock
16162 #: ../fish/guestfish.pod:811
16163 msgid "See section WILDCARDS AND GLOBBING."
16164 msgstr ""
16165
16166 # type: =head2
16167 #: ../fish/guestfish.pod:813
16168 msgid "help"
16169 msgstr ""
16170
16171 # type: verbatim
16172 #: ../fish/guestfish.pod:815
16173 #, no-wrap
16174 msgid ""
16175 " help\n"
16176 " help cmd\n"
16177 "\n"
16178 msgstr ""
16179
16180 # type: textblock
16181 #: ../fish/guestfish.pod:818
16182 msgid ""
16183 "Without any parameter, this lists all commands.  With a C<cmd> parameter, "
16184 "this displays detailed help for a command."
16185 msgstr ""
16186
16187 # type: =head2
16188 #: ../fish/guestfish.pod:821
16189 msgid "lcd"
16190 msgstr ""
16191
16192 # type: verbatim
16193 #: ../fish/guestfish.pod:823
16194 #, no-wrap
16195 msgid ""
16196 " lcd directory\n"
16197 "\n"
16198 msgstr ""
16199
16200 # type: textblock
16201 #: ../fish/guestfish.pod:825
16202 msgid ""
16203 "Change the local directory, ie. the current directory of guestfish itself."
16204 msgstr ""
16205
16206 # type: textblock
16207 #: ../fish/guestfish.pod:828
16208 msgid "Note that C<!cd> won't do what you might expect."
16209 msgstr ""
16210
16211 # type: =head2
16212 #: ../fish/guestfish.pod:830
16213 msgid "man | manual"
16214 msgstr ""
16215
16216 # type: verbatim
16217 #: ../fish/guestfish.pod:832
16218 #, no-wrap
16219 msgid ""
16220 " man\n"
16221 "\n"
16222 msgstr ""
16223
16224 # type: textblock
16225 #: ../fish/guestfish.pod:834
16226 msgid "Opens the manual page for guestfish."
16227 msgstr ""
16228
16229 # type: =head2
16230 #: ../fish/guestfish.pod:836
16231 msgid "more | less"
16232 msgstr ""
16233
16234 # type: verbatim
16235 #: ../fish/guestfish.pod:838
16236 #, no-wrap
16237 msgid ""
16238 " more filename\n"
16239 "\n"
16240 msgstr ""
16241
16242 # type: verbatim
16243 #: ../fish/guestfish.pod:840
16244 #, no-wrap
16245 msgid ""
16246 " less filename\n"
16247 "\n"
16248 msgstr ""
16249
16250 # type: textblock
16251 #: ../fish/guestfish.pod:842
16252 msgid "This is used to view a file."
16253 msgstr ""
16254
16255 # type: textblock
16256 #: ../fish/guestfish.pod:844
16257 msgid ""
16258 "The default viewer is C<$PAGER>.  However if you use the alternate command "
16259 "C<less> you will get the C<less> command specifically."
16260 msgstr ""
16261
16262 # type: =head2
16263 #: ../fish/guestfish.pod:850
16264 msgid "quit | exit"
16265 msgstr ""
16266
16267 # type: textblock
16268 #: ../fish/guestfish.pod:852
16269 msgid "This exits guestfish.  You can also use C<^D> key."
16270 msgstr ""
16271
16272 # type: =head2
16273 #: ../fish/guestfish.pod:854
16274 msgid "reopen"
16275 msgstr ""
16276
16277 # type: verbatim
16278 #: ../fish/guestfish.pod:856
16279 #, no-wrap
16280 msgid ""
16281 " reopen\n"
16282 "\n"
16283 msgstr ""
16284
16285 # type: textblock
16286 #: ../fish/guestfish.pod:858
16287 msgid ""
16288 "Close and reopen the libguestfs handle.  It is not necessary to use this "
16289 "normally, because the handle is closed properly when guestfish exits.  "
16290 "However this is occasionally useful for testing."
16291 msgstr ""
16292
16293 # type: =head2
16294 #: ../fish/guestfish.pod:862
16295 msgid "sparse"
16296 msgstr ""
16297
16298 # type: verbatim
16299 #: ../fish/guestfish.pod:864
16300 #, no-wrap
16301 msgid ""
16302 " sparse filename size\n"
16303 "\n"
16304 msgstr ""
16305
16306 # type: textblock
16307 #: ../fish/guestfish.pod:866
16308 msgid ""
16309 "This creates an empty sparse file of the given size, and then adds so it can "
16310 "be further examined."
16311 msgstr ""
16312
16313 # type: textblock
16314 #: ../fish/guestfish.pod:869
16315 msgid ""
16316 "In all respects it works the same as the C<alloc> command, except that the "
16317 "image file is allocated sparsely, which means that disk blocks are not "
16318 "assigned to the file until they are needed.  Sparse disk files only use "
16319 "space when written to, but they are slower and there is a danger you could "
16320 "run out of real disk space during a write operation."
16321 msgstr ""
16322
16323 # type: =head2
16324 #: ../fish/guestfish.pod:879
16325 msgid "supported"
16326 msgstr ""
16327
16328 # type: verbatim
16329 #: ../fish/guestfish.pod:881
16330 #, no-wrap
16331 msgid ""
16332 " supported\n"
16333 "\n"
16334 msgstr ""
16335
16336 # type: textblock
16337 #: ../fish/guestfish.pod:883
16338 msgid ""
16339 "This command returns a list of the optional groups known to the daemon, and "
16340 "indicates which ones are supported by this build of the libguestfs appliance."
16341 msgstr ""
16342
16343 # type: textblock
16344 #: ../fish/guestfish.pod:887
16345 msgid "See also L<guestfs(3)/AVAILABILITY>."
16346 msgstr ""
16347
16348 # type: =head2
16349 #: ../fish/guestfish.pod:889
16350 msgid "time"
16351 msgstr ""
16352
16353 # type: verbatim
16354 #: ../fish/guestfish.pod:891
16355 #, no-wrap
16356 msgid ""
16357 " time command args...\n"
16358 "\n"
16359 msgstr ""
16360
16361 # type: textblock
16362 #: ../fish/guestfish.pod:893
16363 msgid ""
16364 "Run the command as usual, but print the elapsed time afterwards.  This can "
16365 "be useful for benchmarking operations."
16366 msgstr ""
16367
16368 # type: =head1
16369 #: ../fish/guestfish.pod:896
16370 msgid "COMMANDS"
16371 msgstr ""
16372
16373 # type: =head1
16374 #: ../fish/guestfish.pod:900 ../test-tool/libguestfs-test-tool.pod:83
16375 msgid "EXIT CODE"
16376 msgstr ""
16377
16378 # type: textblock
16379 #: ../fish/guestfish.pod:902
16380 msgid ""
16381 "guestfish returns 0 if the commands completed without error, or 1 if there "
16382 "was an error."
16383 msgstr ""
16384
16385 # type: =item
16386 #: ../fish/guestfish.pod:909
16387 msgid "EDITOR"
16388 msgstr ""
16389
16390 # type: textblock
16391 #: ../fish/guestfish.pod:911
16392 msgid ""
16393 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
16394 "C<vi>."
16395 msgstr ""
16396
16397 # type: =item
16398 #: ../fish/guestfish.pod:914
16399 msgid "GUESTFISH_PID"
16400 msgstr ""
16401
16402 # type: textblock
16403 #: ../fish/guestfish.pod:916
16404 msgid ""
16405 "Used with the I<--remote> option to specify the remote guestfish process to "
16406 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
16407 msgstr ""
16408
16409 # type: =item
16410 #: ../fish/guestfish.pod:920
16411 msgid "HOME"
16412 msgstr ""
16413
16414 # type: textblock
16415 #: ../fish/guestfish.pod:922
16416 msgid ""
16417 "If compiled with GNU readline support, various files in the home directory "
16418 "can be used.  See L</FILES>."
16419 msgstr ""
16420
16421 # type: textblock
16422 #: ../fish/guestfish.pod:931
16423 msgid ""
16424 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
16425 "effect as using the B<-v> option."
16426 msgstr ""
16427
16428 # type: textblock
16429 #: ../fish/guestfish.pod:943
16430 msgid ""
16431 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
16432 "the discussion of paths in L<guestfs(3)>."
16433 msgstr ""
16434
16435 # type: textblock
16436 #: ../fish/guestfish.pod:954
16437 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
16438 msgstr ""
16439
16440 # type: =item
16441 #: ../fish/guestfish.pod:956
16442 msgid "PAGER"
16443 msgstr ""
16444
16445 # type: textblock
16446 #: ../fish/guestfish.pod:958
16447 msgid ""
16448 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
16449 "C<more>."
16450 msgstr ""
16451
16452 # type: =head1
16453 #: ../fish/guestfish.pod:973 ../test-tool/libguestfs-test-tool.pod:88
16454 msgid "FILES"
16455 msgstr ""
16456
16457 # type: =item
16458 #: ../fish/guestfish.pod:977
16459 msgid "$HOME/.guestfish"
16460 msgstr ""
16461
16462 # type: textblock
16463 #: ../fish/guestfish.pod:979
16464 msgid ""
16465 "If compiled with GNU readline support, then the command history is saved in "
16466 "this file."
16467 msgstr ""
16468
16469 # type: =item
16470 #: ../fish/guestfish.pod:982
16471 msgid "$HOME/.inputrc"
16472 msgstr ""
16473
16474 # type: =item
16475 #: ../fish/guestfish.pod:984
16476 msgid "/etc/inputrc"
16477 msgstr ""
16478
16479 # type: textblock
16480 #: ../fish/guestfish.pod:986
16481 msgid ""
16482 "If compiled with GNU readline support, then these files can be used to "
16483 "configure readline.  For further information, please see L<readline(3)/"
16484 "INITIALIZATION FILE>."
16485 msgstr ""
16486
16487 # type: textblock
16488 #: ../fish/guestfish.pod:990
16489 msgid "To write rules which only apply to guestfish, use:"
16490 msgstr ""
16491
16492 # type: verbatim
16493 #: ../fish/guestfish.pod:992
16494 #, no-wrap
16495 msgid ""
16496 " $if guestfish\n"
16497 " ...\n"
16498 " $endif\n"
16499 "\n"
16500 msgstr ""
16501
16502 # type: textblock
16503 #: ../fish/guestfish.pod:996
16504 msgid ""
16505 "Variables that you can set in inputrc that change the behaviour of guestfish "
16506 "in useful ways include:"
16507 msgstr ""
16508
16509 # type: =item
16510 #: ../fish/guestfish.pod:1001
16511 msgid "completion-ignore-case (default: on)"
16512 msgstr ""
16513
16514 # type: textblock
16515 #: ../fish/guestfish.pod:1003
16516 msgid ""
16517 "By default, guestfish will ignore case when tab-completing paths on the "
16518 "disk.  Use:"
16519 msgstr ""
16520
16521 # type: verbatim
16522 #: ../fish/guestfish.pod:1006
16523 #, no-wrap
16524 msgid ""
16525 " set completion-ignore-case off\n"
16526 "\n"
16527 msgstr ""
16528
16529 # type: textblock
16530 #: ../fish/guestfish.pod:1008
16531 msgid "to make guestfish case sensitive."
16532 msgstr ""
16533
16534 # type: =item
16535 #: ../fish/guestfish.pod:1012
16536 msgid "test1.img"
16537 msgstr ""
16538
16539 # type: =item
16540 #: ../fish/guestfish.pod:1014
16541 msgid "test2.img (etc)"
16542 msgstr ""
16543
16544 # type: textblock
16545 #: ../fish/guestfish.pod:1016
16546 msgid ""
16547 "When using the C<-N> or C<--new> option, the prepared disk or filesystem "
16548 "will be created in the file C<test1.img> in the current directory.  The "
16549 "second use of C<-N> will use C<test2.img> and so on.  Any existing file with "
16550 "the same name will be overwritten."
16551 msgstr ""
16552
16553 # type: textblock
16554 #: ../fish/guestfish.pod:1025
16555 msgid ""
16556 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-df(1)>, "
16557 "L<virt-edit(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, "
16558 "L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, "
16559 "L<virt-tar(1)>, L<virt-win-reg(1)>."
16560 msgstr ""
16561
16562 # type: textblock
16563 #: ../fish/guestfish.pod:1048 ../test-tool/libguestfs-test-tool.pod:124
16564 #: ../fuse/guestmount.pod:198 ../inspector/virt-inspector.pl:865
16565 #: ../tools/virt-cat.pl:181 ../tools/virt-df.pl:499 ../tools/virt-edit.pl:345
16566 #: ../tools/virt-list-filesystems.pl:211 ../tools/virt-list-partitions.pl:248
16567 #: ../tools/virt-ls.pl:229 ../tools/virt-make-fs.pl:560
16568 #: ../tools/virt-rescue.pl:249 ../tools/virt-resize.pl:1415
16569 #: ../tools/virt-tar.pl:276 ../tools/virt-win-reg.pl:495
16570 msgid ""
16571 "This program is free software; you can redistribute it and/or modify it "
16572 "under the terms of the GNU General Public License as published by the Free "
16573 "Software Foundation; either version 2 of the License, or (at your option) "
16574 "any later version."
16575 msgstr ""
16576
16577 # type: textblock
16578 #: ../fish/guestfish.pod:1053 ../test-tool/libguestfs-test-tool.pod:129
16579 #: ../fuse/guestmount.pod:203 ../inspector/virt-inspector.pl:870
16580 #: ../tools/virt-cat.pl:186 ../tools/virt-df.pl:504 ../tools/virt-edit.pl:350
16581 #: ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:253
16582 #: ../tools/virt-ls.pl:234 ../tools/virt-make-fs.pl:565
16583 #: ../tools/virt-rescue.pl:254 ../tools/virt-resize.pl:1420
16584 #: ../tools/virt-tar.pl:281 ../tools/virt-win-reg.pl:500
16585 msgid ""
16586 "This program is distributed in the hope that it will be useful, but WITHOUT "
16587 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
16588 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
16589 "more details."
16590 msgstr ""
16591
16592 # type: textblock
16593 #: ../fish/guestfish.pod:1058 ../test-tool/libguestfs-test-tool.pod:134
16594 #: ../fuse/guestmount.pod:208 ../inspector/virt-inspector.pl:875
16595 #: ../tools/virt-cat.pl:191 ../tools/virt-df.pl:509 ../tools/virt-edit.pl:355
16596 #: ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:258
16597 #: ../tools/virt-ls.pl:239 ../tools/virt-make-fs.pl:570
16598 #: ../tools/virt-rescue.pl:259 ../tools/virt-resize.pl:1425
16599 #: ../tools/virt-tar.pl:286 ../tools/virt-win-reg.pl:505
16600 msgid ""
16601 "You should have received a copy of the GNU General Public License along with "
16602 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
16603 "Ave, Cambridge, MA 02139, USA."
16604 msgstr ""
16605
16606 # type: =head2
16607 #: ../fish/guestfish-actions.pod:1
16608 msgid "add-cdrom | cdrom"
16609 msgstr ""
16610
16611 # type: verbatim
16612 #: ../fish/guestfish-actions.pod:3
16613 #, no-wrap
16614 msgid ""
16615 " add-cdrom filename\n"
16616 "\n"
16617 msgstr ""
16618
16619 # type: textblock
16620 #: ../fish/guestfish-actions.pod:15
16621 msgid ""
16622 "This call checks for the existence of C<filename>.  This stops you from "
16623 "specifying other types of drive which are supported by qemu such as C<nbd:> "
16624 "and C<http:> URLs.  To specify those, use the general C<config> call instead."
16625 msgstr ""
16626
16627 # type: textblock
16628 #: ../fish/guestfish-actions.pod:22
16629 msgid ""
16630 "If you just want to add an ISO file (often you use this as an efficient way "
16631 "to transfer large files into the guest), then you should probably use C<add-"
16632 "drive-ro> instead."
16633 msgstr ""
16634
16635 # type: =head2
16636 #: ../fish/guestfish-actions.pod:28
16637 msgid "add-drive | add"
16638 msgstr ""
16639
16640 # type: verbatim
16641 #: ../fish/guestfish-actions.pod:30
16642 #, no-wrap
16643 msgid ""
16644 " add-drive filename\n"
16645 "\n"
16646 msgstr ""
16647
16648 # type: textblock
16649 #: ../fish/guestfish-actions.pod:49 ../fish/guestfish-actions.pod:75
16650 msgid ""
16651 "C<if=...> is set at compile time by the configuration option C<./configure --"
16652 "with-drive-if=...>.  In the rare case where you might need to change this at "
16653 "run time, use C<add-drive-with-if> or C<add-drive-ro-with-if>."
16654 msgstr ""
16655
16656 # type: textblock
16657 #: ../fish/guestfish-actions.pod:54 ../fish/guestfish-actions.pod:80
16658 msgid ""
16659 "Note that this call checks for the existence of C<filename>.  This stops you "
16660 "from specifying other types of drive which are supported by qemu such as "
16661 "C<nbd:> and C<http:> URLs.  To specify those, use the general C<config> call "
16662 "instead."
16663 msgstr ""
16664
16665 # type: =head2
16666 #: ../fish/guestfish-actions.pod:59
16667 msgid "add-drive-ro | add-ro"
16668 msgstr ""
16669
16670 # type: verbatim
16671 #: ../fish/guestfish-actions.pod:61
16672 #, no-wrap
16673 msgid ""
16674 " add-drive-ro filename\n"
16675 "\n"
16676 msgstr ""
16677
16678 # type: =head2
16679 #: ../fish/guestfish-actions.pod:85
16680 msgid "add-drive-ro-with-if"
16681 msgstr ""
16682
16683 # type: verbatim
16684 #: ../fish/guestfish-actions.pod:87
16685 #, no-wrap
16686 msgid ""
16687 " add-drive-ro-with-if filename iface\n"
16688 "\n"
16689 msgstr ""
16690
16691 # type: textblock
16692 #: ../fish/guestfish-actions.pod:89
16693 msgid ""
16694 "This is the same as C<add-drive-ro> but it allows you to specify the QEMU "
16695 "interface emulation to use at run time."
16696 msgstr ""
16697
16698 # type: =head2
16699 #: ../fish/guestfish-actions.pod:92
16700 msgid "add-drive-with-if"
16701 msgstr ""
16702
16703 # type: verbatim
16704 #: ../fish/guestfish-actions.pod:94
16705 #, no-wrap
16706 msgid ""
16707 " add-drive-with-if filename iface\n"
16708 "\n"
16709 msgstr ""
16710
16711 # type: textblock
16712 #: ../fish/guestfish-actions.pod:96
16713 msgid ""
16714 "This is the same as C<add-drive> but it allows you to specify the QEMU "
16715 "interface emulation to use at run time."
16716 msgstr ""
16717
16718 # type: =head2
16719 #: ../fish/guestfish-actions.pod:99
16720 msgid "aug-clear"
16721 msgstr ""
16722
16723 # type: verbatim
16724 #: ../fish/guestfish-actions.pod:101
16725 #, no-wrap
16726 msgid ""
16727 " aug-clear augpath\n"
16728 "\n"
16729 msgstr ""
16730
16731 # type: =head2
16732 #: ../fish/guestfish-actions.pod:106
16733 msgid "aug-close"
16734 msgstr ""
16735
16736 # type: verbatim
16737 #: ../fish/guestfish-actions.pod:108
16738 #, no-wrap
16739 msgid ""
16740 " aug-close\n"
16741 "\n"
16742 msgstr ""
16743
16744 # type: textblock
16745 #: ../fish/guestfish-actions.pod:110
16746 msgid ""
16747 "Close the current Augeas handle and free up any resources used by it.  After "
16748 "calling this, you have to call C<aug-init> again before you can use any "
16749 "other Augeas functions."
16750 msgstr ""
16751
16752 # type: =head2
16753 #: ../fish/guestfish-actions.pod:115
16754 msgid "aug-defnode"
16755 msgstr ""
16756
16757 # type: verbatim
16758 #: ../fish/guestfish-actions.pod:117
16759 #, no-wrap
16760 msgid ""
16761 " aug-defnode name expr val\n"
16762 "\n"
16763 msgstr ""
16764
16765 # type: textblock
16766 #: ../fish/guestfish-actions.pod:122
16767 msgid ""
16768 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
16769 "calling C<aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
16770 "containing that single node."
16771 msgstr ""
16772
16773 # type: =head2
16774 #: ../fish/guestfish-actions.pod:130
16775 msgid "aug-defvar"
16776 msgstr ""
16777
16778 # type: verbatim
16779 #: ../fish/guestfish-actions.pod:132
16780 #, no-wrap
16781 msgid ""
16782 " aug-defvar name expr\n"
16783 "\n"
16784 msgstr ""
16785
16786 # type: =head2
16787 #: ../fish/guestfish-actions.pod:141
16788 msgid "aug-get"
16789 msgstr ""
16790
16791 # type: verbatim
16792 #: ../fish/guestfish-actions.pod:143
16793 #, no-wrap
16794 msgid ""
16795 " aug-get augpath\n"
16796 "\n"
16797 msgstr ""
16798
16799 # type: =head2
16800 #: ../fish/guestfish-actions.pod:148
16801 msgid "aug-init"
16802 msgstr ""
16803
16804 # type: verbatim
16805 #: ../fish/guestfish-actions.pod:150
16806 #, no-wrap
16807 msgid ""
16808 " aug-init root flags\n"
16809 "\n"
16810 msgstr ""
16811
16812 # type: textblock
16813 #: ../fish/guestfish-actions.pod:156
16814 msgid "You must call this before using any other C<aug-*> commands."
16815 msgstr ""
16816
16817 # type: textblock
16818 #: ../fish/guestfish-actions.pod:191
16819 msgid "Do not load the tree in C<aug-init>."
16820 msgstr ""
16821
16822 # type: textblock
16823 #: ../fish/guestfish-actions.pod:195
16824 msgid "To close the handle, you can call C<aug-close>."
16825 msgstr ""
16826
16827 # type: =head2
16828 #: ../fish/guestfish-actions.pod:199
16829 msgid "aug-insert"
16830 msgstr ""
16831
16832 # type: verbatim
16833 #: ../fish/guestfish-actions.pod:201
16834 #, no-wrap
16835 msgid ""
16836 " aug-insert augpath label true|false\n"
16837 "\n"
16838 msgstr ""
16839
16840 # type: =head2
16841 #: ../fish/guestfish-actions.pod:211
16842 msgid "aug-load"
16843 msgstr ""
16844
16845 # type: verbatim
16846 #: ../fish/guestfish-actions.pod:213
16847 #, no-wrap
16848 msgid ""
16849 " aug-load\n"
16850 "\n"
16851 msgstr ""
16852
16853 # type: =head2
16854 #: ../fish/guestfish-actions.pod:220
16855 msgid "aug-ls"
16856 msgstr ""
16857
16858 # type: verbatim
16859 #: ../fish/guestfish-actions.pod:222
16860 #, no-wrap
16861 msgid ""
16862 " aug-ls augpath\n"
16863 "\n"
16864 msgstr ""
16865
16866 # type: textblock
16867 #: ../fish/guestfish-actions.pod:224
16868 msgid ""
16869 "This is just a shortcut for listing C<aug-match> C<path/*> and sorting the "
16870 "resulting nodes into alphabetical order."
16871 msgstr ""
16872
16873 # type: =head2
16874 #: ../fish/guestfish-actions.pod:227
16875 msgid "aug-match"
16876 msgstr ""
16877
16878 # type: verbatim
16879 #: ../fish/guestfish-actions.pod:229
16880 #, no-wrap
16881 msgid ""
16882 " aug-match augpath\n"
16883 "\n"
16884 msgstr ""
16885
16886 # type: =head2
16887 #: ../fish/guestfish-actions.pod:235
16888 msgid "aug-mv"
16889 msgstr ""
16890
16891 # type: verbatim
16892 #: ../fish/guestfish-actions.pod:237
16893 #, no-wrap
16894 msgid ""
16895 " aug-mv src dest\n"
16896 "\n"
16897 msgstr ""
16898
16899 # type: =head2
16900 #: ../fish/guestfish-actions.pod:242
16901 msgid "aug-rm"
16902 msgstr ""
16903
16904 # type: verbatim
16905 #: ../fish/guestfish-actions.pod:244
16906 #, no-wrap
16907 msgid ""
16908 " aug-rm augpath\n"
16909 "\n"
16910 msgstr ""
16911
16912 # type: =head2
16913 #: ../fish/guestfish-actions.pod:250
16914 msgid "aug-save"
16915 msgstr ""
16916
16917 # type: verbatim
16918 #: ../fish/guestfish-actions.pod:252
16919 #, no-wrap
16920 msgid ""
16921 " aug-save\n"
16922 "\n"
16923 msgstr ""
16924
16925 # type: textblock
16926 #: ../fish/guestfish-actions.pod:256
16927 msgid ""
16928 "The flags which were passed to C<aug-init> affect exactly how files are "
16929 "saved."
16930 msgstr ""
16931
16932 # type: =head2
16933 #: ../fish/guestfish-actions.pod:259
16934 msgid "aug-set"
16935 msgstr ""
16936
16937 # type: verbatim
16938 #: ../fish/guestfish-actions.pod:261
16939 #, no-wrap
16940 msgid ""
16941 " aug-set augpath val\n"
16942 "\n"
16943 msgstr ""
16944
16945 # type: textblock
16946 #: ../fish/guestfish-actions.pod:265
16947 msgid ""
16948 "In the Augeas API, it is possible to clear a node by setting the value to "
16949 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
16950 "this call.  Instead you must use the C<aug-clear> call."
16951 msgstr ""
16952
16953 # type: =head2
16954 #: ../fish/guestfish-actions.pod:270
16955 msgid "available"
16956 msgstr ""
16957
16958 # type: verbatim
16959 #: ../fish/guestfish-actions.pod:272
16960 #, no-wrap
16961 msgid ""
16962 " available 'groups ...'\n"
16963 "\n"
16964 msgstr ""
16965
16966 # type: textblock
16967 #: ../fish/guestfish-actions.pod:278
16968 msgid ""
16969 "The libguestfs groups, and the functions that those groups correspond to, "
16970 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
16971 "runtime by calling C<available-all-groups>."
16972 msgstr ""
16973
16974 # type: textblock
16975 #: ../fish/guestfish-actions.pod:302
16976 msgid "You must call C<launch> before calling this function."
16977 msgstr ""
16978
16979 # type: textblock
16980 #: ../fish/guestfish-actions.pod:324
16981 msgid ""
16982 "This call was added in version C<1.0.80>.  In previous versions of "
16983 "libguestfs all you could do would be to speculatively execute a command to "
16984 "find out if the daemon implemented it.  See also C<version>."
16985 msgstr ""
16986
16987 # type: =head2
16988 #: ../fish/guestfish-actions.pod:331
16989 msgid "available-all-groups"
16990 msgstr ""
16991
16992 # type: verbatim
16993 #: ../fish/guestfish-actions.pod:333
16994 #, no-wrap
16995 msgid ""
16996 " available-all-groups\n"
16997 "\n"
16998 msgstr ""
16999
17000 # type: textblock
17001 #: ../fish/guestfish-actions.pod:335
17002 msgid ""
17003 "This command returns a list of all optional groups that this daemon knows "
17004 "about.  Note this returns both supported and unsupported groups.  To find "
17005 "out which ones the daemon can actually support you have to call C<available> "
17006 "on each member of the returned list."
17007 msgstr ""
17008
17009 # type: textblock
17010 #: ../fish/guestfish-actions.pod:341
17011 msgid "See also C<available> and L<guestfs(3)/AVAILABILITY>."
17012 msgstr ""
17013
17014 # type: =head2
17015 #: ../fish/guestfish-actions.pod:343
17016 msgid "base64-in"
17017 msgstr ""
17018
17019 # type: verbatim
17020 #: ../fish/guestfish-actions.pod:345
17021 #, no-wrap
17022 msgid ""
17023 " base64-in (base64file|-) filename\n"
17024 "\n"
17025 msgstr ""
17026
17027 # type: textblock
17028 #: ../fish/guestfish-actions.pod:350 ../fish/guestfish-actions.pod:359
17029 #: ../fish/guestfish-actions.pod:583 ../fish/guestfish-actions.pod:730
17030 #: ../fish/guestfish-actions.pod:777 ../fish/guestfish-actions.pod:1154
17031 #: ../fish/guestfish-actions.pod:3657 ../fish/guestfish-actions.pod:3669
17032 #: ../fish/guestfish-actions.pod:3680 ../fish/guestfish-actions.pod:3691
17033 #: ../fish/guestfish-actions.pod:3743 ../fish/guestfish-actions.pod:3752
17034 #: ../fish/guestfish-actions.pod:3802
17035 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
17036 msgstr ""
17037
17038 # type: =head2
17039 #: ../fish/guestfish-actions.pod:352
17040 msgid "base64-out"
17041 msgstr ""
17042
17043 # type: verbatim
17044 #: ../fish/guestfish-actions.pod:354
17045 #, no-wrap
17046 msgid ""
17047 " base64-out filename (base64file|-)\n"
17048 "\n"
17049 msgstr ""
17050
17051 # type: =head2
17052 #: ../fish/guestfish-actions.pod:361
17053 msgid "blockdev-flushbufs"
17054 msgstr ""
17055
17056 # type: verbatim
17057 #: ../fish/guestfish-actions.pod:363
17058 #, no-wrap
17059 msgid ""
17060 " blockdev-flushbufs device\n"
17061 "\n"
17062 msgstr ""
17063
17064 # type: =head2
17065 #: ../fish/guestfish-actions.pod:370
17066 msgid "blockdev-getbsz"
17067 msgstr ""
17068
17069 # type: verbatim
17070 #: ../fish/guestfish-actions.pod:372
17071 #, no-wrap
17072 msgid ""
17073 " blockdev-getbsz device\n"
17074 "\n"
17075 msgstr ""
17076
17077 # type: =head2
17078 #: ../fish/guestfish-actions.pod:381
17079 msgid "blockdev-getro"
17080 msgstr ""
17081
17082 # type: verbatim
17083 #: ../fish/guestfish-actions.pod:383
17084 #, no-wrap
17085 msgid ""
17086 " blockdev-getro device\n"
17087 "\n"
17088 msgstr ""
17089
17090 # type: =head2
17091 #: ../fish/guestfish-actions.pod:390
17092 msgid "blockdev-getsize64"
17093 msgstr ""
17094
17095 # type: verbatim
17096 #: ../fish/guestfish-actions.pod:392
17097 #, no-wrap
17098 msgid ""
17099 " blockdev-getsize64 device\n"
17100 "\n"
17101 msgstr ""
17102
17103 # type: textblock
17104 #: ../fish/guestfish-actions.pod:396
17105 msgid "See also C<blockdev-getsz>."
17106 msgstr ""
17107
17108 # type: =head2
17109 #: ../fish/guestfish-actions.pod:400
17110 msgid "blockdev-getss"
17111 msgstr ""
17112
17113 # type: verbatim
17114 #: ../fish/guestfish-actions.pod:402
17115 #, no-wrap
17116 msgid ""
17117 " blockdev-getss device\n"
17118 "\n"
17119 msgstr ""
17120
17121 # type: textblock
17122 #: ../fish/guestfish-actions.pod:407
17123 msgid ""
17124 "(Note, this is not the size in sectors, use C<blockdev-getsz> for that)."
17125 msgstr ""
17126
17127 # type: =head2
17128 #: ../fish/guestfish-actions.pod:412
17129 msgid "blockdev-getsz"
17130 msgstr ""
17131
17132 # type: verbatim
17133 #: ../fish/guestfish-actions.pod:414
17134 #, no-wrap
17135 msgid ""
17136 " blockdev-getsz device\n"
17137 "\n"
17138 msgstr ""
17139
17140 # type: textblock
17141 #: ../fish/guestfish-actions.pod:419
17142 msgid ""
17143 "See also C<blockdev-getss> for the real sector size of the device, and "
17144 "C<blockdev-getsize64> for the more useful I<size in bytes>."
17145 msgstr ""
17146
17147 # type: =head2
17148 #: ../fish/guestfish-actions.pod:425
17149 msgid "blockdev-rereadpt"
17150 msgstr ""
17151
17152 # type: verbatim
17153 #: ../fish/guestfish-actions.pod:427
17154 #, no-wrap
17155 msgid ""
17156 " blockdev-rereadpt device\n"
17157 "\n"
17158 msgstr ""
17159
17160 # type: =head2
17161 #: ../fish/guestfish-actions.pod:433
17162 msgid "blockdev-setbsz"
17163 msgstr ""
17164
17165 # type: verbatim
17166 #: ../fish/guestfish-actions.pod:435
17167 #, no-wrap
17168 msgid ""
17169 " blockdev-setbsz device blocksize\n"
17170 "\n"
17171 msgstr ""
17172
17173 # type: =head2
17174 #: ../fish/guestfish-actions.pod:444
17175 msgid "blockdev-setro"
17176 msgstr ""
17177
17178 # type: verbatim
17179 #: ../fish/guestfish-actions.pod:446
17180 #, no-wrap
17181 msgid ""
17182 " blockdev-setro device\n"
17183 "\n"
17184 msgstr ""
17185
17186 # type: =head2
17187 #: ../fish/guestfish-actions.pod:452
17188 msgid "blockdev-setrw"
17189 msgstr ""
17190
17191 # type: verbatim
17192 #: ../fish/guestfish-actions.pod:454
17193 #, no-wrap
17194 msgid ""
17195 " blockdev-setrw device\n"
17196 "\n"
17197 msgstr ""
17198
17199 # type: =head2
17200 #: ../fish/guestfish-actions.pod:460
17201 msgid "case-sensitive-path"
17202 msgstr ""
17203
17204 # type: verbatim
17205 #: ../fish/guestfish-actions.pod:462
17206 #, no-wrap
17207 msgid ""
17208 " case-sensitive-path path\n"
17209 "\n"
17210 msgstr ""
17211
17212 # type: textblock
17213 #: ../fish/guestfish-actions.pod:486
17214 msgid ""
17215 "Thus C<case-sensitive-path> (\"/Windows/System32\")  might return C<\"/"
17216 "WINDOWS/system32\"> (the exact return value would depend on details of how "
17217 "the directories were originally created under Windows)."
17218 msgstr ""
17219
17220 # type: textblock
17221 #: ../fish/guestfish-actions.pod:494
17222 msgid "See also C<realpath>."
17223 msgstr ""
17224
17225 # type: =head2
17226 #: ../fish/guestfish-actions.pod:496
17227 msgid "cat"
17228 msgstr ""
17229
17230 # type: verbatim
17231 #: ../fish/guestfish-actions.pod:498
17232 #, no-wrap
17233 msgid ""
17234 " cat path\n"
17235 "\n"
17236 msgstr ""
17237
17238 # type: textblock
17239 #: ../fish/guestfish-actions.pod:502
17240 msgid ""
17241 "Note that this function cannot correctly handle binary files (specifically, "
17242 "files containing C<\\0> character which is treated as end of string).  For "
17243 "those you need to use the C<read-file> or C<download> functions which have a "
17244 "more complex interface."
17245 msgstr ""
17246
17247 # type: =head2
17248 #: ../fish/guestfish-actions.pod:510
17249 msgid "checksum"
17250 msgstr ""
17251
17252 # type: verbatim
17253 #: ../fish/guestfish-actions.pod:512
17254 #, no-wrap
17255 msgid ""
17256 " checksum csumtype path\n"
17257 "\n"
17258 msgstr ""
17259
17260 # type: textblock
17261 #: ../fish/guestfish-actions.pod:555
17262 msgid "To get the checksum for a device, use C<checksum-device>."
17263 msgstr ""
17264
17265 # type: textblock
17266 #: ../fish/guestfish-actions.pod:557
17267 msgid "To get the checksums for many files, use C<checksums-out>."
17268 msgstr ""
17269
17270 # type: =head2
17271 #: ../fish/guestfish-actions.pod:559
17272 msgid "checksum-device"
17273 msgstr ""
17274
17275 # type: verbatim
17276 #: ../fish/guestfish-actions.pod:561
17277 #, no-wrap
17278 msgid ""
17279 " checksum-device csumtype device\n"
17280 "\n"
17281 msgstr ""
17282
17283 # type: textblock
17284 #: ../fish/guestfish-actions.pod:563
17285 msgid ""
17286 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
17287 "device named C<device>.  For the types of checksums supported see the "
17288 "C<checksum> command."
17289 msgstr ""
17290
17291 # type: =head2
17292 #: ../fish/guestfish-actions.pod:567
17293 msgid "checksums-out"
17294 msgstr ""
17295
17296 # type: verbatim
17297 #: ../fish/guestfish-actions.pod:569
17298 #, no-wrap
17299 msgid ""
17300 " checksums-out csumtype directory (sumsfile|-)\n"
17301 "\n"
17302 msgstr ""
17303
17304 # type: =head2
17305 #: ../fish/guestfish-actions.pod:585
17306 msgid "chmod"
17307 msgstr ""
17308
17309 # type: verbatim
17310 #: ../fish/guestfish-actions.pod:587
17311 #, no-wrap
17312 msgid ""
17313 " chmod mode path\n"
17314 "\n"
17315 msgstr ""
17316
17317 # type: =head2
17318 #: ../fish/guestfish-actions.pod:598
17319 msgid "chown"
17320 msgstr ""
17321
17322 # type: verbatim
17323 #: ../fish/guestfish-actions.pod:600
17324 #, no-wrap
17325 msgid ""
17326 " chown owner group path\n"
17327 "\n"
17328 msgstr ""
17329
17330 # type: =head2
17331 #: ../fish/guestfish-actions.pod:608
17332 msgid "command"
17333 msgstr ""
17334
17335 # type: verbatim
17336 #: ../fish/guestfish-actions.pod:610
17337 #, no-wrap
17338 msgid ""
17339 " command 'arguments ...'\n"
17340 "\n"
17341 msgstr ""
17342
17343 # type: textblock
17344 #: ../fish/guestfish-actions.pod:617
17345 msgid ""
17346 "The single parameter is an argv-style list of arguments.  The first element "
17347 "is the name of the program to run.  Subsequent elements are parameters.  The "
17348 "list must be non-empty (ie. must contain a program name).  Note that the "
17349 "command runs directly, and is I<not> invoked via the shell (see C<sh>)."
17350 msgstr ""
17351
17352 # type: =head2
17353 #: ../fish/guestfish-actions.pod:645
17354 msgid "command-lines"
17355 msgstr ""
17356
17357 # type: verbatim
17358 #: ../fish/guestfish-actions.pod:647
17359 #, no-wrap
17360 msgid ""
17361 " command-lines 'arguments ...'\n"
17362 "\n"
17363 msgstr ""
17364
17365 # type: textblock
17366 #: ../fish/guestfish-actions.pod:649
17367 msgid ""
17368 "This is the same as C<command>, but splits the result into a list of lines."
17369 msgstr ""
17370
17371 # type: textblock
17372 #: ../fish/guestfish-actions.pod:652
17373 msgid "See also: C<sh-lines>"
17374 msgstr ""
17375
17376 # type: =head2
17377 #: ../fish/guestfish-actions.pod:657
17378 msgid "config"
17379 msgstr ""
17380
17381 # type: verbatim
17382 #: ../fish/guestfish-actions.pod:659
17383 #, no-wrap
17384 msgid ""
17385 " config qemuparam qemuvalue\n"
17386 "\n"
17387 msgstr ""
17388
17389 # type: =head2
17390 #: ../fish/guestfish-actions.pod:670
17391 msgid "copy-size"
17392 msgstr ""
17393
17394 # type: verbatim
17395 #: ../fish/guestfish-actions.pod:672
17396 #, no-wrap
17397 msgid ""
17398 " copy-size src dest size\n"
17399 "\n"
17400 msgstr ""
17401
17402 # type: =head2
17403 #: ../fish/guestfish-actions.pod:680
17404 msgid "cp"
17405 msgstr ""
17406
17407 # type: verbatim
17408 #: ../fish/guestfish-actions.pod:682
17409 #, no-wrap
17410 msgid ""
17411 " cp src dest\n"
17412 "\n"
17413 msgstr ""
17414
17415 # type: =head2
17416 #: ../fish/guestfish-actions.pod:687
17417 msgid "cp-a"
17418 msgstr ""
17419
17420 # type: verbatim
17421 #: ../fish/guestfish-actions.pod:689
17422 #, no-wrap
17423 msgid ""
17424 " cp-a src dest\n"
17425 "\n"
17426 msgstr ""
17427
17428 # type: =head2
17429 #: ../fish/guestfish-actions.pod:694
17430 msgid "dd"
17431 msgstr ""
17432
17433 # type: verbatim
17434 #: ../fish/guestfish-actions.pod:696
17435 #, no-wrap
17436 msgid ""
17437 " dd src dest\n"
17438 "\n"
17439 msgstr ""
17440
17441 # type: textblock
17442 #: ../fish/guestfish-actions.pod:703
17443 msgid ""
17444 "If the destination is a device, it must be as large or larger than the "
17445 "source file or device, otherwise the copy will fail.  This command cannot do "
17446 "partial copies (see C<copy-size>)."
17447 msgstr ""
17448
17449 # type: =head2
17450 #: ../fish/guestfish-actions.pod:707
17451 msgid "debug"
17452 msgstr ""
17453
17454 # type: verbatim
17455 #: ../fish/guestfish-actions.pod:709
17456 #, no-wrap
17457 msgid ""
17458 " debug subcmd 'extraargs ...'\n"
17459 "\n"
17460 msgstr ""
17461
17462 # type: textblock
17463 #: ../fish/guestfish-actions.pod:711
17464 msgid ""
17465 "The C<debug> command exposes some internals of C<guestfsd> (the guestfs "
17466 "daemon) that runs inside the qemu subprocess."
17467 msgstr ""
17468
17469 # type: =head2
17470 #: ../fish/guestfish-actions.pod:719
17471 msgid "debug-upload"
17472 msgstr ""
17473
17474 # type: verbatim
17475 #: ../fish/guestfish-actions.pod:721
17476 #, no-wrap
17477 msgid ""
17478 " debug-upload (filename|-) tmpname mode\n"
17479 "\n"
17480 msgstr ""
17481
17482 # type: textblock
17483 #: ../fish/guestfish-actions.pod:723
17484 msgid "The C<debug-upload> command uploads a file to the libguestfs appliance."
17485 msgstr ""
17486
17487 # type: =head2
17488 #: ../fish/guestfish-actions.pod:732
17489 msgid "df"
17490 msgstr ""
17491
17492 # type: verbatim
17493 #: ../fish/guestfish-actions.pod:734
17494 #, no-wrap
17495 msgid ""
17496 " df\n"
17497 "\n"
17498 msgstr ""
17499
17500 # type: =head2
17501 #: ../fish/guestfish-actions.pod:742
17502 msgid "df-h"
17503 msgstr ""
17504
17505 # type: verbatim
17506 #: ../fish/guestfish-actions.pod:744
17507 #, no-wrap
17508 msgid ""
17509 " df-h\n"
17510 "\n"
17511 msgstr ""
17512
17513 # type: =head2
17514 #: ../fish/guestfish-actions.pod:753
17515 msgid "dmesg"
17516 msgstr ""
17517
17518 # type: verbatim
17519 #: ../fish/guestfish-actions.pod:755
17520 #, no-wrap
17521 msgid ""
17522 " dmesg\n"
17523 "\n"
17524 msgstr ""
17525
17526 # type: textblock
17527 #: ../fish/guestfish-actions.pod:761
17528 msgid ""
17529 "Another way to get the same information is to enable verbose messages with "
17530 "C<set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
17531 "before running the program."
17532 msgstr ""
17533
17534 # type: =head2
17535 #: ../fish/guestfish-actions.pod:766
17536 msgid "download"
17537 msgstr ""
17538
17539 # type: verbatim
17540 #: ../fish/guestfish-actions.pod:768
17541 #, no-wrap
17542 msgid ""
17543 " download remotefilename (filename|-)\n"
17544 "\n"
17545 msgstr ""
17546
17547 # type: textblock
17548 #: ../fish/guestfish-actions.pod:775
17549 msgid "See also C<upload>, C<cat>."
17550 msgstr ""
17551
17552 # type: =head2
17553 #: ../fish/guestfish-actions.pod:779
17554 msgid "drop-caches"
17555 msgstr ""
17556
17557 # type: verbatim
17558 #: ../fish/guestfish-actions.pod:781
17559 #, no-wrap
17560 msgid ""
17561 " drop-caches whattodrop\n"
17562 "\n"
17563 msgstr ""
17564
17565 # type: =head2
17566 #: ../fish/guestfish-actions.pod:793
17567 msgid "du"
17568 msgstr ""
17569
17570 # type: verbatim
17571 #: ../fish/guestfish-actions.pod:795
17572 #, no-wrap
17573 msgid ""
17574 " du path\n"
17575 "\n"
17576 msgstr ""
17577
17578 # type: =head2
17579 #: ../fish/guestfish-actions.pod:807
17580 msgid "e2fsck-f"
17581 msgstr ""
17582
17583 # type: verbatim
17584 #: ../fish/guestfish-actions.pod:809
17585 #, no-wrap
17586 msgid ""
17587 " e2fsck-f device\n"
17588 "\n"
17589 msgstr ""
17590
17591 # type: textblock
17592 #: ../fish/guestfish-actions.pod:815
17593 msgid ""
17594 "This command is only needed because of C<resize2fs> (q.v.).  Normally you "
17595 "should use C<fsck>."
17596 msgstr ""
17597
17598 # type: =head2
17599 #: ../fish/guestfish-actions.pod:818
17600 msgid "echo-daemon"
17601 msgstr ""
17602
17603 # type: verbatim
17604 #: ../fish/guestfish-actions.pod:820
17605 #, no-wrap
17606 msgid ""
17607 " echo-daemon 'words ...'\n"
17608 "\n"
17609 msgstr ""
17610
17611 # type: textblock
17612 #: ../fish/guestfish-actions.pod:827
17613 msgid "See also C<ping-daemon>."
17614 msgstr ""
17615
17616 # type: =head2
17617 #: ../fish/guestfish-actions.pod:829
17618 msgid "egrep"
17619 msgstr ""
17620
17621 # type: verbatim
17622 #: ../fish/guestfish-actions.pod:831
17623 #, no-wrap
17624 msgid ""
17625 " egrep regex path\n"
17626 "\n"
17627 msgstr ""
17628
17629 # type: =head2
17630 #: ../fish/guestfish-actions.pod:839
17631 msgid "egrepi"
17632 msgstr ""
17633
17634 # type: verbatim
17635 #: ../fish/guestfish-actions.pod:841
17636 #, no-wrap
17637 msgid ""
17638 " egrepi regex path\n"
17639 "\n"
17640 msgstr ""
17641
17642 # type: =head2
17643 #: ../fish/guestfish-actions.pod:849
17644 msgid "equal"
17645 msgstr ""
17646
17647 # type: verbatim
17648 #: ../fish/guestfish-actions.pod:851
17649 #, no-wrap
17650 msgid ""
17651 " equal file1 file2\n"
17652 "\n"
17653 msgstr ""
17654
17655 # type: =head2
17656 #: ../fish/guestfish-actions.pod:858
17657 msgid "exists"
17658 msgstr ""
17659
17660 # type: verbatim
17661 #: ../fish/guestfish-actions.pod:860
17662 #, no-wrap
17663 msgid ""
17664 " exists path\n"
17665 "\n"
17666 msgstr ""
17667
17668 # type: textblock
17669 #: ../fish/guestfish-actions.pod:865
17670 msgid "See also C<is-file>, C<is-dir>, C<stat>."
17671 msgstr ""
17672
17673 # type: =head2
17674 #: ../fish/guestfish-actions.pod:867
17675 msgid "fallocate"
17676 msgstr ""
17677
17678 # type: verbatim
17679 #: ../fish/guestfish-actions.pod:869
17680 #, no-wrap
17681 msgid ""
17682 " fallocate path len\n"
17683 "\n"
17684 msgstr ""
17685
17686 # type: =head2
17687 #: ../fish/guestfish-actions.pod:886
17688 msgid "fallocate64"
17689 msgstr ""
17690
17691 # type: verbatim
17692 #: ../fish/guestfish-actions.pod:888
17693 #, no-wrap
17694 msgid ""
17695 " fallocate64 path len\n"
17696 "\n"
17697 msgstr ""
17698
17699 # type: textblock
17700 #: ../fish/guestfish-actions.pod:894
17701 msgid ""
17702 "Note that this call allocates disk blocks for the file.  To create a sparse "
17703 "file use C<truncate-size> instead."
17704 msgstr ""
17705
17706 # type: textblock
17707 #: ../fish/guestfish-actions.pod:897
17708 msgid ""
17709 "The deprecated call C<fallocate> does the same, but owing to an oversight it "
17710 "only allowed 30 bit lengths to be specified, effectively limiting the "
17711 "maximum size of files created through that call to 1GB."
17712 msgstr ""
17713
17714 # type: =head2
17715 #: ../fish/guestfish-actions.pod:906
17716 msgid "fgrep"
17717 msgstr ""
17718
17719 # type: verbatim
17720 #: ../fish/guestfish-actions.pod:908
17721 #, no-wrap
17722 msgid ""
17723 " fgrep pattern path\n"
17724 "\n"
17725 msgstr ""
17726
17727 # type: =head2
17728 #: ../fish/guestfish-actions.pod:916
17729 msgid "fgrepi"
17730 msgstr ""
17731
17732 # type: verbatim
17733 #: ../fish/guestfish-actions.pod:918
17734 #, no-wrap
17735 msgid ""
17736 " fgrepi pattern path\n"
17737 "\n"
17738 msgstr ""
17739
17740 # type: =head2
17741 #: ../fish/guestfish-actions.pod:926
17742 msgid "file"
17743 msgstr ""
17744
17745 # type: verbatim
17746 #: ../fish/guestfish-actions.pod:928
17747 #, no-wrap
17748 msgid ""
17749 " file path\n"
17750 "\n"
17751 msgstr ""
17752
17753 # type: textblock
17754 #: ../fish/guestfish-actions.pod:940
17755 msgid ""
17756 "This command can also be used on C</dev/> devices (and partitions, LV "
17757 "names).  You can for example use this to determine if a device contains a "
17758 "filesystem, although it's usually better to use C<vfs-type>."
17759 msgstr ""
17760
17761 # type: =head2
17762 #: ../fish/guestfish-actions.pod:950
17763 msgid "file-architecture"
17764 msgstr ""
17765
17766 # type: verbatim
17767 #: ../fish/guestfish-actions.pod:952
17768 #, no-wrap
17769 msgid ""
17770 " file-architecture filename\n"
17771 "\n"
17772 msgstr ""
17773
17774 # type: =head2
17775 #: ../fish/guestfish-actions.pod:1055
17776 msgid "filesize"
17777 msgstr ""
17778
17779 # type: verbatim
17780 #: ../fish/guestfish-actions.pod:1057
17781 #, no-wrap
17782 msgid ""
17783 " filesize file\n"
17784 "\n"
17785 msgstr ""
17786
17787 # type: textblock
17788 #: ../fish/guestfish-actions.pod:1061
17789 msgid ""
17790 "To get other stats about a file, use C<stat>, C<lstat>, C<is-dir>, C<is-"
17791 "file> etc.  To get the size of block devices, use C<blockdev-getsize64>."
17792 msgstr ""
17793
17794 # type: =head2
17795 #: ../fish/guestfish-actions.pod:1065
17796 msgid "fill"
17797 msgstr ""
17798
17799 # type: verbatim
17800 #: ../fish/guestfish-actions.pod:1067
17801 #, no-wrap
17802 msgid ""
17803 " fill c len path\n"
17804 "\n"
17805 msgstr ""
17806
17807 # type: textblock
17808 #: ../fish/guestfish-actions.pod:1073
17809 msgid ""
17810 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
17811 "C<truncate-size>.  To create a file with a pattern of repeating bytes use "
17812 "C<fill-pattern>."
17813 msgstr ""
17814
17815 # type: =head2
17816 #: ../fish/guestfish-actions.pod:1078
17817 msgid "fill-pattern"
17818 msgstr ""
17819
17820 # type: verbatim
17821 #: ../fish/guestfish-actions.pod:1080
17822 #, no-wrap
17823 msgid ""
17824 " fill-pattern pattern len path\n"
17825 "\n"
17826 msgstr ""
17827
17828 # type: textblock
17829 #: ../fish/guestfish-actions.pod:1082
17830 msgid ""
17831 "This function is like C<fill> except that it creates a new file of length "
17832 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
17833 "is truncated if necessary to ensure the length of the file is exactly C<len> "
17834 "bytes."
17835 msgstr ""
17836
17837 # type: =head2
17838 #: ../fish/guestfish-actions.pod:1087
17839 msgid "find"
17840 msgstr ""
17841
17842 # type: verbatim
17843 #: ../fish/guestfish-actions.pod:1089
17844 #, no-wrap
17845 msgid ""
17846 " find directory\n"
17847 "\n"
17848 msgstr ""
17849
17850 # type: textblock
17851 #: ../fish/guestfish-actions.pod:1103
17852 msgid "then the returned list from C<find> C</tmp> would be 4 elements:"
17853 msgstr ""
17854
17855 # type: textblock
17856 #: ../fish/guestfish-actions.pod:1116
17857 msgid "See also C<find0>."
17858 msgstr ""
17859
17860 # type: =head2
17861 #: ../fish/guestfish-actions.pod:1121
17862 msgid "find0"
17863 msgstr ""
17864
17865 # type: verbatim
17866 #: ../fish/guestfish-actions.pod:1123
17867 #, no-wrap
17868 msgid ""
17869 " find0 directory (files|-)\n"
17870 "\n"
17871 msgstr ""
17872
17873 # type: textblock
17874 #: ../fish/guestfish-actions.pod:1129
17875 msgid ""
17876 "This command works the same way as C<find> with the following exceptions:"
17877 msgstr ""
17878
17879 # type: =head2
17880 #: ../fish/guestfish-actions.pod:1156
17881 msgid "findfs-label"
17882 msgstr ""
17883
17884 # type: verbatim
17885 #: ../fish/guestfish-actions.pod:1158
17886 #, no-wrap
17887 msgid ""
17888 " findfs-label label\n"
17889 "\n"
17890 msgstr ""
17891
17892 # type: textblock
17893 #: ../fish/guestfish-actions.pod:1164
17894 msgid "To find the label of a filesystem, use C<vfs-label>."
17895 msgstr ""
17896
17897 # type: =head2
17898 #: ../fish/guestfish-actions.pod:1166
17899 msgid "findfs-uuid"
17900 msgstr ""
17901
17902 # type: verbatim
17903 #: ../fish/guestfish-actions.pod:1168
17904 #, no-wrap
17905 msgid ""
17906 " findfs-uuid uuid\n"
17907 "\n"
17908 msgstr ""
17909
17910 # type: textblock
17911 #: ../fish/guestfish-actions.pod:1174
17912 msgid "To find the UUID of a filesystem, use C<vfs-uuid>."
17913 msgstr ""
17914
17915 # type: =head2
17916 #: ../fish/guestfish-actions.pod:1176
17917 msgid "fsck"
17918 msgstr ""
17919
17920 # type: verbatim
17921 #: ../fish/guestfish-actions.pod:1178
17922 #, no-wrap
17923 msgid ""
17924 " fsck fstype device\n"
17925 "\n"
17926 msgstr ""
17927
17928 # type: =head2
17929 #: ../fish/guestfish-actions.pod:1208
17930 msgid "get-append"
17931 msgstr ""
17932
17933 # type: verbatim
17934 #: ../fish/guestfish-actions.pod:1210
17935 #, no-wrap
17936 msgid ""
17937 " get-append\n"
17938 "\n"
17939 msgstr ""
17940
17941 # type: =head2
17942 #: ../fish/guestfish-actions.pod:1217
17943 msgid "get-autosync"
17944 msgstr ""
17945
17946 # type: verbatim
17947 #: ../fish/guestfish-actions.pod:1219
17948 #, no-wrap
17949 msgid ""
17950 " get-autosync\n"
17951 "\n"
17952 msgstr ""
17953
17954 # type: =head2
17955 #: ../fish/guestfish-actions.pod:1223
17956 msgid "get-direct"
17957 msgstr ""
17958
17959 # type: verbatim
17960 #: ../fish/guestfish-actions.pod:1225
17961 #, no-wrap
17962 msgid ""
17963 " get-direct\n"
17964 "\n"
17965 msgstr ""
17966
17967 # type: =head2
17968 #: ../fish/guestfish-actions.pod:1229
17969 msgid "get-e2label"
17970 msgstr ""
17971
17972 # type: verbatim
17973 #: ../fish/guestfish-actions.pod:1231
17974 #, no-wrap
17975 msgid ""
17976 " get-e2label device\n"
17977 "\n"
17978 msgstr ""
17979
17980 # type: =head2
17981 #: ../fish/guestfish-actions.pod:1243
17982 msgid "get-e2uuid"
17983 msgstr ""
17984
17985 # type: verbatim
17986 #: ../fish/guestfish-actions.pod:1245
17987 #, no-wrap
17988 msgid ""
17989 " get-e2uuid device\n"
17990 "\n"
17991 msgstr ""
17992
17993 # type: =head2
17994 #: ../fish/guestfish-actions.pod:1257
17995 msgid "get-memsize"
17996 msgstr ""
17997
17998 # type: verbatim
17999 #: ../fish/guestfish-actions.pod:1259
18000 #, no-wrap
18001 msgid ""
18002 " get-memsize\n"
18003 "\n"
18004 msgstr ""
18005
18006 # type: textblock
18007 #: ../fish/guestfish-actions.pod:1264
18008 msgid ""
18009 "If C<set-memsize> was not called on this handle, and if "
18010 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
18011 "value for memsize."
18012 msgstr ""
18013
18014 # type: =head2
18015 #: ../fish/guestfish-actions.pod:1271
18016 msgid "get-network"
18017 msgstr ""
18018
18019 # type: verbatim
18020 #: ../fish/guestfish-actions.pod:1273
18021 #, no-wrap
18022 msgid ""
18023 " get-network\n"
18024 "\n"
18025 msgstr ""
18026
18027 # type: =head2
18028 #: ../fish/guestfish-actions.pod:1277
18029 msgid "get-path"
18030 msgstr ""
18031
18032 # type: verbatim
18033 #: ../fish/guestfish-actions.pod:1279
18034 #, no-wrap
18035 msgid ""
18036 " get-path\n"
18037 "\n"
18038 msgstr ""
18039
18040 # type: =head2
18041 #: ../fish/guestfish-actions.pod:1286
18042 msgid "get-pid | pid"
18043 msgstr ""
18044
18045 # type: verbatim
18046 #: ../fish/guestfish-actions.pod:1288
18047 #, no-wrap
18048 msgid ""
18049 " get-pid\n"
18050 "\n"
18051 msgstr ""
18052
18053 # type: =head2
18054 #: ../fish/guestfish-actions.pod:1295
18055 msgid "get-qemu"
18056 msgstr ""
18057
18058 # type: verbatim
18059 #: ../fish/guestfish-actions.pod:1297
18060 #, no-wrap
18061 msgid ""
18062 " get-qemu\n"
18063 "\n"
18064 msgstr ""
18065
18066 # type: =head2
18067 #: ../fish/guestfish-actions.pod:1304
18068 msgid "get-recovery-proc"
18069 msgstr ""
18070
18071 # type: verbatim
18072 #: ../fish/guestfish-actions.pod:1306
18073 #, no-wrap
18074 msgid ""
18075 " get-recovery-proc\n"
18076 "\n"
18077 msgstr ""
18078
18079 # type: =head2
18080 #: ../fish/guestfish-actions.pod:1310
18081 msgid "get-selinux"
18082 msgstr ""
18083
18084 # type: verbatim
18085 #: ../fish/guestfish-actions.pod:1312
18086 #, no-wrap
18087 msgid ""
18088 " get-selinux\n"
18089 "\n"
18090 msgstr ""
18091
18092 # type: textblock
18093 #: ../fish/guestfish-actions.pod:1314
18094 msgid ""
18095 "This returns the current setting of the selinux flag which is passed to the "
18096 "appliance at boot time.  See C<set-selinux>."
18097 msgstr ""
18098
18099 # type: =head2
18100 #: ../fish/guestfish-actions.pod:1320
18101 msgid "get-state"
18102 msgstr ""
18103
18104 # type: verbatim
18105 #: ../fish/guestfish-actions.pod:1322
18106 #, no-wrap
18107 msgid ""
18108 " get-state\n"
18109 "\n"
18110 msgstr ""
18111
18112 # type: =head2
18113 #: ../fish/guestfish-actions.pod:1329
18114 msgid "get-trace"
18115 msgstr ""
18116
18117 # type: verbatim
18118 #: ../fish/guestfish-actions.pod:1331
18119 #, no-wrap
18120 msgid ""
18121 " get-trace\n"
18122 "\n"
18123 msgstr ""
18124
18125 # type: =head2
18126 #: ../fish/guestfish-actions.pod:1335
18127 msgid "get-umask"
18128 msgstr ""
18129
18130 # type: verbatim
18131 #: ../fish/guestfish-actions.pod:1337
18132 #, no-wrap
18133 msgid ""
18134 " get-umask\n"
18135 "\n"
18136 msgstr ""
18137
18138 # type: textblock
18139 #: ../fish/guestfish-actions.pod:1339
18140 msgid ""
18141 "Return the current umask.  By default the umask is C<022> unless it has been "
18142 "set by calling C<umask>."
18143 msgstr ""
18144
18145 # type: =head2
18146 #: ../fish/guestfish-actions.pod:1342
18147 msgid "get-verbose"
18148 msgstr ""
18149
18150 # type: verbatim
18151 #: ../fish/guestfish-actions.pod:1344
18152 #, no-wrap
18153 msgid ""
18154 " get-verbose\n"
18155 "\n"
18156 msgstr ""
18157
18158 # type: =head2
18159 #: ../fish/guestfish-actions.pod:1348
18160 msgid "getcon"
18161 msgstr ""
18162
18163 # type: verbatim
18164 #: ../fish/guestfish-actions.pod:1350
18165 #, no-wrap
18166 msgid ""
18167 " getcon\n"
18168 "\n"
18169 msgstr ""
18170
18171 # type: textblock
18172 #: ../fish/guestfish-actions.pod:1354
18173 msgid "See the documentation about SELINUX in L<guestfs(3)>, and C<setcon>"
18174 msgstr ""
18175
18176 # type: =head2
18177 #: ../fish/guestfish-actions.pod:1357
18178 msgid "getxattrs"
18179 msgstr ""
18180
18181 # type: verbatim
18182 #: ../fish/guestfish-actions.pod:1359
18183 #, no-wrap
18184 msgid ""
18185 " getxattrs path\n"
18186 "\n"
18187 msgstr ""
18188
18189 # type: textblock
18190 #: ../fish/guestfish-actions.pod:1367
18191 msgid "See also: C<lgetxattrs>, L<attr(5)>."
18192 msgstr ""
18193
18194 # type: =head2
18195 #: ../fish/guestfish-actions.pod:1369
18196 msgid "glob-expand"
18197 msgstr ""
18198
18199 # type: verbatim
18200 #: ../fish/guestfish-actions.pod:1371
18201 #, no-wrap
18202 msgid ""
18203 " glob-expand pattern\n"
18204 "\n"
18205 msgstr ""
18206
18207 # type: =head2
18208 #: ../fish/guestfish-actions.pod:1384
18209 msgid "grep"
18210 msgstr ""
18211
18212 # type: verbatim
18213 #: ../fish/guestfish-actions.pod:1386
18214 #, no-wrap
18215 msgid ""
18216 " grep regex path\n"
18217 "\n"
18218 msgstr ""
18219
18220 # type: =head2
18221 #: ../fish/guestfish-actions.pod:1394
18222 msgid "grepi"
18223 msgstr ""
18224
18225 # type: verbatim
18226 #: ../fish/guestfish-actions.pod:1396
18227 #, no-wrap
18228 msgid ""
18229 " grepi regex path\n"
18230 "\n"
18231 msgstr ""
18232
18233 # type: =head2
18234 #: ../fish/guestfish-actions.pod:1404
18235 msgid "grub-install"
18236 msgstr ""
18237
18238 # type: verbatim
18239 #: ../fish/guestfish-actions.pod:1406
18240 #, no-wrap
18241 msgid ""
18242 " grub-install root device\n"
18243 "\n"
18244 msgstr ""
18245
18246 # type: =head2
18247 #: ../fish/guestfish-actions.pod:1422
18248 msgid "head"
18249 msgstr ""
18250
18251 # type: verbatim
18252 #: ../fish/guestfish-actions.pod:1424
18253 #, no-wrap
18254 msgid ""
18255 " head path\n"
18256 "\n"
18257 msgstr ""
18258
18259 # type: =head2
18260 #: ../fish/guestfish-actions.pod:1432
18261 msgid "head-n"
18262 msgstr ""
18263
18264 # type: verbatim
18265 #: ../fish/guestfish-actions.pod:1434
18266 #, no-wrap
18267 msgid ""
18268 " head-n nrlines path\n"
18269 "\n"
18270 msgstr ""
18271
18272 # type: =head2
18273 #: ../fish/guestfish-actions.pod:1447
18274 msgid "hexdump"
18275 msgstr ""
18276
18277 # type: verbatim
18278 #: ../fish/guestfish-actions.pod:1449
18279 #, no-wrap
18280 msgid ""
18281 " hexdump path\n"
18282 "\n"
18283 msgstr ""
18284
18285 # type: =head2
18286 #: ../fish/guestfish-actions.pod:1457
18287 msgid "initrd-cat"
18288 msgstr ""
18289
18290 # type: verbatim
18291 #: ../fish/guestfish-actions.pod:1459
18292 #, no-wrap
18293 msgid ""
18294 " initrd-cat initrdpath filename\n"
18295 "\n"
18296 msgstr ""
18297
18298 # type: textblock
18299 #: ../fish/guestfish-actions.pod:1471
18300 msgid "See also C<initrd-list>."
18301 msgstr ""
18302
18303 # type: =head2
18304 #: ../fish/guestfish-actions.pod:1476
18305 msgid "initrd-list"
18306 msgstr ""
18307
18308 # type: verbatim
18309 #: ../fish/guestfish-actions.pod:1478
18310 #, no-wrap
18311 msgid ""
18312 " initrd-list path\n"
18313 "\n"
18314 msgstr ""
18315
18316 # type: =head2
18317 #: ../fish/guestfish-actions.pod:1490
18318 msgid "inotify-add-watch"
18319 msgstr ""
18320
18321 # type: verbatim
18322 #: ../fish/guestfish-actions.pod:1492
18323 #, no-wrap
18324 msgid ""
18325 " inotify-add-watch path mask\n"
18326 "\n"
18327 msgstr ""
18328
18329 # type: =head2
18330 #: ../fish/guestfish-actions.pod:1504
18331 msgid "inotify-close"
18332 msgstr ""
18333
18334 # type: verbatim
18335 #: ../fish/guestfish-actions.pod:1506
18336 #, no-wrap
18337 msgid ""
18338 " inotify-close\n"
18339 "\n"
18340 msgstr ""
18341
18342 # type: =head2
18343 #: ../fish/guestfish-actions.pod:1512
18344 msgid "inotify-files"
18345 msgstr ""
18346
18347 # type: verbatim
18348 #: ../fish/guestfish-actions.pod:1514
18349 #, no-wrap
18350 msgid ""
18351 " inotify-files\n"
18352 "\n"
18353 msgstr ""
18354
18355 # type: textblock
18356 #: ../fish/guestfish-actions.pod:1516
18357 msgid ""
18358 "This function is a helpful wrapper around C<inotify-read> which just returns "
18359 "a list of pathnames of objects that were touched.  The returned pathnames "
18360 "are sorted and deduplicated."
18361 msgstr ""
18362
18363 # type: =head2
18364 #: ../fish/guestfish-actions.pod:1520
18365 msgid "inotify-init"
18366 msgstr ""
18367
18368 # type: verbatim
18369 #: ../fish/guestfish-actions.pod:1522
18370 #, no-wrap
18371 msgid ""
18372 " inotify-init maxevents\n"
18373 "\n"
18374 msgstr ""
18375
18376 # type: textblock
18377 #: ../fish/guestfish-actions.pod:1528
18378 msgid ""
18379 "C<maxevents> is the maximum number of events which will be queued up between "
18380 "calls to C<inotify-read> or C<inotify-files>.  If this is passed as C<0>, "
18381 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
18382 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
18383 "but records the fact that it threw them away by setting a flag "
18384 "C<IN_Q_OVERFLOW> in the returned structure list (see C<inotify-read>)."
18385 msgstr ""
18386
18387 # type: textblock
18388 #: ../fish/guestfish-actions.pod:1538
18389 msgid ""
18390 "Before any events are generated, you have to add some watches to the "
18391 "internal watch list.  See: C<inotify-add-watch>, C<inotify-rm-watch> and "
18392 "C<inotify-watch-all>."
18393 msgstr ""
18394
18395 # type: textblock
18396 #: ../fish/guestfish-actions.pod:1544
18397 msgid ""
18398 "Queued up events should be read periodically by calling C<inotify-read> (or "
18399 "C<inotify-files> which is just a helpful wrapper around C<inotify-read>).  "
18400 "If you don't read the events out often enough then you risk the internal "
18401 "queue overflowing."
18402 msgstr ""
18403
18404 # type: textblock
18405 #: ../fish/guestfish-actions.pod:1551
18406 msgid ""
18407 "The handle should be closed after use by calling C<inotify-close>.  This "
18408 "also removes any watches automatically."
18409 msgstr ""
18410
18411 # type: =head2
18412 #: ../fish/guestfish-actions.pod:1560
18413 msgid "inotify-read"
18414 msgstr ""
18415
18416 # type: verbatim
18417 #: ../fish/guestfish-actions.pod:1562
18418 #, no-wrap
18419 msgid ""
18420 " inotify-read\n"
18421 "\n"
18422 msgstr ""
18423
18424 # type: =head2
18425 #: ../fish/guestfish-actions.pod:1575
18426 msgid "inotify-rm-watch"
18427 msgstr ""
18428
18429 # type: verbatim
18430 #: ../fish/guestfish-actions.pod:1577
18431 #, no-wrap
18432 msgid ""
18433 " inotify-rm-watch wd\n"
18434 "\n"
18435 msgstr ""
18436
18437 # type: textblock
18438 #: ../fish/guestfish-actions.pod:1579
18439 msgid "Remove a previously defined inotify watch.  See C<inotify-add-watch>."
18440 msgstr ""
18441
18442 # type: =head2
18443 #: ../fish/guestfish-actions.pod:1582
18444 msgid "inspect-get-arch"
18445 msgstr ""
18446
18447 # type: verbatim
18448 #: ../fish/guestfish-actions.pod:1584
18449 #, no-wrap
18450 msgid ""
18451 " inspect-get-arch root\n"
18452 "\n"
18453 msgstr ""
18454
18455 # type: textblock
18456 #: ../fish/guestfish-actions.pod:1586 ../fish/guestfish-actions.pod:1602
18457 #: ../fish/guestfish-actions.pod:1648 ../fish/guestfish-actions.pod:1666
18458 #: ../fish/guestfish-actions.pod:1687 ../fish/guestfish-actions.pod:1702
18459 #: ../fish/guestfish-actions.pod:1725 ../fish/guestfish-actions.pod:1742
18460 msgid ""
18461 "This function should only be called with a root device string as returned by "
18462 "C<inspect-os>."
18463 msgstr ""
18464
18465 # type: textblock
18466 #: ../fish/guestfish-actions.pod:1589
18467 msgid ""
18468 "This returns the architecture of the inspected operating system.  The "
18469 "possible return values are listed under C<file-architecture>."
18470 msgstr ""
18471
18472 # type: =head2
18473 #: ../fish/guestfish-actions.pod:1598
18474 msgid "inspect-get-distro"
18475 msgstr ""
18476
18477 # type: verbatim
18478 #: ../fish/guestfish-actions.pod:1600
18479 #, no-wrap
18480 msgid ""
18481 " inspect-get-distro root\n"
18482 "\n"
18483 msgstr ""
18484
18485 # type: =head2
18486 #: ../fish/guestfish-actions.pod:1644
18487 msgid "inspect-get-filesystems"
18488 msgstr ""
18489
18490 # type: verbatim
18491 #: ../fish/guestfish-actions.pod:1646
18492 #, no-wrap
18493 msgid ""
18494 " inspect-get-filesystems root\n"
18495 "\n"
18496 msgstr ""
18497
18498 # type: textblock
18499 #: ../fish/guestfish-actions.pod:1659
18500 msgid ""
18501 "Please read L<guestfs(3)/INSPECTION> for more details.  See also C<inspect-"
18502 "get-mountpoints>."
18503 msgstr ""
18504
18505 # type: =head2
18506 #: ../fish/guestfish-actions.pod:1662
18507 msgid "inspect-get-major-version"
18508 msgstr ""
18509
18510 # type: verbatim
18511 #: ../fish/guestfish-actions.pod:1664
18512 #, no-wrap
18513 msgid ""
18514 " inspect-get-major-version root\n"
18515 "\n"
18516 msgstr ""
18517
18518 # type: =head2
18519 #: ../fish/guestfish-actions.pod:1683
18520 msgid "inspect-get-minor-version"
18521 msgstr ""
18522
18523 # type: verbatim
18524 #: ../fish/guestfish-actions.pod:1685
18525 #, no-wrap
18526 msgid ""
18527 " inspect-get-minor-version root\n"
18528 "\n"
18529 msgstr ""
18530
18531 # type: textblock
18532 #: ../fish/guestfish-actions.pod:1695
18533 msgid ""
18534 "Please read L<guestfs(3)/INSPECTION> for more details.  See also C<inspect-"
18535 "get-major-version>."
18536 msgstr ""
18537
18538 # type: =head2
18539 #: ../fish/guestfish-actions.pod:1698
18540 msgid "inspect-get-mountpoints"
18541 msgstr ""
18542
18543 # type: verbatim
18544 #: ../fish/guestfish-actions.pod:1700
18545 #, no-wrap
18546 msgid ""
18547 " inspect-get-mountpoints root\n"
18548 "\n"
18549 msgstr ""
18550
18551 # type: textblock
18552 #: ../fish/guestfish-actions.pod:1718
18553 msgid ""
18554 "Please read L<guestfs(3)/INSPECTION> for more details.  See also C<inspect-"
18555 "get-filesystems>."
18556 msgstr ""
18557
18558 # type: =head2
18559 #: ../fish/guestfish-actions.pod:1721
18560 msgid "inspect-get-product-name"
18561 msgstr ""
18562
18563 # type: verbatim
18564 #: ../fish/guestfish-actions.pod:1723
18565 #, no-wrap
18566 msgid ""
18567 " inspect-get-product-name root\n"
18568 "\n"
18569 msgstr ""
18570
18571 # type: =head2
18572 #: ../fish/guestfish-actions.pod:1738
18573 msgid "inspect-get-type"
18574 msgstr ""
18575
18576 # type: verbatim
18577 #: ../fish/guestfish-actions.pod:1740
18578 #, no-wrap
18579 msgid ""
18580 " inspect-get-type root\n"
18581 "\n"
18582 msgstr ""
18583
18584 # type: =head2
18585 #: ../fish/guestfish-actions.pod:1769
18586 msgid "inspect-os"
18587 msgstr ""
18588
18589 # type: verbatim
18590 #: ../fish/guestfish-actions.pod:1771
18591 #, no-wrap
18592 msgid ""
18593 " inspect-os\n"
18594 "\n"
18595 msgstr ""
18596
18597 # type: textblock
18598 #: ../fish/guestfish-actions.pod:1786
18599 msgid ""
18600 "You can pass the root string(s) returned to other C<inspect-get-*> functions "
18601 "in order to query further information about each operating system, such as "
18602 "the name and version."
18603 msgstr ""
18604
18605 # type: textblock
18606 #: ../fish/guestfish-actions.pod:1791
18607 msgid ""
18608 "This function uses other libguestfs features such as C<mount-ro> and "
18609 "C<umount-all> in order to mount and unmount filesystems and look at the "
18610 "contents.  This should be called with no disks currently mounted.  The "
18611 "function may also use Augeas, so any existing Augeas handle will be closed."
18612 msgstr ""
18613
18614 # type: =head2
18615 #: ../fish/guestfish-actions.pod:1803
18616 msgid "is-busy"
18617 msgstr ""
18618
18619 # type: verbatim
18620 #: ../fish/guestfish-actions.pod:1805
18621 #, no-wrap
18622 msgid ""
18623 " is-busy\n"
18624 "\n"
18625 msgstr ""
18626
18627 # type: =head2
18628 #: ../fish/guestfish-actions.pod:1812
18629 msgid "is-config"
18630 msgstr ""
18631
18632 # type: verbatim
18633 #: ../fish/guestfish-actions.pod:1814
18634 #, no-wrap
18635 msgid ""
18636 " is-config\n"
18637 "\n"
18638 msgstr ""
18639
18640 # type: =head2
18641 #: ../fish/guestfish-actions.pod:1821
18642 msgid "is-dir"
18643 msgstr ""
18644
18645 # type: verbatim
18646 #: ../fish/guestfish-actions.pod:1823
18647 #, no-wrap
18648 msgid ""
18649 " is-dir path\n"
18650 "\n"
18651 msgstr ""
18652
18653 # type: textblock
18654 #: ../fish/guestfish-actions.pod:1829 ../fish/guestfish-actions.pod:1839
18655 msgid "See also C<stat>."
18656 msgstr ""
18657
18658 # type: =head2
18659 #: ../fish/guestfish-actions.pod:1831
18660 msgid "is-file"
18661 msgstr ""
18662
18663 # type: verbatim
18664 #: ../fish/guestfish-actions.pod:1833
18665 #, no-wrap
18666 msgid ""
18667 " is-file path\n"
18668 "\n"
18669 msgstr ""
18670
18671 # type: =head2
18672 #: ../fish/guestfish-actions.pod:1841
18673 msgid "is-launching"
18674 msgstr ""
18675
18676 # type: verbatim
18677 #: ../fish/guestfish-actions.pod:1843
18678 #, no-wrap
18679 msgid ""
18680 " is-launching\n"
18681 "\n"
18682 msgstr ""
18683
18684 # type: =head2
18685 #: ../fish/guestfish-actions.pod:1850
18686 msgid "is-lv"
18687 msgstr ""
18688
18689 # type: verbatim
18690 #: ../fish/guestfish-actions.pod:1852
18691 #, no-wrap
18692 msgid ""
18693 " is-lv device\n"
18694 "\n"
18695 msgstr ""
18696
18697 # type: =head2
18698 #: ../fish/guestfish-actions.pod:1857
18699 msgid "is-ready"
18700 msgstr ""
18701
18702 # type: verbatim
18703 #: ../fish/guestfish-actions.pod:1859
18704 #, no-wrap
18705 msgid ""
18706 " is-ready\n"
18707 "\n"
18708 msgstr ""
18709
18710 # type: =head2
18711 #: ../fish/guestfish-actions.pod:1866
18712 msgid "kill-subprocess"
18713 msgstr ""
18714
18715 # type: verbatim
18716 #: ../fish/guestfish-actions.pod:1868
18717 #, no-wrap
18718 msgid ""
18719 " kill-subprocess\n"
18720 "\n"
18721 msgstr ""
18722
18723 # type: =head2
18724 #: ../fish/guestfish-actions.pod:1872
18725 msgid "launch | run"
18726 msgstr ""
18727
18728 # type: verbatim
18729 #: ../fish/guestfish-actions.pod:1874
18730 #, no-wrap
18731 msgid ""
18732 " launch\n"
18733 "\n"
18734 msgstr ""
18735
18736 # type: =head2
18737 #: ../fish/guestfish-actions.pod:1882
18738 msgid "lchown"
18739 msgstr ""
18740
18741 # type: verbatim
18742 #: ../fish/guestfish-actions.pod:1884
18743 #, no-wrap
18744 msgid ""
18745 " lchown owner group path\n"
18746 "\n"
18747 msgstr ""
18748
18749 # type: textblock
18750 #: ../fish/guestfish-actions.pod:1886
18751 msgid ""
18752 "Change the file owner to C<owner> and group to C<group>.  This is like "
18753 "C<chown> but if C<path> is a symlink then the link itself is changed, not "
18754 "the target."
18755 msgstr ""
18756
18757 # type: =head2
18758 #: ../fish/guestfish-actions.pod:1894
18759 msgid "lgetxattrs"
18760 msgstr ""
18761
18762 # type: verbatim
18763 #: ../fish/guestfish-actions.pod:1896
18764 #, no-wrap
18765 msgid ""
18766 " lgetxattrs path\n"
18767 "\n"
18768 msgstr ""
18769
18770 # type: textblock
18771 #: ../fish/guestfish-actions.pod:1898
18772 msgid ""
18773 "This is the same as C<getxattrs>, but if C<path> is a symbolic link, then it "
18774 "returns the extended attributes of the link itself."
18775 msgstr ""
18776
18777 # type: =head2
18778 #: ../fish/guestfish-actions.pod:1902
18779 msgid "list-devices"
18780 msgstr ""
18781
18782 # type: verbatim
18783 #: ../fish/guestfish-actions.pod:1904
18784 #, no-wrap
18785 msgid ""
18786 " list-devices\n"
18787 "\n"
18788 msgstr ""
18789
18790 # type: =head2
18791 #: ../fish/guestfish-actions.pod:1910
18792 msgid "list-partitions"
18793 msgstr ""
18794
18795 # type: verbatim
18796 #: ../fish/guestfish-actions.pod:1912
18797 #, no-wrap
18798 msgid ""
18799 " list-partitions\n"
18800 "\n"
18801 msgstr ""
18802
18803 # type: textblock
18804 #: ../fish/guestfish-actions.pod:1918
18805 msgid ""
18806 "This does not return logical volumes.  For that you will need to call C<lvs>."
18807 msgstr ""
18808
18809 # type: =head2
18810 #: ../fish/guestfish-actions.pod:1921
18811 msgid "ll"
18812 msgstr ""
18813
18814 # type: verbatim
18815 #: ../fish/guestfish-actions.pod:1923
18816 #, no-wrap
18817 msgid ""
18818 " ll directory\n"
18819 "\n"
18820 msgstr ""
18821
18822 # type: =head2
18823 #: ../fish/guestfish-actions.pod:1931
18824 msgid "ln"
18825 msgstr ""
18826
18827 # type: verbatim
18828 #: ../fish/guestfish-actions.pod:1933
18829 #, no-wrap
18830 msgid ""
18831 " ln target linkname\n"
18832 "\n"
18833 msgstr ""
18834
18835 # type: =head2
18836 #: ../fish/guestfish-actions.pod:1937
18837 msgid "ln-f"
18838 msgstr ""
18839
18840 # type: verbatim
18841 #: ../fish/guestfish-actions.pod:1939
18842 #, no-wrap
18843 msgid ""
18844 " ln-f target linkname\n"
18845 "\n"
18846 msgstr ""
18847
18848 # type: =head2
18849 #: ../fish/guestfish-actions.pod:1944
18850 msgid "ln-s"
18851 msgstr ""
18852
18853 # type: verbatim
18854 #: ../fish/guestfish-actions.pod:1946
18855 #, no-wrap
18856 msgid ""
18857 " ln-s target linkname\n"
18858 "\n"
18859 msgstr ""
18860
18861 # type: =head2
18862 #: ../fish/guestfish-actions.pod:1950
18863 msgid "ln-sf"
18864 msgstr ""
18865
18866 # type: verbatim
18867 #: ../fish/guestfish-actions.pod:1952
18868 #, no-wrap
18869 msgid ""
18870 " ln-sf target linkname\n"
18871 "\n"
18872 msgstr ""
18873
18874 # type: =head2
18875 #: ../fish/guestfish-actions.pod:1957
18876 msgid "lremovexattr"
18877 msgstr ""
18878
18879 # type: verbatim
18880 #: ../fish/guestfish-actions.pod:1959
18881 #, no-wrap
18882 msgid ""
18883 " lremovexattr xattr path\n"
18884 "\n"
18885 msgstr ""
18886
18887 # type: textblock
18888 #: ../fish/guestfish-actions.pod:1961
18889 msgid ""
18890 "This is the same as C<removexattr>, but if C<path> is a symbolic link, then "
18891 "it removes an extended attribute of the link itself."
18892 msgstr ""
18893
18894 # type: =head2
18895 #: ../fish/guestfish-actions.pod:1965
18896 msgid "ls"
18897 msgstr ""
18898
18899 # type: verbatim
18900 #: ../fish/guestfish-actions.pod:1967
18901 #, no-wrap
18902 msgid ""
18903 " ls directory\n"
18904 "\n"
18905 msgstr ""
18906
18907 # type: textblock
18908 #: ../fish/guestfish-actions.pod:1973
18909 msgid ""
18910 "This command is mostly useful for interactive sessions.  Programs should "
18911 "probably use C<readdir> instead."
18912 msgstr ""
18913
18914 # type: =head2
18915 #: ../fish/guestfish-actions.pod:1976
18916 msgid "lsetxattr"
18917 msgstr ""
18918
18919 # type: verbatim
18920 #: ../fish/guestfish-actions.pod:1978
18921 #, no-wrap
18922 msgid ""
18923 " lsetxattr xattr val vallen path\n"
18924 "\n"
18925 msgstr ""
18926
18927 # type: textblock
18928 #: ../fish/guestfish-actions.pod:1980
18929 msgid ""
18930 "This is the same as C<setxattr>, but if C<path> is a symbolic link, then it "
18931 "sets an extended attribute of the link itself."
18932 msgstr ""
18933
18934 # type: =head2
18935 #: ../fish/guestfish-actions.pod:1984
18936 msgid "lstat"
18937 msgstr ""
18938
18939 # type: verbatim
18940 #: ../fish/guestfish-actions.pod:1986
18941 #, no-wrap
18942 msgid ""
18943 " lstat path\n"
18944 "\n"
18945 msgstr ""
18946
18947 # type: textblock
18948 #: ../fish/guestfish-actions.pod:1990
18949 msgid ""
18950 "This is the same as C<stat> except that if C<path> is a symbolic link, then "
18951 "the link is stat-ed, not the file it refers to."
18952 msgstr ""
18953
18954 # type: =head2
18955 #: ../fish/guestfish-actions.pod:1996
18956 msgid "lstatlist"
18957 msgstr ""
18958
18959 # type: verbatim
18960 #: ../fish/guestfish-actions.pod:1998
18961 #, no-wrap
18962 msgid ""
18963 " lstatlist path 'names ...'\n"
18964 "\n"
18965 msgstr ""
18966
18967 # type: textblock
18968 #: ../fish/guestfish-actions.pod:2000
18969 msgid ""
18970 "This call allows you to perform the C<lstat> operation on multiple files, "
18971 "where all files are in the directory C<path>.  C<names> is the list of files "
18972 "from this directory."
18973 msgstr ""
18974
18975 # type: textblock
18976 #: ../fish/guestfish-actions.pod:2009
18977 msgid ""
18978 "This call is intended for programs that want to efficiently list a directory "
18979 "contents without making many round-trips.  See also C<lxattrlist> for a "
18980 "similarly efficient call for getting extended attributes.  Very long "
18981 "directory listings might cause the protocol message size to be exceeded, "
18982 "causing this call to fail.  The caller must split up such requests into "
18983 "smaller groups of names."
18984 msgstr ""
18985
18986 # type: =head2
18987 #: ../fish/guestfish-actions.pod:2017
18988 msgid "luks-add-key"
18989 msgstr ""
18990
18991 # type: verbatim
18992 #: ../fish/guestfish-actions.pod:2019
18993 #, no-wrap
18994 msgid ""
18995 " luks-add-key device keyslot\n"
18996 "\n"
18997 msgstr ""
18998
18999 # type: textblock
19000 #: ../fish/guestfish-actions.pod:2026
19001 msgid ""
19002 "Note that if C<keyslot> already contains a key, then this command will "
19003 "fail.  You have to use C<luks-kill-slot> first to remove that key."
19004 msgstr ""
19005
19006 # type: textblock
19007 #: ../fish/guestfish-actions.pod:2030 ../fish/guestfish-actions.pod:2052
19008 #: ../fish/guestfish-actions.pod:2065 ../fish/guestfish-actions.pod:2079
19009 #: ../fish/guestfish-actions.pod:2102 ../fish/guestfish-actions.pod:2112
19010 msgid ""
19011 "This command has one or more key or passphrase parameters.  Guestfish will "
19012 "prompt for these separately."
19013 msgstr ""
19014
19015 # type: =head2
19016 #: ../fish/guestfish-actions.pod:2033
19017 msgid "luks-close"
19018 msgstr ""
19019
19020 # type: verbatim
19021 #: ../fish/guestfish-actions.pod:2035
19022 #, no-wrap
19023 msgid ""
19024 " luks-close device\n"
19025 "\n"
19026 msgstr ""
19027
19028 # type: textblock
19029 #: ../fish/guestfish-actions.pod:2037
19030 msgid ""
19031 "This closes a LUKS device that was created earlier by C<luks-open> or C<luks-"
19032 "open-ro>.  The C<device> parameter must be the name of the LUKS mapping "
19033 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
19034 "block device."
19035 msgstr ""
19036
19037 # type: =head2
19038 #: ../fish/guestfish-actions.pod:2043
19039 msgid "luks-format"
19040 msgstr ""
19041
19042 # type: verbatim
19043 #: ../fish/guestfish-actions.pod:2045
19044 #, no-wrap
19045 msgid ""
19046 " luks-format device keyslot\n"
19047 "\n"
19048 msgstr ""
19049
19050 # type: =head2
19051 #: ../fish/guestfish-actions.pod:2058
19052 msgid "luks-format-cipher"
19053 msgstr ""
19054
19055 # type: verbatim
19056 #: ../fish/guestfish-actions.pod:2060
19057 #, no-wrap
19058 msgid ""
19059 " luks-format-cipher device keyslot cipher\n"
19060 "\n"
19061 msgstr ""
19062
19063 # type: textblock
19064 #: ../fish/guestfish-actions.pod:2062
19065 msgid ""
19066 "This command is the same as C<luks-format> but it also allows you to set the "
19067 "C<cipher> used."
19068 msgstr ""
19069
19070 # type: =head2
19071 #: ../fish/guestfish-actions.pod:2071
19072 msgid "luks-kill-slot"
19073 msgstr ""
19074
19075 # type: verbatim
19076 #: ../fish/guestfish-actions.pod:2073
19077 #, no-wrap
19078 msgid ""
19079 " luks-kill-slot device keyslot\n"
19080 "\n"
19081 msgstr ""
19082
19083 # type: =head2
19084 #: ../fish/guestfish-actions.pod:2082
19085 msgid "luks-open"
19086 msgstr ""
19087
19088 # type: verbatim
19089 #: ../fish/guestfish-actions.pod:2084
19090 #, no-wrap
19091 msgid ""
19092 " luks-open device mapname\n"
19093 "\n"
19094 msgstr ""
19095
19096 # type: textblock
19097 #: ../fish/guestfish-actions.pod:2098
19098 msgid ""
19099 "If this block device contains LVM volume groups, then calling C<vgscan> "
19100 "followed by C<vg-activate-all> will make them visible."
19101 msgstr ""
19102
19103 # type: =head2
19104 #: ../fish/guestfish-actions.pod:2105
19105 msgid "luks-open-ro"
19106 msgstr ""
19107
19108 # type: verbatim
19109 #: ../fish/guestfish-actions.pod:2107
19110 #, no-wrap
19111 msgid ""
19112 " luks-open-ro device mapname\n"
19113 "\n"
19114 msgstr ""
19115
19116 # type: textblock
19117 #: ../fish/guestfish-actions.pod:2109
19118 msgid ""
19119 "This is the same as C<luks-open> except that a read-only mapping is created."
19120 msgstr ""
19121
19122 # type: =head2
19123 #: ../fish/guestfish-actions.pod:2115
19124 msgid "lvcreate"
19125 msgstr ""
19126
19127 # type: verbatim
19128 #: ../fish/guestfish-actions.pod:2117
19129 #, no-wrap
19130 msgid ""
19131 " lvcreate logvol volgroup mbytes\n"
19132 "\n"
19133 msgstr ""
19134
19135 # type: =head2
19136 #: ../fish/guestfish-actions.pod:2122
19137 msgid "lvm-clear-filter"
19138 msgstr ""
19139
19140 # type: verbatim
19141 #: ../fish/guestfish-actions.pod:2124
19142 #, no-wrap
19143 msgid ""
19144 " lvm-clear-filter\n"
19145 "\n"
19146 msgstr ""
19147
19148 # type: textblock
19149 #: ../fish/guestfish-actions.pod:2126
19150 msgid ""
19151 "This undoes the effect of C<lvm-set-filter>.  LVM will be able to see every "
19152 "block device."
19153 msgstr ""
19154
19155 # type: =head2
19156 #: ../fish/guestfish-actions.pod:2132
19157 msgid "lvm-remove-all"
19158 msgstr ""
19159
19160 # type: verbatim
19161 #: ../fish/guestfish-actions.pod:2134
19162 #, no-wrap
19163 msgid ""
19164 " lvm-remove-all\n"
19165 "\n"
19166 msgstr ""
19167
19168 # type: =head2
19169 #: ../fish/guestfish-actions.pod:2142
19170 msgid "lvm-set-filter"
19171 msgstr ""
19172
19173 # type: verbatim
19174 #: ../fish/guestfish-actions.pod:2144
19175 #, no-wrap
19176 msgid ""
19177 " lvm-set-filter 'devices ...'\n"
19178 "\n"
19179 msgstr ""
19180
19181 # type: =head2
19182 #: ../fish/guestfish-actions.pod:2169
19183 msgid "lvremove"
19184 msgstr ""
19185
19186 # type: verbatim
19187 #: ../fish/guestfish-actions.pod:2171
19188 #, no-wrap
19189 msgid ""
19190 " lvremove device\n"
19191 "\n"
19192 msgstr ""
19193
19194 # type: =head2
19195 #: ../fish/guestfish-actions.pod:2179
19196 msgid "lvrename"
19197 msgstr ""
19198
19199 # type: verbatim
19200 #: ../fish/guestfish-actions.pod:2181
19201 #, no-wrap
19202 msgid ""
19203 " lvrename logvol newlogvol\n"
19204 "\n"
19205 msgstr ""
19206
19207 # type: =head2
19208 #: ../fish/guestfish-actions.pod:2185
19209 msgid "lvresize"
19210 msgstr ""
19211
19212 # type: verbatim
19213 #: ../fish/guestfish-actions.pod:2187
19214 #, no-wrap
19215 msgid ""
19216 " lvresize device mbytes\n"
19217 "\n"
19218 msgstr ""
19219
19220 # type: =head2
19221 #: ../fish/guestfish-actions.pod:2193
19222 msgid "lvresize-free"
19223 msgstr ""
19224
19225 # type: verbatim
19226 #: ../fish/guestfish-actions.pod:2195
19227 #, no-wrap
19228 msgid ""
19229 " lvresize-free lv percent\n"
19230 "\n"
19231 msgstr ""
19232
19233 # type: =head2
19234 #: ../fish/guestfish-actions.pod:2203
19235 msgid "lvs"
19236 msgstr ""
19237
19238 # type: verbatim
19239 #: ../fish/guestfish-actions.pod:2205
19240 #, no-wrap
19241 msgid ""
19242 " lvs\n"
19243 "\n"
19244 msgstr ""
19245
19246 # type: textblock
19247 #: ../fish/guestfish-actions.pod:2213
19248 msgid "See also C<lvs-full>."
19249 msgstr ""
19250
19251 # type: =head2
19252 #: ../fish/guestfish-actions.pod:2215
19253 msgid "lvs-full"
19254 msgstr ""
19255
19256 # type: verbatim
19257 #: ../fish/guestfish-actions.pod:2217
19258 #, no-wrap
19259 msgid ""
19260 " lvs-full\n"
19261 "\n"
19262 msgstr ""
19263
19264 # type: =head2
19265 #: ../fish/guestfish-actions.pod:2222
19266 msgid "lvuuid"
19267 msgstr ""
19268
19269 # type: verbatim
19270 #: ../fish/guestfish-actions.pod:2224
19271 #, no-wrap
19272 msgid ""
19273 " lvuuid device\n"
19274 "\n"
19275 msgstr ""
19276
19277 # type: =head2
19278 #: ../fish/guestfish-actions.pod:2228
19279 msgid "lxattrlist"
19280 msgstr ""
19281
19282 # type: verbatim
19283 #: ../fish/guestfish-actions.pod:2230
19284 #, no-wrap
19285 msgid ""
19286 " lxattrlist path 'names ...'\n"
19287 "\n"
19288 msgstr ""
19289
19290 # type: textblock
19291 #: ../fish/guestfish-actions.pod:2246
19292 msgid ""
19293 "This call is intended for programs that want to efficiently list a directory "
19294 "contents without making many round-trips.  See also C<lstatlist> for a "
19295 "similarly efficient call for getting standard stats.  Very long directory "
19296 "listings might cause the protocol message size to be exceeded, causing this "
19297 "call to fail.  The caller must split up such requests into smaller groups of "
19298 "names."
19299 msgstr ""
19300
19301 # type: =head2
19302 #: ../fish/guestfish-actions.pod:2254
19303 msgid "mkdir"
19304 msgstr ""
19305
19306 # type: verbatim
19307 #: ../fish/guestfish-actions.pod:2256
19308 #, no-wrap
19309 msgid ""
19310 " mkdir path\n"
19311 "\n"
19312 msgstr ""
19313
19314 # type: =head2
19315 #: ../fish/guestfish-actions.pod:2260
19316 msgid "mkdir-mode"
19317 msgstr ""
19318
19319 # type: verbatim
19320 #: ../fish/guestfish-actions.pod:2262
19321 #, no-wrap
19322 msgid ""
19323 " mkdir-mode path mode\n"
19324 "\n"
19325 msgstr ""
19326
19327 # type: textblock
19328 #: ../fish/guestfish-actions.pod:2271
19329 msgid "See also C<mkdir>, C<umask>"
19330 msgstr ""
19331
19332 # type: =head2
19333 #: ../fish/guestfish-actions.pod:2273
19334 msgid "mkdir-p"
19335 msgstr ""
19336
19337 # type: verbatim
19338 #: ../fish/guestfish-actions.pod:2275
19339 #, no-wrap
19340 msgid ""
19341 " mkdir-p path\n"
19342 "\n"
19343 msgstr ""
19344
19345 # type: =head2
19346 #: ../fish/guestfish-actions.pod:2280
19347 msgid "mkdtemp"
19348 msgstr ""
19349
19350 # type: verbatim
19351 #: ../fish/guestfish-actions.pod:2282
19352 #, no-wrap
19353 msgid ""
19354 " mkdtemp template\n"
19355 "\n"
19356 msgstr ""
19357
19358 # type: =head2
19359 #: ../fish/guestfish-actions.pod:2303
19360 msgid "mke2fs-J"
19361 msgstr ""
19362
19363 # type: verbatim
19364 #: ../fish/guestfish-actions.pod:2305
19365 #, no-wrap
19366 msgid ""
19367 " mke2fs-J fstype blocksize device journal\n"
19368 "\n"
19369 msgstr ""
19370
19371 # type: textblock
19372 #: ../fish/guestfish-actions.pod:2313
19373 msgid "See also C<mke2journal>."
19374 msgstr ""
19375
19376 # type: =head2
19377 #: ../fish/guestfish-actions.pod:2315
19378 msgid "mke2fs-JL"
19379 msgstr ""
19380
19381 # type: verbatim
19382 #: ../fish/guestfish-actions.pod:2317
19383 #, no-wrap
19384 msgid ""
19385 " mke2fs-JL fstype blocksize device label\n"
19386 "\n"
19387 msgstr ""
19388
19389 # type: textblock
19390 #: ../fish/guestfish-actions.pod:2322
19391 msgid "See also C<mke2journal-L>."
19392 msgstr ""
19393
19394 # type: =head2
19395 #: ../fish/guestfish-actions.pod:2324
19396 msgid "mke2fs-JU"
19397 msgstr ""
19398
19399 # type: verbatim
19400 #: ../fish/guestfish-actions.pod:2326
19401 #, no-wrap
19402 msgid ""
19403 " mke2fs-JU fstype blocksize device uuid\n"
19404 "\n"
19405 msgstr ""
19406
19407 # type: textblock
19408 #: ../fish/guestfish-actions.pod:2331
19409 msgid "See also C<mke2journal-U>."
19410 msgstr ""
19411
19412 # type: =head2
19413 #: ../fish/guestfish-actions.pod:2333
19414 msgid "mke2journal"
19415 msgstr ""
19416
19417 # type: verbatim
19418 #: ../fish/guestfish-actions.pod:2335
19419 #, no-wrap
19420 msgid ""
19421 " mke2journal blocksize device\n"
19422 "\n"
19423 msgstr ""
19424
19425 # type: =head2
19426 #: ../fish/guestfish-actions.pod:2342
19427 msgid "mke2journal-L"
19428 msgstr ""
19429
19430 # type: verbatim
19431 #: ../fish/guestfish-actions.pod:2344
19432 #, no-wrap
19433 msgid ""
19434 " mke2journal-L blocksize label device\n"
19435 "\n"
19436 msgstr ""
19437
19438 # type: =head2
19439 #: ../fish/guestfish-actions.pod:2348
19440 msgid "mke2journal-U"
19441 msgstr ""
19442
19443 # type: verbatim
19444 #: ../fish/guestfish-actions.pod:2350
19445 #, no-wrap
19446 msgid ""
19447 " mke2journal-U blocksize uuid device\n"
19448 "\n"
19449 msgstr ""
19450
19451 # type: =head2
19452 #: ../fish/guestfish-actions.pod:2354
19453 msgid "mkfifo"
19454 msgstr ""
19455
19456 # type: verbatim
19457 #: ../fish/guestfish-actions.pod:2356
19458 #, no-wrap
19459 msgid ""
19460 " mkfifo mode path\n"
19461 "\n"
19462 msgstr ""
19463
19464 # type: textblock
19465 #: ../fish/guestfish-actions.pod:2358
19466 msgid ""
19467 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
19468 "is just a convenient wrapper around C<mknod>."
19469 msgstr ""
19470
19471 # type: =head2
19472 #: ../fish/guestfish-actions.pod:2364
19473 msgid "mkfs"
19474 msgstr ""
19475
19476 # type: verbatim
19477 #: ../fish/guestfish-actions.pod:2366
19478 #, no-wrap
19479 msgid ""
19480 " mkfs fstype device\n"
19481 "\n"
19482 msgstr ""
19483
19484 # type: =head2
19485 #: ../fish/guestfish-actions.pod:2372
19486 msgid "mkfs-b"
19487 msgstr ""
19488
19489 # type: verbatim
19490 #: ../fish/guestfish-actions.pod:2374
19491 #, no-wrap
19492 msgid ""
19493 " mkfs-b fstype blocksize device\n"
19494 "\n"
19495 msgstr ""
19496
19497 # type: textblock
19498 #: ../fish/guestfish-actions.pod:2376
19499 msgid ""
19500 "This call is similar to C<mkfs>, but it allows you to control the block size "
19501 "of the resulting filesystem.  Supported block sizes depend on the filesystem "
19502 "type, but typically they are C<1024>, C<2048> or C<4096> only."
19503 msgstr ""
19504
19505 # type: =head2
19506 #: ../fish/guestfish-actions.pod:2384
19507 msgid "mkmountpoint"
19508 msgstr ""
19509
19510 # type: verbatim
19511 #: ../fish/guestfish-actions.pod:2386
19512 #, no-wrap
19513 msgid ""
19514 " mkmountpoint exemptpath\n"
19515 "\n"
19516 msgstr ""
19517
19518 # type: textblock
19519 #: ../fish/guestfish-actions.pod:2388
19520 msgid ""
19521 "C<mkmountpoint> and C<rmmountpoint> are specialized calls that can be used "
19522 "to create extra mountpoints before mounting the first filesystem."
19523 msgstr ""
19524
19525 # type: =head2
19526 #: ../fish/guestfish-actions.pod:2412
19527 msgid "mknod"
19528 msgstr ""
19529
19530 # type: verbatim
19531 #: ../fish/guestfish-actions.pod:2414
19532 #, no-wrap
19533 msgid ""
19534 " mknod mode devmajor devminor path\n"
19535 "\n"
19536 msgstr ""
19537
19538 # type: textblock
19539 #: ../fish/guestfish-actions.pod:2424
19540 msgid ""
19541 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
19542 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
19543 "regular file).  These constants are available in the standard Linux header "
19544 "files, or you can use C<mknod-b>, C<mknod-c> or C<mkfifo> which are wrappers "
19545 "around this command which bitwise OR in the appropriate constant for you."
19546 msgstr ""
19547
19548 # type: =head2
19549 #: ../fish/guestfish-actions.pod:2434
19550 msgid "mknod-b"
19551 msgstr ""
19552
19553 # type: verbatim
19554 #: ../fish/guestfish-actions.pod:2436
19555 #, no-wrap
19556 msgid ""
19557 " mknod-b mode devmajor devminor path\n"
19558 "\n"
19559 msgstr ""
19560
19561 # type: textblock
19562 #: ../fish/guestfish-actions.pod:2438
19563 msgid ""
19564 "This call creates a block device node called C<path> with mode C<mode> and "
19565 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19566 "wrapper around C<mknod>."
19567 msgstr ""
19568
19569 # type: =head2
19570 #: ../fish/guestfish-actions.pod:2444
19571 msgid "mknod-c"
19572 msgstr ""
19573
19574 # type: verbatim
19575 #: ../fish/guestfish-actions.pod:2446
19576 #, no-wrap
19577 msgid ""
19578 " mknod-c mode devmajor devminor path\n"
19579 "\n"
19580 msgstr ""
19581
19582 # type: textblock
19583 #: ../fish/guestfish-actions.pod:2448
19584 msgid ""
19585 "This call creates a char device node called C<path> with mode C<mode> and "
19586 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19587 "wrapper around C<mknod>."
19588 msgstr ""
19589
19590 # type: =head2
19591 #: ../fish/guestfish-actions.pod:2454
19592 msgid "mkswap"
19593 msgstr ""
19594
19595 # type: verbatim
19596 #: ../fish/guestfish-actions.pod:2456
19597 #, no-wrap
19598 msgid ""
19599 " mkswap device\n"
19600 "\n"
19601 msgstr ""
19602
19603 # type: =head2
19604 #: ../fish/guestfish-actions.pod:2460
19605 msgid "mkswap-L"
19606 msgstr ""
19607
19608 # type: verbatim
19609 #: ../fish/guestfish-actions.pod:2462
19610 #, no-wrap
19611 msgid ""
19612 " mkswap-L label device\n"
19613 "\n"
19614 msgstr ""
19615
19616 # type: =head2
19617 #: ../fish/guestfish-actions.pod:2470
19618 msgid "mkswap-U"
19619 msgstr ""
19620
19621 # type: verbatim
19622 #: ../fish/guestfish-actions.pod:2472
19623 #, no-wrap
19624 msgid ""
19625 " mkswap-U uuid device\n"
19626 "\n"
19627 msgstr ""
19628
19629 # type: =head2
19630 #: ../fish/guestfish-actions.pod:2476
19631 msgid "mkswap-file"
19632 msgstr ""
19633
19634 # type: verbatim
19635 #: ../fish/guestfish-actions.pod:2478
19636 #, no-wrap
19637 msgid ""
19638 " mkswap-file path\n"
19639 "\n"
19640 msgstr ""
19641
19642 # type: textblock
19643 #: ../fish/guestfish-actions.pod:2482
19644 msgid ""
19645 "This command just writes a swap file signature to an existing file.  To "
19646 "create the file itself, use something like C<fallocate>."
19647 msgstr ""
19648
19649 # type: =head2
19650 #: ../fish/guestfish-actions.pod:2485
19651 msgid "modprobe"
19652 msgstr ""
19653
19654 # type: verbatim
19655 #: ../fish/guestfish-actions.pod:2487
19656 #, no-wrap
19657 msgid ""
19658 " modprobe modulename\n"
19659 "\n"
19660 msgstr ""
19661
19662 # type: =head2
19663 #: ../fish/guestfish-actions.pod:2494
19664 msgid "mount"
19665 msgstr ""
19666
19667 # type: verbatim
19668 #: ../fish/guestfish-actions.pod:2496
19669 #, no-wrap
19670 msgid ""
19671 " mount device mountpoint\n"
19672 "\n"
19673 msgstr ""
19674
19675 # type: textblock
19676 #: ../fish/guestfish-actions.pod:2512
19677 msgid ""
19678 "B<Important note:> When you use this call, the filesystem options C<sync> "
19679 "and C<noatime> are set implicitly.  This was originally done because we "
19680 "thought it would improve reliability, but it turns out that I<-o sync> has a "
19681 "very large negative performance impact and negligible effect on "
19682 "reliability.  Therefore we recommend that you avoid using C<mount> in any "
19683 "code that needs performance, and instead use C<mount-options> (use an empty "
19684 "string for the first parameter if you don't want any options)."
19685 msgstr ""
19686
19687 # type: =head2
19688 #: ../fish/guestfish-actions.pod:2522
19689 msgid "mount-loop"
19690 msgstr ""
19691
19692 # type: verbatim
19693 #: ../fish/guestfish-actions.pod:2524
19694 #, no-wrap
19695 msgid ""
19696 " mount-loop file mountpoint\n"
19697 "\n"
19698 msgstr ""
19699
19700 # type: =head2
19701 #: ../fish/guestfish-actions.pod:2530
19702 msgid "mount-options"
19703 msgstr ""
19704
19705 # type: verbatim
19706 #: ../fish/guestfish-actions.pod:2532
19707 #, no-wrap
19708 msgid ""
19709 " mount-options options device mountpoint\n"
19710 "\n"
19711 msgstr ""
19712
19713 # type: textblock
19714 #: ../fish/guestfish-actions.pod:2534
19715 msgid ""
19716 "This is the same as the C<mount> command, but it allows you to set the mount "
19717 "options as for the L<mount(8)> I<-o> flag."
19718 msgstr ""
19719
19720 # type: =head2
19721 #: ../fish/guestfish-actions.pod:2542
19722 msgid "mount-ro"
19723 msgstr ""
19724
19725 # type: verbatim
19726 #: ../fish/guestfish-actions.pod:2544
19727 #, no-wrap
19728 msgid ""
19729 " mount-ro device mountpoint\n"
19730 "\n"
19731 msgstr ""
19732
19733 # type: textblock
19734 #: ../fish/guestfish-actions.pod:2546
19735 msgid ""
19736 "This is the same as the C<mount> command, but it mounts the filesystem with "
19737 "the read-only (I<-o ro>) flag."
19738 msgstr ""
19739
19740 # type: =head2
19741 #: ../fish/guestfish-actions.pod:2549
19742 msgid "mount-vfs"
19743 msgstr ""
19744
19745 # type: verbatim
19746 #: ../fish/guestfish-actions.pod:2551
19747 #, no-wrap
19748 msgid ""
19749 " mount-vfs options vfstype device mountpoint\n"
19750 "\n"
19751 msgstr ""
19752
19753 # type: textblock
19754 #: ../fish/guestfish-actions.pod:2553
19755 msgid ""
19756 "This is the same as the C<mount> command, but it allows you to set both the "
19757 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
19758 msgstr ""
19759
19760 # type: =head2
19761 #: ../fish/guestfish-actions.pod:2557
19762 msgid "mountpoints"
19763 msgstr ""
19764
19765 # type: verbatim
19766 #: ../fish/guestfish-actions.pod:2559
19767 #, no-wrap
19768 msgid ""
19769 " mountpoints\n"
19770 "\n"
19771 msgstr ""
19772
19773 # type: textblock
19774 #: ../fish/guestfish-actions.pod:2561
19775 msgid ""
19776 "This call is similar to C<mounts>.  That call returns a list of devices.  "
19777 "This one returns a hash table (map) of device name to directory where the "
19778 "device is mounted."
19779 msgstr ""
19780
19781 # type: =head2
19782 #: ../fish/guestfish-actions.pod:2565
19783 msgid "mounts"
19784 msgstr ""
19785
19786 # type: verbatim
19787 #: ../fish/guestfish-actions.pod:2567
19788 #, no-wrap
19789 msgid ""
19790 " mounts\n"
19791 "\n"
19792 msgstr ""
19793
19794 # type: textblock
19795 #: ../fish/guestfish-actions.pod:2574
19796 msgid "See also: C<mountpoints>"
19797 msgstr ""
19798
19799 # type: =head2
19800 #: ../fish/guestfish-actions.pod:2576
19801 msgid "mv"
19802 msgstr ""
19803
19804 # type: verbatim
19805 #: ../fish/guestfish-actions.pod:2578
19806 #, no-wrap
19807 msgid ""
19808 " mv src dest\n"
19809 "\n"
19810 msgstr ""
19811
19812 # type: =head2
19813 #: ../fish/guestfish-actions.pod:2583
19814 msgid "ntfs-3g-probe"
19815 msgstr ""
19816
19817 # type: verbatim
19818 #: ../fish/guestfish-actions.pod:2585
19819 #, no-wrap
19820 msgid ""
19821 " ntfs-3g-probe true|false device\n"
19822 "\n"
19823 msgstr ""
19824
19825 # type: =head2
19826 #: ../fish/guestfish-actions.pod:2599
19827 msgid "ntfsresize"
19828 msgstr ""
19829
19830 # type: verbatim
19831 #: ../fish/guestfish-actions.pod:2601
19832 #, no-wrap
19833 msgid ""
19834 " ntfsresize device\n"
19835 "\n"
19836 msgstr ""
19837
19838 # type: =head2
19839 #: ../fish/guestfish-actions.pod:2607
19840 msgid "ntfsresize-size"
19841 msgstr ""
19842
19843 # type: verbatim
19844 #: ../fish/guestfish-actions.pod:2609
19845 #, no-wrap
19846 msgid ""
19847 " ntfsresize-size device size\n"
19848 "\n"
19849 msgstr ""
19850
19851 # type: textblock
19852 #: ../fish/guestfish-actions.pod:2611
19853 msgid ""
19854 "This command is the same as C<ntfsresize> except that it allows you to "
19855 "specify the new size (in bytes) explicitly."
19856 msgstr ""
19857
19858 # type: =head2
19859 #: ../fish/guestfish-actions.pod:2614
19860 msgid "part-add"
19861 msgstr ""
19862
19863 # type: verbatim
19864 #: ../fish/guestfish-actions.pod:2616
19865 #, no-wrap
19866 msgid ""
19867 " part-add device prlogex startsect endsect\n"
19868 "\n"
19869 msgstr ""
19870
19871 # type: textblock
19872 #: ../fish/guestfish-actions.pod:2618
19873 msgid ""
19874 "This command adds a partition to C<device>.  If there is no partition table "
19875 "on the device, call C<part-init> first."
19876 msgstr ""
19877
19878 # type: textblock
19879 #: ../fish/guestfish-actions.pod:2630
19880 msgid ""
19881 "Creating a partition which covers the whole disk is not so easy.  Use C<part-"
19882 "disk> to do that."
19883 msgstr ""
19884
19885 # type: =head2
19886 #: ../fish/guestfish-actions.pod:2633
19887 msgid "part-del"
19888 msgstr ""
19889
19890 # type: verbatim
19891 #: ../fish/guestfish-actions.pod:2635
19892 #, no-wrap
19893 msgid ""
19894 " part-del device partnum\n"
19895 "\n"
19896 msgstr ""
19897
19898 # type: =head2
19899 #: ../fish/guestfish-actions.pod:2643
19900 msgid "part-disk"
19901 msgstr ""
19902
19903 # type: verbatim
19904 #: ../fish/guestfish-actions.pod:2645
19905 #, no-wrap
19906 msgid ""
19907 " part-disk device parttype\n"
19908 "\n"
19909 msgstr ""
19910
19911 # type: textblock
19912 #: ../fish/guestfish-actions.pod:2647
19913 msgid ""
19914 "This command is simply a combination of C<part-init> followed by C<part-add> "
19915 "to create a single primary partition covering the whole disk."
19916 msgstr ""
19917
19918 # type: textblock
19919 #: ../fish/guestfish-actions.pod:2651
19920 msgid ""
19921 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
19922 "possible values are described in C<part-init>."
19923 msgstr ""
19924
19925 # type: =head2
19926 #: ../fish/guestfish-actions.pod:2657
19927 msgid "part-get-bootable"
19928 msgstr ""
19929
19930 # type: verbatim
19931 #: ../fish/guestfish-actions.pod:2659
19932 #, no-wrap
19933 msgid ""
19934 " part-get-bootable device partnum\n"
19935 "\n"
19936 msgstr ""
19937
19938 # type: textblock
19939 #: ../fish/guestfish-actions.pod:2664
19940 msgid "See also C<part-set-bootable>."
19941 msgstr ""
19942
19943 # type: =head2
19944 #: ../fish/guestfish-actions.pod:2666
19945 msgid "part-get-mbr-id"
19946 msgstr ""
19947
19948 # type: verbatim
19949 #: ../fish/guestfish-actions.pod:2668
19950 #, no-wrap
19951 msgid ""
19952 " part-get-mbr-id device partnum\n"
19953 "\n"
19954 msgstr ""
19955
19956 # type: textblock
19957 #: ../fish/guestfish-actions.pod:2673 ../fish/guestfish-actions.pod:2811
19958 msgid ""
19959 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
19960 "undefined results for other partition table types (see C<part-get-parttype>)."
19961 msgstr ""
19962
19963 # type: =head2
19964 #: ../fish/guestfish-actions.pod:2677
19965 msgid "part-get-parttype"
19966 msgstr ""
19967
19968 # type: verbatim
19969 #: ../fish/guestfish-actions.pod:2679
19970 #, no-wrap
19971 msgid ""
19972 " part-get-parttype device\n"
19973 "\n"
19974 msgstr ""
19975
19976 # type: textblock
19977 #: ../fish/guestfish-actions.pod:2684
19978 msgid ""
19979 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
19980 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
19981 "possible, although unusual.  See C<part-init> for a full list."
19982 msgstr ""
19983
19984 # type: =head2
19985 #: ../fish/guestfish-actions.pod:2689
19986 msgid "part-init"
19987 msgstr ""
19988
19989 # type: verbatim
19990 #: ../fish/guestfish-actions.pod:2691
19991 #, no-wrap
19992 msgid ""
19993 " part-init device parttype\n"
19994 "\n"
19995 msgstr ""
19996
19997 # type: textblock
19998 #: ../fish/guestfish-actions.pod:2697
19999 msgid ""
20000 "Initially there are no partitions.  Following this, you should call C<part-"
20001 "add> for each partition required."
20002 msgstr ""
20003
20004 # type: =head2
20005 #: ../fish/guestfish-actions.pod:2760
20006 msgid "part-list"
20007 msgstr ""
20008
20009 # type: verbatim
20010 #: ../fish/guestfish-actions.pod:2762
20011 #, no-wrap
20012 msgid ""
20013 " part-list device\n"
20014 "\n"
20015 msgstr ""
20016
20017 # type: textblock
20018 #: ../fish/guestfish-actions.pod:2777
20019 msgid ""
20020 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
20021 "the device's sector size, see C<blockdev-getss>."
20022 msgstr ""
20023
20024 # type: =head2
20025 #: ../fish/guestfish-actions.pod:2790
20026 msgid "part-set-bootable"
20027 msgstr ""
20028
20029 # type: verbatim
20030 #: ../fish/guestfish-actions.pod:2792
20031 #, no-wrap
20032 msgid ""
20033 " part-set-bootable device partnum true|false\n"
20034 "\n"
20035 msgstr ""
20036
20037 # type: =head2
20038 #: ../fish/guestfish-actions.pod:2801
20039 msgid "part-set-mbr-id"
20040 msgstr ""
20041
20042 # type: verbatim
20043 #: ../fish/guestfish-actions.pod:2803
20044 #, no-wrap
20045 msgid ""
20046 " part-set-mbr-id device partnum idbyte\n"
20047 "\n"
20048 msgstr ""
20049
20050 # type: =head2
20051 #: ../fish/guestfish-actions.pod:2815
20052 msgid "part-set-name"
20053 msgstr ""
20054
20055 # type: verbatim
20056 #: ../fish/guestfish-actions.pod:2817
20057 #, no-wrap
20058 msgid ""
20059 " part-set-name device partnum name\n"
20060 "\n"
20061 msgstr ""
20062
20063 # type: =head2
20064 #: ../fish/guestfish-actions.pod:2825
20065 msgid "ping-daemon"
20066 msgstr ""
20067
20068 # type: verbatim
20069 #: ../fish/guestfish-actions.pod:2827
20070 #, no-wrap
20071 msgid ""
20072 " ping-daemon\n"
20073 "\n"
20074 msgstr ""
20075
20076 # type: =head2
20077 #: ../fish/guestfish-actions.pod:2834
20078 msgid "pread"
20079 msgstr ""
20080
20081 # type: verbatim
20082 #: ../fish/guestfish-actions.pod:2836
20083 #, no-wrap
20084 msgid ""
20085 " pread path count offset\n"
20086 "\n"
20087 msgstr ""
20088
20089 # type: textblock
20090 #: ../fish/guestfish-actions.pod:2844
20091 msgid "See also C<pwrite>."
20092 msgstr ""
20093
20094 # type: =head2
20095 #: ../fish/guestfish-actions.pod:2849
20096 msgid "pvcreate"
20097 msgstr ""
20098
20099 # type: verbatim
20100 #: ../fish/guestfish-actions.pod:2851
20101 #, no-wrap
20102 msgid ""
20103 " pvcreate device\n"
20104 "\n"
20105 msgstr ""
20106
20107 # type: =head2
20108 #: ../fish/guestfish-actions.pod:2857
20109 msgid "pvremove"
20110 msgstr ""
20111
20112 # type: verbatim
20113 #: ../fish/guestfish-actions.pod:2859
20114 #, no-wrap
20115 msgid ""
20116 " pvremove device\n"
20117 "\n"
20118 msgstr ""
20119
20120 # type: =head2
20121 #: ../fish/guestfish-actions.pod:2868
20122 msgid "pvresize"
20123 msgstr ""
20124
20125 # type: verbatim
20126 #: ../fish/guestfish-actions.pod:2870
20127 #, no-wrap
20128 msgid ""
20129 " pvresize device\n"
20130 "\n"
20131 msgstr ""
20132
20133 # type: =head2
20134 #: ../fish/guestfish-actions.pod:2875
20135 msgid "pvresize-size"
20136 msgstr ""
20137
20138 # type: verbatim
20139 #: ../fish/guestfish-actions.pod:2877
20140 #, no-wrap
20141 msgid ""
20142 " pvresize-size device size\n"
20143 "\n"
20144 msgstr ""
20145
20146 # type: textblock
20147 #: ../fish/guestfish-actions.pod:2879
20148 msgid ""
20149 "This command is the same as C<pvresize> except that it allows you to specify "
20150 "the new size (in bytes) explicitly."
20151 msgstr ""
20152
20153 # type: =head2
20154 #: ../fish/guestfish-actions.pod:2882
20155 msgid "pvs"
20156 msgstr ""
20157
20158 # type: verbatim
20159 #: ../fish/guestfish-actions.pod:2884
20160 #, no-wrap
20161 msgid ""
20162 " pvs\n"
20163 "\n"
20164 msgstr ""
20165
20166 # type: textblock
20167 #: ../fish/guestfish-actions.pod:2892
20168 msgid "See also C<pvs-full>."
20169 msgstr ""
20170
20171 # type: =head2
20172 #: ../fish/guestfish-actions.pod:2894
20173 msgid "pvs-full"
20174 msgstr ""
20175
20176 # type: verbatim
20177 #: ../fish/guestfish-actions.pod:2896
20178 #, no-wrap
20179 msgid ""
20180 " pvs-full\n"
20181 "\n"
20182 msgstr ""
20183
20184 # type: =head2
20185 #: ../fish/guestfish-actions.pod:2901
20186 msgid "pvuuid"
20187 msgstr ""
20188
20189 # type: verbatim
20190 #: ../fish/guestfish-actions.pod:2903
20191 #, no-wrap
20192 msgid ""
20193 " pvuuid device\n"
20194 "\n"
20195 msgstr ""
20196
20197 # type: =head2
20198 #: ../fish/guestfish-actions.pod:2907
20199 msgid "pwrite"
20200 msgstr ""
20201
20202 # type: verbatim
20203 #: ../fish/guestfish-actions.pod:2909
20204 #, no-wrap
20205 msgid ""
20206 " pwrite path content offset\n"
20207 "\n"
20208 msgstr ""
20209
20210 # type: textblock
20211 #: ../fish/guestfish-actions.pod:2920
20212 msgid "See also C<pread>."
20213 msgstr ""
20214
20215 # type: =head2
20216 #: ../fish/guestfish-actions.pod:2925
20217 msgid "read-file"
20218 msgstr ""
20219
20220 # type: verbatim
20221 #: ../fish/guestfish-actions.pod:2927
20222 #, no-wrap
20223 msgid ""
20224 " read-file path\n"
20225 "\n"
20226 msgstr ""
20227
20228 # type: textblock
20229 #: ../fish/guestfish-actions.pod:2932
20230 msgid ""
20231 "Unlike C<cat>, this function can correctly handle files that contain "
20232 "embedded ASCII NUL characters.  However unlike C<download>, this function is "
20233 "limited in the total size of file that can be handled."
20234 msgstr ""
20235
20236 # type: =head2
20237 #: ../fish/guestfish-actions.pod:2940
20238 msgid "read-lines"
20239 msgstr ""
20240
20241 # type: verbatim
20242 #: ../fish/guestfish-actions.pod:2942
20243 #, no-wrap
20244 msgid ""
20245 " read-lines path\n"
20246 "\n"
20247 msgstr ""
20248
20249 # type: textblock
20250 #: ../fish/guestfish-actions.pod:2949
20251 msgid ""
20252 "Note that this function cannot correctly handle binary files (specifically, "
20253 "files containing C<\\0> character which is treated as end of line).  For "
20254 "those you need to use the C<read-file> function which has a more complex "
20255 "interface."
20256 msgstr ""
20257
20258 # type: =head2
20259 #: ../fish/guestfish-actions.pod:2954
20260 msgid "readdir"
20261 msgstr ""
20262
20263 # type: verbatim
20264 #: ../fish/guestfish-actions.pod:2956
20265 #, no-wrap
20266 msgid ""
20267 " readdir dir\n"
20268 "\n"
20269 msgstr ""
20270
20271 # type: textblock
20272 #: ../fish/guestfish-actions.pod:3008
20273 msgid ""
20274 "This function is primarily intended for use by programs.  To get a simple "
20275 "list of names, use C<ls>.  To get a printable directory for human "
20276 "consumption, use C<ll>."
20277 msgstr ""
20278
20279 # type: =head2
20280 #: ../fish/guestfish-actions.pod:3012
20281 msgid "readlink"
20282 msgstr ""
20283
20284 # type: verbatim
20285 #: ../fish/guestfish-actions.pod:3014
20286 #, no-wrap
20287 msgid ""
20288 " readlink path\n"
20289 "\n"
20290 msgstr ""
20291
20292 # type: =head2
20293 #: ../fish/guestfish-actions.pod:3018
20294 msgid "readlinklist"
20295 msgstr ""
20296
20297 # type: verbatim
20298 #: ../fish/guestfish-actions.pod:3020
20299 #, no-wrap
20300 msgid ""
20301 " readlinklist path 'names ...'\n"
20302 "\n"
20303 msgstr ""
20304
20305 # type: =head2
20306 #: ../fish/guestfish-actions.pod:3044
20307 msgid "realpath"
20308 msgstr ""
20309
20310 # type: verbatim
20311 #: ../fish/guestfish-actions.pod:3046
20312 #, no-wrap
20313 msgid ""
20314 " realpath path\n"
20315 "\n"
20316 msgstr ""
20317
20318 # type: =head2
20319 #: ../fish/guestfish-actions.pod:3051
20320 msgid "removexattr"
20321 msgstr ""
20322
20323 # type: verbatim
20324 #: ../fish/guestfish-actions.pod:3053
20325 #, no-wrap
20326 msgid ""
20327 " removexattr xattr path\n"
20328 "\n"
20329 msgstr ""
20330
20331 # type: textblock
20332 #: ../fish/guestfish-actions.pod:3058
20333 msgid "See also: C<lremovexattr>, L<attr(5)>."
20334 msgstr ""
20335
20336 # type: =head2
20337 #: ../fish/guestfish-actions.pod:3060
20338 msgid "resize2fs"
20339 msgstr ""
20340
20341 # type: verbatim
20342 #: ../fish/guestfish-actions.pod:3062
20343 #, no-wrap
20344 msgid ""
20345 " resize2fs device\n"
20346 "\n"
20347 msgstr ""
20348
20349 # type: textblock
20350 #: ../fish/guestfish-actions.pod:3067
20351 msgid ""
20352 "I<Note:> It is sometimes required that you run C<e2fsck-f> on the C<device> "
20353 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
20354 "gives an error about this and sometimes not.  In any case, it is always safe "
20355 "to call C<e2fsck-f> before calling this function."
20356 msgstr ""
20357
20358 # type: =head2
20359 #: ../fish/guestfish-actions.pod:3073
20360 msgid "resize2fs-size"
20361 msgstr ""
20362
20363 # type: verbatim
20364 #: ../fish/guestfish-actions.pod:3075
20365 #, no-wrap
20366 msgid ""
20367 " resize2fs-size device size\n"
20368 "\n"
20369 msgstr ""
20370
20371 # type: textblock
20372 #: ../fish/guestfish-actions.pod:3077
20373 msgid ""
20374 "This command is the same as C<resize2fs> except that it allows you to "
20375 "specify the new size (in bytes) explicitly."
20376 msgstr ""
20377
20378 # type: =head2
20379 #: ../fish/guestfish-actions.pod:3080
20380 msgid "rm"
20381 msgstr ""
20382
20383 # type: verbatim
20384 #: ../fish/guestfish-actions.pod:3082
20385 #, no-wrap
20386 msgid ""
20387 " rm path\n"
20388 "\n"
20389 msgstr ""
20390
20391 # type: =head2
20392 #: ../fish/guestfish-actions.pod:3086
20393 msgid "rm-rf"
20394 msgstr ""
20395
20396 # type: verbatim
20397 #: ../fish/guestfish-actions.pod:3088
20398 #, no-wrap
20399 msgid ""
20400 " rm-rf path\n"
20401 "\n"
20402 msgstr ""
20403
20404 # type: =head2
20405 #: ../fish/guestfish-actions.pod:3094
20406 msgid "rmdir"
20407 msgstr ""
20408
20409 # type: verbatim
20410 #: ../fish/guestfish-actions.pod:3096
20411 #, no-wrap
20412 msgid ""
20413 " rmdir path\n"
20414 "\n"
20415 msgstr ""
20416
20417 # type: =head2
20418 #: ../fish/guestfish-actions.pod:3100
20419 msgid "rmmountpoint"
20420 msgstr ""
20421
20422 # type: verbatim
20423 #: ../fish/guestfish-actions.pod:3102
20424 #, no-wrap
20425 msgid ""
20426 " rmmountpoint exemptpath\n"
20427 "\n"
20428 msgstr ""
20429
20430 # type: textblock
20431 #: ../fish/guestfish-actions.pod:3104
20432 msgid ""
20433 "This calls removes a mountpoint that was previously created with "
20434 "C<mkmountpoint>.  See C<mkmountpoint> for full details."
20435 msgstr ""
20436
20437 # type: =head2
20438 #: ../fish/guestfish-actions.pod:3108
20439 msgid "scrub-device"
20440 msgstr ""
20441
20442 # type: verbatim
20443 #: ../fish/guestfish-actions.pod:3110
20444 #, no-wrap
20445 msgid ""
20446 " scrub-device device\n"
20447 "\n"
20448 msgstr ""
20449
20450 # type: =head2
20451 #: ../fish/guestfish-actions.pod:3121
20452 msgid "scrub-file"
20453 msgstr ""
20454
20455 # type: verbatim
20456 #: ../fish/guestfish-actions.pod:3123
20457 #, no-wrap
20458 msgid ""
20459 " scrub-file file\n"
20460 "\n"
20461 msgstr ""
20462
20463 # type: =head2
20464 #: ../fish/guestfish-actions.pod:3133
20465 msgid "scrub-freespace"
20466 msgstr ""
20467
20468 # type: verbatim
20469 #: ../fish/guestfish-actions.pod:3135
20470 #, no-wrap
20471 msgid ""
20472 " scrub-freespace dir\n"
20473 "\n"
20474 msgstr ""
20475
20476 # type: textblock
20477 #: ../fish/guestfish-actions.pod:3137
20478 msgid ""
20479 "This command creates the directory C<dir> and then fills it with files until "
20480 "the filesystem is full, and scrubs the files as for C<scrub-file>, and "
20481 "deletes them.  The intention is to scrub any free space on the partition "
20482 "containing C<dir>."
20483 msgstr ""
20484
20485 # type: =head2
20486 #: ../fish/guestfish-actions.pod:3146
20487 msgid "set-append | append"
20488 msgstr ""
20489
20490 # type: verbatim
20491 #: ../fish/guestfish-actions.pod:3148
20492 #, no-wrap
20493 msgid ""
20494 " set-append append\n"
20495 "\n"
20496 msgstr ""
20497
20498 # type: =head2
20499 #: ../fish/guestfish-actions.pod:3159
20500 msgid "set-autosync | autosync"
20501 msgstr ""
20502
20503 # type: verbatim
20504 #: ../fish/guestfish-actions.pod:3161
20505 #, no-wrap
20506 msgid ""
20507 " set-autosync true|false\n"
20508 "\n"
20509 msgstr ""
20510
20511 # type: textblock
20512 #: ../fish/guestfish-actions.pod:3163
20513 msgid ""
20514 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
20515 "effort attempt to run C<umount-all> followed by C<sync> when the handle is "
20516 "closed (also if the program exits without closing handles)."
20517 msgstr ""
20518
20519 # type: =head2
20520 #: ../fish/guestfish-actions.pod:3171
20521 msgid "set-direct | direct"
20522 msgstr ""
20523
20524 # type: verbatim
20525 #: ../fish/guestfish-actions.pod:3173
20526 #, no-wrap
20527 msgid ""
20528 " set-direct true|false\n"
20529 "\n"
20530 msgstr ""
20531
20532 # type: textblock
20533 #: ../fish/guestfish-actions.pod:3179
20534 msgid ""
20535 "One consequence of this is that log messages aren't caught by the library "
20536 "and handled by C<set-log-message-callback>, but go straight to stdout."
20537 msgstr ""
20538
20539 # type: =head2
20540 #: ../fish/guestfish-actions.pod:3188
20541 msgid "set-e2label"
20542 msgstr ""
20543
20544 # type: verbatim
20545 #: ../fish/guestfish-actions.pod:3190
20546 #, no-wrap
20547 msgid ""
20548 " set-e2label device label\n"
20549 "\n"
20550 msgstr ""
20551
20552 # type: textblock
20553 #: ../fish/guestfish-actions.pod:3196
20554 msgid ""
20555 "You can use either C<tune2fs-l> or C<get-e2label> to return the existing "
20556 "label on a filesystem."
20557 msgstr ""
20558
20559 # type: =head2
20560 #: ../fish/guestfish-actions.pod:3199
20561 msgid "set-e2uuid"
20562 msgstr ""
20563
20564 # type: verbatim
20565 #: ../fish/guestfish-actions.pod:3201
20566 #, no-wrap
20567 msgid ""
20568 " set-e2uuid device uuid\n"
20569 "\n"
20570 msgstr ""
20571
20572 # type: textblock
20573 #: ../fish/guestfish-actions.pod:3208
20574 msgid ""
20575 "You can use either C<tune2fs-l> or C<get-e2uuid> to return the existing UUID "
20576 "of a filesystem."
20577 msgstr ""
20578
20579 # type: =head2
20580 #: ../fish/guestfish-actions.pod:3211
20581 msgid "set-memsize | memsize"
20582 msgstr ""
20583
20584 # type: verbatim
20585 #: ../fish/guestfish-actions.pod:3213
20586 #, no-wrap
20587 msgid ""
20588 " set-memsize memsize\n"
20589 "\n"
20590 msgstr ""
20591
20592 # type: textblock
20593 #: ../fish/guestfish-actions.pod:3215
20594 msgid ""
20595 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
20596 "This only has any effect if called before C<launch>."
20597 msgstr ""
20598
20599 # type: =head2
20600 #: ../fish/guestfish-actions.pod:3226
20601 msgid "set-network | network"
20602 msgstr ""
20603
20604 # type: verbatim
20605 #: ../fish/guestfish-actions.pod:3228
20606 #, no-wrap
20607 msgid ""
20608 " set-network true|false\n"
20609 "\n"
20610 msgstr ""
20611
20612 # type: textblock
20613 #: ../fish/guestfish-actions.pod:3236
20614 msgid ""
20615 "You must call this before calling C<launch>, otherwise it has no effect."
20616 msgstr ""
20617
20618 # type: =head2
20619 #: ../fish/guestfish-actions.pod:3239
20620 msgid "set-path | path"
20621 msgstr ""
20622
20623 # type: verbatim
20624 #: ../fish/guestfish-actions.pod:3241
20625 #, no-wrap
20626 msgid ""
20627 " set-path searchpath\n"
20628 "\n"
20629 msgstr ""
20630
20631 # type: =head2
20632 #: ../fish/guestfish-actions.pod:3250
20633 msgid "set-qemu | qemu"
20634 msgstr ""
20635
20636 # type: verbatim
20637 #: ../fish/guestfish-actions.pod:3252
20638 #, no-wrap
20639 msgid ""
20640 " set-qemu qemu\n"
20641 "\n"
20642 msgstr ""
20643
20644 # type: =head2
20645 #: ../fish/guestfish-actions.pod:3272
20646 msgid "set-recovery-proc | recovery-proc"
20647 msgstr ""
20648
20649 # type: verbatim
20650 #: ../fish/guestfish-actions.pod:3274
20651 #, no-wrap
20652 msgid ""
20653 " set-recovery-proc true|false\n"
20654 "\n"
20655 msgstr ""
20656
20657 # type: textblock
20658 #: ../fish/guestfish-actions.pod:3276
20659 msgid ""
20660 "If this is called with the parameter C<false> then C<launch> does not create "
20661 "a recovery process.  The purpose of the recovery process is to stop runaway "
20662 "qemu processes in the case where the main program aborts abruptly."
20663 msgstr ""
20664
20665 # type: textblock
20666 #: ../fish/guestfish-actions.pod:3281
20667 msgid ""
20668 "This only has any effect if called before C<launch>, and the default is true."
20669 msgstr ""
20670
20671 # type: =head2
20672 #: ../fish/guestfish-actions.pod:3290
20673 msgid "set-selinux | selinux"
20674 msgstr ""
20675
20676 # type: verbatim
20677 #: ../fish/guestfish-actions.pod:3292
20678 #, no-wrap
20679 msgid ""
20680 " set-selinux true|false\n"
20681 "\n"
20682 msgstr ""
20683
20684 # type: =head2
20685 #: ../fish/guestfish-actions.pod:3303
20686 msgid "set-trace | trace"
20687 msgstr ""
20688
20689 # type: verbatim
20690 #: ../fish/guestfish-actions.pod:3305
20691 #, no-wrap
20692 msgid ""
20693 " set-trace true|false\n"
20694 "\n"
20695 msgstr ""
20696
20697 # type: =head2
20698 #: ../fish/guestfish-actions.pod:3321
20699 msgid "set-verbose | verbose"
20700 msgstr ""
20701
20702 # type: verbatim
20703 #: ../fish/guestfish-actions.pod:3323
20704 #, no-wrap
20705 msgid ""
20706 " set-verbose true|false\n"
20707 "\n"
20708 msgstr ""
20709
20710 # type: =head2
20711 #: ../fish/guestfish-actions.pod:3330
20712 msgid "setcon"
20713 msgstr ""
20714
20715 # type: verbatim
20716 #: ../fish/guestfish-actions.pod:3332
20717 #, no-wrap
20718 msgid ""
20719 " setcon context\n"
20720 "\n"
20721 msgstr ""
20722
20723 # type: =head2
20724 #: ../fish/guestfish-actions.pod:3339
20725 msgid "setxattr"
20726 msgstr ""
20727
20728 # type: verbatim
20729 #: ../fish/guestfish-actions.pod:3341
20730 #, no-wrap
20731 msgid ""
20732 " setxattr xattr val vallen path\n"
20733 "\n"
20734 msgstr ""
20735
20736 # type: textblock
20737 #: ../fish/guestfish-actions.pod:3347
20738 msgid "See also: C<lsetxattr>, L<attr(5)>."
20739 msgstr ""
20740
20741 # type: =head2
20742 #: ../fish/guestfish-actions.pod:3349
20743 msgid "sfdisk"
20744 msgstr ""
20745
20746 # type: verbatim
20747 #: ../fish/guestfish-actions.pod:3351
20748 #, no-wrap
20749 msgid ""
20750 " sfdisk device cyls heads sectors 'lines ...'\n"
20751 "\n"
20752 msgstr ""
20753
20754 # type: textblock
20755 #: ../fish/guestfish-actions.pod:3373
20756 msgid "See also: C<sfdisk-l>, C<sfdisk-N>, C<part-init>"
20757 msgstr ""
20758
20759 # type: =head2
20760 #: ../fish/guestfish-actions.pod:3379
20761 msgid "sfdiskM"
20762 msgstr ""
20763
20764 # type: verbatim
20765 #: ../fish/guestfish-actions.pod:3381
20766 #, no-wrap
20767 msgid ""
20768 " sfdiskM device 'lines ...'\n"
20769 "\n"
20770 msgstr ""
20771
20772 # type: textblock
20773 #: ../fish/guestfish-actions.pod:3383
20774 msgid ""
20775 "This is a simplified interface to the C<sfdisk> command, where partition "
20776 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
20777 "you don't need to specify the cyls, heads and sectors parameters which were "
20778 "rarely if ever used anyway."
20779 msgstr ""
20780
20781 # type: textblock
20782 #: ../fish/guestfish-actions.pod:3389
20783 msgid "See also: C<sfdisk>, the L<sfdisk(8)> manpage and C<part-disk>"
20784 msgstr ""
20785
20786 # type: =head2
20787 #: ../fish/guestfish-actions.pod:3395
20788 msgid "sfdisk-N"
20789 msgstr ""
20790
20791 # type: verbatim
20792 #: ../fish/guestfish-actions.pod:3397
20793 #, no-wrap
20794 msgid ""
20795 " sfdisk-N device partnum cyls heads sectors line\n"
20796 "\n"
20797 msgstr ""
20798
20799 # type: textblock
20800 #: ../fish/guestfish-actions.pod:3402
20801 msgid ""
20802 "For other parameters, see C<sfdisk>.  You should usually pass C<0> for the "
20803 "cyls/heads/sectors parameters."
20804 msgstr ""
20805
20806 # type: textblock
20807 #: ../fish/guestfish-actions.pod:3405
20808 msgid "See also: C<part-add>"
20809 msgstr ""
20810
20811 # type: =head2
20812 #: ../fish/guestfish-actions.pod:3410
20813 msgid "sfdisk-disk-geometry"
20814 msgstr ""
20815
20816 # type: verbatim
20817 #: ../fish/guestfish-actions.pod:3412
20818 #, no-wrap
20819 msgid ""
20820 " sfdisk-disk-geometry device\n"
20821 "\n"
20822 msgstr ""
20823
20824 # type: textblock
20825 #: ../fish/guestfish-actions.pod:3414
20826 msgid ""
20827 "This displays the disk geometry of C<device> read from the partition table.  "
20828 "Especially in the case where the underlying block device has been resized, "
20829 "this can be different from the kernel's idea of the geometry (see C<sfdisk-"
20830 "kernel-geometry>)."
20831 msgstr ""
20832
20833 # type: =head2
20834 #: ../fish/guestfish-actions.pod:3422
20835 msgid "sfdisk-kernel-geometry"
20836 msgstr ""
20837
20838 # type: verbatim
20839 #: ../fish/guestfish-actions.pod:3424
20840 #, no-wrap
20841 msgid ""
20842 " sfdisk-kernel-geometry device\n"
20843 "\n"
20844 msgstr ""
20845
20846 # type: =head2
20847 #: ../fish/guestfish-actions.pod:3431
20848 msgid "sfdisk-l"
20849 msgstr ""
20850
20851 # type: verbatim
20852 #: ../fish/guestfish-actions.pod:3433
20853 #, no-wrap
20854 msgid ""
20855 " sfdisk-l device\n"
20856 "\n"
20857 msgstr ""
20858
20859 # type: textblock
20860 #: ../fish/guestfish-actions.pod:3439
20861 msgid "See also: C<part-list>"
20862 msgstr ""
20863
20864 # type: =head2
20865 #: ../fish/guestfish-actions.pod:3441
20866 msgid "sh"
20867 msgstr ""
20868
20869 # type: verbatim
20870 #: ../fish/guestfish-actions.pod:3443
20871 #, no-wrap
20872 msgid ""
20873 " sh command\n"
20874 "\n"
20875 msgstr ""
20876
20877 # type: textblock
20878 #: ../fish/guestfish-actions.pod:3448
20879 msgid "This is like C<command>, but passes the command to:"
20880 msgstr ""
20881
20882 # type: textblock
20883 #: ../fish/guestfish-actions.pod:3456
20884 msgid "All the provisos about C<command> apply to this call."
20885 msgstr ""
20886
20887 # type: =head2
20888 #: ../fish/guestfish-actions.pod:3458
20889 msgid "sh-lines"
20890 msgstr ""
20891
20892 # type: verbatim
20893 #: ../fish/guestfish-actions.pod:3460
20894 #, no-wrap
20895 msgid ""
20896 " sh-lines command\n"
20897 "\n"
20898 msgstr ""
20899
20900 # type: textblock
20901 #: ../fish/guestfish-actions.pod:3462
20902 msgid "This is the same as C<sh>, but splits the result into a list of lines."
20903 msgstr ""
20904
20905 # type: textblock
20906 #: ../fish/guestfish-actions.pod:3465
20907 msgid "See also: C<command-lines>"
20908 msgstr ""
20909
20910 # type: =head2
20911 #: ../fish/guestfish-actions.pod:3467
20912 msgid "sleep"
20913 msgstr ""
20914
20915 # type: verbatim
20916 #: ../fish/guestfish-actions.pod:3469
20917 #, no-wrap
20918 msgid ""
20919 " sleep secs\n"
20920 "\n"
20921 msgstr ""
20922
20923 # type: =head2
20924 #: ../fish/guestfish-actions.pod:3473
20925 msgid "stat"
20926 msgstr ""
20927
20928 # type: verbatim
20929 #: ../fish/guestfish-actions.pod:3475
20930 #, no-wrap
20931 msgid ""
20932 " stat path\n"
20933 "\n"
20934 msgstr ""
20935
20936 # type: =head2
20937 #: ../fish/guestfish-actions.pod:3481
20938 msgid "statvfs"
20939 msgstr ""
20940
20941 # type: verbatim
20942 #: ../fish/guestfish-actions.pod:3483
20943 #, no-wrap
20944 msgid ""
20945 " statvfs path\n"
20946 "\n"
20947 msgstr ""
20948
20949 # type: =head2
20950 #: ../fish/guestfish-actions.pod:3491
20951 msgid "strings"
20952 msgstr ""
20953
20954 # type: verbatim
20955 #: ../fish/guestfish-actions.pod:3493
20956 #, no-wrap
20957 msgid ""
20958 " strings path\n"
20959 "\n"
20960 msgstr ""
20961
20962 # type: =head2
20963 #: ../fish/guestfish-actions.pod:3501
20964 msgid "strings-e"
20965 msgstr ""
20966
20967 # type: verbatim
20968 #: ../fish/guestfish-actions.pod:3503
20969 #, no-wrap
20970 msgid ""
20971 " strings-e encoding path\n"
20972 "\n"
20973 msgstr ""
20974
20975 # type: textblock
20976 #: ../fish/guestfish-actions.pod:3505
20977 msgid ""
20978 "This is like the C<strings> command, but allows you to specify the encoding "
20979 "of strings that are looked for in the source file C<path>."
20980 msgstr ""
20981
20982 # type: textblock
20983 #: ../fish/guestfish-actions.pod:3515
20984 msgid ""
20985 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
20986 "ISO-8859-X (this is what C<strings> uses)."
20987 msgstr ""
20988
20989 # type: =head2
20990 #: ../fish/guestfish-actions.pod:3547
20991 msgid "swapoff-device"
20992 msgstr ""
20993
20994 # type: verbatim
20995 #: ../fish/guestfish-actions.pod:3549
20996 #, no-wrap
20997 msgid ""
20998 " swapoff-device device\n"
20999 "\n"
21000 msgstr ""
21001
21002 # type: textblock
21003 #: ../fish/guestfish-actions.pod:3551
21004 msgid ""
21005 "This command disables the libguestfs appliance swap device or partition "
21006 "named C<device>.  See C<swapon-device>."
21007 msgstr ""
21008
21009 # type: =head2
21010 #: ../fish/guestfish-actions.pod:3555
21011 msgid "swapoff-file"
21012 msgstr ""
21013
21014 # type: verbatim
21015 #: ../fish/guestfish-actions.pod:3557
21016 #, no-wrap
21017 msgid ""
21018 " swapoff-file file\n"
21019 "\n"
21020 msgstr ""
21021
21022 # type: =head2
21023 #: ../fish/guestfish-actions.pod:3561
21024 msgid "swapoff-label"
21025 msgstr ""
21026
21027 # type: verbatim
21028 #: ../fish/guestfish-actions.pod:3563
21029 #, no-wrap
21030 msgid ""
21031 " swapoff-label label\n"
21032 "\n"
21033 msgstr ""
21034
21035 # type: =head2
21036 #: ../fish/guestfish-actions.pod:3568
21037 msgid "swapoff-uuid"
21038 msgstr ""
21039
21040 # type: verbatim
21041 #: ../fish/guestfish-actions.pod:3570
21042 #, no-wrap
21043 msgid ""
21044 " swapoff-uuid uuid\n"
21045 "\n"
21046 msgstr ""
21047
21048 # type: =head2
21049 #: ../fish/guestfish-actions.pod:3575
21050 msgid "swapon-device"
21051 msgstr ""
21052
21053 # type: verbatim
21054 #: ../fish/guestfish-actions.pod:3577
21055 #, no-wrap
21056 msgid ""
21057 " swapon-device device\n"
21058 "\n"
21059 msgstr ""
21060
21061 # type: textblock
21062 #: ../fish/guestfish-actions.pod:3579
21063 msgid ""
21064 "This command enables the libguestfs appliance to use the swap device or "
21065 "partition named C<device>.  The increased memory is made available for all "
21066 "commands, for example those run using C<command> or C<sh>."
21067 msgstr ""
21068
21069 # type: =head2
21070 #: ../fish/guestfish-actions.pod:3591
21071 msgid "swapon-file"
21072 msgstr ""
21073
21074 # type: verbatim
21075 #: ../fish/guestfish-actions.pod:3593
21076 #, no-wrap
21077 msgid ""
21078 " swapon-file file\n"
21079 "\n"
21080 msgstr ""
21081
21082 # type: textblock
21083 #: ../fish/guestfish-actions.pod:3595
21084 msgid ""
21085 "This command enables swap to a file.  See C<swapon-device> for other notes."
21086 msgstr ""
21087
21088 # type: =head2
21089 #: ../fish/guestfish-actions.pod:3598
21090 msgid "swapon-label"
21091 msgstr ""
21092
21093 # type: verbatim
21094 #: ../fish/guestfish-actions.pod:3600
21095 #, no-wrap
21096 msgid ""
21097 " swapon-label label\n"
21098 "\n"
21099 msgstr ""
21100
21101 # type: textblock
21102 #: ../fish/guestfish-actions.pod:3602
21103 msgid ""
21104 "This command enables swap to a labeled swap partition.  See C<swapon-device> "
21105 "for other notes."
21106 msgstr ""
21107
21108 # type: =head2
21109 #: ../fish/guestfish-actions.pod:3605
21110 msgid "swapon-uuid"
21111 msgstr ""
21112
21113 # type: verbatim
21114 #: ../fish/guestfish-actions.pod:3607
21115 #, no-wrap
21116 msgid ""
21117 " swapon-uuid uuid\n"
21118 "\n"
21119 msgstr ""
21120
21121 # type: textblock
21122 #: ../fish/guestfish-actions.pod:3609
21123 msgid ""
21124 "This command enables swap to a swap partition with the given UUID.  See "
21125 "C<swapon-device> for other notes."
21126 msgstr ""
21127
21128 # type: =head2
21129 #: ../fish/guestfish-actions.pod:3612
21130 msgid "sync"
21131 msgstr ""
21132
21133 # type: verbatim
21134 #: ../fish/guestfish-actions.pod:3614
21135 #, no-wrap
21136 msgid ""
21137 " sync\n"
21138 "\n"
21139 msgstr ""
21140
21141 # type: =head2
21142 #: ../fish/guestfish-actions.pod:3622
21143 msgid "tail"
21144 msgstr ""
21145
21146 # type: verbatim
21147 #: ../fish/guestfish-actions.pod:3624
21148 #, no-wrap
21149 msgid ""
21150 " tail path\n"
21151 "\n"
21152 msgstr ""
21153
21154 # type: =head2
21155 #: ../fish/guestfish-actions.pod:3632
21156 msgid "tail-n"
21157 msgstr ""
21158
21159 # type: verbatim
21160 #: ../fish/guestfish-actions.pod:3634
21161 #, no-wrap
21162 msgid ""
21163 " tail-n nrlines path\n"
21164 "\n"
21165 msgstr ""
21166
21167 # type: =head2
21168 #: ../fish/guestfish-actions.pod:3647
21169 msgid "tar-in"
21170 msgstr ""
21171
21172 # type: verbatim
21173 #: ../fish/guestfish-actions.pod:3649
21174 #, no-wrap
21175 msgid ""
21176 " tar-in (tarfile|-) directory\n"
21177 "\n"
21178 msgstr ""
21179
21180 # type: textblock
21181 #: ../fish/guestfish-actions.pod:3654
21182 msgid "To upload a compressed tarball, use C<tgz-in> or C<txz-in>."
21183 msgstr ""
21184
21185 # type: =head2
21186 #: ../fish/guestfish-actions.pod:3659
21187 msgid "tar-out"
21188 msgstr ""
21189
21190 # type: verbatim
21191 #: ../fish/guestfish-actions.pod:3661
21192 #, no-wrap
21193 msgid ""
21194 " tar-out directory (tarfile|-)\n"
21195 "\n"
21196 msgstr ""
21197
21198 # type: textblock
21199 #: ../fish/guestfish-actions.pod:3666
21200 msgid "To download a compressed tarball, use C<tgz-out> or C<txz-out>."
21201 msgstr ""
21202
21203 # type: =head2
21204 #: ../fish/guestfish-actions.pod:3671
21205 msgid "tgz-in"
21206 msgstr ""
21207
21208 # type: verbatim
21209 #: ../fish/guestfish-actions.pod:3673
21210 #, no-wrap
21211 msgid ""
21212 " tgz-in (tarball|-) directory\n"
21213 "\n"
21214 msgstr ""
21215
21216 # type: textblock
21217 #: ../fish/guestfish-actions.pod:3678
21218 msgid "To upload an uncompressed tarball, use C<tar-in>."
21219 msgstr ""
21220
21221 # type: =head2
21222 #: ../fish/guestfish-actions.pod:3682
21223 msgid "tgz-out"
21224 msgstr ""
21225
21226 # type: verbatim
21227 #: ../fish/guestfish-actions.pod:3684
21228 #, no-wrap
21229 msgid ""
21230 " tgz-out directory (tarball|-)\n"
21231 "\n"
21232 msgstr ""
21233
21234 # type: textblock
21235 #: ../fish/guestfish-actions.pod:3689
21236 msgid "To download an uncompressed tarball, use C<tar-out>."
21237 msgstr ""
21238
21239 # type: =head2
21240 #: ../fish/guestfish-actions.pod:3693
21241 msgid "touch"
21242 msgstr ""
21243
21244 # type: verbatim
21245 #: ../fish/guestfish-actions.pod:3695
21246 #, no-wrap
21247 msgid ""
21248 " touch path\n"
21249 "\n"
21250 msgstr ""
21251
21252 # type: =head2
21253 #: ../fish/guestfish-actions.pod:3704
21254 msgid "truncate"
21255 msgstr ""
21256
21257 # type: verbatim
21258 #: ../fish/guestfish-actions.pod:3706
21259 #, no-wrap
21260 msgid ""
21261 " truncate path\n"
21262 "\n"
21263 msgstr ""
21264
21265 # type: =head2
21266 #: ../fish/guestfish-actions.pod:3711
21267 msgid "truncate-size"
21268 msgstr ""
21269
21270 # type: verbatim
21271 #: ../fish/guestfish-actions.pod:3713
21272 #, no-wrap
21273 msgid ""
21274 " truncate-size path size\n"
21275 "\n"
21276 msgstr ""
21277
21278 # type: textblock
21279 #: ../fish/guestfish-actions.pod:3718
21280 msgid ""
21281 "If the current file size is less than C<size> then the file is extended to "
21282 "the required size with zero bytes.  This creates a sparse file (ie. disk "
21283 "blocks are not allocated for the file until you write to it).  To create a "
21284 "non-sparse file of zeroes, use C<fallocate64> instead."
21285 msgstr ""
21286
21287 # type: =head2
21288 #: ../fish/guestfish-actions.pod:3724
21289 msgid "tune2fs-l"
21290 msgstr ""
21291
21292 # type: verbatim
21293 #: ../fish/guestfish-actions.pod:3726
21294 #, no-wrap
21295 msgid ""
21296 " tune2fs-l device\n"
21297 "\n"
21298 msgstr ""
21299
21300 # type: =head2
21301 #: ../fish/guestfish-actions.pod:3736
21302 msgid "txz-in"
21303 msgstr ""
21304
21305 # type: verbatim
21306 #: ../fish/guestfish-actions.pod:3738
21307 #, no-wrap
21308 msgid ""
21309 " txz-in (tarball|-) directory\n"
21310 "\n"
21311 msgstr ""
21312
21313 # type: =head2
21314 #: ../fish/guestfish-actions.pod:3745
21315 msgid "txz-out"
21316 msgstr ""
21317
21318 # type: verbatim
21319 #: ../fish/guestfish-actions.pod:3747
21320 #, no-wrap
21321 msgid ""
21322 " txz-out directory (tarball|-)\n"
21323 "\n"
21324 msgstr ""
21325
21326 # type: =head2
21327 #: ../fish/guestfish-actions.pod:3754
21328 msgid "umask"
21329 msgstr ""
21330
21331 # type: verbatim
21332 #: ../fish/guestfish-actions.pod:3756
21333 #, no-wrap
21334 msgid ""
21335 " umask mask\n"
21336 "\n"
21337 msgstr ""
21338
21339 # type: textblock
21340 #: ../fish/guestfish-actions.pod:3770
21341 msgid "See also C<get-umask>, L<umask(2)>, C<mknod>, C<mkdir>."
21342 msgstr ""
21343
21344 # type: =head2
21345 #: ../fish/guestfish-actions.pod:3775
21346 msgid "umount | unmount"
21347 msgstr ""
21348
21349 # type: verbatim
21350 #: ../fish/guestfish-actions.pod:3777
21351 #, no-wrap
21352 msgid ""
21353 " umount pathordevice\n"
21354 "\n"
21355 msgstr ""
21356
21357 # type: =head2
21358 #: ../fish/guestfish-actions.pod:3783
21359 msgid "umount-all | unmount-all"
21360 msgstr ""
21361
21362 # type: verbatim
21363 #: ../fish/guestfish-actions.pod:3785
21364 #, no-wrap
21365 msgid ""
21366 " umount-all\n"
21367 "\n"
21368 msgstr ""
21369
21370 # type: =head2
21371 #: ../fish/guestfish-actions.pod:3791
21372 msgid "upload"
21373 msgstr ""
21374
21375 # type: verbatim
21376 #: ../fish/guestfish-actions.pod:3793
21377 #, no-wrap
21378 msgid ""
21379 " upload (filename|-) remotefilename\n"
21380 "\n"
21381 msgstr ""
21382
21383 # type: textblock
21384 #: ../fish/guestfish-actions.pod:3800
21385 msgid "See also C<download>."
21386 msgstr ""
21387
21388 # type: =head2
21389 #: ../fish/guestfish-actions.pod:3804
21390 msgid "utimens"
21391 msgstr ""
21392
21393 # type: verbatim
21394 #: ../fish/guestfish-actions.pod:3806
21395 #, no-wrap
21396 msgid ""
21397 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
21398 "\n"
21399 msgstr ""
21400
21401 # type: =head2
21402 #: ../fish/guestfish-actions.pod:3825
21403 msgid "version"
21404 msgstr ""
21405
21406 # type: verbatim
21407 #: ../fish/guestfish-actions.pod:3827
21408 #, no-wrap
21409 msgid ""
21410 " version\n"
21411 "\n"
21412 msgstr ""
21413
21414 # type: textblock
21415 #: ../fish/guestfish-actions.pod:3854
21416 msgid ""
21417 "I<Note:> Don't use this call to test for availability of features.  In "
21418 "enterprise distributions we backport features from later versions into "
21419 "earlier versions, making this an unreliable way to test for features.  Use "
21420 "C<available> instead."
21421 msgstr ""
21422
21423 # type: =head2
21424 #: ../fish/guestfish-actions.pod:3860
21425 msgid "vfs-label"
21426 msgstr ""
21427
21428 # type: verbatim
21429 #: ../fish/guestfish-actions.pod:3862
21430 #, no-wrap
21431 msgid ""
21432 " vfs-label device\n"
21433 "\n"
21434 msgstr ""
21435
21436 # type: textblock
21437 #: ../fish/guestfish-actions.pod:3869
21438 msgid "To find a filesystem from the label, use C<findfs-label>."
21439 msgstr ""
21440
21441 # type: =head2
21442 #: ../fish/guestfish-actions.pod:3871
21443 msgid "vfs-type"
21444 msgstr ""
21445
21446 # type: verbatim
21447 #: ../fish/guestfish-actions.pod:3873
21448 #, no-wrap
21449 msgid ""
21450 " vfs-type device\n"
21451 "\n"
21452 msgstr ""
21453
21454 # type: =head2
21455 #: ../fish/guestfish-actions.pod:3883
21456 msgid "vfs-uuid"
21457 msgstr ""
21458
21459 # type: verbatim
21460 #: ../fish/guestfish-actions.pod:3885
21461 #, no-wrap
21462 msgid ""
21463 " vfs-uuid device\n"
21464 "\n"
21465 msgstr ""
21466
21467 # type: textblock
21468 #: ../fish/guestfish-actions.pod:3892
21469 msgid "To find a filesystem from the UUID, use C<findfs-uuid>."
21470 msgstr ""
21471
21472 # type: =head2
21473 #: ../fish/guestfish-actions.pod:3894
21474 msgid "vg-activate"
21475 msgstr ""
21476
21477 # type: verbatim
21478 #: ../fish/guestfish-actions.pod:3896
21479 #, no-wrap
21480 msgid ""
21481 " vg-activate true|false 'volgroups ...'\n"
21482 "\n"
21483 msgstr ""
21484
21485 # type: =head2
21486 #: ../fish/guestfish-actions.pod:3909
21487 msgid "vg-activate-all"
21488 msgstr ""
21489
21490 # type: verbatim
21491 #: ../fish/guestfish-actions.pod:3911
21492 #, no-wrap
21493 msgid ""
21494 " vg-activate-all true|false\n"
21495 "\n"
21496 msgstr ""
21497
21498 # type: =head2
21499 #: ../fish/guestfish-actions.pod:3921
21500 msgid "vgcreate"
21501 msgstr ""
21502
21503 # type: verbatim
21504 #: ../fish/guestfish-actions.pod:3923
21505 #, no-wrap
21506 msgid ""
21507 " vgcreate volgroup 'physvols ...'\n"
21508 "\n"
21509 msgstr ""
21510
21511 # type: =head2
21512 #: ../fish/guestfish-actions.pod:3928
21513 msgid "vglvuuids"
21514 msgstr ""
21515
21516 # type: verbatim
21517 #: ../fish/guestfish-actions.pod:3930
21518 #, no-wrap
21519 msgid ""
21520 " vglvuuids vgname\n"
21521 "\n"
21522 msgstr ""
21523
21524 # type: textblock
21525 #: ../fish/guestfish-actions.pod:3935
21526 msgid ""
21527 "You can use this along with C<lvs> and C<lvuuid> calls to associate logical "
21528 "volumes and volume groups."
21529 msgstr ""
21530
21531 # type: textblock
21532 #: ../fish/guestfish-actions.pod:3938
21533 msgid "See also C<vgpvuuids>."
21534 msgstr ""
21535
21536 # type: =head2
21537 #: ../fish/guestfish-actions.pod:3940
21538 msgid "vgpvuuids"
21539 msgstr ""
21540
21541 # type: verbatim
21542 #: ../fish/guestfish-actions.pod:3942
21543 #, no-wrap
21544 msgid ""
21545 " vgpvuuids vgname\n"
21546 "\n"
21547 msgstr ""
21548
21549 # type: textblock
21550 #: ../fish/guestfish-actions.pod:3947
21551 msgid ""
21552 "You can use this along with C<pvs> and C<pvuuid> calls to associate physical "
21553 "volumes and volume groups."
21554 msgstr ""
21555
21556 # type: textblock
21557 #: ../fish/guestfish-actions.pod:3950
21558 msgid "See also C<vglvuuids>."
21559 msgstr ""
21560
21561 # type: =head2
21562 #: ../fish/guestfish-actions.pod:3952
21563 msgid "vgremove"
21564 msgstr ""
21565
21566 # type: verbatim
21567 #: ../fish/guestfish-actions.pod:3954
21568 #, no-wrap
21569 msgid ""
21570 " vgremove vgname\n"
21571 "\n"
21572 msgstr ""
21573
21574 # type: =head2
21575 #: ../fish/guestfish-actions.pod:3961
21576 msgid "vgrename"
21577 msgstr ""
21578
21579 # type: verbatim
21580 #: ../fish/guestfish-actions.pod:3963
21581 #, no-wrap
21582 msgid ""
21583 " vgrename volgroup newvolgroup\n"
21584 "\n"
21585 msgstr ""
21586
21587 # type: =head2
21588 #: ../fish/guestfish-actions.pod:3967
21589 msgid "vgs"
21590 msgstr ""
21591
21592 # type: verbatim
21593 #: ../fish/guestfish-actions.pod:3969
21594 #, no-wrap
21595 msgid ""
21596 " vgs\n"
21597 "\n"
21598 msgstr ""
21599
21600 # type: textblock
21601 #: ../fish/guestfish-actions.pod:3977
21602 msgid "See also C<vgs-full>."
21603 msgstr ""
21604
21605 # type: =head2
21606 #: ../fish/guestfish-actions.pod:3979
21607 msgid "vgs-full"
21608 msgstr ""
21609
21610 # type: verbatim
21611 #: ../fish/guestfish-actions.pod:3981
21612 #, no-wrap
21613 msgid ""
21614 " vgs-full\n"
21615 "\n"
21616 msgstr ""
21617
21618 # type: =head2
21619 #: ../fish/guestfish-actions.pod:3986
21620 msgid "vgscan"
21621 msgstr ""
21622
21623 # type: verbatim
21624 #: ../fish/guestfish-actions.pod:3988
21625 #, no-wrap
21626 msgid ""
21627 " vgscan\n"
21628 "\n"
21629 msgstr ""
21630
21631 # type: =head2
21632 #: ../fish/guestfish-actions.pod:3993
21633 msgid "vguuid"
21634 msgstr ""
21635
21636 # type: verbatim
21637 #: ../fish/guestfish-actions.pod:3995
21638 #, no-wrap
21639 msgid ""
21640 " vguuid vgname\n"
21641 "\n"
21642 msgstr ""
21643
21644 # type: =head2
21645 #: ../fish/guestfish-actions.pod:3999
21646 msgid "wc-c"
21647 msgstr ""
21648
21649 # type: verbatim
21650 #: ../fish/guestfish-actions.pod:4001
21651 #, no-wrap
21652 msgid ""
21653 " wc-c path\n"
21654 "\n"
21655 msgstr ""
21656
21657 # type: =head2
21658 #: ../fish/guestfish-actions.pod:4006
21659 msgid "wc-l"
21660 msgstr ""
21661
21662 # type: verbatim
21663 #: ../fish/guestfish-actions.pod:4008
21664 #, no-wrap
21665 msgid ""
21666 " wc-l path\n"
21667 "\n"
21668 msgstr ""
21669
21670 # type: =head2
21671 #: ../fish/guestfish-actions.pod:4013
21672 msgid "wc-w"
21673 msgstr ""
21674
21675 # type: verbatim
21676 #: ../fish/guestfish-actions.pod:4015
21677 #, no-wrap
21678 msgid ""
21679 " wc-w path\n"
21680 "\n"
21681 msgstr ""
21682
21683 # type: =head2
21684 #: ../fish/guestfish-actions.pod:4020
21685 msgid "write"
21686 msgstr ""
21687
21688 # type: verbatim
21689 #: ../fish/guestfish-actions.pod:4022
21690 #, no-wrap
21691 msgid ""
21692 " write path content\n"
21693 "\n"
21694 msgstr ""
21695
21696 # type: =head2
21697 #: ../fish/guestfish-actions.pod:4030
21698 msgid "write-file"
21699 msgstr ""
21700
21701 # type: verbatim
21702 #: ../fish/guestfish-actions.pod:4032
21703 #, no-wrap
21704 msgid ""
21705 " write-file path content size\n"
21706 "\n"
21707 msgstr ""
21708
21709 # type: =head2
21710 #: ../fish/guestfish-actions.pod:4055
21711 msgid "zegrep"
21712 msgstr ""
21713
21714 # type: verbatim
21715 #: ../fish/guestfish-actions.pod:4057
21716 #, no-wrap
21717 msgid ""
21718 " zegrep regex path\n"
21719 "\n"
21720 msgstr ""
21721
21722 # type: =head2
21723 #: ../fish/guestfish-actions.pod:4065
21724 msgid "zegrepi"
21725 msgstr ""
21726
21727 # type: verbatim
21728 #: ../fish/guestfish-actions.pod:4067
21729 #, no-wrap
21730 msgid ""
21731 " zegrepi regex path\n"
21732 "\n"
21733 msgstr ""
21734
21735 # type: =head2
21736 #: ../fish/guestfish-actions.pod:4075
21737 msgid "zero"
21738 msgstr ""
21739
21740 # type: verbatim
21741 #: ../fish/guestfish-actions.pod:4077
21742 #, no-wrap
21743 msgid ""
21744 " zero device\n"
21745 "\n"
21746 msgstr ""
21747
21748 # type: textblock
21749 #: ../fish/guestfish-actions.pod:4085
21750 msgid "See also: C<zero-device>, C<scrub-device>."
21751 msgstr ""
21752
21753 # type: =head2
21754 #: ../fish/guestfish-actions.pod:4087
21755 msgid "zero-device"
21756 msgstr ""
21757
21758 # type: verbatim
21759 #: ../fish/guestfish-actions.pod:4089
21760 #, no-wrap
21761 msgid ""
21762 " zero-device device\n"
21763 "\n"
21764 msgstr ""
21765
21766 # type: textblock
21767 #: ../fish/guestfish-actions.pod:4091
21768 msgid ""
21769 "This command writes zeroes over the entire C<device>.  Compare with C<zero> "
21770 "which just zeroes the first few blocks of a device."
21771 msgstr ""
21772
21773 # type: =head2
21774 #: ../fish/guestfish-actions.pod:4098
21775 msgid "zerofree"
21776 msgstr ""
21777
21778 # type: verbatim
21779 #: ../fish/guestfish-actions.pod:4100
21780 #, no-wrap
21781 msgid ""
21782 " zerofree device\n"
21783 "\n"
21784 msgstr ""
21785
21786 # type: =head2
21787 #: ../fish/guestfish-actions.pod:4113
21788 msgid "zfgrep"
21789 msgstr ""
21790
21791 # type: verbatim
21792 #: ../fish/guestfish-actions.pod:4115
21793 #, no-wrap
21794 msgid ""
21795 " zfgrep pattern path\n"
21796 "\n"
21797 msgstr ""
21798
21799 # type: =head2
21800 #: ../fish/guestfish-actions.pod:4123
21801 msgid "zfgrepi"
21802 msgstr ""
21803
21804 # type: verbatim
21805 #: ../fish/guestfish-actions.pod:4125
21806 #, no-wrap
21807 msgid ""
21808 " zfgrepi pattern path\n"
21809 "\n"
21810 msgstr ""
21811
21812 # type: =head2
21813 #: ../fish/guestfish-actions.pod:4133
21814 msgid "zfile"
21815 msgstr ""
21816
21817 # type: verbatim
21818 #: ../fish/guestfish-actions.pod:4135
21819 #, no-wrap
21820 msgid ""
21821 " zfile meth path\n"
21822 "\n"
21823 msgstr ""
21824
21825 # type: textblock
21826 #: ../fish/guestfish-actions.pod:4142
21827 msgid ""
21828 "Since 1.0.63, use C<file> instead which can now process compressed files."
21829 msgstr ""
21830
21831 # type: =head2
21832 #: ../fish/guestfish-actions.pod:4152
21833 msgid "zgrep"
21834 msgstr ""
21835
21836 # type: verbatim
21837 #: ../fish/guestfish-actions.pod:4154
21838 #, no-wrap
21839 msgid ""
21840 " zgrep regex path\n"
21841 "\n"
21842 msgstr ""
21843
21844 # type: =head2
21845 #: ../fish/guestfish-actions.pod:4162
21846 msgid "zgrepi"
21847 msgstr ""
21848
21849 # type: verbatim
21850 #: ../fish/guestfish-actions.pod:4164
21851 #, no-wrap
21852 msgid ""
21853 " zgrepi regex path\n"
21854 "\n"
21855 msgstr ""
21856
21857 # type: textblock
21858 #: ../test-tool/libguestfs-test-tool.pod:5
21859 msgid "libguestfs-test-tool - End user tests for libguestfs"
21860 msgstr ""
21861
21862 # type: verbatim
21863 #: ../test-tool/libguestfs-test-tool.pod:9
21864 #, no-wrap
21865 msgid ""
21866 " libguestfs-test-tool [--options]\n"
21867 "\n"
21868 msgstr ""
21869
21870 # type: textblock
21871 #: ../test-tool/libguestfs-test-tool.pod:13
21872 msgid ""
21873 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
21874 "and developers, to allow them to check basic libguestfs functionality is "
21875 "working.  This is needed because libguestfs occasionally breaks for reasons "
21876 "beyond our control: usually because of changes in the underlying qemu or "
21877 "kernel packages, or the host environment."
21878 msgstr ""
21879
21880 # type: textblock
21881 #: ../test-tool/libguestfs-test-tool.pod:20
21882 msgid "If you suspect a problem in libguestfs, then just run:"
21883 msgstr ""
21884
21885 # type: verbatim
21886 #: ../test-tool/libguestfs-test-tool.pod:22
21887 #, no-wrap
21888 msgid ""
21889 " libguestfs-test-tool\n"
21890 "\n"
21891 msgstr ""
21892
21893 # type: textblock
21894 #: ../test-tool/libguestfs-test-tool.pod:24
21895 msgid "It will print lots of diagnostic messages."
21896 msgstr ""
21897
21898 # type: textblock
21899 #: ../test-tool/libguestfs-test-tool.pod:26
21900 msgid "If it runs to completion successfully, you will see this near the end:"
21901 msgstr ""
21902
21903 # type: verbatim
21904 #: ../test-tool/libguestfs-test-tool.pod:28
21905 #, no-wrap
21906 msgid ""
21907 " ===== TEST FINISHED OK =====\n"
21908 "\n"
21909 msgstr ""
21910
21911 # type: textblock
21912 #: ../test-tool/libguestfs-test-tool.pod:30
21913 msgid "and the test tool will exit with code 0."
21914 msgstr ""
21915
21916 # type: textblock
21917 #: ../test-tool/libguestfs-test-tool.pod:32
21918 msgid ""
21919 "If it fails (and/or exits with non-zero error code), please paste the "
21920 "B<complete, unedited> output of the test tool into a bug report.  More "
21921 "information about reporting bugs can be found on the L<http://libguestfs.org/"
21922 "> website."
21923 msgstr ""
21924
21925 # type: =item
21926 #: ../test-tool/libguestfs-test-tool.pod:41
21927 msgid "I<--help>"
21928 msgstr ""
21929
21930 # type: textblock
21931 #: ../test-tool/libguestfs-test-tool.pod:43
21932 msgid "Display short usage information and exit."
21933 msgstr ""
21934
21935 # type: =item
21936 #: ../test-tool/libguestfs-test-tool.pod:45
21937 msgid "I<--helper /path/to/libguestfs-test-tool-helper>"
21938 msgstr ""
21939
21940 # type: textblock
21941 #: ../test-tool/libguestfs-test-tool.pod:47
21942 msgid ""
21943 "Pass an alternate name for the helper program.  libguestfs-test-tool will "
21944 "normally look in the C<$libexec> directory that was configured when the tool "
21945 "was built."
21946 msgstr ""
21947
21948 # type: =item
21949 #: ../test-tool/libguestfs-test-tool.pod:51
21950 msgid "I<--qemu qemu_binary>"
21951 msgstr ""
21952
21953 # type: textblock
21954 #: ../test-tool/libguestfs-test-tool.pod:53
21955 msgid ""
21956 "If you have downloaded another qemu binary, point this option at the full "
21957 "path of the binary to try it."
21958 msgstr ""
21959
21960 # type: =item
21961 #: ../test-tool/libguestfs-test-tool.pod:56
21962 msgid "I<--qemudir qemu_source_dir>"
21963 msgstr ""
21964
21965 # type: textblock
21966 #: ../test-tool/libguestfs-test-tool.pod:58
21967 msgid ""
21968 "If you have compiled qemu from source, point this option at the source "
21969 "directory to try it."
21970 msgstr ""
21971
21972 # type: =item
21973 #: ../test-tool/libguestfs-test-tool.pod:61
21974 msgid "I<--timeout N>"
21975 msgstr ""
21976
21977 # type: textblock
21978 #: ../test-tool/libguestfs-test-tool.pod:63
21979 msgid ""
21980 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
21981 "does not usually need to be adjusted unless your machine is very slow."
21982 msgstr ""
21983
21984 # type: =head1
21985 #: ../test-tool/libguestfs-test-tool.pod:69
21986 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
21987 msgstr ""
21988
21989 # type: textblock
21990 #: ../test-tool/libguestfs-test-tool.pod:71
21991 msgid ""
21992 "If you have compiled another version of qemu from source and would like to "
21993 "try that, then you can use the I<--qemudir> option to point to the qemu "
21994 "source directory."
21995 msgstr ""
21996
21997 # type: textblock
21998 #: ../test-tool/libguestfs-test-tool.pod:75
21999 msgid ""
22000 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
22001 "option to point to the binary."
22002 msgstr ""
22003
22004 # type: textblock
22005 #: ../test-tool/libguestfs-test-tool.pod:78
22006 msgid ""
22007 "When using an alternate qemu with libguestfs, usually you would need to "
22008 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in L<guestfs(3)"
22009 ">).  libguestfs-test-tool writes a temporary qemu wrapper script when you "
22010 "use either of the I<--qemudir> or I<--qemu> options."
22011 msgstr ""
22012
22013 # type: textblock
22014 #: ../test-tool/libguestfs-test-tool.pod:85
22015 msgid ""
22016 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
22017 "I<1> if there was an error."
22018 msgstr ""
22019
22020 # type: =item
22021 #: ../test-tool/libguestfs-test-tool.pod:92
22022 msgid "/usr/libexec/libguestfs-test-tool-helper"
22023 msgstr ""
22024
22025 # type: textblock
22026 #: ../test-tool/libguestfs-test-tool.pod:94
22027 msgid ""
22028 "This helper program is run inside the appliance and provides additional "
22029 "tests."
22030 msgstr ""
22031
22032 # type: =item
22033 #: ../test-tool/libguestfs-test-tool.pod:97
22034 msgid "/usr/bin/mkisofs"
22035 msgstr ""
22036
22037 # type: textblock
22038 #: ../test-tool/libguestfs-test-tool.pod:99
22039 msgid ""
22040 "The C<mkisofs> command is required in order to construct a CD-ROM ISO file "
22041 "which is used as part of the tests."
22042 msgstr ""
22043
22044 # type: textblock
22045 #: ../test-tool/libguestfs-test-tool.pod:106
22046 msgid ""
22047 "For the full list of environment variables which may affect libguestfs, "
22048 "please see the L<guestfs(3)> manual page."
22049 msgstr ""
22050
22051 # type: textblock
22052 #: ../test-tool/libguestfs-test-tool.pod:111
22053 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
22054 msgstr ""
22055
22056 # type: textblock
22057 #: ../test-tool/libguestfs-test-tool.pod:121 ../fuse/guestmount.pod:195
22058 msgid "Copyright (C) 2009 Red Hat Inc.  L<http://libguestfs.org/>"
22059 msgstr ""
22060
22061 # type: textblock
22062 #: ../fuse/guestmount.pod:5
22063 msgid ""
22064 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
22065 msgstr ""
22066
22067 # type: verbatim
22068 #: ../fuse/guestmount.pod:9
22069 #, no-wrap
22070 msgid ""
22071 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
22072 "\n"
22073 msgstr ""
22074
22075 # type: textblock
22076 #: ../fuse/guestmount.pod:13
22077 msgid ""
22078 "You must I<not> use C<guestmount> in read-write mode on live virtual "
22079 "machines.  If you do this, you risk disk corruption in the VM."
22080 msgstr ""
22081
22082 # type: textblock
22083 #: ../fuse/guestmount.pod:18
22084 msgid ""
22085 "The guestmount program can be used to mount virtual machine filesystems and "
22086 "other disk images on the host.  It uses libguestfs for access to the guest "
22087 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
22088 "a mountable device."
22089 msgstr ""
22090
22091 # type: textblock
22092 #: ../fuse/guestmount.pod:23
22093 msgid ""
22094 "Along with other options, you have to give at least one device (I<-a> "
22095 "option) and at least one mountpoint (I<-m> option).  How this works is "
22096 "better explained in the L<guestfish(1)> manual page, or you can use L<virt-"
22097 "inspector(1)> and/or the wrapper script C<guestmount-wrapper> to help you."
22098 msgstr ""
22099
22100 # type: textblock
22101 #: ../fuse/guestmount.pod:29
22102 msgid ""
22103 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
22104 "by you, and the filesystem will not be visible to any other users unless you "
22105 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
22106 "the filesystem, use the C<fusermount -u> command."
22107 msgstr ""
22108
22109 # type: textblock
22110 #: ../fuse/guestmount.pod:37
22111 msgid ""
22112 "For a typical Windows guest which has its main filesystem on the first "
22113 "partition:"
22114 msgstr ""
22115
22116 # type: verbatim
22117 #: ../fuse/guestmount.pod:40
22118 #, no-wrap
22119 msgid ""
22120 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
22121 "\n"
22122 msgstr ""
22123
22124 # type: textblock
22125 #: ../fuse/guestmount.pod:42
22126 msgid ""
22127 "For a typical Linux guest which has a /boot filesystem on the first "
22128 "partition, and the root filesystem on a logical volume:"
22129 msgstr ""
22130
22131 # type: verbatim
22132 #: ../fuse/guestmount.pod:45
22133 #, no-wrap
22134 msgid ""
22135 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
22136 "\n"
22137 msgstr ""
22138
22139 # type: textblock
22140 #: ../fuse/guestmount.pod:47
22141 msgid ""
22142 "To get L<virt-inspector(1)> to do the hard work of detecting guest "
22143 "mountpoints for you:"
22144 msgstr ""
22145
22146 # type: verbatim
22147 #: ../fuse/guestmount.pod:50
22148 #, no-wrap
22149 msgid ""
22150 " guestmount $(virt-inspector --ro-fish MyGuest) /mnt\n"
22151 "\n"
22152 msgstr ""
22153
22154 # type: textblock
22155 #: ../fuse/guestmount.pod:52
22156 msgid ""
22157 "(or use --fish if you don't want it to be a read only mount).  The option is "
22158 "called I<--ro-fish> or I<--fish> because these parameters are compatible "
22159 "with L<guestfish(1)>."
22160 msgstr ""
22161
22162 # type: textblock
22163 #: ../fuse/guestmount.pod:56
22164 msgid ""
22165 "If you don't know what filesystems are contained in a guest or disk image, "
22166 "use L<virt-list-filesystems(1)> first:"
22167 msgstr ""
22168
22169 # type: verbatim
22170 #: ../fuse/guestmount.pod:59
22171 #, no-wrap
22172 msgid ""
22173 " virt-list-filesystems MyGuest\n"
22174 "\n"
22175 msgstr ""
22176
22177 # type: textblock
22178 #: ../fuse/guestmount.pod:61
22179 msgid ""
22180 "If you want to trace the libguestfs calls but without excessive debugging, "
22181 "we recommend:"
22182 msgstr ""
22183
22184 # type: verbatim
22185 #: ../fuse/guestmount.pod:64
22186 #, no-wrap
22187 msgid ""
22188 " guestmount [-a ... -m ...] --trace /mnt\n"
22189 "\n"
22190 msgstr ""
22191
22192 # type: textblock
22193 #: ../fuse/guestmount.pod:66
22194 msgid "If you want to debug the program, we recommend:"
22195 msgstr ""
22196
22197 # type: verbatim
22198 #: ../fuse/guestmount.pod:68
22199 #, no-wrap
22200 msgid ""
22201 " guestmount [-a ... -m ...] --trace --verbose /mnt\n"
22202 "\n"
22203 msgstr ""
22204
22205 # type: textblock
22206 #: ../fuse/guestmount.pod:76
22207 msgid "Add a block device or virtual machine image."
22208 msgstr ""
22209
22210 # type: =item
22211 #: ../fuse/guestmount.pod:78
22212 msgid "B<--dir-cache-timeout N>"
22213 msgstr ""
22214
22215 # type: textblock
22216 #: ../fuse/guestmount.pod:80
22217 msgid ""
22218 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
22219 "seconds.  The readdir cache [actually, there are several semi-independent "
22220 "caches] is populated after a readdir(2) call with the stat and extended "
22221 "attributes of the files in the directory, in anticipation that they will be "
22222 "requested soon after."
22223 msgstr ""
22224
22225 # type: textblock
22226 #: ../fuse/guestmount.pod:86
22227 msgid ""
22228 "There is also a different attribute cache implemented by FUSE (see the FUSE "
22229 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
22230 "requests, only cache existing ones."
22231 msgstr ""
22232
22233 # type: =item
22234 #: ../fuse/guestmount.pod:90
22235 msgid "B<--fuse-help>"
22236 msgstr ""
22237
22238 # type: textblock
22239 #: ../fuse/guestmount.pod:92
22240 msgid "Display help on special FUSE options (see I<-o> below)."
22241 msgstr ""
22242
22243 # type: textblock
22244 #: ../fuse/guestmount.pod:96
22245 msgid "Display brief help and exit."
22246 msgstr ""
22247
22248 # type: =item
22249 #: ../fuse/guestmount.pod:98
22250 msgid "B<-m dev[:mnt]> | B<--mount dev[:mnt]>"
22251 msgstr ""
22252
22253 # type: textblock
22254 #: ../fuse/guestmount.pod:100
22255 msgid ""
22256 "Mount the named partition or logical volume on the given mountpoint B<in the "
22257 "guest> (this has nothing to do with mountpoints in the host)."
22258 msgstr ""
22259
22260 # type: textblock
22261 #: ../fuse/guestmount.pod:103
22262 msgid ""
22263 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
22264 "something on C</>."
22265 msgstr ""
22266
22267 # type: textblock
22268 #: ../fuse/guestmount.pod:108
22269 msgid ""
22270 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
22271 "unmounted.  If you specify this option, then we don't attempt to sync the "
22272 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
22273 msgstr ""
22274
22275 # type: =item
22276 #: ../fuse/guestmount.pod:113
22277 msgid "B<-o option> | B<--option option>"
22278 msgstr ""
22279
22280 # type: textblock
22281 #: ../fuse/guestmount.pod:115
22282 msgid "Pass extra options to FUSE."
22283 msgstr ""
22284
22285 # type: textblock
22286 #: ../fuse/guestmount.pod:117
22287 msgid ""
22288 "To get a list of all the extra options supported by FUSE, use the command "
22289 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
22290 "of them are a good idea."
22291 msgstr ""
22292
22293 # type: verbatim
22294 #: ../fuse/guestmount.pod:121
22295 #, no-wrap
22296 msgid ""
22297 " guestmount --fuse-help\n"
22298 "\n"
22299 msgstr ""
22300
22301 # type: textblock
22302 #: ../fuse/guestmount.pod:123
22303 msgid "Some potentially useful FUSE options:"
22304 msgstr ""
22305
22306 # type: =item
22307 #: ../fuse/guestmount.pod:127
22308 msgid "B<-o allow_other>"
22309 msgstr ""
22310
22311 # type: textblock
22312 #: ../fuse/guestmount.pod:129
22313 msgid "Allow other users to see the filesystem."
22314 msgstr ""
22315
22316 # type: =item
22317 #: ../fuse/guestmount.pod:131
22318 msgid "B<-o attr_timeout=N>"
22319 msgstr ""
22320
22321 # type: textblock
22322 #: ../fuse/guestmount.pod:133
22323 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
22324 msgstr ""
22325
22326 # type: =item
22327 #: ../fuse/guestmount.pod:135
22328 msgid "B<-o kernel_cache>"
22329 msgstr ""
22330
22331 # type: textblock
22332 #: ../fuse/guestmount.pod:137
22333 msgid ""
22334 "Allow the kernel to cache files (reduces the number of reads that have to go "
22335 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
22336 "afford the extra memory usage."
22337 msgstr ""
22338
22339 # type: =item
22340 #: ../fuse/guestmount.pod:141
22341 msgid "B<-o uid=N> B<-o gid=N>"
22342 msgstr ""
22343
22344 # type: textblock
22345 #: ../fuse/guestmount.pod:143
22346 msgid ""
22347 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
22348 "the chosen values."
22349 msgstr ""
22350
22351 # type: textblock
22352 #: ../fuse/guestmount.pod:150
22353 msgid ""
22354 "Add devices and mount everything read-only.  Also disallow writes and make "
22355 "the disk appear read-only to FUSE."
22356 msgstr ""
22357
22358 # type: textblock
22359 #: ../fuse/guestmount.pod:153
22360 msgid ""
22361 "This is highly recommended if you are not going to edit the guest disk.  If "
22362 "the guest is running and this option is I<not> supplied, then there is a "
22363 "strong risk of disk corruption in the guest.  We try to prevent this from "
22364 "happening, but it is not always possible."
22365 msgstr ""
22366
22367 # type: textblock
22368 #: ../fuse/guestmount.pod:160
22369 msgid "Enable SELinux support for the guest."
22370 msgstr ""
22371
22372 # type: =item
22373 #: ../fuse/guestmount.pod:162
22374 msgid "B<--trace>"
22375 msgstr ""
22376
22377 # type: textblock
22378 #: ../fuse/guestmount.pod:164
22379 msgid "Trace libguestfs calls (to stderr)."
22380 msgstr ""
22381
22382 # type: textblock
22383 #: ../fuse/guestmount.pod:166
22384 msgid "This also stops the daemon from forking into the background."
22385 msgstr ""
22386
22387 # type: textblock
22388 #: ../fuse/guestmount.pod:170
22389 msgid "Enable verbose messages from underlying libguestfs."
22390 msgstr ""
22391
22392 # type: textblock
22393 #: ../fuse/guestmount.pod:174
22394 msgid "Display the program version and exit."
22395 msgstr ""
22396
22397 # type: textblock
22398 #: ../fuse/guestmount.pod:180
22399 msgid ""
22400 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
22401 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
22402 "net/>."
22403 msgstr ""
22404
22405 # type: textblock
22406 #: ../inspector/virt-inspector.pl:40
22407 msgid ""
22408 "virt-inspector - Display OS version, kernel, drivers, mount points, "
22409 "applications, etc. in a virtual machine"
22410 msgstr ""
22411
22412 # type: verbatim
22413 #: ../inspector/virt-inspector.pl:44
22414 #, no-wrap
22415 msgid ""
22416 " virt-inspector [--connect URI] domname\n"
22417 "\n"
22418 msgstr ""
22419
22420 # type: verbatim
22421 #: ../inspector/virt-inspector.pl:46
22422 #, no-wrap
22423 msgid ""
22424 " virt-inspector guest.img [guest.img ...]\n"
22425 "\n"
22426 msgstr ""
22427
22428 # type: textblock
22429 #: ../inspector/virt-inspector.pl:50
22430 msgid ""
22431 "B<virt-inspector> examines a virtual machine and tries to determine the "
22432 "version of the OS, the kernel version, what drivers are installed, whether "
22433 "the virtual machine is fully virtualized (FV) or para-virtualized (PV), what "
22434 "applications are installed and more."
22435 msgstr ""
22436
22437 # type: textblock
22438 #: ../inspector/virt-inspector.pl:55
22439 msgid ""
22440 "Virt-inspector can produce output in several formats, including a readable "
22441 "text report, and XML for feeding into other programs."
22442 msgstr ""
22443
22444 # type: textblock
22445 #: ../inspector/virt-inspector.pl:58
22446 msgid ""
22447 "In the normal usage, use C<virt-inspector domname> where C<domname> is the "
22448 "libvirt domain (see: C<virsh list --all>)."
22449 msgstr ""
22450
22451 # type: textblock
22452 #: ../inspector/virt-inspector.pl:61
22453 msgid ""
22454 "You can also run virt-inspector directly on disk images from a single "
22455 "virtual machine.  Use C<virt-inspector guest.img>.  In rare cases a domain "
22456 "has several block devices, in which case you should list them one after "
22457 "another, with the first corresponding to the guest's C</dev/sda>, the second "
22458 "to the guest's C</dev/sdb> and so on."
22459 msgstr ""
22460
22461 # type: textblock
22462 #: ../inspector/virt-inspector.pl:67
22463 msgid ""
22464 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
22465 "inspect several virtual machines, you have to run virt-inspector several "
22466 "times (for example, from a shell script for-loop)."
22467 msgstr ""
22468
22469 # type: textblock
22470 #: ../inspector/virt-inspector.pl:72
22471 msgid ""
22472 "Because virt-inspector needs direct access to guest images, it won't "
22473 "normally work over remote libvirt connections."
22474 msgstr ""
22475
22476 # type: textblock
22477 #: ../inspector/virt-inspector.pl:85 ../tools/virt-cat.pl:90
22478 #: ../tools/virt-df.pl:81 ../tools/virt-edit.pl:83
22479 #: ../tools/virt-list-filesystems.pl:60 ../tools/virt-list-partitions.pl:61
22480 #: ../tools/virt-ls.pl:89 ../tools/virt-make-fs.pl:163
22481 #: ../tools/virt-rescue.pl:113 ../tools/virt-tar.pl:109
22482 #: ../tools/virt-win-reg.pl:182
22483 msgid "Display brief help."
22484 msgstr ""
22485
22486 # type: =item
22487 #: ../inspector/virt-inspector.pl:91 ../tools/virt-cat.pl:96
22488 #: ../tools/virt-df.pl:87 ../tools/virt-edit.pl:89
22489 #: ../tools/virt-list-filesystems.pl:66 ../tools/virt-list-partitions.pl:67
22490 #: ../tools/virt-ls.pl:95 ../tools/virt-make-fs.pl:169
22491 #: ../tools/virt-rescue.pl:119 ../tools/virt-resize.pl:249
22492 #: ../tools/virt-tar.pl:115 ../tools/virt-win-reg.pl:188
22493 msgid "B<--version>"
22494 msgstr ""
22495
22496 # type: textblock
22497 #: ../inspector/virt-inspector.pl:93 ../tools/virt-cat.pl:98
22498 #: ../tools/virt-df.pl:89 ../tools/virt-edit.pl:91
22499 #: ../tools/virt-list-filesystems.pl:68 ../tools/virt-list-partitions.pl:69
22500 #: ../tools/virt-ls.pl:97 ../tools/virt-make-fs.pl:171
22501 #: ../tools/virt-rescue.pl:121 ../tools/virt-resize.pl:251
22502 #: ../tools/virt-tar.pl:117 ../tools/virt-win-reg.pl:190
22503 msgid "Display version number and exit."
22504 msgstr ""
22505
22506 # type: =item
22507 #: ../inspector/virt-inspector.pl:99 ../tools/virt-cat.pl:104
22508 #: ../tools/virt-df.pl:95 ../tools/virt-edit.pl:113
22509 #: ../tools/virt-list-filesystems.pl:74 ../tools/virt-list-partitions.pl:75
22510 #: ../tools/virt-ls.pl:103 ../tools/virt-rescue.pl:135
22511 #: ../tools/virt-tar.pl:123 ../tools/virt-win-reg.pl:204
22512 msgid "B<--connect URI> | B<-c URI>"
22513 msgstr ""
22514
22515 # type: textblock
22516 #: ../inspector/virt-inspector.pl:101 ../tools/virt-cat.pl:106
22517 #: ../tools/virt-df.pl:97 ../tools/virt-edit.pl:115
22518 #: ../tools/virt-list-filesystems.pl:76 ../tools/virt-list-partitions.pl:77
22519 #: ../tools/virt-ls.pl:105 ../tools/virt-rescue.pl:137
22520 #: ../tools/virt-tar.pl:125 ../tools/virt-win-reg.pl:206
22521 msgid ""
22522 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
22523 "to the default libvirt hypervisor."
22524 msgstr ""
22525
22526 # type: textblock
22527 #: ../inspector/virt-inspector.pl:104
22528 msgid ""
22529 "Libvirt is only used if you specify a C<domname> on the command line.  If "
22530 "you specify guest block devices directly, then libvirt is not used at all."
22531 msgstr ""
22532
22533 # type: textblock
22534 #: ../inspector/virt-inspector.pl:114
22535 msgid ""
22536 "The following options select the output format.  Use only one of them.  The "
22537 "default is a readable text report."
22538 msgstr ""
22539
22540 # type: =item
22541 #: ../inspector/virt-inspector.pl:119
22542 msgid "B<--text> (default)"
22543 msgstr ""
22544
22545 # type: textblock
22546 #: ../inspector/virt-inspector.pl:121
22547 msgid "Plain text report."
22548 msgstr ""
22549
22550 # type: =item
22551 #: ../inspector/virt-inspector.pl:123
22552 msgid "B<--none>"
22553 msgstr ""
22554
22555 # type: textblock
22556 #: ../inspector/virt-inspector.pl:125
22557 msgid "Produce no output at all."
22558 msgstr ""
22559
22560 # type: =item
22561 #: ../inspector/virt-inspector.pl:127
22562 msgid "B<--xml>"
22563 msgstr ""
22564
22565 # type: textblock
22566 #: ../inspector/virt-inspector.pl:129
22567 msgid ""
22568 "If you select I<--xml> then you get XML output which can be fed to other "
22569 "programs."
22570 msgstr ""
22571
22572 # type: =item
22573 #: ../inspector/virt-inspector.pl:132
22574 msgid "B<--yaml>"
22575 msgstr ""
22576
22577 # type: textblock
22578 #: ../inspector/virt-inspector.pl:134
22579 msgid ""
22580 "If you select I<--yaml> then you get YAML output which can be fed to other "
22581 "programs."
22582 msgstr ""
22583
22584 # type: =item
22585 #: ../inspector/virt-inspector.pl:137
22586 msgid "B<--perl>"
22587 msgstr ""
22588
22589 # type: textblock
22590 #: ../inspector/virt-inspector.pl:139
22591 msgid ""
22592 "If you select I<--perl> then you get Perl structures output which can be "
22593 "used directly in another Perl program."
22594 msgstr ""
22595
22596 # type: =item
22597 #: ../inspector/virt-inspector.pl:142
22598 msgid "B<--fish>"
22599 msgstr ""
22600
22601 # type: =item
22602 #: ../inspector/virt-inspector.pl:144
22603 msgid "B<--ro-fish>"
22604 msgstr ""
22605
22606 # type: textblock
22607 #: ../inspector/virt-inspector.pl:146
22608 msgid ""
22609 "If you select I<--fish> then we print a L<guestfish(1)> command line which "
22610 "will automatically mount up the filesystems on the correct mount points.  "
22611 "Try this for example:"
22612 msgstr ""
22613
22614 # type: verbatim
22615 #: ../inspector/virt-inspector.pl:150
22616 #, no-wrap
22617 msgid ""
22618 " guestfish $(virt-inspector --fish guest.img)\n"
22619 "\n"
22620 msgstr ""
22621
22622 # type: textblock
22623 #: ../inspector/virt-inspector.pl:152
22624 msgid ""
22625 "I<--ro-fish> is the same, but the I<--ro> option is passed to guestfish so "
22626 "that the filesystems are mounted read-only."
22627 msgstr ""
22628
22629 # type: =item
22630 #: ../inspector/virt-inspector.pl:155
22631 msgid "B<--query>"
22632 msgstr ""
22633
22634 # type: textblock
22635 #: ../inspector/virt-inspector.pl:157
22636 msgid ""
22637 "In \"query mode\" we answer common questions about the guest, such as "
22638 "whether it is fullvirt or needs a Xen hypervisor to run."
22639 msgstr ""
22640
22641 # type: textblock
22642 #: ../inspector/virt-inspector.pl:160
22643 msgid "See section I<QUERY MODE> below."
22644 msgstr ""
22645
22646 # type: =item
22647 #: ../inspector/virt-inspector.pl:166
22648 msgid "B<--windows-registry>"
22649 msgstr ""
22650
22651 # type: textblock
22652 #: ../inspector/virt-inspector.pl:168
22653 msgid ""
22654 "This flag is ignored for compatibility with earlier releases of the software."
22655 msgstr ""
22656
22657 # type: textblock
22658 #: ../inspector/virt-inspector.pl:171
22659 msgid ""
22660 "In this version, if L<Win::Hivex(3)> is available, then we attempt to parse "
22661 "information out of the Registry for any Windows guest."
22662 msgstr ""
22663
22664 # type: =head1
22665 #: ../inspector/virt-inspector.pl:218
22666 msgid "OUTPUT FORMAT"
22667 msgstr ""
22668
22669 # type: verbatim
22670 #: ../inspector/virt-inspector.pl:220
22671 #, no-wrap
22672 msgid ""
22673 " Operating system(s)\n"
22674 " -------------------\n"
22675 " Linux (distro + version)\n"
22676 " Windows (version)\n"
22677 "    |\n"
22678 "    |\n"
22679 "    +--- Filesystems ---------- Installed apps --- Kernel & drivers\n"
22680 "         -----------            --------------     ----------------\n"
22681 "         mount point => device  List of apps       Extra information\n"
22682 "         mount point => device  and versions       about kernel(s)\n"
22683 "              ...                                  and drivers\n"
22684 "         swap => swap device\n"
22685 "         (plus lots of extra information\n"
22686 "         about each filesystem)\n"
22687 "\n"
22688 msgstr ""
22689
22690 # type: textblock
22691 #: ../inspector/virt-inspector.pl:235
22692 msgid "The output of virt-inspector is a complex two-level data structure."
22693 msgstr ""
22694
22695 # type: textblock
22696 #: ../inspector/virt-inspector.pl:237
22697 msgid ""
22698 "At the top level is a list of the operating systems installed on the guest.  "
22699 "(For the vast majority of guests, only a single OS is installed.)  The data "
22700 "returned for the OS includes the name (Linux, Windows), the distribution and "
22701 "version."
22702 msgstr ""
22703
22704 # type: textblock
22705 #: ../inspector/virt-inspector.pl:242
22706 msgid "The diagram above shows what we return for each OS."
22707 msgstr ""
22708
22709 # type: textblock
22710 #: ../inspector/virt-inspector.pl:244
22711 msgid ""
22712 "With the I<--xml> option the output is mapped into an XML document.  There "
22713 "is a RELAX-NG schema for this XML in the file I<virt-inspector.rng> which "
22714 "normally ships with virt-inspector, or can be found in the source."
22715 msgstr ""
22716
22717 # type: textblock
22718 #: ../inspector/virt-inspector.pl:249
22719 msgid ""
22720 "With the I<--fish> or I<--ro-fish> option the mount points are mapped to "
22721 "L<guestfish(1)> command line parameters, so that you can go in afterwards "
22722 "and inspect the guest with everything mounted in the right place.  For "
22723 "example:"
22724 msgstr ""
22725
22726 # type: verbatim
22727 #: ../inspector/virt-inspector.pl:254
22728 #, no-wrap
22729 msgid ""
22730 " guestfish $(virt-inspector --ro-fish guest.img)\n"
22731 " ==> guestfish --ro -a guest.img -m /dev/VG/LV:/ -m /dev/sda1:/boot\n"
22732 "\n"
22733 msgstr ""
22734
22735 # type: =head1
22736 #: ../inspector/virt-inspector.pl:589
22737 msgid "QUERY MODE"
22738 msgstr ""
22739
22740 # type: textblock
22741 #: ../inspector/virt-inspector.pl:591
22742 msgid ""
22743 "When you use C<virt-inspector --query>, the output is a series of lines of "
22744 "the form:"
22745 msgstr ""
22746
22747 # type: verbatim
22748 #: ../inspector/virt-inspector.pl:594
22749 #, no-wrap
22750 msgid ""
22751 " windows=no\n"
22752 " linux=yes\n"
22753 " fullvirt=yes\n"
22754 " xen_pv_drivers=no\n"
22755 "\n"
22756 msgstr ""
22757
22758 # type: textblock
22759 #: ../inspector/virt-inspector.pl:599
22760 msgid ""
22761 "(each answer is usually C<yes> or C<no>, or the line is completely missing "
22762 "if we could not determine the answer at all)."
22763 msgstr ""
22764
22765 # type: textblock
22766 #: ../inspector/virt-inspector.pl:602
22767 msgid ""
22768 "If the guest is multiboot, you can get apparently conflicting answers (eg. "
22769 "C<windows=yes> and C<linux=yes>, or a guest which is both fullvirt and has a "
22770 "Xen PV kernel).  This is normal, and just means that the guest can do both "
22771 "things, although it might require operator intervention such as selecting a "
22772 "boot option when the guest is booting."
22773 msgstr ""
22774
22775 # type: textblock
22776 #: ../inspector/virt-inspector.pl:609
22777 msgid "This section describes the full range of answers possible."
22778 msgstr ""
22779
22780 # type: =item
22781 #: ../inspector/virt-inspector.pl:630
22782 msgid "windows=(yes|no)"
22783 msgstr ""
22784
22785 # type: textblock
22786 #: ../inspector/virt-inspector.pl:632
22787 msgid "Answer C<yes> if Microsoft Windows is installed in the guest."
22788 msgstr ""
22789
22790 # type: =item
22791 #: ../inspector/virt-inspector.pl:645
22792 msgid "linux=(yes|no)"
22793 msgstr ""
22794
22795 # type: textblock
22796 #: ../inspector/virt-inspector.pl:647
22797 msgid "Answer C<yes> if a Linux kernel is installed in the guest."
22798 msgstr ""
22799
22800 # type: =item
22801 #: ../inspector/virt-inspector.pl:660
22802 msgid "rhel=(yes|no)"
22803 msgstr ""
22804
22805 # type: textblock
22806 #: ../inspector/virt-inspector.pl:662
22807 msgid "Answer C<yes> if the guest contains Red Hat Enterprise Linux."
22808 msgstr ""
22809
22810 # type: =item
22811 #: ../inspector/virt-inspector.pl:676
22812 msgid "fedora=(yes|no)"
22813 msgstr ""
22814
22815 # type: textblock
22816 #: ../inspector/virt-inspector.pl:678
22817 msgid "Answer C<yes> if the guest contains the Fedora Linux distribution."
22818 msgstr ""
22819
22820 # type: =item
22821 #: ../inspector/virt-inspector.pl:691
22822 msgid "debian=(yes|no)"
22823 msgstr ""
22824
22825 # type: textblock
22826 #: ../inspector/virt-inspector.pl:693
22827 msgid "Answer C<yes> if the guest contains the Debian Linux distribution."
22828 msgstr ""
22829
22830 # type: =item
22831 #: ../inspector/virt-inspector.pl:706
22832 msgid "fullvirt=(yes|no)"
22833 msgstr ""
22834
22835 # type: textblock
22836 #: ../inspector/virt-inspector.pl:708
22837 msgid ""
22838 "Answer C<yes> if there is at least one operating system kernel installed in "
22839 "the guest which runs fully virtualized.  Such a guest would require a "
22840 "hypervisor which supports full system virtualization."
22841 msgstr ""
22842
22843 # type: =item
22844 #: ../inspector/virt-inspector.pl:731
22845 msgid "xen_domU_kernel=(yes|no)"
22846 msgstr ""
22847
22848 # type: textblock
22849 #: ../inspector/virt-inspector.pl:733
22850 msgid ""
22851 "Answer C<yes> if there is at least one Linux kernel installed in the guest "
22852 "which is compiled as a Xen DomU (a Xen paravirtualized guest)."
22853 msgstr ""
22854
22855 # type: =item
22856 #: ../inspector/virt-inspector.pl:753
22857 msgid "xen_pv_drivers=(yes|no)"
22858 msgstr ""
22859
22860 # type: textblock
22861 #: ../inspector/virt-inspector.pl:755
22862 msgid ""
22863 "Answer C<yes> if the guest has Xen paravirtualized drivers installed "
22864 "(usually the kernel itself will be fully virtualized, but the PV drivers "
22865 "have been installed by the administrator for performance reasons)."
22866 msgstr ""
22867
22868 # type: =item
22869 #: ../inspector/virt-inspector.pl:777
22870 msgid "virtio_drivers=(yes|no)"
22871 msgstr ""
22872
22873 # type: textblock
22874 #: ../inspector/virt-inspector.pl:779
22875 msgid ""
22876 "Answer C<yes> if the guest has virtio paravirtualized drivers installed.  "
22877 "Virtio drivers are commonly used to improve the performance of KVM."
22878 msgstr ""
22879
22880 # type: =item
22881 #: ../inspector/virt-inspector.pl:800
22882 msgid "userspace_arch=(x86_64|...)"
22883 msgstr ""
22884
22885 # type: textblock
22886 #: ../inspector/virt-inspector.pl:802
22887 msgid "Print the architecture of userspace."
22888 msgstr ""
22889
22890 # type: textblock
22891 #: ../inspector/virt-inspector.pl:804 ../inspector/virt-inspector.pl:825
22892 msgid "NB. For multi-boot VMs this can print several lines."
22893 msgstr ""
22894
22895 # type: =item
22896 #: ../inspector/virt-inspector.pl:821
22897 msgid "kernel_arch=(x86_64|...)"
22898 msgstr ""
22899
22900 # type: textblock
22901 #: ../inspector/virt-inspector.pl:823
22902 msgid "Print the architecture of the kernel."
22903 msgstr ""
22904
22905 # type: textblock
22906 #: ../inspector/virt-inspector.pl:848 ../tools/virt-df.pl:484
22907 msgid ""
22908 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
22909 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
22910 msgstr ""
22911
22912 # type: textblock
22913 #: ../inspector/virt-inspector.pl:857 ../tools/virt-cat.pl:175
22914 #: ../tools/virt-df.pl:493 ../tools/virt-edit.pl:339
22915 #: ../tools/virt-list-filesystems.pl:205 ../tools/virt-list-partitions.pl:242
22916 #: ../tools/virt-ls.pl:223 ../tools/virt-make-fs.pl:554
22917 #: ../tools/virt-rescue.pl:243 ../tools/virt-resize.pl:1409
22918 #: ../tools/virt-tar.pl:270 ../tools/virt-win-reg.pl:489
22919 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
22920 msgstr ""
22921
22922 # type: textblock
22923 #: ../inspector/virt-inspector.pl:859
22924 msgid "Matthew Booth L<mbooth@redhat.com>"
22925 msgstr ""
22926
22927 # type: textblock
22928 #: ../inspector/virt-inspector.pl:863 ../tools/virt-cat.pl:179
22929 #: ../tools/virt-list-filesystems.pl:209 ../tools/virt-ls.pl:227
22930 #: ../tools/virt-tar.pl:274
22931 msgid "Copyright (C) 2009 Red Hat Inc."
22932 msgstr ""
22933
22934 # type: textblock
22935 #: ../tools/virt-cat.pl:34
22936 msgid "virt-cat - Display a file in a virtual machine"
22937 msgstr ""
22938
22939 # type: verbatim
22940 #: ../tools/virt-cat.pl:38
22941 #, no-wrap
22942 msgid ""
22943 " virt-cat [--options] domname file\n"
22944 "\n"
22945 msgstr ""
22946
22947 # type: verbatim
22948 #: ../tools/virt-cat.pl:40
22949 #, no-wrap
22950 msgid ""
22951 " virt-cat [--options] disk.img [disk.img ...] file\n"
22952 "\n"
22953 msgstr ""
22954
22955 # type: textblock
22956 #: ../tools/virt-cat.pl:44
22957 msgid ""
22958 "C<virt-cat> is a command line tool to display the contents of C<file> where "
22959 "C<file> exists in the named virtual machine (or disk image)."
22960 msgstr ""
22961
22962 # type: textblock
22963 #: ../tools/virt-cat.pl:47
22964 msgid ""
22965 "C<virt-cat> can be used to quickly view a single file.  To edit a file, use "
22966 "C<virt-edit>.  For more complex cases you should look at the L<guestfish(1)> "
22967 "tool."
22968 msgstr ""
22969
22970 # type: textblock
22971 #: ../tools/virt-cat.pl:53
22972 msgid ""
22973 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
22974 msgstr ""
22975
22976 # type: verbatim
22977 #: ../tools/virt-cat.pl:56
22978 #, no-wrap
22979 msgid ""
22980 " virt-cat mydomain /etc/fstab\n"
22981 "\n"
22982 msgstr ""
22983
22984 # type: textblock
22985 #: ../tools/virt-cat.pl:58
22986 msgid "List syslog messages from a VM:"
22987 msgstr ""
22988
22989 # type: verbatim
22990 #: ../tools/virt-cat.pl:60
22991 #, no-wrap
22992 msgid ""
22993 " virt-cat mydomain /var/log/messages | tail\n"
22994 "\n"
22995 msgstr ""
22996
22997 # type: textblock
22998 #: ../tools/virt-cat.pl:62
22999 msgid "Find out what DHCP IP address a VM acquired:"
23000 msgstr ""
23001
23002 # type: verbatim
23003 #: ../tools/virt-cat.pl:64
23004 #, no-wrap
23005 msgid ""
23006 " virt-cat mydomain /var/log/messages | grep 'dhclient: bound to' | tail\n"
23007 "\n"
23008 msgstr ""
23009
23010 # type: textblock
23011 #: ../tools/virt-cat.pl:66
23012 msgid "Find out what packages were recently installed:"
23013 msgstr ""
23014
23015 # type: verbatim
23016 #: ../tools/virt-cat.pl:68
23017 #, no-wrap
23018 msgid ""
23019 " virt-cat mydomain /var/log/yum.log | tail\n"
23020 "\n"
23021 msgstr ""
23022
23023 # type: textblock
23024 #: ../tools/virt-cat.pl:70
23025 msgid "Find out who is logged on inside a virtual machine:"
23026 msgstr ""
23027
23028 # type: verbatim
23029 #: ../tools/virt-cat.pl:72
23030 #, no-wrap
23031 msgid ""
23032 " virt-cat mydomain /var/run/utmp > /tmp/utmp\n"
23033 " who /tmp/utmp\n"
23034 "\n"
23035 msgstr ""
23036
23037 # type: textblock
23038 #: ../tools/virt-cat.pl:75
23039 msgid "or who was logged on:"
23040 msgstr ""
23041
23042 # type: verbatim
23043 #: ../tools/virt-cat.pl:77
23044 #, no-wrap
23045 msgid ""
23046 " virt-cat mydomain /var/log/wtmp > /tmp/wtmp\n"
23047 " last -f /tmp/wtmp\n"
23048 "\n"
23049 msgstr ""
23050
23051 # type: textblock
23052 #: ../tools/virt-cat.pl:109 ../tools/virt-df.pl:100 ../tools/virt-edit.pl:118
23053 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80
23054 #: ../tools/virt-ls.pl:108 ../tools/virt-rescue.pl:140
23055 #: ../tools/virt-tar.pl:128 ../tools/virt-win-reg.pl:209
23056 msgid ""
23057 "If you specify guest block devices directly, then libvirt is not used at all."
23058 msgstr ""
23059
23060 # type: textblock
23061 #: ../tools/virt-cat.pl:165
23062 msgid ""
23063 "L<guestfs(3)>, L<guestfish(1)>, L<virt-edit(1)>, L<Sys::Guestfs(3)>, L<Sys::"
23064 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23065 msgstr ""
23066
23067 # type: =head1
23068 #: ../tools/virt-cat.pl:173 ../tools/virt-df.pl:491 ../tools/virt-edit.pl:337
23069 #: ../tools/virt-list-filesystems.pl:203 ../tools/virt-list-partitions.pl:240
23070 #: ../tools/virt-ls.pl:221 ../tools/virt-make-fs.pl:552
23071 #: ../tools/virt-rescue.pl:241 ../tools/virt-resize.pl:1407
23072 #: ../tools/virt-tar.pl:268 ../tools/virt-win-reg.pl:487
23073 msgid "AUTHOR"
23074 msgstr ""
23075
23076 # type: textblock
23077 #: ../tools/virt-df.pl:36
23078 msgid "virt-df - Display free space on virtual filesystems"
23079 msgstr ""
23080
23081 # type: verbatim
23082 #: ../tools/virt-df.pl:40
23083 #, no-wrap
23084 msgid ""
23085 " virt-df [--options]\n"
23086 "\n"
23087 msgstr ""
23088
23089 # type: verbatim
23090 #: ../tools/virt-df.pl:42
23091 #, no-wrap
23092 msgid ""
23093 " virt-df [--options] domname\n"
23094 "\n"
23095 msgstr ""
23096
23097 # type: verbatim
23098 #: ../tools/virt-df.pl:44
23099 #, no-wrap
23100 msgid ""
23101 " virt-df [--options] disk.img [disk.img ...]\n"
23102 "\n"
23103 msgstr ""
23104
23105 # type: textblock
23106 #: ../tools/virt-df.pl:48
23107 msgid ""
23108 "C<virt-df> is a command line tool to display free space on virtual machine "
23109 "filesystems.  Unlike other tools, it doesn't just display the amount of "
23110 "space allocated to a virtual machine, but can look inside the virtual "
23111 "machine to see how much space is really being used."
23112 msgstr ""
23113
23114 # type: textblock
23115 #: ../tools/virt-df.pl:53
23116 msgid ""
23117 "It is like the L<df(1)> command, but for virtual machines, except that it "
23118 "also works for Windows virtual machines."
23119 msgstr ""
23120
23121 # type: textblock
23122 #: ../tools/virt-df.pl:56
23123 msgid ""
23124 "If used without any arguments, C<virt-df> checks with libvirt to get a list "
23125 "of all active and inactive guests, and performs a C<df>-type operation on "
23126 "each one in turn, printing out the results."
23127 msgstr ""
23128
23129 # type: textblock
23130 #: ../tools/virt-df.pl:60
23131 msgid ""
23132 "If used with any argument(s), C<virt-df> performs a C<df>-type operation on "
23133 "either the single named libvirt domain, or on the disk image(s) listed on "
23134 "the command line (which must all belong to a single VM).  In this mode (with "
23135 "arguments), C<virt-df> will I<only work for a single guest>.  If you want to "
23136 "run on multiple guests, then you have to invoke C<virt-df> multiple times."
23137 msgstr ""
23138
23139 # type: textblock
23140 #: ../tools/virt-df.pl:67
23141 msgid ""
23142 "Use the C<--csv> option to get a format which can be easily parsed by other "
23143 "programs.  Other options are mostly similar to standard C<df> options.  See "
23144 "below for the complete list."
23145 msgstr ""
23146
23147 # type: =item
23148 #: ../tools/virt-df.pl:107
23149 msgid "B<--csv>"
23150 msgstr ""
23151
23152 # type: textblock
23153 #: ../tools/virt-df.pl:109
23154 msgid ""
23155 "Write out the results in CSV format (comma-separated values).  This format "
23156 "can be imported easily into databases and spreadsheets, but read L</NOTE "
23157 "ABOUT CSV FORMAT> below."
23158 msgstr ""
23159
23160 # type: =item
23161 #: ../tools/virt-df.pl:117
23162 msgid "B<--human-readable> | B<-h>"
23163 msgstr ""
23164
23165 # type: textblock
23166 #: ../tools/virt-df.pl:119
23167 msgid "Print sizes in human-readable format."
23168 msgstr ""
23169
23170 # type: textblock
23171 #: ../tools/virt-df.pl:121
23172 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
23173 msgstr ""
23174
23175 # type: =item
23176 #: ../tools/virt-df.pl:127
23177 msgid "B<--inodes> | B<-i>"
23178 msgstr ""
23179
23180 # type: textblock
23181 #: ../tools/virt-df.pl:129
23182 msgid "Print inodes instead of blocks."
23183 msgstr ""
23184
23185 # type: =head1
23186 #: ../tools/virt-df.pl:458
23187 msgid "NOTE ABOUT CSV FORMAT"
23188 msgstr ""
23189
23190 # type: textblock
23191 #: ../tools/virt-df.pl:460
23192 msgid ""
23193 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
23194 "should be easy to parse, but it is definitely not easy to parse."
23195 msgstr ""
23196
23197 # type: textblock
23198 #: ../tools/virt-df.pl:463
23199 msgid ""
23200 "Myth: Just split fields at commas.  Reality: This does I<not> work "
23201 "reliably.  This example has two columns:"
23202 msgstr ""
23203
23204 # type: verbatim
23205 #: ../tools/virt-df.pl:466
23206 #, no-wrap
23207 msgid ""
23208 " \"foo,bar\",baz\n"
23209 "\n"
23210 msgstr ""
23211
23212 # type: textblock
23213 #: ../tools/virt-df.pl:468
23214 msgid ""
23215 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
23216 "reliably.  This example has one row:"
23217 msgstr ""
23218
23219 # type: verbatim
23220 #: ../tools/virt-df.pl:471
23221 #, no-wrap
23222 msgid ""
23223 " \"foo\n"
23224 " bar\",baz\n"
23225 "\n"
23226 msgstr ""
23227
23228 # type: textblock
23229 #: ../tools/virt-df.pl:474
23230 msgid ""
23231 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
23232 "packaged in major Linux distributions)."
23233 msgstr ""
23234
23235 # type: textblock
23236 #: ../tools/virt-df.pl:477
23237 msgid ""
23238 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
23239 "or Python's built-in csv library)."
23240 msgstr ""
23241
23242 # type: textblock
23243 #: ../tools/virt-df.pl:480
23244 msgid "Most spreadsheets and databases can import CSV directly."
23245 msgstr ""
23246
23247 # type: textblock
23248 #: ../tools/virt-df.pl:497 ../tools/virt-edit.pl:343
23249 #: ../tools/virt-list-partitions.pl:246 ../tools/virt-rescue.pl:247
23250 msgid "Copyright (C) 2009-2010 Red Hat Inc."
23251 msgstr ""
23252
23253 # type: textblock
23254 #: ../tools/virt-edit.pl:35
23255 msgid "virt-edit - Edit a file in a virtual machine"
23256 msgstr ""
23257
23258 # type: verbatim
23259 #: ../tools/virt-edit.pl:39
23260 #, no-wrap
23261 msgid ""
23262 " virt-edit [--options] domname file\n"
23263 "\n"
23264 msgstr ""
23265
23266 # type: verbatim
23267 #: ../tools/virt-edit.pl:41
23268 #, no-wrap
23269 msgid ""
23270 " virt-edit [--options] disk.img [disk.img ...] file\n"
23271 "\n"
23272 msgstr ""
23273
23274 # type: verbatim
23275 #: ../tools/virt-edit.pl:43
23276 #, no-wrap
23277 msgid ""
23278 " virt-edit [domname|disk.img] file -e 'expr'\n"
23279 "\n"
23280 msgstr ""
23281
23282 # type: textblock
23283 #: ../tools/virt-edit.pl:47
23284 msgid ""
23285 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
23286 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
23287 "doing this, but doesn't catch all cases."
23288 msgstr ""
23289
23290 # type: textblock
23291 #: ../tools/virt-edit.pl:53
23292 msgid ""
23293 "C<virt-edit> is a command line tool to edit C<file> where C<file> exists in "
23294 "the named virtual machine (or disk image)."
23295 msgstr ""
23296
23297 # type: textblock
23298 #: ../tools/virt-edit.pl:56
23299 msgid ""
23300 "If you want to just view a file, use L<virt-cat(1)>.  For more complex cases "
23301 "you should look at the L<guestfish(1)> tool."
23302 msgstr ""
23303
23304 # type: textblock
23305 #: ../tools/virt-edit.pl:61
23306 msgid "Edit the named files interactively:"
23307 msgstr ""
23308
23309 # type: verbatim
23310 #: ../tools/virt-edit.pl:63
23311 #, no-wrap
23312 msgid ""
23313 " virt-edit mydomain /boot/grub/grub.conf\n"
23314 "\n"
23315 msgstr ""
23316
23317 # type: verbatim
23318 #: ../tools/virt-edit.pl:65
23319 #, no-wrap
23320 msgid ""
23321 " virt-edit mydomain /etc/passwd\n"
23322 "\n"
23323 msgstr ""
23324
23325 # type: textblock
23326 #: ../tools/virt-edit.pl:67
23327 msgid ""
23328 "You can also edit files non-interactively (see L</NON-INTERACTIVE EDITING> "
23329 "below).  To change the init default level to 5:"
23330 msgstr ""
23331
23332 # type: verbatim
23333 #: ../tools/virt-edit.pl:71
23334 #, no-wrap
23335 msgid ""
23336 " virt-edit mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
23337 "\n"
23338 msgstr ""
23339
23340 # type: =item
23341 #: ../tools/virt-edit.pl:97
23342 msgid "B<--backup extension> | B<-b extension>"
23343 msgstr ""
23344
23345 # type: textblock
23346 #: ../tools/virt-edit.pl:99
23347 msgid ""
23348 "Create a backup of the original file I<in the guest disk image>.  The backup "
23349 "has the original filename with C<extension> added."
23350 msgstr ""
23351
23352 # type: textblock
23353 #: ../tools/virt-edit.pl:102
23354 msgid ""
23355 "Usually the first character of C<extension> would be a dot C<.> so you would "
23356 "write:"
23357 msgstr ""
23358
23359 # type: verbatim
23360 #: ../tools/virt-edit.pl:105
23361 #, no-wrap
23362 msgid ""
23363 " virt-edit -b .orig [etc]\n"
23364 "\n"
23365 msgstr ""
23366
23367 # type: textblock
23368 #: ../tools/virt-edit.pl:107
23369 msgid "By default, no backup file is made."
23370 msgstr ""
23371
23372 # type: =item
23373 #: ../tools/virt-edit.pl:125
23374 msgid "B<--expr EXPR> | B<-e EXPR>"
23375 msgstr ""
23376
23377 # type: textblock
23378 #: ../tools/virt-edit.pl:127
23379 msgid ""
23380 "Instead of launching the external editor, non-interactively apply the Perl "
23381 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
23382 "EDITING> below."
23383 msgstr ""
23384
23385 # type: textblock
23386 #: ../tools/virt-edit.pl:131
23387 msgid ""
23388 "Be careful to properly quote the expression to prevent it from being altered "
23389 "by the shell."
23390 msgstr ""
23391
23392 # type: =head1
23393 #: ../tools/virt-edit.pl:250
23394 msgid "NON-INTERACTIVE EDITING"
23395 msgstr ""
23396
23397 # type: textblock
23398 #: ../tools/virt-edit.pl:252
23399 msgid ""
23400 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
23401 "administrator can interactively edit the file."
23402 msgstr ""
23403
23404 # type: textblock
23405 #: ../tools/virt-edit.pl:255
23406 msgid ""
23407 "There are two ways also to use C<virt-edit> from scripts in order to make "
23408 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
23409 "like this, it's less error-prone to write scripts directly using the "
23410 "libguestfs API and Augeas for configuration file editing.)"
23411 msgstr ""
23412
23413 # type: textblock
23414 #: ../tools/virt-edit.pl:261
23415 msgid ""
23416 "The first method is to temporarily set C<$EDITOR> to any script or program "
23417 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
23418 "update C<tmpfile> in place however it likes."
23419 msgstr ""
23420
23421 # type: textblock
23422 #: ../tools/virt-edit.pl:265
23423 msgid ""
23424 "The second method is to use the C<-e> parameter of C<virt-edit> to run a "
23425 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
23426 "instances of C<foo> with C<bar> in a file:"
23427 msgstr ""
23428
23429 # type: verbatim
23430 #: ../tools/virt-edit.pl:269
23431 #, no-wrap
23432 msgid ""
23433 " virt-edit domname filename -e 's/foo/bar/'\n"
23434 "\n"
23435 msgstr ""
23436
23437 # type: textblock
23438 #: ../tools/virt-edit.pl:271
23439 msgid ""
23440 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
23441 "For example to delete root's password you could do:"
23442 msgstr ""
23443
23444 # type: verbatim
23445 #: ../tools/virt-edit.pl:274
23446 #, no-wrap
23447 msgid ""
23448 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
23449 "\n"
23450 msgstr ""
23451
23452 # type: textblock
23453 #: ../tools/virt-edit.pl:276
23454 msgid ""
23455 "What really happens is that the snippet is evaluated as a Perl expression "
23456 "for each line of the file.  The line, including the final C<\\n>, is passed "
23457 "in C<$_> and the expression should update C<$_> or leave it unchanged."
23458 msgstr ""
23459
23460 # type: textblock
23461 #: ../tools/virt-edit.pl:281
23462 msgid ""
23463 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
23464 "C<apache> user account from the password file you can do:"
23465 msgstr ""
23466
23467 # type: verbatim
23468 #: ../tools/virt-edit.pl:284
23469 #, no-wrap
23470 msgid ""
23471 " virt-edit mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
23472 "\n"
23473 msgstr ""
23474
23475 # type: textblock
23476 #: ../tools/virt-edit.pl:286
23477 msgid ""
23478 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
23479 "the end of the file is rather difficult this way since there is no concept "
23480 "of \"last line of the file\" - your expression just doesn't get called "
23481 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
23482 "want to do this."
23483 msgstr ""
23484
23485 # type: textblock
23486 #: ../tools/virt-edit.pl:292
23487 msgid ""
23488 "The variable C<$lineno> contains the current line number.  As is "
23489 "traditional, the first line in the file is number C<1>."
23490 msgstr ""
23491
23492 # type: textblock
23493 #: ../tools/virt-edit.pl:295
23494 msgid ""
23495 "The return value from the expression is ignored, but the expression may call "
23496 "C<die> in order to abort the whole program, leaving the original file "
23497 "untouched."
23498 msgstr ""
23499
23500 # type: textblock
23501 #: ../tools/virt-edit.pl:299
23502 msgid ""
23503 "Remember when matching the end of a line that C<$_> may contain the final C<"
23504 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
23505 "newline then neither of these.  Thus to match or substitute some text at the "
23506 "end of a line, use this regular expression:"
23507 msgstr ""
23508
23509 # type: verbatim
23510 #: ../tools/virt-edit.pl:304
23511 #, no-wrap
23512 msgid ""
23513 " /some text(\\r?\\n)?$/\n"
23514 "\n"
23515 msgstr ""
23516
23517 # type: textblock
23518 #: ../tools/virt-edit.pl:306
23519 msgid ""
23520 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
23521 "$_> itself (since that would remove all newlines from the file):"
23522 msgstr ""
23523
23524 # type: verbatim
23525 #: ../tools/virt-edit.pl:310
23526 #, no-wrap
23527 msgid ""
23528 " my $m = $_; chomp $m; $m =~ /some text$/\n"
23529 "\n"
23530 msgstr ""
23531
23532 # type: =item
23533 #: ../tools/virt-edit.pl:316
23534 msgid "C<EDITOR>"
23535 msgstr ""
23536
23537 # type: textblock
23538 #: ../tools/virt-edit.pl:318
23539 msgid ""
23540 "If set, this string is used as the editor.  It may contain arguments, eg. C<"
23541 "\"emacs -nw\">"
23542 msgstr ""
23543
23544 # type: textblock
23545 #: ../tools/virt-edit.pl:321
23546 msgid "If not set, C<vi> is used."
23547 msgstr ""
23548
23549 # type: textblock
23550 #: ../tools/virt-edit.pl:327
23551 msgid ""
23552 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
23553 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>, L<perl(1)>, "
23554 "L<perlre(1)>."
23555 msgstr ""
23556
23557 # type: textblock
23558 #: ../tools/virt-list-filesystems.pl:32
23559 msgid ""
23560 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
23561 msgstr ""
23562
23563 # type: verbatim
23564 #: ../tools/virt-list-filesystems.pl:36
23565 #, no-wrap
23566 msgid ""
23567 " virt-list-filesystems [--options] domname\n"
23568 "\n"
23569 msgstr ""
23570
23571 # type: verbatim
23572 #: ../tools/virt-list-filesystems.pl:38
23573 #, no-wrap
23574 msgid ""
23575 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
23576 "\n"
23577 msgstr ""
23578
23579 # type: textblock
23580 #: ../tools/virt-list-filesystems.pl:42
23581 msgid ""
23582 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
23583 "are contained in a virtual machine or disk image."
23584 msgstr ""
23585
23586 # type: textblock
23587 #: ../tools/virt-list-filesystems.pl:46
23588 msgid ""
23589 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
23590 "functionality.  For more complex cases you should look at the L<guestfish(1)"
23591 "> tool."
23592 msgstr ""
23593
23594 # type: =item
23595 #: ../tools/virt-list-filesystems.pl:86 ../tools/virt-list-partitions.pl:95
23596 #: ../tools/virt-ls.pl:115
23597 msgid "B<-l> | B<--long>"
23598 msgstr ""
23599
23600 # type: textblock
23601 #: ../tools/virt-list-filesystems.pl:88
23602 msgid ""
23603 "With this option, C<virt-list-filesystems> displays the type of each "
23604 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
23605 msgstr ""
23606
23607 # type: =item
23608 #: ../tools/virt-list-filesystems.pl:95
23609 msgid "B<-a> | B<--all>"
23610 msgstr ""
23611
23612 # type: textblock
23613 #: ../tools/virt-list-filesystems.pl:97
23614 msgid ""
23615 "Normally we only show mountable filesystems.  If this option is given then "
23616 "swap devices are shown too."
23617 msgstr ""
23618
23619 # type: textblock
23620 #: ../tools/virt-list-filesystems.pl:193
23621 msgid ""
23622 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-list-"
23623 "partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)"
23624 ">, L<http://libguestfs.org/>."
23625 msgstr ""
23626
23627 # type: textblock
23628 #: ../tools/virt-list-partitions.pl:32
23629 msgid ""
23630 "virt-list-partitions - List partitions in a virtual machine or disk image"
23631 msgstr ""
23632
23633 # type: verbatim
23634 #: ../tools/virt-list-partitions.pl:36
23635 #, no-wrap
23636 msgid ""
23637 " virt-list-partitions [--options] domname\n"
23638 "\n"
23639 msgstr ""
23640
23641 # type: verbatim
23642 #: ../tools/virt-list-partitions.pl:38
23643 #, no-wrap
23644 msgid ""
23645 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
23646 "\n"
23647 msgstr ""
23648
23649 # type: textblock
23650 #: ../tools/virt-list-partitions.pl:42
23651 msgid ""
23652 "C<virt-list-partitions> is a command line tool to list the partitions that "
23653 "are contained in a virtual machine or disk image.  It is mainly useful as a "
23654 "first step to using L<virt-resize(1)>."
23655 msgstr ""
23656
23657 # type: textblock
23658 #: ../tools/virt-list-partitions.pl:47
23659 msgid ""
23660 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
23661 "functionality.  For more complex cases you should look at the L<guestfish(1)"
23662 "> tool."
23663 msgstr ""
23664
23665 # type: =item
23666 #: ../tools/virt-list-partitions.pl:87
23667 msgid "B<-h> | B<--human-readable>"
23668 msgstr ""
23669
23670 # type: textblock
23671 #: ../tools/virt-list-partitions.pl:89
23672 msgid "Show sizes in human-readable form (eg. \"1G\")."
23673 msgstr ""
23674
23675 # type: textblock
23676 #: ../tools/virt-list-partitions.pl:97
23677 msgid ""
23678 "With this option, C<virt-list-partitions> displays the type and size of each "
23679 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
23680 msgstr ""
23681
23682 # type: =item
23683 #: ../tools/virt-list-partitions.pl:104
23684 msgid "B<-t> | B<--total>"
23685 msgstr ""
23686
23687 # type: textblock
23688 #: ../tools/virt-list-partitions.pl:106
23689 msgid ""
23690 "Display the total size of each block device (as a separate row or rows)."
23691 msgstr ""
23692
23693 # type: textblock
23694 #: ../tools/virt-list-partitions.pl:231
23695 msgid ""
23696 "L<guestfs(3)>, L<guestfish(1)>, L<virt-list-filesystems(1)>, L<virt-resize(1)"
23697 ">, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
23698 "libguestfs.org/>."
23699 msgstr ""
23700
23701 # type: textblock
23702 #: ../tools/virt-ls.pl:35
23703 msgid "virt-ls - List files in a virtual machine"
23704 msgstr ""
23705
23706 # type: verbatim
23707 #: ../tools/virt-ls.pl:39
23708 #, no-wrap
23709 msgid ""
23710 " virt-ls [--options] domname directory\n"
23711 "\n"
23712 msgstr ""
23713
23714 # type: verbatim
23715 #: ../tools/virt-ls.pl:41
23716 #, no-wrap
23717 msgid ""
23718 " virt-ls [--options] disk.img [disk.img ...] directory\n"
23719 "\n"
23720 msgstr ""
23721
23722 # type: textblock
23723 #: ../tools/virt-ls.pl:45
23724 msgid ""
23725 "C<virt-ls> is a command line tool to list the names of files in a directory "
23726 "inside a virtual machine or disk image."
23727 msgstr ""
23728
23729 # type: textblock
23730 #: ../tools/virt-ls.pl:48
23731 msgid ""
23732 "C<virt-ls> is just a simple wrapper around L<libguestfs(3)> functionality.  "
23733 "For more complex cases you should look at the L<guestfish(1)> tool."
23734 msgstr ""
23735
23736 # type: textblock
23737 #: ../tools/virt-ls.pl:52
23738 msgid ""
23739 "C<virt-ls> can be used in one of three modes: simple, long and recursive.  A "
23740 "simple listing is like the ordinary L<ls(1)> command:"
23741 msgstr ""
23742
23743 # type: verbatim
23744 #: ../tools/virt-ls.pl:55
23745 #, no-wrap
23746 msgid ""
23747 " $ virt-ls myguest /\n"
23748 " bin\n"
23749 " boot\n"
23750 " [etc.]\n"
23751 "\n"
23752 msgstr ""
23753
23754 # type: textblock
23755 #: ../tools/virt-ls.pl:60
23756 msgid "With the C<-l> (C<--long>) option, C<virt-ls> shows more detail:"
23757 msgstr ""
23758
23759 # type: verbatim
23760 #: ../tools/virt-ls.pl:62
23761 #, no-wrap
23762 msgid ""
23763 " $ virt-ls -l myguest /\n"
23764 " total 204\n"
23765 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
23766 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
23767 " [etc.]\n"
23768 "\n"
23769 msgstr ""
23770
23771 # type: textblock
23772 #: ../tools/virt-ls.pl:68
23773 msgid ""
23774 "With the C<-R> (C<--recursive>) option, C<virt-ls> lists the names of files "
23775 "and directories recursively:"
23776 msgstr ""
23777
23778 # type: verbatim
23779 #: ../tools/virt-ls.pl:71
23780 #, no-wrap
23781 msgid ""
23782 " $ virt-ls -R myguest /tmp\n"
23783 " foo\n"
23784 " foo/bar\n"
23785 " [etc.]\n"
23786 "\n"
23787 msgstr ""
23788
23789 # type: textblock
23790 #: ../tools/virt-ls.pl:76
23791 msgid ""
23792 "You I<cannot> combine these options.  To do more complicated things, use "
23793 "L<guestfish(1)>."
23794 msgstr ""
23795
23796 # type: =item
23797 #: ../tools/virt-ls.pl:117
23798 msgid "B<-R> | B<--recursive>"
23799 msgstr ""
23800
23801 # type: textblock
23802 #: ../tools/virt-ls.pl:119
23803 msgid ""
23804 "Select the mode.  With neither of these options, C<virt-ls> produces a "
23805 "simple, flat list of the files in the named directory."
23806 msgstr ""
23807
23808 # type: textblock
23809 #: ../tools/virt-ls.pl:122
23810 msgid ""
23811 "C<virt-ls -l> produces a \"long listing\", which shows more detail (just "
23812 "like the plain C<ls -l> command)."
23813 msgstr ""
23814
23815 # type: textblock
23816 #: ../tools/virt-ls.pl:125
23817 msgid ""
23818 "C<virt-ls -R> produces a recursive list of files starting at the named "
23819 "directory.  See the documentation for the C<guestfs_find> command L<guestfs"
23820 "(3)> for precise details."
23821 msgstr ""
23822
23823 # type: textblock
23824 #: ../tools/virt-ls.pl:129
23825 msgid "You cannot combine these options."
23826 msgstr ""
23827
23828 # type: textblock
23829 #: ../tools/virt-ls.pl:212
23830 msgid ""
23831 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<Sys::"
23832 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
23833 "org/>."
23834 msgstr ""
23835
23836 # type: textblock
23837 #: ../tools/virt-make-fs.pl:37
23838 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
23839 msgstr ""
23840
23841 # type: verbatim
23842 #: ../tools/virt-make-fs.pl:41
23843 #, no-wrap
23844 msgid ""
23845 " virt-make-fs [--options] input.tar output.img\n"
23846 "\n"
23847 msgstr ""
23848
23849 # type: verbatim
23850 #: ../tools/virt-make-fs.pl:43
23851 #, no-wrap
23852 msgid ""
23853 " virt-make-fs [--options] input.tar.gz output.img\n"
23854 "\n"
23855 msgstr ""
23856
23857 # type: verbatim
23858 #: ../tools/virt-make-fs.pl:45
23859 #, no-wrap
23860 msgid ""
23861 " virt-make-fs [--options] directory output.img\n"
23862 "\n"
23863 msgstr ""
23864
23865 # type: textblock
23866 #: ../tools/virt-make-fs.pl:49
23867 msgid ""
23868 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
23869 "archive or some files in a directory.  It is similar to tools like L<mkisofs"
23870 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, it can "
23871 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
23872 "you want to attach these filesystems to existing virtual machines (eg. to "
23873 "import large amounts of read-only data to a VM)."
23874 msgstr ""
23875
23876 # type: textblock
23877 #: ../tools/virt-make-fs.pl:57
23878 msgid "Basic usage is:"
23879 msgstr ""
23880
23881 # type: verbatim
23882 #: ../tools/virt-make-fs.pl:59
23883 #, no-wrap
23884 msgid ""
23885 " virt-make-fs input output\n"
23886 "\n"
23887 msgstr ""
23888
23889 # type: textblock
23890 #: ../tools/virt-make-fs.pl:61
23891 msgid ""
23892 "where C<input> is either a directory containing files that you want to add, "
23893 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
23894 "C<output> is a disk image.  The input type is detected automatically.  The "
23895 "output disk image defaults to a raw ext2 image unless you specify extra "
23896 "flags (see L</OPTIONS> below)."
23897 msgstr ""
23898
23899 # type: =head2
23900 #: ../tools/virt-make-fs.pl:67
23901 msgid "EXTRA SPACE"
23902 msgstr ""
23903
23904 # type: textblock
23905 #: ../tools/virt-make-fs.pl:69
23906 msgid ""
23907 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
23908 "the files that it contains, but might have extra space.  Depending on how "
23909 "you are going to use the output, you might think this extra space is wasted "
23910 "and want to minimize it, or you might want to leave space so that more files "
23911 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
23912 "but you can use the C<--size> flag to leave space in the filesystem if you "
23913 "want it."
23914 msgstr ""
23915
23916 # type: textblock
23917 #: ../tools/virt-make-fs.pl:77
23918 msgid ""
23919 "An alternative way to leave extra space but not make the output image any "
23920 "bigger is to use an alternative disk image format (instead of the default "
23921 "\"raw\" format).  Using C<--format=qcow2> will use the native QEmu/KVM qcow2 "
23922 "image format (check your hypervisor supports this before using it).  This "
23923 "allows you to choose a large C<--size> but the extra space won't actually be "
23924 "allocated in the image until you try to store something in it."
23925 msgstr ""
23926
23927 # type: textblock
23928 #: ../tools/virt-make-fs.pl:85
23929 msgid ""
23930 "Don't forget that you can also use local commands including L<resize2fs(8)> "
23931 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-"
23932 "resize to build another image from scratch."
23933 msgstr ""
23934
23935 # type: =head3
23936 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123
23937 #: ../tools/virt-make-fs.pl:142
23938 msgid "EXAMPLE"
23939 msgstr ""
23940
23941 # type: verbatim
23942 #: ../tools/virt-make-fs.pl:91
23943 #, no-wrap
23944 msgid ""
23945 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
23946 "\n"
23947 msgstr ""
23948
23949 # type: =head2
23950 #: ../tools/virt-make-fs.pl:93
23951 msgid "FILESYSTEM TYPE"
23952 msgstr ""
23953
23954 # type: textblock
23955 #: ../tools/virt-make-fs.pl:95
23956 msgid ""
23957 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
23958 "libguestfs supports can be used (but I<not> read-only formats like "
23959 "ISO9660).  Here are some of the more common choices:"
23960 msgstr ""
23961
23962 # type: =item
23963 #: ../tools/virt-make-fs.pl:101
23964 msgid "I<ext3>"
23965 msgstr ""
23966
23967 # type: textblock
23968 #: ../tools/virt-make-fs.pl:103
23969 msgid ""
23970 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
23971 "you are not going to use the filesystem in a way that requires the journal, "
23972 "then this is just wasted overhead."
23973 msgstr ""
23974
23975 # type: =item
23976 #: ../tools/virt-make-fs.pl:107
23977 msgid "I<ntfs> or I<vfat>"
23978 msgstr ""
23979
23980 # type: textblock
23981 #: ../tools/virt-make-fs.pl:109
23982 msgid "Useful if exporting data to a Windows guest."
23983 msgstr ""
23984
23985 # type: textblock
23986 #: ../tools/virt-make-fs.pl:111
23987 msgid ""
23988 "I<Note for vfat>: The tar archive or local directory must only contain files "
23989 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
23990 "program running within libguestfs is unable to change the ownership of non-"
23991 "root files, since vfat itself does not support this."
23992 msgstr ""
23993
23994 # type: =item
23995 #: ../tools/virt-make-fs.pl:116
23996 msgid "I<minix>"
23997 msgstr ""
23998
23999 # type: textblock
24000 #: ../tools/virt-make-fs.pl:118
24001 msgid ""
24002 "Lower overhead than C<ext2>, but certain limitations on filename length and "
24003 "total filesystem size."
24004 msgstr ""
24005
24006 # type: verbatim
24007 #: ../tools/virt-make-fs.pl:125
24008 #, no-wrap
24009 msgid ""
24010 " virt-make-fs --type=minix input minixfs.img\n"
24011 "\n"
24012 msgstr ""
24013
24014 # type: =head2
24015 #: ../tools/virt-make-fs.pl:127
24016 msgid "TO PARTITION OR NOT TO PARTITION"
24017 msgstr ""
24018
24019 # type: textblock
24020 #: ../tools/virt-make-fs.pl:129
24021 msgid "Optionally virt-make-fs can add a partition table to the output disk."
24022 msgstr ""
24023
24024 # type: textblock
24025 #: ../tools/virt-make-fs.pl:131
24026 msgid ""
24027 "Adding a partition can make the disk image more compatible with certain "
24028 "virtualized operating systems which don't expect to see a filesystem "
24029 "directly located on a block device (Linux doesn't care and will happily "
24030 "handle both types)."
24031 msgstr ""
24032
24033 # type: textblock
24034 #: ../tools/virt-make-fs.pl:136
24035 msgid ""
24036 "On the other hand, if you have a partition table then the output image is no "
24037 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
24038 "directly on a partitioned disk image.  (However libguestfs tools such as "
24039 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
24040 msgstr ""
24041
24042 # type: textblock
24043 #: ../tools/virt-make-fs.pl:144
24044 msgid "Add an MBR partition:"
24045 msgstr ""
24046
24047 # type: verbatim
24048 #: ../tools/virt-make-fs.pl:146
24049 #, no-wrap
24050 msgid ""
24051 " virt-make-fs --partition -- input disk.img\n"
24052 "\n"
24053 msgstr ""
24054
24055 # type: textblock
24056 #: ../tools/virt-make-fs.pl:148
24057 msgid ""
24058 "If the output disk image could be terabyte-sized or larger, it's better to "
24059 "use an EFI/GPT-compatible partition table:"
24060 msgstr ""
24061
24062 # type: verbatim
24063 #: ../tools/virt-make-fs.pl:151
24064 #, no-wrap
24065 msgid ""
24066 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
24067 "\n"
24068 msgstr ""
24069
24070 # type: =item
24071 #: ../tools/virt-make-fs.pl:177 ../tools/virt-win-reg.pl:196
24072 msgid "B<--debug>"
24073 msgstr ""
24074
24075 # type: textblock
24076 #: ../tools/virt-make-fs.pl:179
24077 msgid "Enable debugging information."
24078 msgstr ""
24079
24080 # type: =item
24081 #: ../tools/virt-make-fs.pl:185
24082 msgid "B<--size=E<lt>NE<gt>>"
24083 msgstr ""
24084
24085 # type: =item
24086 #: ../tools/virt-make-fs.pl:187
24087 msgid "B<--size=+E<lt>NE<gt>>"
24088 msgstr ""
24089
24090 # type: =item
24091 #: ../tools/virt-make-fs.pl:189
24092 msgid "B<-s E<lt>NE<gt>>"
24093 msgstr ""
24094
24095 # type: =item
24096 #: ../tools/virt-make-fs.pl:191
24097 msgid "B<-s +E<lt>NE<gt>>"
24098 msgstr ""
24099
24100 # type: textblock
24101 #: ../tools/virt-make-fs.pl:193
24102 msgid ""
24103 "Use the C<--size> (or C<-s>) option to choose the size of the output image."
24104 msgstr ""
24105
24106 # type: textblock
24107 #: ../tools/virt-make-fs.pl:196
24108 msgid ""
24109 "If this option is I<not> given, then the output image will be just large "
24110 "enough to contain all the files, with not much wasted space."
24111 msgstr ""
24112
24113 # type: textblock
24114 #: ../tools/virt-make-fs.pl:199
24115 msgid ""
24116 "To choose a fixed size output disk, specify an absolute number followed by b/"
24117 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
24118 "Petabytes or Exabytes.  This must be large enough to contain all the input "
24119 "files, else you will get an error."
24120 msgstr ""
24121
24122 # type: textblock
24123 #: ../tools/virt-make-fs.pl:204
24124 msgid ""
24125 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
24126 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
24127 "Petabytes or Exabytes.  For example: C<--size=+200M> means enough space for "
24128 "the input files, and (approximately) an extra 200 MB free space."
24129 msgstr ""
24130
24131 # type: textblock
24132 #: ../tools/virt-make-fs.pl:210
24133 msgid ""
24134 "Note that virt-make-fs estimates free space, and therefore will not produce "
24135 "filesystems containing precisely the free space requested.  (It is much more "
24136 "expensive and time-consuming to produce a filesystem which has precisely the "
24137 "desired free space)."
24138 msgstr ""
24139
24140 # type: =item
24141 #: ../tools/virt-make-fs.pl:219
24142 msgid "B<--format=E<lt>fmtE<gt>>"
24143 msgstr ""
24144
24145 # type: =item
24146 #: ../tools/virt-make-fs.pl:221
24147 msgid "B<-F E<lt>fmtE<gt>>"
24148 msgstr ""
24149
24150 # type: textblock
24151 #: ../tools/virt-make-fs.pl:223
24152 msgid "Choose the output disk image format."
24153 msgstr ""
24154
24155 # type: textblock
24156 #: ../tools/virt-make-fs.pl:225
24157 msgid "The default is C<raw> (raw disk image)."
24158 msgstr ""
24159
24160 # type: textblock
24161 #: ../tools/virt-make-fs.pl:227
24162 msgid ""
24163 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
24164 "that would really make sense here is C<qcow2>."
24165 msgstr ""
24166
24167 # type: =item
24168 #: ../tools/virt-make-fs.pl:234
24169 msgid "B<--type=E<lt>fsE<gt>>"
24170 msgstr ""
24171
24172 # type: =item
24173 #: ../tools/virt-make-fs.pl:236
24174 msgid "B<-t E<lt>fsE<gt>>"
24175 msgstr ""
24176
24177 # type: textblock
24178 #: ../tools/virt-make-fs.pl:238
24179 msgid "Choose the output filesystem type."
24180 msgstr ""
24181
24182 # type: textblock
24183 #: ../tools/virt-make-fs.pl:240
24184 msgid "The default is C<ext2>."
24185 msgstr ""
24186
24187 # type: textblock
24188 #: ../tools/virt-make-fs.pl:242
24189 msgid ""
24190 "Any filesystem which is supported read-write by libguestfs can be used here."
24191 msgstr ""
24192
24193 # type: =item
24194 #: ../tools/virt-make-fs.pl:249
24195 msgid "B<--partition>"
24196 msgstr ""
24197
24198 # type: =item
24199 #: ../tools/virt-make-fs.pl:251
24200 msgid "B<--partition=E<lt>parttypeE<gt>>"
24201 msgstr ""
24202
24203 # type: textblock
24204 #: ../tools/virt-make-fs.pl:253
24205 msgid ""
24206 "If specified, this flag adds an MBR partition table to the output disk image."
24207 msgstr ""
24208
24209 # type: textblock
24210 #: ../tools/virt-make-fs.pl:256
24211 msgid ""
24212 "You can change the partition table type, eg. C<--partition=gpt> for large "
24213 "disks."
24214 msgstr ""
24215
24216 # type: textblock
24217 #: ../tools/virt-make-fs.pl:259
24218 msgid ""
24219 "Note that if you just use a lonesome C<--partition>, the Perl option parser "
24220 "might consider the next parameter to be the partition type.  For example:"
24221 msgstr ""
24222
24223 # type: verbatim
24224 #: ../tools/virt-make-fs.pl:263
24225 #, no-wrap
24226 msgid ""
24227 " virt-make-fs --partition input.tar ...\n"
24228 "\n"
24229 msgstr ""
24230
24231 # type: textblock
24232 #: ../tools/virt-make-fs.pl:265
24233 msgid ""
24234 "would cause virt-make-fs to think you wanted to use a partition type of "
24235 "C<input.tar> which is completely wrong.  To avoid this, use C<--> (a double "
24236 "dash) between options and the input file argument:"
24237 msgstr ""
24238
24239 # type: verbatim
24240 #: ../tools/virt-make-fs.pl:269
24241 #, no-wrap
24242 msgid ""
24243 " virt-make-fs --partition -- input.tar ...\n"
24244 "\n"
24245 msgstr ""
24246
24247 # type: textblock
24248 #: ../tools/virt-make-fs.pl:529
24249 msgid ""
24250 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar(1)>, L<mkisofs(1)>, "
24251 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
24252 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
24253 msgstr ""
24254
24255 # type: textblock
24256 #: ../tools/virt-make-fs.pl:543 ../tools/virt-win-reg.pl:478
24257 msgid ""
24258 "When reporting bugs, please enable debugging and capture the I<complete> "
24259 "output:"
24260 msgstr ""
24261
24262 # type: verbatim
24263 #: ../tools/virt-make-fs.pl:546
24264 #, no-wrap
24265 msgid ""
24266 " export LIBGUESTFS_DEBUG=1\n"
24267 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
24268 "\n"
24269 msgstr ""
24270
24271 # type: textblock
24272 #: ../tools/virt-make-fs.pl:549
24273 msgid ""
24274 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
24275 "redhat.com/>"
24276 msgstr ""
24277
24278 # type: textblock
24279 #: ../tools/virt-make-fs.pl:558 ../tools/virt-resize.pl:1413
24280 #: ../tools/virt-win-reg.pl:493
24281 msgid "Copyright (C) 2010 Red Hat Inc."
24282 msgstr ""
24283
24284 # type: textblock
24285 #: ../tools/virt-rescue.pl:33
24286 msgid "virt-rescue - Run a rescue shell on a virtual machine"
24287 msgstr ""
24288
24289 # type: verbatim
24290 #: ../tools/virt-rescue.pl:37
24291 #, no-wrap
24292 msgid ""
24293 " virt-rescue [--options] domname\n"
24294 "\n"
24295 msgstr ""
24296
24297 # type: verbatim
24298 #: ../tools/virt-rescue.pl:39
24299 #, no-wrap
24300 msgid ""
24301 " virt-rescue [--options] disk.img [disk.img ...]\n"
24302 "\n"
24303 msgstr ""
24304
24305 # type: textblock
24306 #: ../tools/virt-rescue.pl:43
24307 msgid ""
24308 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
24309 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
24310 "you from doing this, but doesn't catch all cases."
24311 msgstr ""
24312
24313 # type: textblock
24314 #: ../tools/virt-rescue.pl:47
24315 msgid ""
24316 "However if you use the I<--ro> (read only) option, then you can attach a "
24317 "shell to a live virtual machine.  The results might be strange or "
24318 "inconsistent at times but you won't get disk corruption."
24319 msgstr ""
24320
24321 # type: textblock
24322 #: ../tools/virt-rescue.pl:53
24323 msgid ""
24324 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
24325 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
24326 "recovery tools which you can use to examine or rescue a virtual machine or "
24327 "disk image."
24328 msgstr ""
24329
24330 # type: textblock
24331 #: ../tools/virt-rescue.pl:58
24332 msgid ""
24333 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
24334 "on disk image(s):"
24335 msgstr ""
24336
24337 # type: verbatim
24338 #: ../tools/virt-rescue.pl:61
24339 #, no-wrap
24340 msgid ""
24341 " virt-rescue GuestName\n"
24342 "\n"
24343 msgstr ""
24344
24345 # type: verbatim
24346 #: ../tools/virt-rescue.pl:63
24347 #, no-wrap
24348 msgid ""
24349 " virt-rescue --ro /path/to/disk.img\n"
24350 "\n"
24351 msgstr ""
24352
24353 # type: verbatim
24354 #: ../tools/virt-rescue.pl:65
24355 #, no-wrap
24356 msgid ""
24357 " virt-rescue /dev/sdc\n"
24358 "\n"
24359 msgstr ""
24360
24361 # type: textblock
24362 #: ../tools/virt-rescue.pl:67
24363 msgid "For live VMs you I<must> use the --ro option."
24364 msgstr ""
24365
24366 # type: textblock
24367 #: ../tools/virt-rescue.pl:69
24368 msgid ""
24369 "When you run virt-rescue on a virtual machine or disk image, you are placed "
24370 "in an interactive bash shell where you can use many ordinary Linux "
24371 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
24372 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
24373 "is an empty directory called C</sysroot> where you can mount filesystems."
24374 msgstr ""
24375
24376 # type: textblock
24377 #: ../tools/virt-rescue.pl:76
24378 msgid ""
24379 "In the example below, we list logical volumes, then choose one to mount "
24380 "under C</sysroot>:"
24381 msgstr ""
24382
24383 # type: verbatim
24384 #: ../tools/virt-rescue.pl:79
24385 #, no-wrap
24386 msgid ""
24387 " ><rescue> lvs\n"
24388 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
24389 " lv_root vg_f11x64 -wi-a-   8.83G\n"
24390 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
24391 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
24392 " ><rescue> ls /sysroot\n"
24393 "\n"
24394 msgstr ""
24395
24396 # type: textblock
24397 #: ../tools/virt-rescue.pl:86
24398 msgid ""
24399 "If you don't know what filesystems are available on the virtual machine then "
24400 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
24401 msgstr ""
24402
24403 # type: =head1
24404 #: ../tools/virt-rescue.pl:90 ../tools/virt-resize.pl:1350
24405 msgid "NOTES"
24406 msgstr ""
24407
24408 # type: textblock
24409 #: ../tools/virt-rescue.pl:92
24410 msgid ""
24411 "Virt-rescue can be used on I<any> disk image file or device, not just a "
24412 "virtual machine.  For example you can use it on a blank file if you want to "
24413 "partition that file (although we would recommend using L<guestfish(1)> "
24414 "instead as it is more suitable for this purpose).  You can even use virt-"
24415 "rescue on things like SD cards."
24416 msgstr ""
24417
24418 # type: textblock
24419 #: ../tools/virt-rescue.pl:98
24420 msgid ""
24421 "This tool is just designed for quick interactive hacking on a virtual "
24422 "machine.  For more structured access to a virtual machine disk image, you "
24423 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
24424 "make scripted changes to guests, use L<guestfish(1)>."
24425 msgstr ""
24426
24427 # type: =item
24428 #: ../tools/virt-rescue.pl:127
24429 msgid "B<--append kernelopts>"
24430 msgstr ""
24431
24432 # type: textblock
24433 #: ../tools/virt-rescue.pl:129
24434 msgid "Pass additional options to the rescue kernel."
24435 msgstr ""
24436
24437 # type: =item
24438 #: ../tools/virt-rescue.pl:147
24439 msgid "B<--memsize MB> | B<-m MB>"
24440 msgstr ""
24441
24442 # type: textblock
24443 #: ../tools/virt-rescue.pl:149
24444 msgid ""
24445 "Change the amount of memory allocated to the rescue system.  The default is "
24446 "set by libguestfs and is small but adequate for running system tools.  The "
24447 "occasional program might need more memory.  The parameter is specified in "
24448 "megabytes."
24449 msgstr ""
24450
24451 # type: =item
24452 #: ../tools/virt-rescue.pl:158
24453 msgid "B<--ro> | B<-r>"
24454 msgstr ""
24455
24456 # type: textblock
24457 #: ../tools/virt-rescue.pl:160
24458 msgid "Open the image read-only."
24459 msgstr ""
24460
24461 # type: textblock
24462 #: ../tools/virt-rescue.pl:172
24463 msgid ""
24464 "Enable SELinux in the rescue appliance.  You should read L<guestfs(3)/"
24465 "SELINUX> before using this option."
24466 msgstr ""
24467
24468 # type: textblock
24469 #: ../tools/virt-rescue.pl:228
24470 msgid ""
24471 "Several environment variables affect virt-rescue.  See L<guestfs(3)/"
24472 "ENVIRONMENT VARIABLES> for the complete list."
24473 msgstr ""
24474
24475 # type: textblock
24476 #: ../tools/virt-rescue.pl:233
24477 msgid ""
24478 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
24479 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
24480 msgstr ""
24481
24482 # type: textblock
24483 #: ../tools/virt-resize.pl:42
24484 msgid "virt-resize - Resize a virtual machine disk"
24485 msgstr ""
24486
24487 # type: verbatim
24488 #: ../tools/virt-resize.pl:46
24489 #, no-wrap
24490 msgid ""
24491 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
24492 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
24493 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
24494 "\n"
24495 msgstr ""
24496
24497 # type: textblock
24498 #: ../tools/virt-resize.pl:52
24499 msgid ""
24500 "Virt-resize is a tool which can resize a virtual machine disk, making it "
24501 "larger or smaller overall, and resizing or deleting any partitions contained "
24502 "within."
24503 msgstr ""
24504
24505 # type: textblock
24506 #: ../tools/virt-resize.pl:56
24507 msgid ""
24508 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
24509 "not> be used on live virtual machines - for consistent results, shut the "
24510 "virtual machine down before resizing it."
24511 msgstr ""
24512
24513 # type: textblock
24514 #: ../tools/virt-resize.pl:60
24515 msgid ""
24516 "If you are not familiar with the associated tools: L<virt-list-partitions(1)"
24517 ">, L<virt-list-filesystems(1)> and L<virt-df(1)>, we recommend you go and "
24518 "read those manual pages first."
24519 msgstr ""
24520
24521 # type: textblock
24522 #: ../tools/virt-resize.pl:68
24523 msgid ""
24524 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
24525 "fill the extra 5GB of space."
24526 msgstr ""
24527
24528 # type: verbatim
24529 #: ../tools/virt-resize.pl:71
24530 #, no-wrap
24531 msgid ""
24532 " truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
24533 " virt-list-partitions -lht olddisk\n"
24534 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
24535 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
24536 "\n"
24537 msgstr ""
24538
24539 # type: textblock
24540 #: ../tools/virt-resize.pl:76
24541 msgid ""
24542 "As above, but make the /boot partition 200MB bigger, while giving the "
24543 "remaining space to /dev/sda2:"
24544 msgstr ""
24545
24546 # type: verbatim
24547 #: ../tools/virt-resize.pl:79
24548 #, no-wrap
24549 msgid ""
24550 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
24551 "\n"
24552 msgstr ""
24553
24554 # type: =head1
24555 #: ../tools/virt-resize.pl:81
24556 msgid "DETAILED USAGE"
24557 msgstr ""
24558
24559 # type: =head2
24560 #: ../tools/virt-resize.pl:83
24561 msgid "EXPANDING A VIRTUAL MACHINE DISK"
24562 msgstr ""
24563
24564 # type: =item
24565 #: ../tools/virt-resize.pl:87
24566 msgid "1. Shut down the virtual machine"
24567 msgstr ""
24568
24569 # type: =item
24570 #: ../tools/virt-resize.pl:89
24571 msgid "2. Locate input disk image"
24572 msgstr ""
24573
24574 # type: textblock
24575 #: ../tools/virt-resize.pl:91
24576 msgid ""
24577 "Locate the input disk image (ie. the file or device on the host containing "
24578 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
24579 "dumpxml> like this to find the disk image name:"
24580 msgstr ""
24581
24582 # type: verbatim
24583 #: ../tools/virt-resize.pl:95
24584 #, no-wrap
24585 msgid ""
24586 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
24587 " Found 1 nodes:\n"
24588 " -- NODE --\n"
24589 " <source dev=\"/dev/vg/lv_guest\" />\n"
24590 "\n"
24591 msgstr ""
24592
24593 # type: =item
24594 #: ../tools/virt-resize.pl:100
24595 msgid "3. Look at current sizing"
24596 msgstr ""
24597
24598 # type: textblock
24599 #: ../tools/virt-resize.pl:102
24600 msgid ""
24601 "Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
24602 msgstr ""
24603
24604 # type: verbatim
24605 #: ../tools/virt-resize.pl:105
24606 #, no-wrap
24607 msgid ""
24608 " # virt-list-partitions -lht /dev/vg/lv_guest\n"
24609 " /dev/sda1 ext3 101.9M\n"
24610 " /dev/sda2 pv 7.9G\n"
24611 " /dev/sda device 8.0G\n"
24612 "\n"
24613 msgstr ""
24614
24615 # type: textblock
24616 #: ../tools/virt-resize.pl:110
24617 msgid ""
24618 "(This example is a virtual machine with an 8 GB disk which we would like to "
24619 "expand up to 10 GB)."
24620 msgstr ""
24621
24622 # type: =item
24623 #: ../tools/virt-resize.pl:113
24624 msgid "4. Create output disk"
24625 msgstr ""
24626
24627 # type: textblock
24628 #: ../tools/virt-resize.pl:115
24629 msgid ""
24630 "Virt-resize cannot do in-place disk modifications.  You have to have space "
24631 "to store the resized output disk."
24632 msgstr ""
24633
24634 # type: textblock
24635 #: ../tools/virt-resize.pl:118
24636 msgid ""
24637 "To store the resized disk image in a file, create a file of a suitable size:"
24638 msgstr ""
24639
24640 # type: verbatim
24641 #: ../tools/virt-resize.pl:121
24642 #, no-wrap
24643 msgid ""
24644 " # rm -f outdisk\n"
24645 " # truncate -s 10G outdisk\n"
24646 "\n"
24647 msgstr ""
24648
24649 # type: textblock
24650 #: ../tools/virt-resize.pl:124
24651 msgid "Or use L<lvcreate(1)> to create a logical volume:"
24652 msgstr ""
24653
24654 # type: verbatim
24655 #: ../tools/virt-resize.pl:126
24656 #, no-wrap
24657 msgid ""
24658 " # lvcreate -L 10G -n lv_name vg_name\n"
24659 "\n"
24660 msgstr ""
24661
24662 # type: textblock
24663 #: ../tools/virt-resize.pl:128
24664 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
24665 msgstr ""
24666
24667 # type: verbatim
24668 #: ../tools/virt-resize.pl:130
24669 #, no-wrap
24670 msgid ""
24671 " # virsh pool-list\n"
24672 " # virsh vol-create-as poolname newvol 10G\n"
24673 "\n"
24674 msgstr ""
24675
24676 # type: =item
24677 #: ../tools/virt-resize.pl:133
24678 msgid "5. Resize"
24679 msgstr ""
24680
24681 # type: textblock
24682 #: ../tools/virt-resize.pl:135
24683 msgid ""
24684 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
24685 "file) and the output disk.  The output disk is the one created in the "
24686 "previous step."
24687 msgstr ""
24688
24689 # type: verbatim
24690 #: ../tools/virt-resize.pl:139
24691 #, no-wrap
24692 msgid ""
24693 " # virt-resize indisk outdisk\n"
24694 "\n"
24695 msgstr ""
24696
24697 # type: textblock
24698 #: ../tools/virt-resize.pl:141
24699 msgid ""
24700 "This command just copies disk image C<indisk> to disk image C<outdisk> "
24701 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
24702 "larger, then an extra, empty partition is created at the end of the disk "
24703 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
24704 "error."
24705 msgstr ""
24706
24707 # type: textblock
24708 #: ../tools/virt-resize.pl:147
24709 msgid ""
24710 "More realistically you'd want to expand existing partitions in the disk "
24711 "image by passing extra options (for the full list see the L</OPTIONS> "
24712 "section below)."
24713 msgstr ""
24714
24715 # type: textblock
24716 #: ../tools/virt-resize.pl:151
24717 msgid ""
24718 "L</--expand> is the most useful option.  It expands the named partition "
24719 "within the disk to fill any extra space:"
24720 msgstr ""
24721
24722 # type: verbatim
24723 #: ../tools/virt-resize.pl:154
24724 #, no-wrap
24725 msgid ""
24726 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
24727 "\n"
24728 msgstr ""
24729
24730 # type: textblock
24731 #: ../tools/virt-resize.pl:156
24732 msgid ""
24733 "(In this case, an extra partition is I<not> created at the end of the disk, "
24734 "because there will be no unused space)."
24735 msgstr ""
24736
24737 # type: textblock
24738 #: ../tools/virt-resize.pl:159
24739 msgid ""
24740 "L</--resize> is the other commonly used option.  The following would "
24741 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
24742 "rest of the available space:"
24743 msgstr ""
24744
24745 # type: verbatim
24746 #: ../tools/virt-resize.pl:163
24747 #, no-wrap
24748 msgid ""
24749 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
24750 "     indisk outdisk\n"
24751 "\n"
24752 msgstr ""
24753
24754 # type: textblock
24755 #: ../tools/virt-resize.pl:166
24756 msgid ""
24757 "If the expanded partition in the image contains a filesystem or LVM PV, then "
24758 "if virt-resize knows how, it will resize the contents, the equivalent of "
24759 "calling a command such as L<pvresize(8)>, L<resize2fs(8)> or L<ntfsresize(8)"
24760 ">.  However virt-resize does not know how to resize some filesystems, so you "
24761 "would have to online resize them after booting the guest.  And virt-resize "
24762 "also does not resize anything inside an LVM PV, it just resizes the PV "
24763 "itself and leaves the user to resize any LVs inside that PV as desired."
24764 msgstr ""
24765
24766 # type: textblock
24767 #: ../tools/virt-resize.pl:175
24768 msgid "Other options are covered below."
24769 msgstr ""
24770
24771 # type: =item
24772 #: ../tools/virt-resize.pl:177
24773 msgid "6. Test"
24774 msgstr ""
24775
24776 # type: textblock
24777 #: ../tools/virt-resize.pl:179
24778 msgid "Thoroughly test the new disk image I<before> discarding the old one."
24779 msgstr ""
24780
24781 # type: textblock
24782 #: ../tools/virt-resize.pl:181
24783 msgid "If you are using libvirt, edit the XML to point at the new disk:"
24784 msgstr ""
24785
24786 # type: verbatim
24787 #: ../tools/virt-resize.pl:183
24788 #, no-wrap
24789 msgid ""
24790 " # virsh edit guestname\n"
24791 "\n"
24792 msgstr ""
24793
24794 # type: textblock
24795 #: ../tools/virt-resize.pl:185
24796 msgid ""
24797 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
24798 "html#elementsDisks>"
24799 msgstr ""
24800
24801 # type: textblock
24802 #: ../tools/virt-resize.pl:188
24803 msgid "Then start up the domain with the new, resized disk:"
24804 msgstr ""
24805
24806 # type: verbatim
24807 #: ../tools/virt-resize.pl:190
24808 #, no-wrap
24809 msgid ""
24810 " # virsh start guestname\n"
24811 "\n"
24812 msgstr ""
24813
24814 # type: textblock
24815 #: ../tools/virt-resize.pl:192
24816 msgid ""
24817 "and check that it still works.  See also the L</NOTES> section below for "
24818 "additional information."
24819 msgstr ""
24820
24821 # type: =item
24822 #: ../tools/virt-resize.pl:195
24823 msgid "7. Resize LVs etc inside the guest"
24824 msgstr ""
24825
24826 # type: textblock
24827 #: ../tools/virt-resize.pl:197
24828 msgid "(This can also be done offline using L<guestfish(1)>)"
24829 msgstr ""
24830
24831 # type: textblock
24832 #: ../tools/virt-resize.pl:199
24833 msgid ""
24834 "Once the guest has booted you should see the new space available, at least "
24835 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
24836 "may need to resize LVs inside PVs, and also resize filesystem types that "
24837 "virt-resize does not know how to expand."
24838 msgstr ""
24839
24840 # type: =head2
24841 #: ../tools/virt-resize.pl:206
24842 msgid "SHRINKING A VIRTUAL MACHINE DISK"
24843 msgstr ""
24844
24845 # type: textblock
24846 #: ../tools/virt-resize.pl:208
24847 msgid ""
24848 "Shrinking is somewhat more complex than expanding, and only an overview is "
24849 "given here."
24850 msgstr ""
24851
24852 # type: textblock
24853 #: ../tools/virt-resize.pl:211
24854 msgid ""
24855 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
24856 "filesystems).  The user has to shrink content before passing the disk image "
24857 "to virt-resize, and virt-resize will check that the content has been shrunk "
24858 "properly."
24859 msgstr ""
24860
24861 # type: textblock
24862 #: ../tools/virt-resize.pl:216
24863 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
24864 msgstr ""
24865
24866 # type: textblock
24867 #: ../tools/virt-resize.pl:218
24868 msgid ""
24869 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
24870 "steps 3 and 4 above to allocate a new disk image."
24871 msgstr ""
24872
24873 # type: textblock
24874 #: ../tools/virt-resize.pl:221
24875 msgid ""
24876 "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
24877 msgstr ""
24878
24879 # type: =head2
24880 #: ../tools/virt-resize.pl:224
24881 msgid "IGNORING OR DELETING PARTITIONS"
24882 msgstr ""
24883
24884 # type: textblock
24885 #: ../tools/virt-resize.pl:226
24886 msgid ""
24887 "virt-resize also gives a convenient way to ignore or delete partitions when "
24888 "copying from the input disk to the output disk.  Ignoring a partition speeds "
24889 "up the copy where you don't care about the existing contents of a "
24890 "partition.  Deleting a partition removes it completely, but note that it "
24891 "also renumbers any partitions after the one which is deleted, which can "
24892 "leave some guests unbootable."
24893 msgstr ""
24894
24895 # type: textblock
24896 #: ../tools/virt-resize.pl:243
24897 msgid "Display help."
24898 msgstr ""
24899
24900 # type: =item
24901 #: ../tools/virt-resize.pl:257
24902 msgid "B<--resize part=size>"
24903 msgstr ""
24904
24905 # type: textblock
24906 #: ../tools/virt-resize.pl:259
24907 msgid ""
24908 "Resize the named partition (expanding or shrinking it) so that it has the "
24909 "given size."
24910 msgstr ""
24911
24912 # type: textblock
24913 #: ../tools/virt-resize.pl:262
24914 msgid ""
24915 "C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
24916 "mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
24917 "Exabytes; or as a percentage of the current size; or as a relative number or "
24918 "percentage.  For example:"
24919 msgstr ""
24920
24921 # type: verbatim
24922 #: ../tools/virt-resize.pl:267
24923 #, no-wrap
24924 msgid ""
24925 " --resize /dev/sda2=10G\n"
24926 "\n"
24927 msgstr ""
24928
24929 # type: verbatim
24930 #: ../tools/virt-resize.pl:269
24931 #, no-wrap
24932 msgid ""
24933 " --resize /dev/sda4=90%\n"
24934 "\n"
24935 msgstr ""
24936
24937 # type: verbatim
24938 #: ../tools/virt-resize.pl:271
24939 #, no-wrap
24940 msgid ""
24941 " --resize /dev/sda2=+1G\n"
24942 "\n"
24943 msgstr ""
24944
24945 # type: verbatim
24946 #: ../tools/virt-resize.pl:273
24947 #, no-wrap
24948 msgid ""
24949 " --resize /dev/sda2=-200M\n"
24950 "\n"
24951 msgstr ""
24952
24953 # type: verbatim
24954 #: ../tools/virt-resize.pl:275
24955 #, no-wrap
24956 msgid ""
24957 " --resize /dev/sda1=+128K\n"
24958 "\n"
24959 msgstr ""
24960
24961 # type: verbatim
24962 #: ../tools/virt-resize.pl:277
24963 #, no-wrap
24964 msgid ""
24965 " --resize /dev/sda1=+10%\n"
24966 "\n"
24967 msgstr ""
24968
24969 # type: verbatim
24970 #: ../tools/virt-resize.pl:279
24971 #, no-wrap
24972 msgid ""
24973 " --resize /dev/sda1=-10%\n"
24974 "\n"
24975 msgstr ""
24976
24977 # type: textblock
24978 #: ../tools/virt-resize.pl:281
24979 msgid ""
24980 "You can increase the size of any partition.  Virt-resize will expand the "
24981 "direct content of the partition if it knows how (see C<--expand> below)."
24982 msgstr ""
24983
24984 # type: textblock
24985 #: ../tools/virt-resize.pl:285
24986 msgid ""
24987 "You can only I<decrease> the size of partitions that contain filesystems or "
24988 "PVs which have already been shrunk.  Virt-resize will check this has been "
24989 "done before proceeding, or else will print an error (see also C<--resize-"
24990 "force>)."
24991 msgstr ""
24992
24993 # type: textblock
24994 #: ../tools/virt-resize.pl:290 ../tools/virt-resize.pl:382
24995 #: ../tools/virt-resize.pl:399
24996 msgid "You can give this option multiple times."
24997 msgstr ""
24998
24999 # type: =item
25000 #: ../tools/virt-resize.pl:296
25001 msgid "B<--resize-force part=size>"
25002 msgstr ""
25003
25004 # type: textblock
25005 #: ../tools/virt-resize.pl:298
25006 msgid ""
25007 "This is the same as C<--resize> except that it will let you decrease the "
25008 "size of any partition.  Generally this means you will lose any data which "
25009 "was at the end of the partition you shrink, but you may not care about that "
25010 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
25011 "as a swap partition)."
25012 msgstr ""
25013
25014 # type: textblock
25015 #: ../tools/virt-resize.pl:304
25016 msgid "See also the C<--ignore> option."
25017 msgstr ""
25018
25019 # type: =item
25020 #: ../tools/virt-resize.pl:310
25021 msgid "B<--expand part>"
25022 msgstr ""
25023
25024 # type: textblock
25025 #: ../tools/virt-resize.pl:312
25026 msgid ""
25027 "Expand the named partition so it uses up all extra space (space left over "
25028 "after any other resize changes that you request have been done)."
25029 msgstr ""
25030
25031 # type: textblock
25032 #: ../tools/virt-resize.pl:315
25033 msgid ""
25034 "If virt-resize knows how, it will expand the direct content of the "
25035 "partition.  For example, if the partition is an LVM PV, it will expand the "
25036 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
25037 "content it doesn't know about alone."
25038 msgstr ""
25039
25040 # type: textblock
25041 #: ../tools/virt-resize.pl:320
25042 msgid "Currently virt-resize can resize:"
25043 msgstr ""
25044
25045 # type: textblock
25046 #: ../tools/virt-resize.pl:326
25047 msgid ""
25048 "ext2, ext3 and ext4 filesystems when they are contained directly inside a "
25049 "partition."
25050 msgstr ""
25051
25052 # type: textblock
25053 #: ../tools/virt-resize.pl:331
25054 msgid ""
25055 "NTFS filesystems contained directly in a partition, if libguestfs was "
25056 "compiled with support for NTFS."
25057 msgstr ""
25058
25059 # type: textblock
25060 #: ../tools/virt-resize.pl:334
25061 msgid ""
25062 "The filesystem must have been shut down consistently last time it was used.  "
25063 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
25064 "consistency check, so at the first boot after resizing Windows will check "
25065 "the disk."
25066 msgstr ""
25067
25068 # type: textblock
25069 #: ../tools/virt-resize.pl:341
25070 msgid ""
25071 "LVM PVs (physical volumes).  However virt-resize does I<not> resize anything "
25072 "inside the PV.  The user will have to resize LVs as desired."
25073 msgstr ""
25074
25075 # type: textblock
25076 #: ../tools/virt-resize.pl:347 ../tools/virt-resize.pl:369
25077 msgid "Note that you cannot use C<--expand> and C<--shrink> together."
25078 msgstr ""
25079
25080 # type: =item
25081 #: ../tools/virt-resize.pl:353
25082 msgid "B<--shrink part>"
25083 msgstr ""
25084
25085 # type: textblock
25086 #: ../tools/virt-resize.pl:355
25087 msgid ""
25088 "Shrink the named partition until the overall disk image fits in the "
25089 "destination.  The named partition B<must> contain a filesystem or PV which "
25090 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
25091 "online tools).  Virt-resize will check this and give an error if it has not "
25092 "been done."
25093 msgstr ""
25094
25095 # type: textblock
25096 #: ../tools/virt-resize.pl:361
25097 msgid ""
25098 "The amount by which the overall disk must be shrunk (after carrying out all "
25099 "other operations requested by the user) is called the \"deficit\".  For "
25100 "example, a straight copy (assume no other operations)  from a 5GB disk image "
25101 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
25102 "would give an error unless the user specified a partition to shrink and that "
25103 "partition had more than a gigabyte of free space."
25104 msgstr ""
25105
25106 # type: =item
25107 #: ../tools/virt-resize.pl:375
25108 msgid "B<--ignore part>"
25109 msgstr ""
25110
25111 # type: textblock
25112 #: ../tools/virt-resize.pl:377
25113 msgid ""
25114 "Ignore the named partition.  Effectively this means the partition is "
25115 "allocated on the destination disk, but the content is not copied across from "
25116 "the source disk.  The content of the partition will be blank (all zero "
25117 "bytes)."
25118 msgstr ""
25119
25120 # type: =item
25121 #: ../tools/virt-resize.pl:388
25122 msgid "B<--delete part>"
25123 msgstr ""
25124
25125 # type: textblock
25126 #: ../tools/virt-resize.pl:390
25127 msgid ""
25128 "Delete the named partition.  It would be more accurate to describe this as "
25129 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
25130 "the original disk image is left intact."
25131 msgstr ""
25132
25133 # type: textblock
25134 #: ../tools/virt-resize.pl:394
25135 msgid ""
25136 "Note that when you delete a partition, then anything contained in the "
25137 "partition is also deleted.  Furthermore, this causes any partitions that "
25138 "come after to be I<renumbered>, which can easily make your guest unbootable."
25139 msgstr ""
25140
25141 # type: =item
25142 #: ../tools/virt-resize.pl:405
25143 msgid "B<--LV-expand logvol>"
25144 msgstr ""
25145
25146 # type: textblock
25147 #: ../tools/virt-resize.pl:407
25148 msgid ""
25149 "This takes the logical volume and, as a final step, expands it to fill all "
25150 "the space available in its volume group.  A typical usage, assuming a Linux "
25151 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
25152 "lv_root> would be:"
25153 msgstr ""
25154
25155 # type: verbatim
25156 #: ../tools/virt-resize.pl:412
25157 #, no-wrap
25158 msgid ""
25159 " virt-resize indisk outdisk \\\n"
25160 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
25161 "\n"
25162 msgstr ""
25163
25164 # type: textblock
25165 #: ../tools/virt-resize.pl:415
25166 msgid ""
25167 "This would first expand the partition (and PV), and then expand the root "
25168 "device to fill the extra space in the PV."
25169 msgstr ""
25170
25171 # type: textblock
25172 #: ../tools/virt-resize.pl:418
25173 msgid ""
25174 "The contents of the LV are also resized if virt-resize knows how to do "
25175 "that.  You can stop virt-resize from trying to expand the content by using "
25176 "the option C<--no-expand-content>."
25177 msgstr ""
25178
25179 # type: textblock
25180 #: ../tools/virt-resize.pl:422
25181 msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
25182 msgstr ""
25183
25184 # type: textblock
25185 #: ../tools/virt-resize.pl:425
25186 msgid ""
25187 "You can give this option multiple times, I<but> it doesn't make sense to do "
25188 "this unless the logical volumes you specify are all in different volume "
25189 "groups."
25190 msgstr ""
25191
25192 # type: =item
25193 #: ../tools/virt-resize.pl:433
25194 msgid "B<--no-copy-boot-loader>"
25195 msgstr ""
25196
25197 # type: textblock
25198 #: ../tools/virt-resize.pl:435
25199 msgid ""
25200 "By default, virt-resize copies over some sectors at the start of the disk "
25201 "(up to the beginning of the first partition).  Commonly these sectors "
25202 "contain the Master Boot Record (MBR) and the boot loader, and are required "
25203 "in order for the guest to boot correctly."
25204 msgstr ""
25205
25206 # type: textblock
25207 #: ../tools/virt-resize.pl:440
25208 msgid ""
25209 "If you specify this flag, then this initial copy is not done.  You may need "
25210 "to reinstall the boot loader in this case."
25211 msgstr ""
25212
25213 # type: =item
25214 #: ../tools/virt-resize.pl:448
25215 msgid "B<--no-extra-partition>"
25216 msgstr ""
25217
25218 # type: textblock
25219 #: ../tools/virt-resize.pl:450
25220 msgid ""
25221 "By default, virt-resize creates an extra partition if there is any extra, "
25222 "unused space after all resizing has happened.  Use this option to prevent "
25223 "the extra partition from being created.  If you do this then the extra space "
25224 "will be inaccessible until you run fdisk, parted, or some other partitioning "
25225 "tool in the guest."
25226 msgstr ""
25227
25228 # type: textblock
25229 #: ../tools/virt-resize.pl:456
25230 msgid ""
25231 "Note that if the surplus space is smaller than 10 MB, no extra partition "
25232 "will be created."
25233 msgstr ""
25234
25235 # type: =item
25236 #: ../tools/virt-resize.pl:463
25237 msgid "B<--no-expand-content>"
25238 msgstr ""
25239
25240 # type: textblock
25241 #: ../tools/virt-resize.pl:465
25242 msgid ""
25243 "By default, virt-resize will try to expand the direct contents of "
25244 "partitions, if it knows how (see C<--expand> option above)."
25245 msgstr ""
25246
25247 # type: textblock
25248 #: ../tools/virt-resize.pl:468
25249 msgid ""
25250 "If you give the C<--no-expand-content> option then virt-resize will not "
25251 "attempt this."
25252 msgstr ""
25253
25254 # type: =item
25255 #: ../tools/virt-resize.pl:475
25256 msgid "B<-d> | B<--debug>"
25257 msgstr ""
25258
25259 # type: textblock
25260 #: ../tools/virt-resize.pl:477 ../tools/virt-win-reg.pl:198
25261 msgid "Enable debugging messages."
25262 msgstr ""
25263
25264 # type: =item
25265 #: ../tools/virt-resize.pl:483
25266 msgid "B<-n> | B<--dryrun>"
25267 msgstr ""
25268
25269 # type: textblock
25270 #: ../tools/virt-resize.pl:485
25271 msgid "Print a summary of what would be done, but don't do anything."
25272 msgstr ""
25273
25274 # type: =item
25275 #: ../tools/virt-resize.pl:491
25276 msgid "B<-q> | B<--quiet>"
25277 msgstr ""
25278
25279 # type: textblock
25280 #: ../tools/virt-resize.pl:493
25281 msgid "Don't print the summary."
25282 msgstr ""
25283
25284 # type: =head2
25285 #: ../tools/virt-resize.pl:1352
25286 msgid "\"Partition 1 does not end on cylinder boundary.\""
25287 msgstr ""
25288
25289 # type: textblock
25290 #: ../tools/virt-resize.pl:1354
25291 msgid ""
25292 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
25293 "means the partitions will not be aligned to the ancient CHS geometry.  "
25294 "However CHS geometry is meaningless for disks manufactured since the early "
25295 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
25296 "cylinders is not required by any modern operating system."
25297 msgstr ""
25298
25299 # type: =head2
25300 #: ../tools/virt-resize.pl:1361
25301 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
25302 msgstr ""
25303
25304 # type: textblock
25305 #: ../tools/virt-resize.pl:1363
25306 msgid ""
25307 "In Windows Vista and later versions, Microsoft switched to using a separate "
25308 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
25309 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
25310 "the boot partition.  Doing so seems to break the guest completely.  However "
25311 "expanding the second partition (ie. C: drive) should work."
25312 msgstr ""
25313
25314 # type: textblock
25315 #: ../tools/virt-resize.pl:1370
25316 msgid ""
25317 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
25318 "NTFS partitions have been expanded.  This is just a safety check and (unless "
25319 "it find errors) is nothing to worry about."
25320 msgstr ""
25321
25322 # type: =head1
25323 #: ../tools/virt-resize.pl:1374
25324 msgid "ALTERNATIVE TOOLS"
25325 msgstr ""
25326
25327 # type: textblock
25328 #: ../tools/virt-resize.pl:1376
25329 msgid ""
25330 "There are several proprietary tools for resizing partitions.  We won't "
25331 "mention any here."
25332 msgstr ""
25333
25334 # type: textblock
25335 #: ../tools/virt-resize.pl:1379
25336 msgid ""
25337 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
25338 "operations on disk images.  They can resize and move partitions, but I don't "
25339 "think they can do anything with the contents, and they certainly don't "
25340 "understand LVM."
25341 msgstr ""
25342
25343 # type: textblock
25344 #: ../tools/virt-resize.pl:1384
25345 msgid ""
25346 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
25347 "but at a much lower level.  You will probably end up hand-calculating sector "
25348 "offsets, which is something that virt-resize was designed to avoid.  If you "
25349 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
25350 "C<--debug> flag."
25351 msgstr ""
25352
25353 # type: textblock
25354 #: ../tools/virt-resize.pl:1392
25355 msgid ""
25356 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)>, L<virt-df(1)>, "
25357 "L<guestfs(3)>, L<guestfish(1)>, L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, "
25358 "L<resize2fs(8)>, L<ntfsresize(8)>, L<virsh(1)>, L<parted(8)>, L<Sys::Guestfs"
25359 "(3)>, L<http://libguestfs.org/>."
25360 msgstr ""
25361
25362 # type: textblock
25363 #: ../tools/virt-tar.pl:34
25364 msgid "virt-tar - Extract or upload files to a virtual machine"
25365 msgstr ""
25366
25367 # type: verbatim
25368 #: ../tools/virt-tar.pl:38
25369 #, no-wrap
25370 msgid ""
25371 " virt-tar [--options] -x domname directory tarball\n"
25372 "\n"
25373 msgstr ""
25374
25375 # type: verbatim
25376 #: ../tools/virt-tar.pl:40
25377 #, no-wrap
25378 msgid ""
25379 " virt-tar [--options] -u domname tarball directory\n"
25380 "\n"
25381 msgstr ""
25382
25383 # type: verbatim
25384 #: ../tools/virt-tar.pl:42
25385 #, no-wrap
25386 msgid ""
25387 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
25388 "\n"
25389 msgstr ""
25390
25391 # type: verbatim
25392 #: ../tools/virt-tar.pl:44
25393 #, no-wrap
25394 msgid ""
25395 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
25396 "\n"
25397 msgstr ""
25398
25399 # type: textblock
25400 #: ../tools/virt-tar.pl:48
25401 msgid "Download C</home> from the VM into a local tarball:"
25402 msgstr ""
25403
25404 # type: verbatim
25405 #: ../tools/virt-tar.pl:50
25406 #, no-wrap
25407 msgid ""
25408 " virt-tar -x domname /home home.tar\n"
25409 "\n"
25410 msgstr ""
25411
25412 # type: verbatim
25413 #: ../tools/virt-tar.pl:52
25414 #, no-wrap
25415 msgid ""
25416 " virt-tar -zx domname /home home.tar.gz\n"
25417 "\n"
25418 msgstr ""
25419
25420 # type: textblock
25421 #: ../tools/virt-tar.pl:54
25422 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
25423 msgstr ""
25424
25425 # type: verbatim
25426 #: ../tools/virt-tar.pl:56
25427 #, no-wrap
25428 msgid ""
25429 " virt-tar -u domname uploadstuff.tar /tmp\n"
25430 "\n"
25431 msgstr ""
25432
25433 # type: verbatim
25434 #: ../tools/virt-tar.pl:58
25435 #, no-wrap
25436 msgid ""
25437 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
25438 "\n"
25439 msgstr ""
25440
25441 # type: textblock
25442 #: ../tools/virt-tar.pl:62
25443 msgid ""
25444 "You must I<not> use C<virt-tar> with the C<-u> option (upload) on live "
25445 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
25446 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
25447 msgstr ""
25448
25449 # type: textblock
25450 #: ../tools/virt-tar.pl:67
25451 msgid ""
25452 "You can use C<-x> (extract) on live virtual machines, but you might get "
25453 "inconsistent results or errors if there is filesystem activity inside the "
25454 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
25455 "work, but the only way to guarantee consistent results is if the virtual "
25456 "machine is shut down."
25457 msgstr ""
25458
25459 # type: textblock
25460 #: ../tools/virt-tar.pl:75
25461 msgid ""
25462 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
25463 "parts of a guest filesystem.  There are many possibilities: making backups, "
25464 "uploading data files, snooping on guest activity, fixing or customizing "
25465 "guests, etc."
25466 msgstr ""
25467
25468 # type: textblock
25469 #: ../tools/virt-tar.pl:80
25470 msgid ""
25471 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
25472 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
25473 "should look at the L<guestfish(1)> tool."
25474 msgstr ""
25475
25476 # type: textblock
25477 #: ../tools/virt-tar.pl:84
25478 msgid ""
25479 "There are two modes of operation: C<-x> (eXtract) downloads a directory and "
25480 "its contents (recursively) from the virtual machine into a local tarball.  "
25481 "C<-u> uploads from a local tarball, unpacking it into a directory inside the "
25482 "virtual machine.  You cannot use these two options together."
25483 msgstr ""
25484
25485 # type: textblock
25486 #: ../tools/virt-tar.pl:90
25487 msgid ""
25488 "In addition, you may need to use the C<-z> (gZip) option to enable "
25489 "compression.  When uploading, you have to specify C<-z> if the upload file "
25490 "is compressed because virt-tar won't detect this on its own."
25491 msgstr ""
25492
25493 # type: textblock
25494 #: ../tools/virt-tar.pl:94
25495 msgid ""
25496 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
25497 "example it cannot do PKZip files or bzip2 compression.  If you want that "
25498 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
25499 "the L<libguestfs(3)> API)."
25500 msgstr ""
25501
25502 # type: =item
25503 #: ../tools/virt-tar.pl:135
25504 msgid "B<-x> | B<--extract> | B<--download>"
25505 msgstr ""
25506
25507 # type: =item
25508 #: ../tools/virt-tar.pl:137
25509 msgid "B<-u> | B<--upload>"
25510 msgstr ""
25511
25512 # type: textblock
25513 #: ../tools/virt-tar.pl:139
25514 msgid ""
25515 "Use C<-x> to extract (download) a directory from a virtual machine to a "
25516 "local tarball."
25517 msgstr ""
25518
25519 # type: textblock
25520 #: ../tools/virt-tar.pl:142
25521 msgid ""
25522 "Use C<-u> to upload and unpack from a local tarball into a virtual machine.  "
25523 "Please read the L</WARNING> section above before using this option."
25524 msgstr ""
25525
25526 # type: textblock
25527 #: ../tools/virt-tar.pl:146
25528 msgid "You must specify exactly one of these options."
25529 msgstr ""
25530
25531 # type: =item
25532 #: ../tools/virt-tar.pl:152
25533 msgid "B<-z> | B<--gzip>"
25534 msgstr ""
25535
25536 # type: textblock
25537 #: ../tools/virt-tar.pl:154
25538 msgid "Specify that the input or output tarball is gzip-compressed."
25539 msgstr ""
25540
25541 # type: textblock
25542 #: ../tools/virt-tar.pl:259
25543 msgid ""
25544 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<Sys::"
25545 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
25546 "org/>."
25547 msgstr ""
25548
25549 # type: textblock
25550 #: ../tools/virt-win-reg.pl:38
25551 msgid ""
25552 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
25553 msgstr ""
25554
25555 # type: verbatim
25556 #: ../tools/virt-win-reg.pl:42
25557 #, no-wrap
25558 msgid ""
25559 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
25560 "\n"
25561 msgstr ""
25562
25563 # type: verbatim
25564 #: ../tools/virt-win-reg.pl:44
25565 #, no-wrap
25566 msgid ""
25567 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
25568 "\n"
25569 msgstr ""
25570
25571 # type: verbatim
25572 #: ../tools/virt-win-reg.pl:46
25573 #, no-wrap
25574 msgid ""
25575 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
25576 "\n"
25577 msgstr ""
25578
25579 # type: verbatim
25580 #: ../tools/virt-win-reg.pl:48
25581 #, no-wrap
25582 msgid ""
25583 " virt-win-reg --merge domname [input.reg ...]\n"
25584 "\n"
25585 msgstr ""
25586
25587 # type: verbatim
25588 #: ../tools/virt-win-reg.pl:50
25589 #, no-wrap
25590 msgid ""
25591 " virt-win-reg [--options] disk.img ... # instead of domname\n"
25592 "\n"
25593 msgstr ""
25594
25595 # type: textblock
25596 #: ../tools/virt-win-reg.pl:54
25597 msgid ""
25598 "You must I<not> use C<virt-win-reg> with the C<--merge> option on live "
25599 "virtual machines.  If you do this, you I<will> get irreversible disk "
25600 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
25601 "but doesn't catch all cases."
25602 msgstr ""
25603
25604 # type: textblock
25605 #: ../tools/virt-win-reg.pl:59
25606 msgid ""
25607 "Modifying the Windows Registry is an inherently risky operation.  The format "
25608 "is deliberately obscure and undocumented, and Registry changes can leave the "
25609 "system unbootable.  Therefore when using the C<--merge> option, make sure "
25610 "you have a reliable backup first."
25611 msgstr ""
25612
25613 # type: textblock
25614 #: ../tools/virt-win-reg.pl:66
25615 msgid ""
25616 "This program can export and merge Windows Registry entries from a Windows "
25617 "guest."
25618 msgstr ""
25619
25620 # type: textblock
25621 #: ../tools/virt-win-reg.pl:69
25622 msgid ""
25623 "The first parameter is the libvirt guest name or the raw disk image of a "
25624 "Windows guest."
25625 msgstr ""
25626
25627 # type: textblock
25628 #: ../tools/virt-win-reg.pl:72
25629 msgid ""
25630 "If C<--merge> is I<not> specified, then the chosen registry key is displayed/"
25631 "exported (recursively).  For example:"
25632 msgstr ""
25633
25634 # type: verbatim
25635 #: ../tools/virt-win-reg.pl:75
25636 #, no-wrap
25637 msgid ""
25638 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
25639 "\n"
25640 msgstr ""
25641
25642 # type: textblock
25643 #: ../tools/virt-win-reg.pl:77
25644 msgid ""
25645 "You can also display single values from within registry keys, for example:"
25646 msgstr ""
25647
25648 # type: verbatim
25649 #: ../tools/virt-win-reg.pl:80
25650 #, no-wrap
25651 msgid ""
25652 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
25653 " $ virt-win-reg Windows7 $cvkey ProductName\n"
25654 " Windows 7 Enterprise\n"
25655 "\n"
25656 msgstr ""
25657
25658 # type: textblock
25659 #: ../tools/virt-win-reg.pl:84
25660 msgid ""
25661 "With C<--merge>, you can merge a textual regedit file into the Windows "
25662 "Registry:"
25663 msgstr ""
25664
25665 # type: verbatim
25666 #: ../tools/virt-win-reg.pl:87
25667 #, no-wrap
25668 msgid ""
25669 " $ virt-win-reg --merge Windows7 changes.reg\n"
25670 "\n"
25671 msgstr ""
25672
25673 # type: =head2
25674 #: ../tools/virt-win-reg.pl:89
25675 msgid "SUPPORTED SYSTEMS"
25676 msgstr ""
25677
25678 # type: textblock
25679 #: ../tools/virt-win-reg.pl:91
25680 msgid ""
25681 "The program currently supports Windows NT-derived guests starting with "
25682 "Windows XP through to at least Windows 7."
25683 msgstr ""
25684
25685 # type: textblock
25686 #: ../tools/virt-win-reg.pl:94
25687 msgid ""
25688 "Registry support is done for C<HKEY_LOCAL_MACHINE\\SAM>, C<HKEY_LOCAL_MACHINE"
25689 "\\SECURITY>, C<HKEY_LOCAL_MACHINE\\SOFTWARE>, C<HKEY_LOCAL_MACHINE\\SYSTEM> "
25690 "and C<HKEY_USERS\\.DEFAULT>."
25691 msgstr ""
25692
25693 # type: textblock
25694 #: ../tools/virt-win-reg.pl:98
25695 msgid ""
25696 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
25697 "C<HKEY_USERS>."
25698 msgstr ""
25699
25700 # type: textblock
25701 #: ../tools/virt-win-reg.pl:101
25702 msgid ""
25703 "C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are B<not> supported at this "
25704 "time."
25705 msgstr ""
25706
25707 # type: =head2
25708 #: ../tools/virt-win-reg.pl:104
25709 msgid "NOTE"
25710 msgstr ""
25711
25712 # type: textblock
25713 #: ../tools/virt-win-reg.pl:106
25714 msgid ""
25715 "This program is only meant for simple access to the registry.  If you want "
25716 "to do complicated things with the registry, we suggest you download the "
25717 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
25718 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
25719 "L<hivexregedit(1)>."
25720 msgstr ""
25721
25722 # type: =head2
25723 #: ../tools/virt-win-reg.pl:112
25724 msgid "ENCODING"
25725 msgstr ""
25726
25727 # type: textblock
25728 #: ../tools/virt-win-reg.pl:114
25729 msgid ""
25730 "C<virt-win-reg> expects that regedit files have already been reencoded in "
25731 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
25732 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
25733 "Windows-style line endings, you may need to reencode the whole file before "
25734 "or after processing."
25735 msgstr ""
25736
25737 # type: textblock
25738 #: ../tools/virt-win-reg.pl:120
25739 msgid ""
25740 "To reencode a file from Windows format to Linux (before processing it with "
25741 "the C<--merge> option), you would do something like this:"
25742 msgstr ""
25743
25744 # type: verbatim
25745 #: ../tools/virt-win-reg.pl:123
25746 #, no-wrap
25747 msgid ""
25748 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
25749 "\n"
25750 msgstr ""
25751
25752 # type: textblock
25753 #: ../tools/virt-win-reg.pl:125
25754 msgid ""
25755 "To go in the opposite direction, after exporting and before sending the file "
25756 "to a Windows user, do something like this:"
25757 msgstr ""
25758
25759 # type: verbatim
25760 #: ../tools/virt-win-reg.pl:128
25761 #, no-wrap
25762 msgid ""
25763 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
25764 "\n"
25765 msgstr ""
25766
25767 # type: textblock
25768 #: ../tools/virt-win-reg.pl:130
25769 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
25770 msgstr ""
25771
25772 # type: textblock
25773 #: ../tools/virt-win-reg.pl:132
25774 msgid ""
25775 "If you are unsure about the current encoding, use the L<file(1)> command.  "
25776 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
25777 "style (CRLF) line endings, like this:"
25778 msgstr ""
25779
25780 # type: verbatim
25781 #: ../tools/virt-win-reg.pl:136
25782 #, no-wrap
25783 msgid ""
25784 " $ file software.reg\n"
25785 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
25786 " with CRLF line terminators\n"
25787 "\n"
25788 msgstr ""
25789
25790 # type: textblock
25791 #: ../tools/virt-win-reg.pl:140
25792 msgid "This file would need conversion before you could C<--merge> it."
25793 msgstr ""
25794
25795 # type: =head2
25796 #: ../tools/virt-win-reg.pl:142
25797 msgid "SHELL QUOTING"
25798 msgstr ""
25799
25800 # type: textblock
25801 #: ../tools/virt-win-reg.pl:144
25802 msgid ""
25803 "Be careful when passing parameters containing C<\\> (backslash) in the "
25804 "shell.  Usually you will have to use 'single quotes' or double backslashes "
25805 "(but not both) to protect them from the shell."
25806 msgstr ""
25807
25808 # type: textblock
25809 #: ../tools/virt-win-reg.pl:148
25810 msgid "Paths and value names are case-insensitive."
25811 msgstr ""
25812
25813 # type: =head2
25814 #: ../tools/virt-win-reg.pl:150
25815 msgid "CurrentControlSet etc."
25816 msgstr ""
25817
25818 # type: textblock
25819 #: ../tools/virt-win-reg.pl:152
25820 msgid ""
25821 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
25822 "Registry at the level of the hive file, and therefore you cannot modify "
25823 "these."
25824 msgstr ""
25825
25826 # type: textblock
25827 #: ../tools/virt-win-reg.pl:156
25828 msgid ""
25829 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
25830 "circumstances it might refer to another control set.  The way to find out is "
25831 "to look at the C<HKLM\\SYSTEM\\Select> key:"
25832 msgstr ""
25833
25834 # type: verbatim
25835 #: ../tools/virt-win-reg.pl:160
25836 #, no-wrap
25837 msgid ""
25838 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
25839 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
25840 " \"Current\"=dword:00000001\n"
25841 " \"Default\"=dword:00000001\n"
25842 " \"Failed\"=dword:00000000\n"
25843 " \"LastKnownGood\"=dword:00000002\n"
25844 "\n"
25845 msgstr ""
25846
25847 # type: textblock
25848 #: ../tools/virt-win-reg.pl:167
25849 msgid "\"Default\" is the one which Windows will choose when it boots."
25850 msgstr ""
25851
25852 # type: textblock
25853 #: ../tools/virt-win-reg.pl:169
25854 msgid ""
25855 "Similarly, other C<Current...> keys in the path may need to be replaced."
25856 msgstr ""
25857
25858 # type: =item
25859 #: ../tools/virt-win-reg.pl:216
25860 msgid "B<--merge>"
25861 msgstr ""
25862
25863 # type: textblock
25864 #: ../tools/virt-win-reg.pl:218
25865 msgid ""
25866 "In merge mode, this merges a textual regedit file into the Windows Registry "
25867 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
25868 "displays or exports Registry entries instead."
25869 msgstr ""
25870
25871 # type: textblock
25872 #: ../tools/virt-win-reg.pl:222
25873 msgid ""
25874 "Note that C<--merge> is I<unsafe> to use on live virtual machines, and will "
25875 "result in disk corruption.  However exporting (without this flag)  is always "
25876 "safe."
25877 msgstr ""
25878
25879 # type: =item
25880 #: ../tools/virt-win-reg.pl:230
25881 msgid "B<--encoding> UTF-16LE|ASCII"
25882 msgstr ""
25883
25884 # type: textblock
25885 #: ../tools/virt-win-reg.pl:232
25886 msgid ""
25887 "When merging (only), you may need to specify the encoding for strings to be "
25888 "used in the hive file.  This is explained in detail in L<Win::Hivex::Regedit"
25889 "(3)/ENCODING STRINGS>."
25890 msgstr ""
25891
25892 # type: textblock
25893 #: ../tools/virt-win-reg.pl:236
25894 msgid ""
25895 "The default is to use UTF-16LE, which should work with recent versions of "
25896 "Windows."
25897 msgstr ""
25898
25899 # type: textblock
25900 #: ../tools/virt-win-reg.pl:463
25901 msgid ""
25902 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
25903 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
25904 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25905 msgstr ""
25906
25907 # type: verbatim
25908 #: ../tools/virt-win-reg.pl:481
25909 #, no-wrap
25910 msgid ""
25911 " export LIBGUESTFS_DEBUG=1\n"
25912 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
25913 "\n"
25914 msgstr ""
25915
25916 # type: textblock
25917 #: ../tools/virt-win-reg.pl:484
25918 msgid ""
25919 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
25920 "redhat.com/>"
25921 msgstr ""