Version 1.5.20.
[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-26 22: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 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 # type: =encoding
20 #: ../src/guestfs.pod:1 ../fish/guestfish.pod:1
21 #: ../test-tool/libguestfs-test-tool.pod:1 ../fuse/guestmount.pod:1
22 #: ../inspector/virt-inspector.pl:36 ../tools/virt-edit.pl:31
23 #: ../tools/virt-win-reg.pl:34 ../tools/virt-df.pl:32 ../tools/virt-ls.pl:31
24 #: ../tools/virt-resize.pl:38 ../tools/virt-list-filesystems.pl:28
25 #: ../tools/virt-cat.pl:30 ../tools/virt-tar.pl:30 ../tools/virt-rescue.pl:29
26 #: ../tools/virt-make-fs.pl:33 ../tools/virt-list-partitions.pl:28
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-edit.pl:33
34 #: ../tools/virt-win-reg.pl:36 ../tools/virt-df.pl:34 ../tools/virt-ls.pl:33
35 #: ../tools/virt-resize.pl:40 ../tools/virt-list-filesystems.pl:30
36 #: ../tools/virt-cat.pl:32 ../tools/virt-tar.pl:32 ../tools/virt-rescue.pl:31
37 #: ../tools/virt-make-fs.pl:35 ../tools/virt-list-partitions.pl:30
38 msgid "NAME"
39 msgstr "名前"
40
41 # type: textblock
42 #: ../src/guestfs.pod:5
43 msgid "guestfs - Library for accessing and modifying virtual machine images"
44 msgstr ""
45
46 # type: =head1
47 #: ../src/guestfs.pod:7 ../fish/guestfish.pod:7
48 #: ../test-tool/libguestfs-test-tool.pod:7 ../fuse/guestmount.pod:7
49 #: ../inspector/virt-inspector.pl:42 ../tools/virt-edit.pl:37
50 #: ../tools/virt-win-reg.pl:40 ../tools/virt-df.pl:38 ../tools/virt-ls.pl:37
51 #: ../tools/virt-resize.pl:44 ../tools/virt-list-filesystems.pl:34
52 #: ../tools/virt-cat.pl:36 ../tools/virt-tar.pl:36 ../tools/virt-rescue.pl:35
53 #: ../tools/virt-make-fs.pl:39 ../tools/virt-list-partitions.pl:34
54 msgid "SYNOPSIS"
55 msgstr ""
56
57 # type: verbatim
58 #: ../src/guestfs.pod:9
59 #, no-wrap
60 msgid ""
61 " #include <guestfs.h>\n"
62 " \n"
63 msgstr ""
64
65 # type: verbatim
66 #: ../src/guestfs.pod:11
67 #, no-wrap
68 msgid ""
69 " guestfs_h *g = guestfs_create ();\n"
70 " guestfs_add_drive (g, \"guest.img\");\n"
71 " guestfs_launch (g);\n"
72 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
73 " guestfs_touch (g, \"/hello\");\n"
74 " guestfs_umount (g, \"/\");\n"
75 " guestfs_sync (g);\n"
76 " guestfs_close (g);\n"
77 "\n"
78 msgstr ""
79
80 # type: verbatim
81 #: ../src/guestfs.pod:20
82 #, no-wrap
83 msgid ""
84 " cc prog.c -o prog -lguestfs\n"
85 "or:\n"
86 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
87 "\n"
88 msgstr ""
89
90 # type: =head1
91 #: ../src/guestfs.pod:24 ../fish/guestfish.pod:30
92 #: ../test-tool/libguestfs-test-tool.pod:11 ../fuse/guestmount.pod:16
93 #: ../inspector/virt-inspector.pl:48 ../tools/virt-edit.pl:51
94 #: ../tools/virt-win-reg.pl:64 ../tools/virt-df.pl:46 ../tools/virt-ls.pl:43
95 #: ../tools/virt-resize.pl:50 ../tools/virt-list-filesystems.pl:40
96 #: ../tools/virt-cat.pl:42 ../tools/virt-tar.pl:73 ../tools/virt-rescue.pl:51
97 #: ../tools/virt-make-fs.pl:47 ../tools/virt-list-partitions.pl:40
98 msgid "DESCRIPTION"
99 msgstr ""
100
101 # type: textblock
102 #: ../src/guestfs.pod:26
103 msgid ""
104 "Libguestfs is a library for accessing and modifying guest disk images.  "
105 "Amongst the things this is good for: making batch configuration changes to "
106 "guests, getting disk used/free statistics (see also: virt-df), migrating "
107 "between virtualization systems (see also: virt-p2v), performing partial "
108 "backups, performing partial guest clones, cloning guests and changing "
109 "registry/UUID/hostname info, and much else besides."
110 msgstr ""
111
112 # type: textblock
113 #: ../src/guestfs.pod:34
114 msgid ""
115 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
116 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
117 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
118 "qcow2, vmdk."
119 msgstr ""
120
121 # type: textblock
122 #: ../src/guestfs.pod:39
123 msgid ""
124 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
125 "what filesystem is in each LV, etc.).  It can also run commands in the "
126 "context of the guest.  Also you can access filesystems over FUSE."
127 msgstr ""
128
129 # type: textblock
130 #: ../src/guestfs.pod:44
131 msgid ""
132 "Libguestfs is a library that can be linked with C and C++ management "
133 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
134 "PHP, Haskell or C#).  You can also use it from shell scripts or the command "
135 "line."
136 msgstr ""
137
138 # type: textblock
139 #: ../src/guestfs.pod:49
140 msgid ""
141 "You don't need to be root to use libguestfs, although obviously you do need "
142 "enough permissions to access the disk images."
143 msgstr ""
144
145 # type: textblock
146 #: ../src/guestfs.pod:52
147 msgid ""
148 "Libguestfs is a large API because it can do many things.  For a gentle "
149 "introduction, please read the L</API OVERVIEW> section next."
150 msgstr ""
151
152 # type: =head1
153 #: ../src/guestfs.pod:55
154 msgid "API OVERVIEW"
155 msgstr ""
156
157 # type: textblock
158 #: ../src/guestfs.pod:57
159 msgid ""
160 "This section provides a gentler overview of the libguestfs API.  We also try "
161 "to group API calls together, where that may not be obvious from reading "
162 "about the individual calls in the main section of this manual."
163 msgstr ""
164
165 # type: =head2
166 #: ../src/guestfs.pod:62
167 msgid "HANDLES"
168 msgstr ""
169
170 # type: textblock
171 #: ../src/guestfs.pod:64
172 msgid ""
173 "Before you can use libguestfs calls, you have to create a handle.  Then you "
174 "must add at least one disk image to the handle, followed by launching the "
175 "handle, then performing whatever operations you want, and finally closing "
176 "the handle.  By convention we use the single letter C<g> for the name of the "
177 "handle variable, although of course you can use any name you want."
178 msgstr ""
179
180 # type: textblock
181 #: ../src/guestfs.pod:71
182 msgid "The general structure of all libguestfs-using programs looks like this:"
183 msgstr ""
184
185 # type: verbatim
186 #: ../src/guestfs.pod:74
187 #, no-wrap
188 msgid ""
189 " guestfs_h *g = guestfs_create ();\n"
190 " \n"
191 msgstr ""
192
193 # type: verbatim
194 #: ../src/guestfs.pod:76
195 #, no-wrap
196 msgid ""
197 " /* Call guestfs_add_drive additional times if there are\n"
198 "  * multiple disk images.\n"
199 "  */\n"
200 " guestfs_add_drive (g, \"guest.img\");\n"
201 " \n"
202 msgstr ""
203
204 # type: verbatim
205 #: ../src/guestfs.pod:81
206 #, no-wrap
207 msgid ""
208 " /* Most manipulation calls won't work until you've launched\n"
209 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
210 "  * and _before_ other commands.\n"
211 "  */\n"
212 " guestfs_launch (g);\n"
213 " \n"
214 msgstr ""
215
216 # type: verbatim
217 #: ../src/guestfs.pod:87
218 #, no-wrap
219 msgid ""
220 " /* Now you can examine what partitions, LVs etc are available.\n"
221 "  */\n"
222 " char **partitions = guestfs_list_partitions (g);\n"
223 " char **logvols = guestfs_lvs (g);\n"
224 " \n"
225 msgstr ""
226
227 # type: verbatim
228 #: ../src/guestfs.pod:92
229 #, no-wrap
230 msgid ""
231 " /* To access a filesystem in the image, you must mount it.\n"
232 "  */\n"
233 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
234 " \n"
235 msgstr ""
236
237 # type: verbatim
238 #: ../src/guestfs.pod:96
239 #, no-wrap
240 msgid ""
241 " /* Now you can perform filesystem actions on the guest\n"
242 "  * disk image.\n"
243 "  */\n"
244 " guestfs_touch (g, \"/hello\");\n"
245 " \n"
246 msgstr ""
247
248 # type: verbatim
249 #: ../src/guestfs.pod:101
250 #, no-wrap
251 msgid ""
252 " /* You only need to call guestfs_sync if you have made\n"
253 "  * changes to the guest image.  (But if you've made changes\n"
254 "  * then you *must* sync).  See also: guestfs_umount and\n"
255 "  * guestfs_umount_all calls.\n"
256 "  */\n"
257 " guestfs_sync (g);\n"
258 " \n"
259 msgstr ""
260
261 # type: verbatim
262 #: ../src/guestfs.pod:108
263 #, no-wrap
264 msgid ""
265 " /* Close the handle 'g'. */\n"
266 " guestfs_close (g);\n"
267 "\n"
268 msgstr ""
269
270 # type: textblock
271 #: ../src/guestfs.pod:111
272 msgid ""
273 "The code above doesn't include any error checking.  In real code you should "
274 "check return values carefully for errors.  In general all functions that "
275 "return integers return C<-1> on error, and all functions that return "
276 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
277 "how to handle errors, and consult the documentation for each function call "
278 "below to see precisely how they return error indications."
279 msgstr ""
280
281 # type: =head2
282 #: ../src/guestfs.pod:119
283 msgid "DISK IMAGES"
284 msgstr ""
285
286 # type: textblock
287 #: ../src/guestfs.pod:121
288 msgid ""
289 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
290 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
291 "actual block device, or simply an empty file of zeroes that you have created "
292 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
293 "of these."
294 msgstr ""
295
296 # type: textblock
297 #: ../src/guestfs.pod:127
298 msgid ""
299 "You can add a disk read-only using L</guestfs_add_drive_ro>, in which case "
300 "libguestfs won't modify the file."
301 msgstr ""
302
303 # type: textblock
304 #: ../src/guestfs.pod:130
305 msgid ""
306 "Be extremely cautious if the disk image is in use, eg. if it is being used "
307 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
308 "corruption, but adding it read-only is safe."
309 msgstr ""
310
311 # type: textblock
312 #: ../src/guestfs.pod:134
313 msgid ""
314 "You must add at least one disk image, and you may add multiple disk images.  "
315 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
316 "first one you added), C</dev/sdb> (for the second one you added), etc."
317 msgstr ""
318
319 # type: textblock
320 #: ../src/guestfs.pod:139
321 msgid ""
322 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
323 "can call L</guestfs_list_devices> to get a list of the device names, in the "
324 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
325 msgstr ""
326
327 # type: =head2
328 #: ../src/guestfs.pod:144
329 msgid "MOUNTING"
330 msgstr ""
331
332 # type: textblock
333 #: ../src/guestfs.pod:146
334 msgid ""
335 "Before you can read or write files, create directories and so on in a disk "
336 "image that contains filesystems, you have to mount those filesystems using "
337 "L</guestfs_mount>.  If you already know that a disk image contains (for "
338 "example) one partition with a filesystem on that partition, then you can "
339 "mount it directly:"
340 msgstr ""
341
342 # type: verbatim
343 #: ../src/guestfs.pod:152
344 #, no-wrap
345 msgid ""
346 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
347 "\n"
348 msgstr ""
349
350 # type: textblock
351 #: ../src/guestfs.pod:154
352 msgid ""
353 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
354 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
355 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>)."
356 msgstr ""
357
358 # type: textblock
359 #: ../src/guestfs.pod:158
360 msgid ""
361 "If you are given a disk image and you don't know what it contains then you "
362 "have to find out.  Libguestfs can do that too: use L</"
363 "guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions and "
364 "LVs, and either try mounting each to see what is mountable, or else examine "
365 "them with L</guestfs_vfs_type> or L</guestfs_file>.  Libguestfs also has a "
366 "set of APIs for inspection of disk images (see L</INSPECTION> below).  But "
367 "you might find it easier to look at higher level programs built on top of "
368 "libguestfs, in particular L<virt-inspector(1)>."
369 msgstr ""
370
371 # type: textblock
372 #: ../src/guestfs.pod:168
373 msgid ""
374 "To mount a disk image read-only, use L</guestfs_mount_ro>.  There are "
375 "several other variations of the C<guestfs_mount_*> call."
376 msgstr ""
377
378 # type: =head2
379 #: ../src/guestfs.pod:171
380 msgid "FILESYSTEM ACCESS AND MODIFICATION"
381 msgstr ""
382
383 # type: textblock
384 #: ../src/guestfs.pod:173
385 msgid ""
386 "The majority of the libguestfs API consists of fairly low-level calls for "
387 "accessing and modifying the files, directories, symlinks etc on mounted "
388 "filesystems.  There are over a hundred such calls which you can find listed "
389 "in detail below in this man page, and we don't even pretend to cover them "
390 "all in this overview."
391 msgstr ""
392
393 # type: textblock
394 #: ../src/guestfs.pod:179
395 msgid ""
396 "Specify filenames as full paths, starting with C<\"/\"> and including the "
397 "mount point."
398 msgstr ""
399
400 # type: textblock
401 #: ../src/guestfs.pod:182
402 msgid ""
403 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
404 "the file called C<\"etc/passwd\"> then you could do:"
405 msgstr ""
406
407 # type: verbatim
408 #: ../src/guestfs.pod:185
409 #, no-wrap
410 msgid ""
411 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
412 "\n"
413 msgstr ""
414
415 # type: textblock
416 #: ../src/guestfs.pod:187
417 msgid ""
418 "This would return C<data> as a newly allocated buffer containing the full "
419 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
420 "or C<NULL> if there was an error."
421 msgstr ""
422
423 # type: textblock
424 #: ../src/guestfs.pod:191
425 msgid ""
426 "As another example, to create a top-level directory on that filesystem "
427 "called C<\"var\"> you would do:"
428 msgstr ""
429
430 # type: verbatim
431 #: ../src/guestfs.pod:194
432 #, no-wrap
433 msgid ""
434 " guestfs_mkdir (g, \"/var\");\n"
435 "\n"
436 msgstr ""
437
438 # type: textblock
439 #: ../src/guestfs.pod:196
440 msgid "To create a symlink you could do:"
441 msgstr ""
442
443 # type: verbatim
444 #: ../src/guestfs.pod:198
445 #, no-wrap
446 msgid ""
447 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
448 "               \"/etc/rc3.d/S30portmap\");\n"
449 "\n"
450 msgstr ""
451
452 # type: textblock
453 #: ../src/guestfs.pod:201
454 msgid ""
455 "Libguestfs will reject attempts to use relative paths and there is no "
456 "concept of a current working directory."
457 msgstr ""
458
459 # type: textblock
460 #: ../src/guestfs.pod:204
461 msgid ""
462 "Libguestfs can return errors in many situations: for example if the "
463 "filesystem isn't writable, or if a file or directory that you requested "
464 "doesn't exist.  If you are using the C API (documented here)  you have to "
465 "check for those error conditions after each call.  (Other language bindings "
466 "turn these errors into exceptions)."
467 msgstr ""
468
469 # type: textblock
470 #: ../src/guestfs.pod:210
471 msgid ""
472 "File writes are affected by the per-handle umask, set by calling L</"
473 "guestfs_umask> and defaulting to 022.  See L</UMASK>."
474 msgstr ""
475
476 # type: =head2
477 #: ../src/guestfs.pod:213
478 msgid "PARTITIONING"
479 msgstr ""
480
481 # type: textblock
482 #: ../src/guestfs.pod:215
483 msgid ""
484 "Libguestfs contains API calls to read, create and modify partition tables on "
485 "disk images."
486 msgstr ""
487
488 # type: textblock
489 #: ../src/guestfs.pod:218
490 msgid ""
491 "In the common case where you want to create a single partition covering the "
492 "whole disk, you should use the L</guestfs_part_disk> call:"
493 msgstr ""
494
495 # type: verbatim
496 #: ../src/guestfs.pod:222
497 #, no-wrap
498 msgid ""
499 " const char *parttype = \"mbr\";\n"
500 " if (disk_is_larger_than_2TB)\n"
501 "   parttype = \"gpt\";\n"
502 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
503 "\n"
504 msgstr ""
505
506 # type: textblock
507 #: ../src/guestfs.pod:227
508 msgid ""
509 "Obviously this effectively wipes anything that was on that disk image before."
510 msgstr ""
511
512 # type: =head2
513 #: ../src/guestfs.pod:230
514 msgid "LVM2"
515 msgstr ""
516
517 # type: textblock
518 #: ../src/guestfs.pod:232
519 msgid ""
520 "Libguestfs provides access to a large part of the LVM2 API, such as L</"
521 "guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense unless "
522 "you familiarize yourself with the concepts of physical volumes, volume "
523 "groups and logical volumes."
524 msgstr ""
525
526 # type: textblock
527 #: ../src/guestfs.pod:237
528 msgid ""
529 "This author strongly recommends reading the LVM HOWTO, online at L<http://"
530 "tldp.org/HOWTO/LVM-HOWTO/>."
531 msgstr ""
532
533 # type: =head2
534 #: ../src/guestfs.pod:240
535 msgid "DOWNLOADING"
536 msgstr ""
537
538 # type: textblock
539 #: ../src/guestfs.pod:242
540 msgid ""
541 "Use L</guestfs_cat> to download small, text only files.  This call is "
542 "limited to files which are less than 2 MB and which cannot contain any ASCII "
543 "NUL (C<\\0>) characters.  However it has a very simple to use API."
544 msgstr ""
545
546 # type: textblock
547 #: ../src/guestfs.pod:247
548 msgid ""
549 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
550 "bit data, since it returns a (pointer, size) pair.  However it is still "
551 "limited to \"small\" files, less than 2 MB."
552 msgstr ""
553
554 # type: textblock
555 #: ../src/guestfs.pod:251
556 msgid ""
557 "L</guestfs_download> can be used to download any file, with no limits on "
558 "content or size (even files larger than 4 GB)."
559 msgstr ""
560
561 # type: textblock
562 #: ../src/guestfs.pod:254
563 msgid ""
564 "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
565 msgstr ""
566
567 # type: =head2
568 #: ../src/guestfs.pod:257
569 msgid "UPLOADING"
570 msgstr ""
571
572 # type: textblock
573 #: ../src/guestfs.pod:259
574 msgid ""
575 "It's often the case that you want to write a file or files to the disk image."
576 msgstr ""
577
578 # type: textblock
579 #: ../src/guestfs.pod:262
580 msgid ""
581 "To write a small file with fixed content, use L</guestfs_write>.  To create "
582 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or L</"
583 "guestfs_fallocate64> (with all disk blocks allocated).  There are a variety "
584 "of other functions for creating test files, for example L</guestfs_fill> and "
585 "L</guestfs_fill_pattern>."
586 msgstr ""
587
588 # type: textblock
589 #: ../src/guestfs.pod:268
590 msgid ""
591 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
592 "file content or size (even files larger than 4 GB)."
593 msgstr ""
594
595 # type: textblock
596 #: ../src/guestfs.pod:271
597 msgid ""
598 "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
599 msgstr ""
600
601 # type: textblock
602 #: ../src/guestfs.pod:273
603 msgid ""
604 "However the fastest way to upload I<large numbers of arbitrary files> is to "
605 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and L<mkisofs(8)"
606 ">), then attach this using L</guestfs_add_drive_ro>.  If you add the drive "
607 "in a predictable way (eg. adding it last after all other drives) then you "
608 "can get the device name from L</guestfs_list_devices> and mount it directly "
609 "using L</guestfs_mount_ro>.  Note that squashfs images are sometimes non-"
610 "portable between kernel versions, and they don't support labels or UUIDs.  "
611 "If you want to pre-build an image or you need to mount it using a label or "
612 "UUID, use an ISO image instead."
613 msgstr ""
614
615 # type: =head2
616 #: ../src/guestfs.pod:284
617 msgid "COPYING"
618 msgstr ""
619
620 # type: textblock
621 #: ../src/guestfs.pod:286
622 msgid ""
623 "There are various different commands for copying between files and devices "
624 "and in and out of the guest filesystem.  These are summarised in the table "
625 "below."
626 msgstr ""
627
628 # type: =item
629 #: ../src/guestfs.pod:292
630 msgid "B<file> to B<file>"
631 msgstr ""
632
633 # type: textblock
634 #: ../src/guestfs.pod:294
635 msgid ""
636 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
637 "directories recursively."
638 msgstr ""
639
640 # type: =item
641 #: ../src/guestfs.pod:297
642 msgid "B<file or device> to B<file or device>"
643 msgstr ""
644
645 # type: textblock
646 #: ../src/guestfs.pod:299
647 msgid ""
648 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
649 "devices in the guest."
650 msgstr ""
651
652 # type: textblock
653 #: ../src/guestfs.pod:302
654 msgid "Example: duplicate the contents of an LV:"
655 msgstr ""
656
657 # type: verbatim
658 #: ../src/guestfs.pod:304
659 #, no-wrap
660 msgid ""
661 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
662 "\n"
663 msgstr ""
664
665 # type: textblock
666 #: ../src/guestfs.pod:306
667 msgid ""
668 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
669 "(C</dev/VG/Original>).  To copy less than the whole source device, use L</"
670 "guestfs_copy_size>."
671 msgstr ""
672
673 # type: =item
674 #: ../src/guestfs.pod:310
675 msgid "B<file on the host> to B<file or device>"
676 msgstr ""
677
678 # type: textblock
679 #: ../src/guestfs.pod:312
680 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
681 msgstr ""
682
683 # type: =item
684 #: ../src/guestfs.pod:314
685 msgid "B<file or device> to B<file on the host>"
686 msgstr ""
687
688 # type: textblock
689 #: ../src/guestfs.pod:316
690 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
691 msgstr ""
692
693 # type: =head2
694 #: ../src/guestfs.pod:320
695 msgid "LISTING FILES"
696 msgstr ""
697
698 # type: textblock
699 #: ../src/guestfs.pod:322
700 msgid ""
701 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
702 "L<guestfish(1)>-equivalent command C<ll>)."
703 msgstr ""
704
705 # type: textblock
706 #: ../src/guestfs.pod:325
707 msgid ""
708 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
709 "programs, as a flat list of strings."
710 msgstr ""
711
712 # type: textblock
713 #: ../src/guestfs.pod:328
714 msgid ""
715 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
716 "directory, plus additional information about each one.  It is more "
717 "equivalent to using the L<readdir(3)> call on a local filesystem."
718 msgstr ""
719
720 # type: textblock
721 #: ../src/guestfs.pod:332
722 msgid ""
723 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list files."
724 msgstr ""
725
726 # type: =head2
727 #: ../src/guestfs.pod:335
728 msgid "RUNNING COMMANDS"
729 msgstr ""
730
731 # type: textblock
732 #: ../src/guestfs.pod:337
733 msgid ""
734 "Although libguestfs is primarily an API for manipulating files inside guest "
735 "images, we also provide some limited facilities for running commands inside "
736 "guests."
737 msgstr ""
738
739 # type: textblock
740 #: ../src/guestfs.pod:341
741 msgid "There are many limitations to this:"
742 msgstr ""
743
744 # type: =item
745 #: ../src/guestfs.pod:345 ../src/guestfs.pod:350 ../src/guestfs.pod:355
746 #: ../src/guestfs.pod:359 ../src/guestfs.pod:364 ../src/guestfs.pod:368
747 #: ../src/guestfs.pod:373 ../src/guestfs.pod:1254 ../src/guestfs.pod:1259
748 #: ../src/guestfs.pod:1263 ../src/guestfs.pod:1365 ../src/guestfs.pod:1369
749 #: ../src/guestfs.pod:1373 ../src/guestfs.pod:1378 ../src/guestfs.pod:1386
750 #: ../src/guestfs.pod:1405 ../src/guestfs.pod:1413 ../src/guestfs.pod:1643
751 #: ../src/guestfs.pod:1649 ../src/guestfs.pod:1654 ../src/guestfs.pod:1660
752 #: ../src/guestfs.pod:1767 ../src/guestfs.pod:1771 ../src/guestfs.pod:1775
753 #: ../src/guestfs.pod:1779 ../src/guestfs-actions.pod:14
754 #: ../src/guestfs-actions.pod:21 ../src/guestfs-actions.pod:372
755 #: ../src/guestfs-actions.pod:380 ../src/guestfs-actions.pod:387
756 #: ../src/guestfs-actions.pod:394 ../src/guestfs-actions.pod:1285
757 #: ../src/guestfs-actions.pod:1289 ../src/guestfs-actions.pod:1293
758 #: ../src/guestfs-actions.pod:1297 ../src/guestfs-actions.pod:1305
759 #: ../src/guestfs-actions.pod:1309 ../src/guestfs-actions.pod:1313
760 #: ../src/guestfs-actions.pod:1323 ../src/guestfs-actions.pod:1327
761 #: ../src/guestfs-actions.pod:1331 ../src/guestfs-actions.pod:1454
762 #: ../src/guestfs-actions.pod:1458 ../src/guestfs-actions.pod:1463
763 #: ../src/guestfs-actions.pod:1468 ../src/guestfs-actions.pod:1520
764 #: ../src/guestfs-actions.pod:1524 ../src/guestfs-actions.pod:1529
765 #: ../fish/guestfish.pod:338 ../fish/guestfish.pod:342
766 #: ../fish/guestfish.pod:346 ../fish/guestfish.pod:350
767 #: ../fish/guestfish-actions.pod:15 ../fish/guestfish-actions.pod:22
768 #: ../fish/guestfish-actions.pod:306 ../fish/guestfish-actions.pod:314
769 #: ../fish/guestfish-actions.pod:321 ../fish/guestfish-actions.pod:328
770 #: ../fish/guestfish-actions.pod:1023 ../fish/guestfish-actions.pod:1027
771 #: ../fish/guestfish-actions.pod:1031 ../fish/guestfish-actions.pod:1035
772 #: ../fish/guestfish-actions.pod:1043 ../fish/guestfish-actions.pod:1047
773 #: ../fish/guestfish-actions.pod:1051 ../fish/guestfish-actions.pod:1061
774 #: ../fish/guestfish-actions.pod:1065 ../fish/guestfish-actions.pod:1069
775 #: ../fish/guestfish-actions.pod:1159 ../fish/guestfish-actions.pod:1163
776 #: ../fish/guestfish-actions.pod:1168 ../fish/guestfish-actions.pod:1173
777 #: ../fish/guestfish-actions.pod:1215 ../fish/guestfish-actions.pod:1219
778 #: ../fish/guestfish-actions.pod:1224 ../tools/virt-df.pl:144
779 #: ../tools/virt-df.pl:150 ../tools/virt-resize.pl:324
780 #: ../tools/virt-resize.pl:329 ../tools/virt-resize.pl:339
781 msgid "*"
782 msgstr ""
783
784 # type: textblock
785 #: ../src/guestfs.pod:347
786 msgid ""
787 "The kernel version that the command runs under will be different from what "
788 "it expects."
789 msgstr ""
790
791 # type: textblock
792 #: ../src/guestfs.pod:352
793 msgid ""
794 "If the command needs to communicate with daemons, then most likely they "
795 "won't be running."
796 msgstr ""
797
798 # type: textblock
799 #: ../src/guestfs.pod:357
800 msgid "The command will be running in limited memory."
801 msgstr ""
802
803 # type: textblock
804 #: ../src/guestfs.pod:361
805 msgid ""
806 "The network may not be available unless you enable it (see L</"
807 "guestfs_set_network>)."
808 msgstr ""
809
810 # type: textblock
811 #: ../src/guestfs.pod:366
812 msgid "Only supports Linux guests (not Windows, BSD, etc)."
813 msgstr ""
814
815 # type: textblock
816 #: ../src/guestfs.pod:370
817 msgid ""
818 "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
819 msgstr ""
820
821 # type: textblock
822 #: ../src/guestfs.pod:375
823 msgid ""
824 "For SELinux guests, you may need to enable SELinux and load policy first.  "
825 "See L</SELINUX> in this manpage."
826 msgstr ""
827
828 # type: textblock
829 #: ../src/guestfs.pod:380
830 msgid ""
831 "The two main API calls to run commands are L</guestfs_command> and L</"
832 "guestfs_sh> (there are also variations)."
833 msgstr ""
834
835 # type: textblock
836 #: ../src/guestfs.pod:383
837 msgid ""
838 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
839 "shell globs, redirections, etc will work."
840 msgstr ""
841
842 # type: =head2
843 #: ../src/guestfs.pod:386
844 msgid "CONFIGURATION FILES"
845 msgstr ""
846
847 # type: textblock
848 #: ../src/guestfs.pod:388
849 msgid ""
850 "To read and write configuration files in Linux guest filesystems, we "
851 "strongly recommend using Augeas.  For example, Augeas understands how to "
852 "read and write, say, a Linux shadow password file or X.org configuration "
853 "file, and so avoids you having to write that code."
854 msgstr ""
855
856 # type: textblock
857 #: ../src/guestfs.pod:393
858 msgid ""
859 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
860 "document Augeas itself here because there is excellent documentation on the "
861 "L<http://augeas.net/> website."
862 msgstr ""
863
864 # type: textblock
865 #: ../src/guestfs.pod:397
866 msgid ""
867 "If you don't want to use Augeas (you fool!) then try calling L</"
868 "guestfs_read_lines> to get the file as a list of lines which you can iterate "
869 "over."
870 msgstr ""
871
872 # type: =head2
873 #: ../src/guestfs.pod:401
874 msgid "SELINUX"
875 msgstr ""
876
877 # type: textblock
878 #: ../src/guestfs.pod:403
879 msgid ""
880 "We support SELinux guests.  To ensure that labeling happens correctly in "
881 "SELinux guests, you need to enable SELinux and load the guest's policy:"
882 msgstr ""
883
884 # type: =item
885 #: ../src/guestfs.pod:409
886 msgid "1."
887 msgstr ""
888
889 # type: textblock
890 #: ../src/guestfs.pod:411
891 msgid "Before launching, do:"
892 msgstr ""
893
894 # type: verbatim
895 #: ../src/guestfs.pod:413
896 #, no-wrap
897 msgid ""
898 " guestfs_set_selinux (g, 1);\n"
899 "\n"
900 msgstr ""
901
902 # type: =item
903 #: ../src/guestfs.pod:415
904 msgid "2."
905 msgstr ""
906
907 # type: textblock
908 #: ../src/guestfs.pod:417
909 msgid ""
910 "After mounting the guest's filesystem(s), load the policy.  This is best "
911 "done by running the L<load_policy(8)> command in the guest itself:"
912 msgstr ""
913
914 # type: verbatim
915 #: ../src/guestfs.pod:421
916 #, no-wrap
917 msgid ""
918 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
919 "\n"
920 msgstr ""
921
922 # type: textblock
923 #: ../src/guestfs.pod:423
924 msgid ""
925 "(Older versions of C<load_policy> require you to specify the name of the "
926 "policy file)."
927 msgstr ""
928
929 # type: =item
930 #: ../src/guestfs.pod:426
931 msgid "3."
932 msgstr ""
933
934 # type: textblock
935 #: ../src/guestfs.pod:428
936 msgid ""
937 "Optionally, set the security context for the API.  The correct security "
938 "context to use can only be known by inspecting the guest.  As an example:"
939 msgstr ""
940
941 # type: verbatim
942 #: ../src/guestfs.pod:432
943 #, no-wrap
944 msgid ""
945 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
946 "\n"
947 msgstr ""
948
949 # type: textblock
950 #: ../src/guestfs.pod:436
951 msgid "This will work for running commands and editing existing files."
952 msgstr ""
953
954 # type: textblock
955 #: ../src/guestfs.pod:438
956 msgid ""
957 "When new files are created, you may need to label them explicitly, for "
958 "example by running the external command C<restorecon pathname>."
959 msgstr ""
960
961 # type: =head2
962 #: ../src/guestfs.pod:442
963 msgid "UMASK"
964 msgstr ""
965
966 # type: textblock
967 #: ../src/guestfs.pod:444
968 msgid ""
969 "Certain calls are affected by the current file mode creation mask (the "
970 "\"umask\").  In particular ones which create files or directories, such as "
971 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
972 "either the default mode that the file is created with or modifies the mode "
973 "that you supply."
974 msgstr ""
975
976 # type: textblock
977 #: ../src/guestfs.pod:450
978 msgid ""
979 "The default umask is C<022>, so files are created with modes such as C<0644> "
980 "and directories with C<0755>."
981 msgstr ""
982
983 # type: textblock
984 #: ../src/guestfs.pod:453
985 msgid ""
986 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
987 "(call C<guestfs_umask (g, 0)> early after launching).  Or call L</"
988 "guestfs_chmod> after creating each file or directory."
989 msgstr ""
990
991 # type: textblock
992 #: ../src/guestfs.pod:457
993 msgid "For more information about umask, see L<umask(2)>."
994 msgstr ""
995
996 # type: =head1
997 #: ../src/guestfs.pod:459 ../fish/guestfish.pod:589
998 msgid "ENCRYPTED DISKS"
999 msgstr ""
1000
1001 # type: textblock
1002 #: ../src/guestfs.pod:461
1003 msgid ""
1004 "Libguestfs allows you to access Linux guests which have been encrypted using "
1005 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
1006 "standard.  This includes nearly all whole disk encryption systems used by "
1007 "modern Linux guests."
1008 msgstr ""
1009
1010 # type: textblock
1011 #: ../src/guestfs.pod:467
1012 msgid ""
1013 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
1014 "returns the string C<crypto_LUKS>)."
1015 msgstr ""
1016
1017 # type: textblock
1018 #: ../src/guestfs.pod:470
1019 msgid ""
1020 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
1021 "will require the passphrase!"
1022 msgstr ""
1023
1024 # type: textblock
1025 #: ../src/guestfs.pod:473
1026 msgid ""
1027 "Opening a LUKS device creates a new device mapper device called C</dev/"
1028 "mapper/mapname> (where C<mapname> is the string you supply to L</"
1029 "guestfs_luks_open>).  Reads and writes to this mapper device are decrypted "
1030 "from and encrypted to the underlying block device respectively."
1031 msgstr ""
1032
1033 # type: textblock
1034 #: ../src/guestfs.pod:479
1035 msgid ""
1036 "LVM volume groups on the device can be made visible by calling L</"
1037 "guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical volume"
1038 "(s) can now be mounted in the usual way."
1039 msgstr ""
1040
1041 # type: textblock
1042 #: ../src/guestfs.pod:483
1043 msgid ""
1044 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
1045 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
1046 "[\"/dev/VG\"])>.  Then close the mapper device by calling L</"
1047 "guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
1048 "underlying encrypted block device)."
1049 msgstr ""
1050
1051 # type: =head2
1052 #: ../src/guestfs.pod:490
1053 msgid "INSPECTION"
1054 msgstr ""
1055
1056 # type: textblock
1057 #: ../src/guestfs.pod:492
1058 msgid ""
1059 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
1060 "contains operating systems.  (These APIs used to be in a separate Perl-only "
1061 "library called L<Sys::Guestfs::Lib(3)> but since version 1.5.3 the most "
1062 "frequently used part of this library has been rewritten in C and moved into "
1063 "the core code)."
1064 msgstr ""
1065
1066 # type: textblock
1067 #: ../src/guestfs.pod:498
1068 msgid ""
1069 "Add all disks belonging to the unknown virtual machine and call L</"
1070 "guestfs_launch> in the usual way."
1071 msgstr ""
1072
1073 # type: textblock
1074 #: ../src/guestfs.pod:501
1075 msgid ""
1076 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
1077 "and certain heuristics, and returns a list of operating systems that were "
1078 "found.  An empty list means none were found.  A single element is the root "
1079 "filesystem of the operating system.  For dual- or multi-boot guests, "
1080 "multiple roots can be returned, each one corresponding to a separate "
1081 "operating system.  (Multi-boot virtual machines are extremely rare in the "
1082 "world of virtualization, but since this scenario can happen, we have built "
1083 "libguestfs to deal with it.)"
1084 msgstr ""
1085
1086 # type: textblock
1087 #: ../src/guestfs.pod:510
1088 msgid ""
1089 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
1090 "to get additional details about that operating system.  For example, call L</"
1091 "guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
1092 "Windows and Linux-based operating systems respectively."
1093 msgstr ""
1094
1095 # type: textblock
1096 #: ../src/guestfs.pod:516
1097 msgid ""
1098 "Un*x-like and Linux-based operating systems usually consist of several "
1099 "filesystems which are mounted at boot time (for example, a separate boot "
1100 "partition mounted on C</boot>).  The inspection rules are able to detect how "
1101 "filesystems correspond to mount points.  Call "
1102 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
1103 "hash table like this example:"
1104 msgstr ""
1105
1106 # type: verbatim
1107 #: ../src/guestfs.pod:523
1108 #, no-wrap
1109 msgid ""
1110 " /boot => /dev/sda1\n"
1111 " /     => /dev/vg_guest/lv_root\n"
1112 " /usr  => /dev/vg_guest/lv_usr\n"
1113 "\n"
1114 msgstr ""
1115
1116 # type: textblock
1117 #: ../src/guestfs.pod:527
1118 msgid ""
1119 "The caller can then make calls to L</guestfs_mount_options> to mount the "
1120 "filesystems as suggested."
1121 msgstr ""
1122
1123 # type: textblock
1124 #: ../src/guestfs.pod:530
1125 msgid ""
1126 "Be careful to mount filesystems in the right order (eg. C</> before C</"
1127 "usr>).  Sorting the keys of the hash by length, shortest first, should work."
1128 msgstr ""
1129
1130 # type: textblock
1131 #: ../src/guestfs.pod:534
1132 msgid ""
1133 "Inspection currently only works for some common operating systems.  "
1134 "Contributors are welcome to send patches for other operating systems that we "
1135 "currently cannot detect."
1136 msgstr ""
1137
1138 # type: textblock
1139 #: ../src/guestfs.pod:538
1140 msgid ""
1141 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
1142 "for more details.  The L</guestfs_inspect_os> function just ignores any "
1143 "encrypted devices."
1144 msgstr ""
1145
1146 # type: textblock
1147 #: ../src/guestfs.pod:542
1148 msgid ""
1149 "A note on the implementation: The call L</guestfs_inspect_os> performs "
1150 "inspection and caches the results in the guest handle.  Subsequent calls to "
1151 "C<guestfs_inspect_get_*> return this cached information, but I<do not> re-"
1152 "read the disks.  If you change the content of the guest disks, you can redo "
1153 "inspection by calling L</guestfs_inspect_os> again."
1154 msgstr ""
1155
1156 # type: =head2
1157 #: ../src/guestfs.pod:549
1158 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
1159 msgstr ""
1160
1161 # type: textblock
1162 #: ../src/guestfs.pod:551
1163 msgid ""
1164 "Libguestfs can mount NTFS partitions.  It does this using the L<http://www."
1165 "ntfs-3g.org/> driver."
1166 msgstr ""
1167
1168 # type: textblock
1169 #: ../src/guestfs.pod:554
1170 msgid ""
1171 "DOS and Windows still use drive letters, and the filesystems are always "
1172 "treated as case insensitive by Windows itself, and therefore you might find "
1173 "a Windows configuration file referring to a path like C<c:\\windows"
1174 "\\system32>.  When the filesystem is mounted in libguestfs, that directory "
1175 "might be referred to as C</WINDOWS/System32>."
1176 msgstr ""
1177
1178 # type: textblock
1179 #: ../src/guestfs.pod:560
1180 msgid ""
1181 "Drive letter mappings are outside the scope of libguestfs.  You have to use "
1182 "libguestfs to read the appropriate Windows Registry and configuration files, "
1183 "to determine yourself how drives are mapped (see also L<hivex(3)> and L<virt-"
1184 "inspector(1)>)."
1185 msgstr ""
1186
1187 # type: textblock
1188 #: ../src/guestfs.pod:565
1189 msgid ""
1190 "Replacing backslash characters with forward slash characters is also outside "
1191 "the scope of libguestfs, but something that you can easily do."
1192 msgstr ""
1193
1194 # type: textblock
1195 #: ../src/guestfs.pod:568
1196 msgid ""
1197 "Where we can help is in resolving the case insensitivity of paths.  For "
1198 "this, call L</guestfs_case_sensitive_path>."
1199 msgstr ""
1200
1201 # type: textblock
1202 #: ../src/guestfs.pod:571
1203 msgid ""
1204 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
1205 "files, through the library C<hivex> which is part of the libguestfs project "
1206 "although ships as a separate tarball.  You have to locate and download the "
1207 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
1208 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and L<virt-win-"
1209 "reg(1)> for more help on this issue."
1210 msgstr ""
1211
1212 # type: =head2
1213 #: ../src/guestfs.pod:579
1214 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
1215 msgstr ""
1216
1217 # type: textblock
1218 #: ../src/guestfs.pod:581
1219 msgid ""
1220 "Although we don't want to discourage you from using the C API, we will "
1221 "mention here that the same API is also available in other languages."
1222 msgstr ""
1223
1224 # type: textblock
1225 #: ../src/guestfs.pod:584
1226 msgid ""
1227 "The API is broadly identical in all supported languages.  This means that "
1228 "the C call C<guestfs_mount(g,path)> is C<$g-E<gt>mount($path)> in Perl, C<g."
1229 "mount(path)> in Python, and C<Guestfs.mount g path> in OCaml.  In other "
1230 "words, a straightforward, predictable isomorphism between each language."
1231 msgstr ""
1232
1233 # type: textblock
1234 #: ../src/guestfs.pod:590
1235 msgid ""
1236 "Error messages are automatically transformed into exceptions if the language "
1237 "supports it."
1238 msgstr ""
1239
1240 # type: textblock
1241 #: ../src/guestfs.pod:593
1242 msgid ""
1243 "We don't try to \"object orientify\" parts of the API in OO languages, "
1244 "although contributors are welcome to write higher level APIs above what we "
1245 "provide in their favourite languages if they wish."
1246 msgstr ""
1247
1248 # type: =item
1249 #: ../src/guestfs.pod:599
1250 msgid "B<C++>"
1251 msgstr ""
1252
1253 # type: textblock
1254 #: ../src/guestfs.pod:601
1255 msgid ""
1256 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
1257 "identical to the C API.  C++ classes and exceptions are not used."
1258 msgstr ""
1259
1260 # type: =item
1261 #: ../src/guestfs.pod:605
1262 msgid "B<C#>"
1263 msgstr ""
1264
1265 # type: textblock
1266 #: ../src/guestfs.pod:607
1267 msgid ""
1268 "The C# bindings are highly experimental.  Please read the warnings at the "
1269 "top of C<csharp/Libguestfs.cs>."
1270 msgstr ""
1271
1272 # type: =item
1273 #: ../src/guestfs.pod:610
1274 msgid "B<Haskell>"
1275 msgstr ""
1276
1277 # type: textblock
1278 #: ../src/guestfs.pod:612
1279 msgid ""
1280 "This is the only language binding that is working but incomplete.  Only "
1281 "calls which return simple integers have been bound in Haskell, and we are "
1282 "looking for help to complete this binding."
1283 msgstr ""
1284
1285 # type: =item
1286 #: ../src/guestfs.pod:616
1287 msgid "B<Java>"
1288 msgstr ""
1289
1290 # type: textblock
1291 #: ../src/guestfs.pod:618
1292 msgid ""
1293 "Full documentation is contained in the Javadoc which is distributed with "
1294 "libguestfs."
1295 msgstr ""
1296
1297 # type: =item
1298 #: ../src/guestfs.pod:621
1299 msgid "B<OCaml>"
1300 msgstr ""
1301
1302 # type: textblock
1303 #: ../src/guestfs.pod:623
1304 msgid "For documentation see the file C<guestfs.mli>."
1305 msgstr ""
1306
1307 # type: =item
1308 #: ../src/guestfs.pod:625
1309 msgid "B<Perl>"
1310 msgstr ""
1311
1312 # type: textblock
1313 #: ../src/guestfs.pod:627
1314 msgid "For documentation see L<Sys::Guestfs(3)>."
1315 msgstr ""
1316
1317 # type: =item
1318 #: ../src/guestfs.pod:629
1319 msgid "B<PHP>"
1320 msgstr ""
1321
1322 # type: textblock
1323 #: ../src/guestfs.pod:631
1324 msgid ""
1325 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
1326 "the php-libguestfs package for your distribution."
1327 msgstr ""
1328
1329 # type: textblock
1330 #: ../src/guestfs.pod:634
1331 msgid "The PHP binding only works correctly on 64 bit machines."
1332 msgstr ""
1333
1334 # type: =item
1335 #: ../src/guestfs.pod:636
1336 msgid "B<Python>"
1337 msgstr ""
1338
1339 # type: textblock
1340 #: ../src/guestfs.pod:638
1341 msgid "For documentation do:"
1342 msgstr ""
1343
1344 # type: verbatim
1345 #: ../src/guestfs.pod:640
1346 #, no-wrap
1347 msgid ""
1348 " $ python\n"
1349 " >>> import guestfs\n"
1350 " >>> help (guestfs)\n"
1351 "\n"
1352 msgstr ""
1353
1354 # type: =item
1355 #: ../src/guestfs.pod:644
1356 msgid "B<Ruby>"
1357 msgstr ""
1358
1359 # type: textblock
1360 #: ../src/guestfs.pod:646
1361 msgid ""
1362 "Use the Guestfs module.  There is no Ruby-specific documentation, but you "
1363 "can find examples written in Ruby in the libguestfs source."
1364 msgstr ""
1365
1366 # type: =item
1367 #: ../src/guestfs.pod:649
1368 msgid "B<shell scripts>"
1369 msgstr ""
1370
1371 # type: textblock
1372 #: ../src/guestfs.pod:651
1373 msgid "For documentation see L<guestfish(1)>."
1374 msgstr ""
1375
1376 # type: =head2
1377 #: ../src/guestfs.pod:655
1378 msgid "LIBGUESTFS GOTCHAS"
1379 msgstr ""
1380
1381 # type: textblock
1382 #: ../src/guestfs.pod:657
1383 msgid ""
1384 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
1385 "system [...] that works in the way it is documented but is counterintuitive "
1386 "and almost invites mistakes.\""
1387 msgstr ""
1388
1389 # type: textblock
1390 #: ../src/guestfs.pod:661
1391 msgid ""
1392 "Since we developed libguestfs and the associated tools, there are several "
1393 "things we would have designed differently, but are now stuck with for "
1394 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
1395 "release, you can expect these to change.  Beware of them."
1396 msgstr ""
1397
1398 # type: =item
1399 #: ../src/guestfs.pod:669
1400 msgid "Autosync / forgetting to sync."
1401 msgstr ""
1402
1403 # type: textblock
1404 #: ../src/guestfs.pod:671
1405 msgid ""
1406 "When modifying a filesystem from C or another language, you B<must> unmount "
1407 "all filesystems and call L</guestfs_sync> explicitly before you close the "
1408 "libguestfs handle.  You can also call:"
1409 msgstr ""
1410
1411 # type: verbatim
1412 #: ../src/guestfs.pod:675
1413 #, no-wrap
1414 msgid ""
1415 " guestfs_set_autosync (g, 1);\n"
1416 "\n"
1417 msgstr ""
1418
1419 # type: textblock
1420 #: ../src/guestfs.pod:677
1421 msgid ""
1422 "to have the unmount/sync done automatically for you when the handle 'g' is "
1423 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> q.v.)"
1424 msgstr ""
1425
1426 # type: textblock
1427 #: ../src/guestfs.pod:681
1428 msgid ""
1429 "If you forget to do this, then it is entirely possible that your changes "
1430 "won't be written out, or will be partially written, or (very rarely) that "
1431 "you'll get disk corruption."
1432 msgstr ""
1433
1434 # type: textblock
1435 #: ../src/guestfs.pod:685
1436 msgid ""
1437 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
1438 "guestfish scripts that forget to sync will work just fine, which can make "
1439 "this very puzzling if you are trying to debug a problem."
1440 msgstr ""
1441
1442 # type: =item
1443 #: ../src/guestfs.pod:689
1444 msgid "Mount option C<-o sync> should not be the default."
1445 msgstr ""
1446
1447 # type: textblock
1448 #: ../src/guestfs.pod:691
1449 msgid ""
1450 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
1451 "However C<-o sync> does not add any reliability benefit, but does have a "
1452 "very large performance impact."
1453 msgstr ""
1454
1455 # type: textblock
1456 #: ../src/guestfs.pod:695
1457 msgid ""
1458 "The work around is to use L</guestfs_mount_options> and set the mount "
1459 "options that you actually want to use."
1460 msgstr ""
1461
1462 # type: =item
1463 #: ../src/guestfs.pod:698
1464 msgid "Read-only should be the default."
1465 msgstr ""
1466
1467 # type: textblock
1468 #: ../src/guestfs.pod:700
1469 msgid ""
1470 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
1471 "specify I<--rw> if you want to make changes to the image."
1472 msgstr ""
1473
1474 # type: textblock
1475 #: ../src/guestfs.pod:703
1476 msgid "This would reduce the potential to corrupt live VM images."
1477 msgstr ""
1478
1479 # type: textblock
1480 #: ../src/guestfs.pod:705
1481 msgid ""
1482 "Note that many filesystems change the disk when you just mount and unmount, "
1483 "even if you didn't perform any writes.  You need to use L</"
1484 "guestfs_add_drive_ro> to guarantee that the disk is not changed."
1485 msgstr ""
1486
1487 # type: =item
1488 #: ../src/guestfs.pod:709
1489 msgid "guestfish command line is hard to use."
1490 msgstr ""
1491
1492 # type: textblock
1493 #: ../src/guestfs.pod:711
1494 msgid ""
1495 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
1496 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
1497 "exist, so it fails.  In earlier versions of guestfish the error message was "
1498 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
1499 "we should have used C<guestfish -c command> to run commands."
1500 msgstr ""
1501
1502 # type: =item
1503 #: ../src/guestfs.pod:718
1504 msgid "guestfish megabyte modifiers don't work right on all commands"
1505 msgstr ""
1506
1507 # type: textblock
1508 #: ../src/guestfs.pod:720
1509 msgid ""
1510 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
1511 "other modifiers).  What guestfish actually does is to multiply the number "
1512 "part by the modifier part and pass the result to the C API.  However this "
1513 "doesn't work for a few APIs which aren't expecting bytes, but are already "
1514 "expecting some other unit (eg. megabytes)."
1515 msgstr ""
1516
1517 # type: textblock
1518 #: ../src/guestfs.pod:727
1519 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
1520 msgstr ""
1521
1522 # type: verbatim
1523 #: ../src/guestfs.pod:729
1524 #, no-wrap
1525 msgid ""
1526 " lvcreate LV VG 100M\n"
1527 "\n"
1528 msgstr ""
1529
1530 # type: textblock
1531 #: ../src/guestfs.pod:731
1532 msgid ""
1533 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
1534 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
1535 "megabytes * megabytes) logical volume.  The error message you get from this "
1536 "is also a little obscure."
1537 msgstr ""
1538
1539 # type: textblock
1540 #: ../src/guestfs.pod:736
1541 msgid ""
1542 "This could be fixed in the generator by specially marking parameters and "
1543 "return values which take bytes or other units."
1544 msgstr ""
1545
1546 # type: =item
1547 #: ../src/guestfs.pod:739
1548 msgid "Library should return errno with error messages."
1549 msgstr ""
1550
1551 # type: textblock
1552 #: ../src/guestfs.pod:741
1553 msgid ""
1554 "It would be a nice-to-have to be able to get the original value of 'errno' "
1555 "from inside the appliance along error paths (where set).  Currently "
1556 "L<guestmount(1)> goes through hoops to try to reverse the error message "
1557 "string into an errno, see the function error() in fuse/guestmount.c."
1558 msgstr ""
1559
1560 # type: textblock
1561 #: ../src/guestfs.pod:747
1562 msgid ""
1563 "In libguestfs 1.5.4, the protocol was changed so that the Linux errno is "
1564 "sent back from the daemon."
1565 msgstr ""
1566
1567 # type: =item
1568 #: ../src/guestfs.pod:750
1569 msgid "Ambiguity between devices and paths"
1570 msgstr ""
1571
1572 # type: textblock
1573 #: ../src/guestfs.pod:752
1574 msgid ""
1575 "There is a subtle ambiguity in the API between a device name (eg. C</dev/"
1576 "sdb2>) and a similar pathname.  A file might just happen to be called "
1577 "C<sdb2> in the directory C</dev> (consider some non-Unix VM image)."
1578 msgstr ""
1579
1580 # type: textblock
1581 #: ../src/guestfs.pod:757
1582 msgid ""
1583 "In the current API we usually resolve this ambiguity by having two separate "
1584 "calls, for example L</guestfs_checksum> and L</guestfs_checksum_device>.  "
1585 "Some API calls are ambiguous and (incorrectly) resolve the problem by "
1586 "detecting if the path supplied begins with C</dev/>."
1587 msgstr ""
1588
1589 # type: textblock
1590 #: ../src/guestfs.pod:763
1591 msgid ""
1592 "To avoid both the ambiguity and the need to duplicate some calls, we could "
1593 "make paths/devices into structured names.  One way to do this would be to "
1594 "use a notation like grub (C<hd(0,0)>), although nobody really likes this "
1595 "aspect of grub.  Another way would be to use a structured type, equivalent "
1596 "to this OCaml type:"
1597 msgstr ""
1598
1599 # type: verbatim
1600 #: ../src/guestfs.pod:769
1601 #, no-wrap
1602 msgid ""
1603 " type path = Path of string | Device of int | Partition of int * int\n"
1604 "\n"
1605 msgstr ""
1606
1607 # type: textblock
1608 #: ../src/guestfs.pod:771
1609 msgid "which would allow you to pass arguments like:"
1610 msgstr ""
1611
1612 # type: verbatim
1613 #: ../src/guestfs.pod:773
1614 #, no-wrap
1615 msgid ""
1616 " Path \"/foo/bar\"\n"
1617 " Device 1            (* /dev/sdb, or perhaps /dev/sda *)\n"
1618 " Partition (1, 2)    (* /dev/sdb2 (or is it /dev/sda2 or /dev/sdb3?) *)\n"
1619 " Path \"/dev/sdb2\"    (* not a device *)\n"
1620 "\n"
1621 msgstr ""
1622
1623 # type: textblock
1624 #: ../src/guestfs.pod:778
1625 msgid ""
1626 "As you can see there are still problems to resolve even with this "
1627 "representation.  Also consider how it might work in guestfish."
1628 msgstr ""
1629
1630 # type: =head2
1631 #: ../src/guestfs.pod:783
1632 msgid "PROTOCOL LIMITS"
1633 msgstr ""
1634
1635 # type: textblock
1636 #: ../src/guestfs.pod:785
1637 msgid ""
1638 "Internally libguestfs uses a message-based protocol to pass API calls and "
1639 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
1640 "plenty more detail about this).  The maximum message size used by the "
1641 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
1642 "aware of this limit.  The API calls which may be affected are individually "
1643 "documented, with a link back to this section of the documentation."
1644 msgstr ""
1645
1646 # type: textblock
1647 #: ../src/guestfs.pod:793
1648 msgid ""
1649 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
1650 "a simple string.  Because this string is at some point internally encoded as "
1651 "a message, the maximum size that it can return is slightly under 4 MB.  If "
1652 "the requested file is larger than this then you will get an error."
1653 msgstr ""
1654
1655 # type: textblock
1656 #: ../src/guestfs.pod:799
1657 msgid ""
1658 "In order to transfer large files into and out of the guest filesystem, you "
1659 "need to use particular calls that support this.  The sections L</UPLOADING> "
1660 "and L</DOWNLOADING> document how to do this."
1661 msgstr ""
1662
1663 # type: textblock
1664 #: ../src/guestfs.pod:803
1665 msgid ""
1666 "You might also consider mounting the disk image using our FUSE filesystem "
1667 "support (L<guestmount(1)>)."
1668 msgstr ""
1669
1670 # type: =head2
1671 #: ../src/guestfs.pod:806
1672 msgid "KEYS AND PASSPHRASES"
1673 msgstr ""
1674
1675 # type: textblock
1676 #: ../src/guestfs.pod:808
1677 msgid ""
1678 "Certain libguestfs calls take a parameter that contains sensitive key "
1679 "material, passed in as a C string."
1680 msgstr ""
1681
1682 # type: textblock
1683 #: ../src/guestfs.pod:811
1684 msgid ""
1685 "In the future we would hope to change the libguestfs implementation so that "
1686 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
1687 "swap.  However this is I<not> done at the moment, because of the complexity "
1688 "of such an implementation."
1689 msgstr ""
1690
1691 # type: textblock
1692 #: ../src/guestfs.pod:816
1693 msgid ""
1694 "Therefore you should be aware that any key parameter you pass to libguestfs "
1695 "might end up being written out to the swap partition.  If this is a concern, "
1696 "scrub the swap partition or don't use libguestfs on encrypted devices."
1697 msgstr ""
1698
1699 # type: =head1
1700 #: ../src/guestfs.pod:821
1701 msgid "CONNECTION MANAGEMENT"
1702 msgstr ""
1703
1704 # type: =head2
1705 #: ../src/guestfs.pod:823
1706 msgid "guestfs_h *"
1707 msgstr ""
1708
1709 # type: textblock
1710 #: ../src/guestfs.pod:825
1711 msgid ""
1712 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
1713 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
1714 "handle and release all resources used."
1715 msgstr ""
1716
1717 # type: textblock
1718 #: ../src/guestfs.pod:829
1719 msgid ""
1720 "For information on using multiple handles and threads, see the section L</"
1721 "MULTIPLE HANDLES AND MULTIPLE THREADS> below."
1722 msgstr ""
1723
1724 # type: =head2
1725 #: ../src/guestfs.pod:832
1726 msgid "guestfs_create"
1727 msgstr ""
1728
1729 # type: verbatim
1730 #: ../src/guestfs.pod:834
1731 #, no-wrap
1732 msgid ""
1733 " guestfs_h *guestfs_create (void);\n"
1734 "\n"
1735 msgstr ""
1736
1737 # type: textblock
1738 #: ../src/guestfs.pod:836
1739 msgid "Create a connection handle."
1740 msgstr ""
1741
1742 # type: textblock
1743 #: ../src/guestfs.pod:838
1744 msgid "You have to call L</guestfs_add_drive> on the handle at least once."
1745 msgstr ""
1746
1747 # type: textblock
1748 #: ../src/guestfs.pod:840
1749 msgid ""
1750 "This function returns a non-NULL pointer to a handle on success or NULL on "
1751 "error."
1752 msgstr ""
1753
1754 # type: textblock
1755 #: ../src/guestfs.pod:843
1756 msgid "After configuring the handle, you have to call L</guestfs_launch>."
1757 msgstr ""
1758
1759 # type: textblock
1760 #: ../src/guestfs.pod:845
1761 msgid ""
1762 "You may also want to configure error handling for the handle.  See L</ERROR "
1763 "HANDLING> section below."
1764 msgstr ""
1765
1766 # type: =head2
1767 #: ../src/guestfs.pod:848
1768 msgid "guestfs_close"
1769 msgstr ""
1770
1771 # type: verbatim
1772 #: ../src/guestfs.pod:850
1773 #, no-wrap
1774 msgid ""
1775 " void guestfs_close (guestfs_h *g);\n"
1776 "\n"
1777 msgstr ""
1778
1779 # type: textblock
1780 #: ../src/guestfs.pod:852
1781 msgid "This closes the connection handle and frees up all resources used."
1782 msgstr ""
1783
1784 # type: =head1
1785 #: ../src/guestfs.pod:854
1786 msgid "ERROR HANDLING"
1787 msgstr ""
1788
1789 # type: textblock
1790 #: ../src/guestfs.pod:856
1791 msgid ""
1792 "The convention in all functions that return C<int> is that they return C<-1> "
1793 "to indicate an error.  You can get additional information on errors by "
1794 "calling L</guestfs_last_error> and/or by setting up an error handler with L</"
1795 "guestfs_set_error_handler>."
1796 msgstr ""
1797
1798 # type: textblock
1799 #: ../src/guestfs.pod:861
1800 msgid "The default error handler prints the information string to C<stderr>."
1801 msgstr ""
1802
1803 # type: textblock
1804 #: ../src/guestfs.pod:863
1805 msgid ""
1806 "Out of memory errors are handled differently.  The default action is to call "
1807 "L<abort(3)>.  If this is undesirable, then you can set a handler using L</"
1808 "guestfs_set_out_of_memory_handler>."
1809 msgstr ""
1810
1811 # type: =head2
1812 #: ../src/guestfs.pod:867
1813 msgid "guestfs_last_error"
1814 msgstr ""
1815
1816 # type: verbatim
1817 #: ../src/guestfs.pod:869
1818 #, no-wrap
1819 msgid ""
1820 " const char *guestfs_last_error (guestfs_h *g);\n"
1821 "\n"
1822 msgstr ""
1823
1824 # type: textblock
1825 #: ../src/guestfs.pod:871
1826 msgid ""
1827 "This returns the last error message that happened on C<g>.  If there has not "
1828 "been an error since the handle was created, then this returns C<NULL>."
1829 msgstr ""
1830
1831 # type: textblock
1832 #: ../src/guestfs.pod:875
1833 msgid ""
1834 "The lifetime of the returned string is until the next error occurs, or L</"
1835 "guestfs_close> is called."
1836 msgstr ""
1837
1838 # type: textblock
1839 #: ../src/guestfs.pod:878
1840 msgid ""
1841 "The error string is not localized (ie. is always in English), because this "
1842 "makes searching for error messages in search engines give the largest number "
1843 "of results."
1844 msgstr ""
1845
1846 # type: =head2
1847 #: ../src/guestfs.pod:882
1848 msgid "guestfs_set_error_handler"
1849 msgstr ""
1850
1851 # type: verbatim
1852 #: ../src/guestfs.pod:884
1853 #, no-wrap
1854 msgid ""
1855 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
1856 "                                           void *opaque,\n"
1857 "                                           const char *msg);\n"
1858 " void guestfs_set_error_handler (guestfs_h *g,\n"
1859 "                                 guestfs_error_handler_cb cb,\n"
1860 "                                 void *opaque);\n"
1861 "\n"
1862 msgstr ""
1863
1864 # type: textblock
1865 #: ../src/guestfs.pod:891
1866 msgid ""
1867 "The callback C<cb> will be called if there is an error.  The parameters "
1868 "passed to the callback are an opaque data pointer and the error message "
1869 "string."
1870 msgstr ""
1871
1872 # type: textblock
1873 #: ../src/guestfs.pod:895
1874 msgid ""
1875 "Note that the message string C<msg> is freed as soon as the callback "
1876 "function returns, so if you want to stash it somewhere you must make your "
1877 "own copy."
1878 msgstr ""
1879
1880 # type: textblock
1881 #: ../src/guestfs.pod:899
1882 msgid "The default handler prints messages on C<stderr>."
1883 msgstr ""
1884
1885 # type: textblock
1886 #: ../src/guestfs.pod:901
1887 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
1888 msgstr ""
1889
1890 # type: =head2
1891 #: ../src/guestfs.pod:903
1892 msgid "guestfs_get_error_handler"
1893 msgstr ""
1894
1895 # type: verbatim
1896 #: ../src/guestfs.pod:905
1897 #, no-wrap
1898 msgid ""
1899 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
1900 "                                                     void **opaque_rtn);\n"
1901 "\n"
1902 msgstr ""
1903
1904 # type: textblock
1905 #: ../src/guestfs.pod:908
1906 msgid "Returns the current error handler callback."
1907 msgstr ""
1908
1909 # type: =head2
1910 #: ../src/guestfs.pod:910
1911 msgid "guestfs_set_out_of_memory_handler"
1912 msgstr ""
1913
1914 # type: verbatim
1915 #: ../src/guestfs.pod:912
1916 #, no-wrap
1917 msgid ""
1918 " typedef void (*guestfs_abort_cb) (void);\n"
1919 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
1920 "                                        guestfs_abort_cb);\n"
1921 "\n"
1922 msgstr ""
1923
1924 # type: textblock
1925 #: ../src/guestfs.pod:916
1926 msgid ""
1927 "The callback C<cb> will be called if there is an out of memory situation.  "
1928 "I<Note this callback must not return>."
1929 msgstr ""
1930
1931 # type: textblock
1932 #: ../src/guestfs.pod:919
1933 msgid "The default is to call L<abort(3)>."
1934 msgstr ""
1935
1936 # type: textblock
1937 #: ../src/guestfs.pod:921
1938 msgid ""
1939 "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
1940 msgstr ""
1941
1942 # type: =head2
1943 #: ../src/guestfs.pod:924
1944 msgid "guestfs_get_out_of_memory_handler"
1945 msgstr ""
1946
1947 # type: verbatim
1948 #: ../src/guestfs.pod:926
1949 #, no-wrap
1950 msgid ""
1951 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
1952 "\n"
1953 msgstr ""
1954
1955 # type: textblock
1956 #: ../src/guestfs.pod:928
1957 msgid "This returns the current out of memory handler."
1958 msgstr ""
1959
1960 # type: =head1
1961 #: ../src/guestfs.pod:930
1962 msgid "PATH"
1963 msgstr ""
1964
1965 # type: textblock
1966 #: ../src/guestfs.pod:932
1967 msgid ""
1968 "Libguestfs needs a kernel and initrd.img, which it finds by looking along an "
1969 "internal path."
1970 msgstr ""
1971
1972 # type: textblock
1973 #: ../src/guestfs.pod:935
1974 msgid ""
1975 "By default it looks for these in the directory C<$libdir/guestfs> (eg. C</"
1976 "usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
1977 msgstr ""
1978
1979 # type: textblock
1980 #: ../src/guestfs.pod:938
1981 msgid ""
1982 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
1983 "to change the directories that libguestfs will search in.  The value is a "
1984 "colon-separated list of paths.  The current directory is I<not> searched "
1985 "unless the path contains an empty element or C<.>.  For example "
1986 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
1987 "then C</usr/lib/guestfs>."
1988 msgstr ""
1989
1990 # type: =head1
1991 #: ../src/guestfs.pod:945
1992 msgid "HIGH-LEVEL API ACTIONS"
1993 msgstr ""
1994
1995 # type: =head2
1996 #: ../src/guestfs.pod:947
1997 msgid "ABI GUARANTEE"
1998 msgstr ""
1999
2000 # type: textblock
2001 #: ../src/guestfs.pod:949
2002 msgid ""
2003 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
2004 "actions as outlined in this section.  Although we will deprecate some "
2005 "actions, for example if they get replaced by newer calls, we will keep the "
2006 "old actions forever.  This allows you the developer to program in confidence "
2007 "against the libguestfs API."
2008 msgstr ""
2009
2010 # type: textblock
2011 #: ../src/guestfs.pod:955 ../fish/guestfish.pod:819
2012 msgid "@ACTIONS@"
2013 msgstr ""
2014
2015 # type: =head1
2016 #: ../src/guestfs.pod:957
2017 msgid "STRUCTURES"
2018 msgstr ""
2019
2020 # type: textblock
2021 #: ../src/guestfs.pod:959
2022 msgid "@STRUCTS@"
2023 msgstr ""
2024
2025 # type: =head1
2026 #: ../src/guestfs.pod:961
2027 msgid "AVAILABILITY"
2028 msgstr ""
2029
2030 # type: =head2
2031 #: ../src/guestfs.pod:963
2032 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
2033 msgstr ""
2034
2035 # type: textblock
2036 #: ../src/guestfs.pod:965
2037 msgid ""
2038 "Using L</guestfs_available> you can test availability of the following "
2039 "groups of functions.  This test queries the appliance to see if the "
2040 "appliance you are currently using supports the functionality."
2041 msgstr ""
2042
2043 # type: textblock
2044 #: ../src/guestfs.pod:970
2045 msgid "@AVAILABILITY@"
2046 msgstr ""
2047
2048 # type: =head2
2049 #: ../src/guestfs.pod:972
2050 msgid "GUESTFISH supported COMMAND"
2051 msgstr ""
2052
2053 # type: textblock
2054 #: ../src/guestfs.pod:974
2055 msgid ""
2056 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
2057 "prints out the available groups and whether they are supported by this build "
2058 "of libguestfs.  Note however that you have to do C<run> first."
2059 msgstr ""
2060
2061 # type: =head2
2062 #: ../src/guestfs.pod:979
2063 msgid "SINGLE CALLS AT COMPILE TIME"
2064 msgstr ""
2065
2066 # type: textblock
2067 #: ../src/guestfs.pod:981
2068 msgid ""
2069 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
2070 "function, such as:"
2071 msgstr ""
2072
2073 # type: verbatim
2074 #: ../src/guestfs.pod:984
2075 #, no-wrap
2076 msgid ""
2077 " #define LIBGUESTFS_HAVE_DD 1\n"
2078 "\n"
2079 msgstr ""
2080
2081 # type: textblock
2082 #: ../src/guestfs.pod:986
2083 msgid "if L</guestfs_dd> is available."
2084 msgstr ""
2085
2086 # type: textblock
2087 #: ../src/guestfs.pod:988
2088 msgid ""
2089 "Before version 1.5.8, if you needed to test whether a single libguestfs "
2090 "function is available at compile time, we recommended using build tools such "
2091 "as autoconf or cmake.  For example in autotools you could use:"
2092 msgstr ""
2093
2094 # type: verbatim
2095 #: ../src/guestfs.pod:993
2096 #, no-wrap
2097 msgid ""
2098 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
2099 " AC_CHECK_FUNCS([guestfs_dd])\n"
2100 "\n"
2101 msgstr ""
2102
2103 # type: textblock
2104 #: ../src/guestfs.pod:996
2105 msgid ""
2106 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
2107 "in your program."
2108 msgstr ""
2109
2110 # type: =head2
2111 #: ../src/guestfs.pod:999
2112 msgid "SINGLE CALLS AT RUN TIME"
2113 msgstr ""
2114
2115 # type: textblock
2116 #: ../src/guestfs.pod:1001
2117 msgid ""
2118 "Testing at compile time doesn't guarantee that a function really exists in "
2119 "the library.  The reason is that you might be dynamically linked against a "
2120 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
2121 "This situation unfortunately results in a segmentation fault, which is a "
2122 "shortcoming of the C dynamic linking system itself."
2123 msgstr ""
2124
2125 # type: textblock
2126 #: ../src/guestfs.pod:1008
2127 msgid ""
2128 "You can use L<dlopen(3)> to test if a function is available at run time, as "
2129 "in this example program (note that you still need the compile time check as "
2130 "well):"
2131 msgstr ""
2132
2133 # type: verbatim
2134 #: ../src/guestfs.pod:1012
2135 #, no-wrap
2136 msgid ""
2137 " #include <stdio.h>\n"
2138 " #include <stdlib.h>\n"
2139 " #include <unistd.h>\n"
2140 " #include <dlfcn.h>\n"
2141 " #include <guestfs.h>\n"
2142 " \n"
2143 msgstr ""
2144
2145 # type: verbatim
2146 #: ../src/guestfs.pod:1018
2147 #, no-wrap
2148 msgid ""
2149 " main ()\n"
2150 " {\n"
2151 " #ifdef LIBGUESTFS_HAVE_DD\n"
2152 "   void *dl;\n"
2153 "   int has_function;\n"
2154 " \n"
2155 msgstr ""
2156
2157 # type: verbatim
2158 #: ../src/guestfs.pod:1024
2159 #, no-wrap
2160 msgid ""
2161 "   /* Test if the function guestfs_dd is really available. */\n"
2162 "   dl = dlopen (NULL, RTLD_LAZY);\n"
2163 "   if (!dl) {\n"
2164 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
2165 "     exit (EXIT_FAILURE);\n"
2166 "   }\n"
2167 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
2168 "   dlclose (dl);\n"
2169 " \n"
2170 msgstr ""
2171
2172 # type: verbatim
2173 #: ../src/guestfs.pod:1033
2174 #, no-wrap
2175 msgid ""
2176 "   if (!has_function)\n"
2177 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
2178 "   else {\n"
2179 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
2180 "     /* Now it's safe to call\n"
2181 "     guestfs_dd (g, \"foo\", \"bar\");\n"
2182 "     */\n"
2183 "   }\n"
2184 " #else\n"
2185 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
2186 " #endif\n"
2187 "  }\n"
2188 "\n"
2189 msgstr ""
2190
2191 # type: textblock
2192 #: ../src/guestfs.pod:1046
2193 msgid ""
2194 "You may think the above is an awful lot of hassle, and it is.  There are "
2195 "other ways outside of the C linking system to ensure that this kind of "
2196 "incompatibility never arises, such as using package versioning:"
2197 msgstr ""
2198
2199 # type: verbatim
2200 #: ../src/guestfs.pod:1051
2201 #, no-wrap
2202 msgid ""
2203 " Requires: libguestfs >= 1.0.80\n"
2204 "\n"
2205 msgstr ""
2206
2207 # type: =end
2208 #: ../src/guestfs.pod:1053 ../src/guestfs.pod:1058
2209 msgid "html"
2210 msgstr ""
2211
2212 # type: textblock
2213 #: ../src/guestfs.pod:1055
2214 msgid ""
2215 "<!-- old anchor for the next section --> <a name="
2216 "\"state_machine_and_low_level_event_api\"/>"
2217 msgstr ""
2218
2219 # type: =head1
2220 #: ../src/guestfs.pod:1060
2221 msgid "ARCHITECTURE"
2222 msgstr ""
2223
2224 # type: textblock
2225 #: ../src/guestfs.pod:1062
2226 msgid ""
2227 "Internally, libguestfs is implemented by running an appliance (a special "
2228 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
2229 "process of the main program."
2230 msgstr ""
2231
2232 # type: verbatim
2233 #: ../src/guestfs.pod:1066
2234 #, no-wrap
2235 msgid ""
2236 "  ___________________\n"
2237 " /                   \\\n"
2238 " | main program      |\n"
2239 " |                   |\n"
2240 " |                   |           child process / appliance\n"
2241 " |                   |           __________________________\n"
2242 " |                   |          / qemu                     \\\n"
2243 " +-------------------+   RPC    |      +-----------------+ |\n"
2244 " | libguestfs     <--------------------> guestfsd        | |\n"
2245 " |                   |          |      +-----------------+ |\n"
2246 " \\___________________/          |      | Linux kernel    | |\n"
2247 "                                |      +--^--------------+ |\n"
2248 "                                \\_________|________________/\n"
2249 "                                          |\n"
2250 "                                   _______v______\n"
2251 "                                  /              \\\n"
2252 "                                  | Device or    |\n"
2253 "                                  | disk image   |\n"
2254 "                                  \\______________/\n"
2255 "\n"
2256 msgstr ""
2257
2258 # type: textblock
2259 #: ../src/guestfs.pod:1086
2260 msgid ""
2261 "The library, linked to the main program, creates the child process and hence "
2262 "the appliance in the L</guestfs_launch> function."
2263 msgstr ""
2264
2265 # type: textblock
2266 #: ../src/guestfs.pod:1089
2267 msgid ""
2268 "Inside the appliance is a Linux kernel and a complete stack of userspace "
2269 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
2270 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
2271 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
2272 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
2273 "attached to the qemu process which translates device access by the "
2274 "appliance's Linux kernel into accesses to the image."
2275 msgstr ""
2276
2277 # type: textblock
2278 #: ../src/guestfs.pod:1098
2279 msgid ""
2280 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
2281 "Although the disk image you are attached to might also be used by some "
2282 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
2283 "care if both libguestfs's qemu process and your virtual machine are trying "
2284 "to update the disk image at the same time, since these usually results in "
2285 "massive disk corruption)."
2286 msgstr ""
2287
2288 # type: =head1
2289 #: ../src/guestfs.pod:1105
2290 msgid "STATE MACHINE"
2291 msgstr ""
2292
2293 # type: textblock
2294 #: ../src/guestfs.pod:1107
2295 msgid "libguestfs uses a state machine to model the child process:"
2296 msgstr ""
2297
2298 # type: verbatim
2299 #: ../src/guestfs.pod:1109
2300 #, no-wrap
2301 msgid ""
2302 "                         |\n"
2303 "                    guestfs_create\n"
2304 "                         |\n"
2305 "                         |\n"
2306 "                     ____V_____\n"
2307 "                    /          \\\n"
2308 "                    |  CONFIG  |\n"
2309 "                    \\__________/\n"
2310 "                     ^ ^   ^  \\\n"
2311 "                    /  |    \\  \\ guestfs_launch\n"
2312 "                   /   |    _\\__V______\n"
2313 "                  /    |   /           \\\n"
2314 "                 /     |   | LAUNCHING |\n"
2315 "                /      |   \\___________/\n"
2316 "               /       |       /\n"
2317 "              /        |  guestfs_launch\n"
2318 "             /         |     /\n"
2319 "    ______  /        __|____V\n"
2320 "   /      \\ ------> /        \\\n"
2321 "   | BUSY |         | READY  |\n"
2322 "   \\______/ <------ \\________/\n"
2323 "\n"
2324 msgstr ""
2325
2326 # type: textblock
2327 #: ../src/guestfs.pod:1131
2328 msgid ""
2329 "The normal transitions are (1) CONFIG (when the handle is created, but there "
2330 "is no child process), (2) LAUNCHING (when the child process is booting up), "
2331 "(3) alternating between READY and BUSY as commands are issued to, and "
2332 "carried out by, the child process."
2333 msgstr ""
2334
2335 # type: textblock
2336 #: ../src/guestfs.pod:1136
2337 msgid ""
2338 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
2339 "asynchronously at any time (eg. due to some internal error), and that causes "
2340 "the state to transition back to CONFIG."
2341 msgstr ""
2342
2343 # type: textblock
2344 #: ../src/guestfs.pod:1140
2345 msgid ""
2346 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
2347 "issued when in the CONFIG state."
2348 msgstr ""
2349
2350 # type: textblock
2351 #: ../src/guestfs.pod:1143
2352 msgid ""
2353 "The API offers one call that goes from CONFIG through LAUNCHING to READY.  "
2354 "L</guestfs_launch> blocks until the child process is READY to accept "
2355 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
2356 "moves the state from CONFIG to LAUNCHING while it is running."
2357 msgstr ""
2358
2359 # type: textblock
2360 #: ../src/guestfs.pod:1149
2361 msgid ""
2362 "API actions such as L</guestfs_mount> can only be issued when in the READY "
2363 "state.  These API calls block waiting for the command to be carried out (ie. "
2364 "the state to transition to BUSY and then back to READY).  There are no non-"
2365 "blocking versions, and no way to issue more than one command per handle at "
2366 "the same time."
2367 msgstr ""
2368
2369 # type: textblock
2370 #: ../src/guestfs.pod:1155
2371 msgid ""
2372 "Finally, the child process sends asynchronous messages back to the main "
2373 "program, such as kernel log messages.  You can register a callback to "
2374 "receive these messages."
2375 msgstr ""
2376
2377 # type: =head2
2378 #: ../src/guestfs.pod:1159
2379 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
2380 msgstr ""
2381
2382 # type: textblock
2383 #: ../src/guestfs.pod:1161
2384 msgid ""
2385 "The child process generates events in some situations.  Current events "
2386 "include: receiving a log message, the child process exits."
2387 msgstr ""
2388
2389 # type: textblock
2390 #: ../src/guestfs.pod:1164
2391 msgid ""
2392 "Use the C<guestfs_set_*_callback> functions to set a callback for different "
2393 "types of events."
2394 msgstr ""
2395
2396 # type: textblock
2397 #: ../src/guestfs.pod:1167
2398 msgid ""
2399 "Only I<one callback of each type> can be registered for each handle.  "
2400 "Calling C<guestfs_set_*_callback> again overwrites the previous callback of "
2401 "that type.  Cancel all callbacks of this type by calling this function with "
2402 "C<cb> set to C<NULL>."
2403 msgstr ""
2404
2405 # type: =head2
2406 #: ../src/guestfs.pod:1172
2407 msgid "guestfs_set_log_message_callback"
2408 msgstr ""
2409
2410 # type: verbatim
2411 #: ../src/guestfs.pod:1174
2412 #, no-wrap
2413 msgid ""
2414 " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n"
2415 "                                         char *buf, int len);\n"
2416 " void guestfs_set_log_message_callback (guestfs_h *g,\n"
2417 "                                        guestfs_log_message_cb cb,\n"
2418 "                                        void *opaque);\n"
2419 "\n"
2420 msgstr ""
2421
2422 # type: textblock
2423 #: ../src/guestfs.pod:1180
2424 msgid ""
2425 "The callback function C<cb> will be called whenever qemu or the guest writes "
2426 "anything to the console."
2427 msgstr ""
2428
2429 # type: textblock
2430 #: ../src/guestfs.pod:1183
2431 msgid "Use this function to capture kernel messages and similar."
2432 msgstr ""
2433
2434 # type: textblock
2435 #: ../src/guestfs.pod:1185
2436 msgid ""
2437 "Normally there is no log message handler, and log messages are just "
2438 "discarded."
2439 msgstr ""
2440
2441 # type: =head2
2442 #: ../src/guestfs.pod:1188
2443 msgid "guestfs_set_subprocess_quit_callback"
2444 msgstr ""
2445
2446 # type: verbatim
2447 #: ../src/guestfs.pod:1190
2448 #, no-wrap
2449 msgid ""
2450 " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n"
2451 " void guestfs_set_subprocess_quit_callback (guestfs_h *g,\n"
2452 "                                            guestfs_subprocess_quit_cb cb,\n"
2453 "                                            void *opaque);\n"
2454 "\n"
2455 msgstr ""
2456
2457 # type: textblock
2458 #: ../src/guestfs.pod:1195
2459 msgid ""
2460 "The callback function C<cb> will be called when the child process quits, "
2461 "either asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
2462 "corresponds to a transition from any state to the CONFIG state)."
2463 msgstr ""
2464
2465 # type: =head2
2466 #: ../src/guestfs.pod:1200
2467 msgid "guestfs_set_launch_done_callback"
2468 msgstr ""
2469
2470 # type: verbatim
2471 #: ../src/guestfs.pod:1202
2472 #, no-wrap
2473 msgid ""
2474 " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n"
2475 " void guestfs_set_launch_done_callback (guestfs_h *g,\n"
2476 "                                        guestfs_launch_done_cb cb,\n"
2477 "                                        void *opaque);\n"
2478 "\n"
2479 msgstr ""
2480
2481 # type: textblock
2482 #: ../src/guestfs.pod:1207
2483 msgid ""
2484 "The callback function C<cb> will be called when the child process becomes "
2485 "ready first time after it has been launched.  (This corresponds to a "
2486 "transition from LAUNCHING to the READY state)."
2487 msgstr ""
2488
2489 # type: =head2
2490 #: ../src/guestfs.pod:1211
2491 msgid "guestfs_set_close_callback"
2492 msgstr ""
2493
2494 # type: verbatim
2495 #: ../src/guestfs.pod:1213
2496 #, no-wrap
2497 msgid ""
2498 " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n"
2499 " void guestfs_set_close_callback (guestfs_h *g,\n"
2500 "                                  guestfs_close_cb cb,\n"
2501 "                                  void *opaque);\n"
2502 "\n"
2503 msgstr ""
2504
2505 # type: textblock
2506 #: ../src/guestfs.pod:1218
2507 msgid ""
2508 "The callback function C<cb> will be called while the handle is being closed "
2509 "(synchronously from L</guestfs_close>)."
2510 msgstr ""
2511
2512 # type: textblock
2513 #: ../src/guestfs.pod:1221
2514 msgid ""
2515 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
2516 "handles that are open when the program exits.  This means that this callback "
2517 "might be called indirectly from L<exit(3)>, which can cause unexpected "
2518 "problems in higher-level languages (eg. if your HLL interpreter has already "
2519 "been cleaned up by the time this is called, and if your callback then jumps "
2520 "into some HLL function)."
2521 msgstr ""
2522
2523 # type: =head2
2524 #: ../src/guestfs.pod:1229
2525 msgid "guestfs_set_progress_callback"
2526 msgstr ""
2527
2528 # type: verbatim
2529 #: ../src/guestfs.pod:1231
2530 #, no-wrap
2531 msgid ""
2532 " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n"
2533 "                                      int proc_nr, int serial,\n"
2534 "                                      uint64_t position, uint64_t total);\n"
2535 " void guestfs_set_progress_callback (guestfs_h *g,\n"
2536 "                                     guestfs_progress_cb cb,\n"
2537 "                                     void *opaque);\n"
2538 "\n"
2539 msgstr ""
2540
2541 # type: textblock
2542 #: ../src/guestfs.pod:1238
2543 msgid ""
2544 "Some long-running operations can generate progress messages.  If this "
2545 "callback is registered, then it will be called each time a progress message "
2546 "is generated (usually two seconds after the operation started, and three "
2547 "times per second thereafter until it completes, although the frequency may "
2548 "change in future versions)."
2549 msgstr ""
2550
2551 # type: textblock
2552 #: ../src/guestfs.pod:1244
2553 msgid ""
2554 "The callback receives two numbers: C<position> and C<total>.  The units of "
2555 "C<total> are not defined, although for some operations C<total> may relate "
2556 "in some way to the amount of data to be transferred (eg. in bytes or "
2557 "megabytes), and C<position> may be the portion which has been transferred."
2558 msgstr ""
2559
2560 # type: textblock
2561 #: ../src/guestfs.pod:1250
2562 msgid "The only defined and stable parts of the API are:"
2563 msgstr ""
2564
2565 # type: textblock
2566 #: ../src/guestfs.pod:1256
2567 msgid ""
2568 "The callback can display to the user some type of progress bar or indicator "
2569 "which shows the ratio of C<position>:C<total>."
2570 msgstr ""
2571
2572 # type: textblock
2573 #: ../src/guestfs.pod:1261
2574 msgid "0 E<lt>= C<position> E<lt>= C<total>"
2575 msgstr ""
2576
2577 # type: textblock
2578 #: ../src/guestfs.pod:1265
2579 msgid ""
2580 "If any progress notification is sent during a call, then a final progress "
2581 "notification is always sent when C<position> = C<total>."
2582 msgstr ""
2583
2584 # type: textblock
2585 #: ../src/guestfs.pod:1268
2586 msgid ""
2587 "This is to simplify caller code, so callers can easily set the progress "
2588 "indicator to \"100%\" at the end of the operation, without requiring special "
2589 "code to detect this case."
2590 msgstr ""
2591
2592 # type: textblock
2593 #: ../src/guestfs.pod:1274
2594 msgid ""
2595 "The callback also receives the procedure number and serial number of the "
2596 "call.  These are only useful for debugging protocol issues, and the callback "
2597 "can normally ignore them.  The callback may want to print these numbers in "
2598 "error messages or debugging messages."
2599 msgstr ""
2600
2601 # type: =head1
2602 #: ../src/guestfs.pod:1279
2603 msgid "PRIVATE DATA AREA"
2604 msgstr ""
2605
2606 # type: textblock
2607 #: ../src/guestfs.pod:1281
2608 msgid ""
2609 "You can attach named pieces of private data to the libguestfs handle, and "
2610 "fetch them by name for the lifetime of the handle.  This is called the "
2611 "private data area and is only available from the C API."
2612 msgstr ""
2613
2614 # type: textblock
2615 #: ../src/guestfs.pod:1285
2616 msgid "To attach a named piece of data, use the following call:"
2617 msgstr ""
2618
2619 # type: verbatim
2620 #: ../src/guestfs.pod:1287
2621 #, no-wrap
2622 msgid ""
2623 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
2624 "\n"
2625 msgstr ""
2626
2627 # type: textblock
2628 #: ../src/guestfs.pod:1289
2629 msgid ""
2630 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
2631 "pointer (which can be C<NULL>).  Any previous item with the same name is "
2632 "overwritten."
2633 msgstr ""
2634
2635 # type: textblock
2636 #: ../src/guestfs.pod:1293
2637 msgid ""
2638 "You can use any C<key> you want, but names beginning with an underscore "
2639 "character are reserved for internal libguestfs purposes (for implementing "
2640 "language bindings).  It is recommended to prefix the name with some unique "
2641 "string to avoid collisions with other users."
2642 msgstr ""
2643
2644 # type: textblock
2645 #: ../src/guestfs.pod:1298
2646 msgid "To retrieve the pointer, use:"
2647 msgstr ""
2648
2649 # type: verbatim
2650 #: ../src/guestfs.pod:1300
2651 #, no-wrap
2652 msgid ""
2653 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
2654 "\n"
2655 msgstr ""
2656
2657 # type: textblock
2658 #: ../src/guestfs.pod:1302
2659 msgid ""
2660 "This function returns C<NULL> if either no data is found associated with "
2661 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
2662 "C<NULL>."
2663 msgstr ""
2664
2665 # type: textblock
2666 #: ../src/guestfs.pod:1306
2667 msgid ""
2668 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
2669 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
2670 "all.  In particular, libguestfs does I<not> try to free the data when the "
2671 "handle is closed.  If the data must be freed, then the caller must either "
2672 "free it before calling L</guestfs_close> or must set up a close callback to "
2673 "do it (see L</guestfs_set_close_callback>, and note that only one callback "
2674 "can be registered for a handle)."
2675 msgstr ""
2676
2677 # type: textblock
2678 #: ../src/guestfs.pod:1314
2679 msgid ""
2680 "The private data area is implemented using a hash table, and should be "
2681 "reasonably efficient for moderate numbers of keys."
2682 msgstr ""
2683
2684 # type: =head1
2685 #: ../src/guestfs.pod:1317
2686 msgid "BLOCK DEVICE NAMING"
2687 msgstr ""
2688
2689 # type: textblock
2690 #: ../src/guestfs.pod:1319
2691 msgid ""
2692 "In the kernel there is now quite a profusion of schemata for naming block "
2693 "devices (in this context, by I<block device> I mean a physical or virtual "
2694 "hard drive).  The original Linux IDE driver used names starting with C</dev/"
2695 "hd*>.  SCSI devices have historically used a different naming scheme, C</dev/"
2696 "sd*>.  When the Linux kernel I<libata> driver became a popular replacement "
2697 "for the old IDE driver (particularly for SATA devices) those devices also "
2698 "used the C</dev/sd*> scheme.  Additionally we now have virtual machines with "
2699 "paravirtualized drivers.  This has created several different naming systems, "
2700 "such as C</dev/vd*> for virtio disks and C</dev/xvd*> for Xen PV disks."
2701 msgstr ""
2702
2703 # type: textblock
2704 #: ../src/guestfs.pod:1331
2705 msgid ""
2706 "As discussed above, libguestfs uses a qemu appliance running an embedded "
2707 "Linux kernel to access block devices.  We can run a variety of appliances "
2708 "based on a variety of Linux kernels."
2709 msgstr ""
2710
2711 # type: textblock
2712 #: ../src/guestfs.pod:1335
2713 msgid ""
2714 "This causes a problem for libguestfs because many API calls use device or "
2715 "partition names.  Working scripts and the recipe (example) scripts that we "
2716 "make available over the internet could fail if the naming scheme changes."
2717 msgstr ""
2718
2719 # type: textblock
2720 #: ../src/guestfs.pod:1340
2721 msgid ""
2722 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
2723 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
2724 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
2725 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
2726 msgstr ""
2727
2728 # type: textblock
2729 #: ../src/guestfs.pod:1346
2730 msgid ""
2731 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
2732 "L</guestfs_list_partitions> and similar calls return the true names of the "
2733 "devices and partitions as known to the appliance."
2734 msgstr ""
2735
2736 # type: =head2
2737 #: ../src/guestfs.pod:1351
2738 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
2739 msgstr ""
2740
2741 # type: textblock
2742 #: ../src/guestfs.pod:1353
2743 msgid ""
2744 "Usually this translation is transparent.  However in some (very rare)  cases "
2745 "you may need to know the exact algorithm.  Such cases include where you use "
2746 "L</guestfs_config> to add a mixture of virtio and IDE devices to the qemu-"
2747 "based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> devices."
2748 msgstr ""
2749
2750 # type: textblock
2751 #: ../src/guestfs.pod:1359
2752 msgid ""
2753 "The algorithm is applied only to I<parameters> which are known to be either "
2754 "device or partition names.  Return values from functions such as L</"
2755 "guestfs_list_devices> are never changed."
2756 msgstr ""
2757
2758 # type: textblock
2759 #: ../src/guestfs.pod:1367
2760 msgid "Is the string a parameter which is a device or partition name?"
2761 msgstr ""
2762
2763 # type: textblock
2764 #: ../src/guestfs.pod:1371
2765 msgid "Does the string begin with C</dev/sd>?"
2766 msgstr ""
2767
2768 # type: textblock
2769 #: ../src/guestfs.pod:1375
2770 msgid ""
2771 "Does the named device exist? If so, we use that device.  However if I<not> "
2772 "then we continue with this algorithm."
2773 msgstr ""
2774
2775 # type: textblock
2776 #: ../src/guestfs.pod:1380
2777 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
2778 msgstr ""
2779
2780 # type: textblock
2781 #: ../src/guestfs.pod:1382
2782 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
2783 msgstr ""
2784
2785 # type: textblock
2786 #: ../src/guestfs.pod:1384
2787 msgid "If that named device exists, use it.  If not, continue."
2788 msgstr ""
2789
2790 # type: textblock
2791 #: ../src/guestfs.pod:1388
2792 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
2793 msgstr ""
2794
2795 # type: textblock
2796 #: ../src/guestfs.pod:1390
2797 msgid "If that named device exists, use it.  If not, return an error."
2798 msgstr ""
2799
2800 # type: =head2
2801 #: ../src/guestfs.pod:1394
2802 msgid "PORTABILITY CONCERNS"
2803 msgstr ""
2804
2805 # type: textblock
2806 #: ../src/guestfs.pod:1396
2807 msgid ""
2808 "Although the standard naming scheme and automatic translation is useful for "
2809 "simple programs and guestfish scripts, for larger programs it is best not to "
2810 "rely on this mechanism."
2811 msgstr ""
2812
2813 # type: textblock
2814 #: ../src/guestfs.pod:1400
2815 msgid ""
2816 "Where possible for maximum future portability programs using libguestfs "
2817 "should use these future-proof techniques:"
2818 msgstr ""
2819
2820 # type: textblock
2821 #: ../src/guestfs.pod:1407
2822 msgid ""
2823 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
2824 "device names, and then use those names directly."
2825 msgstr ""
2826
2827 # type: textblock
2828 #: ../src/guestfs.pod:1410
2829 msgid ""
2830 "Since those device names exist by definition, they will never be translated."
2831 msgstr ""
2832
2833 # type: textblock
2834 #: ../src/guestfs.pod:1415
2835 msgid ""
2836 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
2837 "filesystem labels."
2838 msgstr ""
2839
2840 # type: =head1
2841 #: ../src/guestfs.pod:1420
2842 msgid "INTERNALS"
2843 msgstr ""
2844
2845 # type: =head2
2846 #: ../src/guestfs.pod:1422
2847 msgid "COMMUNICATION PROTOCOL"
2848 msgstr ""
2849
2850 # type: textblock
2851 #: ../src/guestfs.pod:1424
2852 msgid ""
2853 "Don't rely on using this protocol directly.  This section documents how it "
2854 "currently works, but it may change at any time."
2855 msgstr ""
2856
2857 # type: textblock
2858 #: ../src/guestfs.pod:1427
2859 msgid ""
2860 "The protocol used to talk between the library and the daemon running inside "
2861 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
2862 "1014, RFC 1832, RFC 4506)."
2863 msgstr ""
2864
2865 # type: textblock
2866 #: ../src/guestfs.pod:1431
2867 msgid ""
2868 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
2869 "this file is automatically generated)."
2870 msgstr ""
2871
2872 # type: textblock
2873 #: ../src/guestfs.pod:1434
2874 msgid ""
2875 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
2876 "and C<FileOut> parameters, which are handled with very simple request/reply "
2877 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
2878 "parameters, which use the same request and reply messages, but they may also "
2879 "be followed by files sent using a chunked encoding."
2880 msgstr ""
2881
2882 # type: =head3
2883 #: ../src/guestfs.pod:1441
2884 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
2885 msgstr ""
2886
2887 # type: textblock
2888 #: ../src/guestfs.pod:1443
2889 msgid "For ordinary functions, the request message is:"
2890 msgstr ""
2891
2892 # type: verbatim
2893 #: ../src/guestfs.pod:1445
2894 #, no-wrap
2895 msgid ""
2896 " total length (header + arguments,\n"
2897 "      but not including the length word itself)\n"
2898 " struct guestfs_message_header (encoded as XDR)\n"
2899 " struct guestfs_<foo>_args (encoded as XDR)\n"
2900 "\n"
2901 msgstr ""
2902
2903 # type: textblock
2904 #: ../src/guestfs.pod:1450
2905 msgid ""
2906 "The total length field allows the daemon to allocate a fixed size buffer "
2907 "into which it slurps the rest of the message.  As a result, the total length "
2908 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
2909 "effective size of any request is limited to somewhere under this size."
2910 msgstr ""
2911
2912 # type: textblock
2913 #: ../src/guestfs.pod:1456
2914 msgid ""
2915 "Note also that many functions don't take any arguments, in which case the "
2916 "C<guestfs_I<foo>_args> is completely omitted."
2917 msgstr ""
2918
2919 # type: textblock
2920 #: ../src/guestfs.pod:1459
2921 msgid ""
2922 "The header contains the procedure number (C<guestfs_proc>) which is how the "
2923 "receiver knows what type of args structure to expect, or none at all."
2924 msgstr ""
2925
2926 # type: textblock
2927 #: ../src/guestfs.pod:1463
2928 msgid "The reply message for ordinary functions is:"
2929 msgstr ""
2930
2931 # type: verbatim
2932 #: ../src/guestfs.pod:1465
2933 #, no-wrap
2934 msgid ""
2935 " total length (header + ret,\n"
2936 "      but not including the length word itself)\n"
2937 " struct guestfs_message_header (encoded as XDR)\n"
2938 " struct guestfs_<foo>_ret (encoded as XDR)\n"
2939 "\n"
2940 msgstr ""
2941
2942 # type: textblock
2943 #: ../src/guestfs.pod:1470
2944 msgid ""
2945 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
2946 "functions that return no formal return values."
2947 msgstr ""
2948
2949 # type: textblock
2950 #: ../src/guestfs.pod:1473
2951 msgid ""
2952 "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
2953 msgstr ""
2954
2955 # type: textblock
2956 #: ../src/guestfs.pod:1476
2957 msgid ""
2958 "In the case of an error, a flag is set in the header, and the reply message "
2959 "is slightly changed:"
2960 msgstr ""
2961
2962 # type: verbatim
2963 #: ../src/guestfs.pod:1479
2964 #, no-wrap
2965 msgid ""
2966 " total length (header + error,\n"
2967 "      but not including the length word itself)\n"
2968 " struct guestfs_message_header (encoded as XDR)\n"
2969 " struct guestfs_message_error (encoded as XDR)\n"
2970 "\n"
2971 msgstr ""
2972
2973 # type: textblock
2974 #: ../src/guestfs.pod:1484
2975 msgid ""
2976 "The C<guestfs_message_error> structure contains the error message as a "
2977 "string."
2978 msgstr ""
2979
2980 # type: =head3
2981 #: ../src/guestfs.pod:1487
2982 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
2983 msgstr ""
2984
2985 # type: textblock
2986 #: ../src/guestfs.pod:1489
2987 msgid ""
2988 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
2989 "The normal request message is sent (see above).  However this is followed by "
2990 "a sequence of file chunks."
2991 msgstr ""
2992
2993 # type: verbatim
2994 #: ../src/guestfs.pod:1493
2995 #, no-wrap
2996 msgid ""
2997 " total length (header + arguments,\n"
2998 "      but not including the length word itself,\n"
2999 "      and not including the chunks)\n"
3000 " struct guestfs_message_header (encoded as XDR)\n"
3001 " struct guestfs_<foo>_args (encoded as XDR)\n"
3002 " sequence of chunks for FileIn param #0\n"
3003 " sequence of chunks for FileIn param #1 etc.\n"
3004 "\n"
3005 msgstr ""
3006
3007 # type: textblock
3008 #: ../src/guestfs.pod:1501
3009 msgid "The \"sequence of chunks\" is:"
3010 msgstr ""
3011
3012 # type: verbatim
3013 #: ../src/guestfs.pod:1503
3014 #, no-wrap
3015 msgid ""
3016 " length of chunk (not including length word itself)\n"
3017 " struct guestfs_chunk (encoded as XDR)\n"
3018 " length of chunk\n"
3019 " struct guestfs_chunk (encoded as XDR)\n"
3020 "   ...\n"
3021 " length of chunk\n"
3022 " struct guestfs_chunk (with data.data_len == 0)\n"
3023 "\n"
3024 msgstr ""
3025
3026 # type: textblock
3027 #: ../src/guestfs.pod:1511
3028 msgid ""
3029 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
3030 "is set in the final chunk to indicate either successful completion or early "
3031 "cancellation."
3032 msgstr ""
3033
3034 # type: textblock
3035 #: ../src/guestfs.pod:1515
3036 msgid ""
3037 "At time of writing there are no functions that have more than one FileIn "
3038 "parameter.  However this is (theoretically) supported, by sending the "
3039 "sequence of chunks for each FileIn parameter one after another (from left to "
3040 "right)."
3041 msgstr ""
3042
3043 # type: textblock
3044 #: ../src/guestfs.pod:1520
3045 msgid ""
3046 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
3047 "transfer.  The library does this by sending a chunk with a special flag set "
3048 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
3049 "RPC, does I<not> send any reply, and goes back to reading the next request."
3050 msgstr ""
3051
3052 # type: textblock
3053 #: ../src/guestfs.pod:1526
3054 msgid ""
3055 "The daemon may also cancel.  It does this by writing a special word "
3056 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
3057 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
3058 "cancel chunk).  The special word is chosen so that even if cancellation "
3059 "happens right at the end of the transfer (after the library has finished "
3060 "writing and has started listening for the reply), the \"spurious\" cancel "
3061 "flag will not be confused with the reply message."
3062 msgstr ""
3063
3064 # type: textblock
3065 #: ../src/guestfs.pod:1535
3066 msgid ""
3067 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
3068 "limit), and also files where the size is not known in advance (eg. from "
3069 "pipes or sockets).  However the chunks are rather small "
3070 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
3071 "to keep much in memory."
3072 msgstr ""
3073
3074 # type: =head3
3075 #: ../src/guestfs.pod:1541
3076 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
3077 msgstr ""
3078
3079 # type: textblock
3080 #: ../src/guestfs.pod:1543
3081 msgid ""
3082 "The protocol for FileOut parameters is exactly the same as for FileIn "
3083 "parameters, but with the roles of daemon and library reversed."
3084 msgstr ""
3085
3086 # type: verbatim
3087 #: ../src/guestfs.pod:1546
3088 #, no-wrap
3089 msgid ""
3090 " total length (header + ret,\n"
3091 "      but not including the length word itself,\n"
3092 "      and not including the chunks)\n"
3093 " struct guestfs_message_header (encoded as XDR)\n"
3094 " struct guestfs_<foo>_ret (encoded as XDR)\n"
3095 " sequence of chunks for FileOut param #0\n"
3096 " sequence of chunks for FileOut param #1 etc.\n"
3097 "\n"
3098 msgstr ""
3099
3100 # type: =head3
3101 #: ../src/guestfs.pod:1554
3102 msgid "INITIAL MESSAGE"
3103 msgstr ""
3104
3105 # type: textblock
3106 #: ../src/guestfs.pod:1556
3107 msgid ""
3108 "When the daemon launches it sends an initial word (C<GUESTFS_LAUNCH_FLAG>) "
3109 "which indicates that the guest and daemon is alive.  This is what L</"
3110 "guestfs_launch> waits for."
3111 msgstr ""
3112
3113 # type: =head3
3114 #: ../src/guestfs.pod:1560
3115 msgid "PROGRESS NOTIFICATION MESSAGES"
3116 msgstr ""
3117
3118 # type: textblock
3119 #: ../src/guestfs.pod:1562
3120 msgid ""
3121 "The daemon may send progress notification messages at any time.  These are "
3122 "distinguished by the normal length word being replaced by "
3123 "C<GUESTFS_PROGRESS_FLAG>, followed by a fixed size progress message."
3124 msgstr ""
3125
3126 # type: textblock
3127 #: ../src/guestfs.pod:1566
3128 msgid ""
3129 "The library turns them into progress callbacks (see "
3130 "C<guestfs_set_progress_callback>) if there is a callback registered, or "
3131 "discards them if not."
3132 msgstr ""
3133
3134 # type: textblock
3135 #: ../src/guestfs.pod:1570
3136 msgid ""
3137 "The daemon self-limits the frequency of progress messages it sends (see "
3138 "C<daemon/proto.c:notify_progress>).  Not all calls generate progress "
3139 "messages."
3140 msgstr ""
3141
3142 # type: =head1
3143 #: ../src/guestfs.pod:1574
3144 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
3145 msgstr ""
3146
3147 # type: textblock
3148 #: ../src/guestfs.pod:1576
3149 msgid ""
3150 "All high-level libguestfs actions are synchronous.  If you want to use "
3151 "libguestfs asynchronously then you must create a thread."
3152 msgstr ""
3153
3154 # type: textblock
3155 #: ../src/guestfs.pod:1579
3156 msgid ""
3157 "Only use the handle from a single thread.  Either use the handle exclusively "
3158 "from one thread, or provide your own mutex so that two threads cannot issue "
3159 "calls on the same handle at the same time."
3160 msgstr ""
3161
3162 # type: textblock
3163 #: ../src/guestfs.pod:1583
3164 msgid ""
3165 "See the graphical program guestfs-browser for one possible architecture for "
3166 "multithreaded programs using libvirt and libguestfs."
3167 msgstr ""
3168
3169 # type: =head1
3170 #: ../src/guestfs.pod:1586
3171 msgid "QEMU WRAPPERS"
3172 msgstr ""
3173
3174 # type: textblock
3175 #: ../src/guestfs.pod:1588
3176 msgid ""
3177 "If you want to compile your own qemu, run qemu from a non-standard location, "
3178 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
3179 "around qemu."
3180 msgstr ""
3181
3182 # type: textblock
3183 #: ../src/guestfs.pod:1592
3184 msgid ""
3185 "There is one important rule to remember: you I<must C<exec qemu>> as the "
3186 "last command in the shell script (so that qemu replaces the shell and "
3187 "becomes the direct child of the libguestfs-using program).  If you don't do "
3188 "this, then the qemu process won't be cleaned up correctly."
3189 msgstr ""
3190
3191 # type: textblock
3192 #: ../src/guestfs.pod:1597
3193 msgid ""
3194 "Here is an example of a wrapper, where I have built my own copy of qemu from "
3195 "source:"
3196 msgstr ""
3197
3198 # type: verbatim
3199 #: ../src/guestfs.pod:1600
3200 #, no-wrap
3201 msgid ""
3202 " #!/bin/sh -\n"
3203 " qemudir=/home/rjones/d/qemu\n"
3204 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios \"$@\"\n"
3205 "\n"
3206 msgstr ""
3207
3208 # type: textblock
3209 #: ../src/guestfs.pod:1604
3210 msgid ""
3211 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
3212 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
3213 "example:"
3214 msgstr ""
3215
3216 # type: verbatim
3217 #: ../src/guestfs.pod:1608
3218 #, no-wrap
3219 msgid ""
3220 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
3221 "\n"
3222 msgstr ""
3223
3224 # type: textblock
3225 #: ../src/guestfs.pod:1610
3226 msgid ""
3227 "Note that libguestfs also calls qemu with the -help and -version options in "
3228 "order to determine features."
3229 msgstr ""
3230
3231 # type: =head1
3232 #: ../src/guestfs.pod:1613
3233 msgid "LIBGUESTFS VERSION NUMBERS"
3234 msgstr ""
3235
3236 # type: textblock
3237 #: ../src/guestfs.pod:1615
3238 msgid ""
3239 "Since April 2010, libguestfs has started to make separate development and "
3240 "stable releases, along with corresponding branches in our git repository.  "
3241 "These separate releases can be identified by version number:"
3242 msgstr ""
3243
3244 # type: verbatim
3245 #: ../src/guestfs.pod:1620
3246 #, no-wrap
3247 msgid ""
3248 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
3249 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
3250 "       |\n"
3251 "       v\n"
3252 " 1  .  3  .  5\n"
3253 " ^           ^\n"
3254 " |           |\n"
3255 " |           `-------- sub-version\n"
3256 " |\n"
3257 " `------ always '1' because we don't change the ABI\n"
3258 "\n"
3259 msgstr ""
3260
3261 # type: textblock
3262 #: ../src/guestfs.pod:1631
3263 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
3264 msgstr ""
3265
3266 # type: textblock
3267 #: ../src/guestfs.pod:1633
3268 msgid ""
3269 "As time passes we cherry pick fixes from the development branch and backport "
3270 "those into the stable branch, the effect being that the stable branch should "
3271 "get more stable and less buggy over time.  So the stable releases are ideal "
3272 "for people who don't need new features but would just like the software to "
3273 "work."
3274 msgstr ""
3275
3276 # type: textblock
3277 #: ../src/guestfs.pod:1639
3278 msgid "Our criteria for backporting changes are:"
3279 msgstr ""
3280
3281 # type: textblock
3282 #: ../src/guestfs.pod:1645
3283 msgid ""
3284 "Documentation changes which don't affect any code are backported unless the "
3285 "documentation refers to a future feature which is not in stable."
3286 msgstr ""
3287
3288 # type: textblock
3289 #: ../src/guestfs.pod:1651
3290 msgid ""
3291 "Bug fixes which are not controversial, fix obvious problems, and have been "
3292 "well tested are backported."
3293 msgstr ""
3294
3295 # type: textblock
3296 #: ../src/guestfs.pod:1656
3297 msgid ""
3298 "Simple rearrangements of code which shouldn't affect how it works get "
3299 "backported.  This is so that the code in the two branches doesn't get too "
3300 "far out of step, allowing us to backport future fixes more easily."
3301 msgstr ""
3302
3303 # type: textblock
3304 #: ../src/guestfs.pod:1662
3305 msgid ""
3306 "We I<don't> backport new features, new APIs, new tools etc, except in one "
3307 "exceptional case: the new feature is required in order to implement an "
3308 "important bug fix."
3309 msgstr ""
3310
3311 # type: textblock
3312 #: ../src/guestfs.pod:1668
3313 msgid ""
3314 "A new stable branch starts when we think the new features in development are "
3315 "substantial and compelling enough over the current stable branch to warrant "
3316 "it.  When that happens we create new stable and development versions 1.N.0 "
3317 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
3318 "stable at this point, but by backporting fixes from development, that branch "
3319 "will stabilize over time."
3320 msgstr ""
3321
3322 # type: =head1
3323 #: ../src/guestfs.pod:1676 ../fish/guestfish.pod:826
3324 #: ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:312
3325 #: ../tools/virt-rescue.pl:226
3326 msgid "ENVIRONMENT VARIABLES"
3327 msgstr ""
3328
3329 # type: =item
3330 #: ../src/guestfs.pod:1680 ../fish/guestfish.pod:852
3331 msgid "LIBGUESTFS_APPEND"
3332 msgstr ""
3333
3334 # type: textblock
3335 #: ../src/guestfs.pod:1682 ../fish/guestfish.pod:854
3336 msgid "Pass additional options to the guest kernel."
3337 msgstr ""
3338
3339 # type: =item
3340 #: ../src/guestfs.pod:1684 ../fish/guestfish.pod:856
3341 msgid "LIBGUESTFS_DEBUG"
3342 msgstr ""
3343
3344 # type: textblock
3345 #: ../src/guestfs.pod:1686
3346 msgid ""
3347 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
3348 "effect as calling C<guestfs_set_verbose (g, 1)>."
3349 msgstr ""
3350
3351 # type: =item
3352 #: ../src/guestfs.pod:1689 ../fish/guestfish.pod:861
3353 msgid "LIBGUESTFS_MEMSIZE"
3354 msgstr ""
3355
3356 # type: textblock
3357 #: ../src/guestfs.pod:1691 ../fish/guestfish.pod:863
3358 msgid ""
3359 "Set the memory allocated to the qemu process, in megabytes.  For example:"
3360 msgstr ""
3361
3362 # type: verbatim
3363 #: ../src/guestfs.pod:1694 ../fish/guestfish.pod:866
3364 #, no-wrap
3365 msgid ""
3366 " LIBGUESTFS_MEMSIZE=700\n"
3367 "\n"
3368 msgstr ""
3369
3370 # type: =item
3371 #: ../src/guestfs.pod:1696 ../fish/guestfish.pod:868
3372 msgid "LIBGUESTFS_PATH"
3373 msgstr ""
3374
3375 # type: textblock
3376 #: ../src/guestfs.pod:1698
3377 msgid ""
3378 "Set the path that libguestfs uses to search for kernel and initrd.img.  See "
3379 "the discussion of paths in section PATH above."
3380 msgstr ""
3381
3382 # type: =item
3383 #: ../src/guestfs.pod:1701 ../fish/guestfish.pod:873
3384 msgid "LIBGUESTFS_QEMU"
3385 msgstr ""
3386
3387 # type: textblock
3388 #: ../src/guestfs.pod:1703 ../fish/guestfish.pod:875
3389 msgid ""
3390 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
3391 "which was found at compile time by the configure script is used."
3392 msgstr ""
3393
3394 # type: textblock
3395 #: ../src/guestfs.pod:1707
3396 msgid "See also L</QEMU WRAPPERS> above."
3397 msgstr ""
3398
3399 # type: =item
3400 #: ../src/guestfs.pod:1709 ../fish/guestfish.pod:879
3401 msgid "LIBGUESTFS_TRACE"
3402 msgstr ""
3403
3404 # type: textblock
3405 #: ../src/guestfs.pod:1711
3406 msgid ""
3407 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
3408 "effect as calling C<guestfs_set_trace (g, 1)>."
3409 msgstr ""
3410
3411 # type: =item
3412 #: ../src/guestfs.pod:1714 ../fish/guestfish.pod:888
3413 msgid "TMPDIR"
3414 msgstr ""
3415
3416 # type: textblock
3417 #: ../src/guestfs.pod:1716 ../fish/guestfish.pod:890
3418 msgid "Location of temporary directory, defaults to C</tmp>."
3419 msgstr ""
3420
3421 # type: textblock
3422 #: ../src/guestfs.pod:1718 ../fish/guestfish.pod:892
3423 msgid ""
3424 "If libguestfs was compiled to use the supermin appliance then the real "
3425 "appliance is cached in this directory, shared between all handles belonging "
3426 "to the same EUID.  You can use C<$TMPDIR> to configure another directory to "
3427 "use in case C</tmp> is not large enough."
3428 msgstr ""
3429
3430 # type: =head1
3431 #: ../src/guestfs.pod:1726 ../fish/guestfish.pod:950
3432 #: ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:178
3433 #: ../inspector/virt-inspector.pl:846 ../tools/virt-edit.pl:325
3434 #: ../tools/virt-win-reg.pl:461 ../tools/virt-df.pl:536
3435 #: ../tools/virt-ls.pl:210 ../tools/virt-resize.pl:1390
3436 #: ../tools/virt-list-filesystems.pl:191 ../tools/virt-cat.pl:163
3437 #: ../tools/virt-tar.pl:257 ../tools/virt-rescue.pl:231
3438 #: ../tools/virt-make-fs.pl:527 ../tools/virt-list-partitions.pl:229
3439 msgid "SEE ALSO"
3440 msgstr ""
3441
3442 # type: textblock
3443 #: ../src/guestfs.pod:1728
3444 msgid ""
3445 "L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-df(1)>, L<virt-edit"
3446 "(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, L<virt-list-"
3447 "partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-"
3448 "tar(1)>, L<virt-win-reg(1)>, L<qemu(1)>, L<febootstrap(1)>, L<hivex(3)>, "
3449 "L<http://libguestfs.org/>."
3450 msgstr ""
3451
3452 # type: textblock
3453 #: ../src/guestfs.pod:1746
3454 msgid ""
3455 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, L<lvm"
3456 "(8)>, L<disktype(1)>."
3457 msgstr ""
3458
3459 # type: =head1
3460 #: ../src/guestfs.pod:1753 ../tools/virt-win-reg.pl:476
3461 #: ../tools/virt-make-fs.pl:541
3462 msgid "BUGS"
3463 msgstr ""
3464
3465 # type: textblock
3466 #: ../src/guestfs.pod:1755
3467 msgid "To get a list of bugs against libguestfs use this link:"
3468 msgstr ""
3469
3470 # type: textblock
3471 #: ../src/guestfs.pod:1757
3472 msgid ""
3473 "L<https://bugzilla.redhat.com/buglist.cgi?"
3474 "component=libguestfs&product=Virtualization+Tools>"
3475 msgstr ""
3476
3477 # type: textblock
3478 #: ../src/guestfs.pod:1759
3479 msgid "To report a new bug against libguestfs use this link:"
3480 msgstr ""
3481
3482 # type: textblock
3483 #: ../src/guestfs.pod:1761
3484 msgid ""
3485 "L<https://bugzilla.redhat.com/enter_bug.cgi?"
3486 "component=libguestfs&product=Virtualization+Tools>"
3487 msgstr ""
3488
3489 # type: textblock
3490 #: ../src/guestfs.pod:1763
3491 msgid "When reporting a bug, please check:"
3492 msgstr ""
3493
3494 # type: textblock
3495 #: ../src/guestfs.pod:1769
3496 msgid "That the bug hasn't been reported already."
3497 msgstr ""
3498
3499 # type: textblock
3500 #: ../src/guestfs.pod:1773
3501 msgid "That you are testing a recent version."
3502 msgstr ""
3503
3504 # type: textblock
3505 #: ../src/guestfs.pod:1777
3506 msgid "Describe the bug accurately, and give a way to reproduce it."
3507 msgstr ""
3508
3509 # type: textblock
3510 #: ../src/guestfs.pod:1781
3511 msgid ""
3512 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
3513 "bug report."
3514 msgstr ""
3515
3516 # type: =head1
3517 #: ../src/guestfs.pod:1786 ../fish/guestfish.pod:967
3518 #: ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:189
3519 #: ../inspector/virt-inspector.pl:855
3520 msgid "AUTHORS"
3521 msgstr ""
3522
3523 # type: textblock
3524 #: ../src/guestfs.pod:1788 ../fish/guestfish.pod:969
3525 #: ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:191
3526 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
3527 msgstr ""
3528
3529 # type: =head1
3530 #: ../src/guestfs.pod:1790 ../fish/guestfish.pod:971
3531 #: ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:193
3532 #: ../inspector/virt-inspector.pl:861 ../tools/virt-edit.pl:341
3533 #: ../tools/virt-win-reg.pl:491 ../tools/virt-df.pl:549
3534 #: ../tools/virt-ls.pl:225 ../tools/virt-resize.pl:1411
3535 #: ../tools/virt-list-filesystems.pl:207 ../tools/virt-cat.pl:177
3536 #: ../tools/virt-tar.pl:272 ../tools/virt-rescue.pl:245
3537 #: ../tools/virt-make-fs.pl:556 ../tools/virt-list-partitions.pl:244
3538 msgid "COPYRIGHT"
3539 msgstr ""
3540
3541 # type: textblock
3542 #: ../src/guestfs.pod:1792 ../fish/guestfish.pod:973
3543 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
3544 msgstr ""
3545
3546 # type: textblock
3547 #: ../src/guestfs.pod:1795
3548 msgid ""
3549 "This library is free software; you can redistribute it and/or modify it "
3550 "under the terms of the GNU Lesser General Public License as published by the "
3551 "Free Software Foundation; either version 2 of the License, or (at your "
3552 "option) any later version."
3553 msgstr ""
3554
3555 # type: textblock
3556 #: ../src/guestfs.pod:1800
3557 msgid ""
3558 "This library is distributed in the hope that it will be useful, but WITHOUT "
3559 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
3560 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
3561 "for more details."
3562 msgstr ""
3563
3564 # type: textblock
3565 #: ../src/guestfs.pod:1805
3566 msgid ""
3567 "You should have received a copy of the GNU Lesser General Public License "
3568 "along with this library; if not, write to the Free Software Foundation, "
3569 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
3570 msgstr ""
3571
3572 # type: =head2
3573 #: ../src/guestfs-actions.pod:1
3574 msgid "guestfs_add_cdrom"
3575 msgstr ""
3576
3577 # type: verbatim
3578 #: ../src/guestfs-actions.pod:3
3579 #, no-wrap
3580 msgid ""
3581 " int guestfs_add_cdrom (guestfs_h *g,\n"
3582 "\t\tconst char *filename);\n"
3583 "\n"
3584 msgstr ""
3585
3586 # type: textblock
3587 #: ../src/guestfs-actions.pod:6 ../fish/guestfish-actions.pod:7
3588 msgid "This function adds a virtual CD-ROM disk image to the guest."
3589 msgstr ""
3590
3591 # type: textblock
3592 #: ../src/guestfs-actions.pod:8 ../fish/guestfish-actions.pod:9
3593 msgid "This is equivalent to the qemu parameter C<-cdrom filename>."
3594 msgstr ""
3595
3596 # type: textblock
3597 #: ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:1516
3598 #: ../fish/guestfish-actions.pod:11 ../fish/guestfish-actions.pod:1211
3599 msgid "Notes:"
3600 msgstr ""
3601
3602 # type: textblock
3603 #: ../src/guestfs-actions.pod:16
3604 msgid ""
3605 "This call checks for the existence of C<filename>.  This stops you from "
3606 "specifying other types of drive which are supported by qemu such as C<nbd:> "
3607 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
3608 "instead."
3609 msgstr ""
3610
3611 # type: textblock
3612 #: ../src/guestfs-actions.pod:23
3613 msgid ""
3614 "If you just want to add an ISO file (often you use this as an efficient way "
3615 "to transfer large files into the guest), then you should probably use "
3616 "C<guestfs_add_drive_ro> instead."
3617 msgstr ""
3618
3619 # type: textblock
3620 #: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:63
3621 #: ../src/guestfs-actions.pod:92 ../src/guestfs-actions.pod:103
3622 #: ../src/guestfs-actions.pod:114 ../src/guestfs-actions.pod:124
3623 #: ../src/guestfs-actions.pod:135 ../src/guestfs-actions.pod:238
3624 #: ../src/guestfs-actions.pod:255 ../src/guestfs-actions.pod:266
3625 #: ../src/guestfs-actions.pod:302 ../src/guestfs-actions.pod:324
3626 #: ../src/guestfs-actions.pod:339 ../src/guestfs-actions.pod:403
3627 #: ../src/guestfs-actions.pod:430 ../src/guestfs-actions.pod:441
3628 #: ../src/guestfs-actions.pod:453 ../src/guestfs-actions.pod:534
3629 #: ../src/guestfs-actions.pod:549 ../src/guestfs-actions.pod:560
3630 #: ../src/guestfs-actions.pod:571 ../src/guestfs-actions.pod:717
3631 #: ../src/guestfs-actions.pod:734 ../src/guestfs-actions.pod:749
3632 #: ../src/guestfs-actions.pod:824 ../src/guestfs-actions.pod:839
3633 #: ../src/guestfs-actions.pod:855 ../src/guestfs-actions.pod:866
3634 #: ../src/guestfs-actions.pod:883 ../src/guestfs-actions.pod:916
3635 #: ../src/guestfs-actions.pod:974 ../src/guestfs-actions.pod:1002
3636 #: ../src/guestfs-actions.pod:1024 ../src/guestfs-actions.pod:1055
3637 #: ../src/guestfs-actions.pod:1143 ../src/guestfs-actions.pod:1174
3638 #: ../src/guestfs-actions.pod:1374 ../src/guestfs-actions.pod:1393
3639 #: ../src/guestfs-actions.pod:1474 ../src/guestfs-actions.pod:1822
3640 #: ../src/guestfs-actions.pod:1945 ../src/guestfs-actions.pod:2000
3641 #: ../src/guestfs-actions.pod:2030 ../src/guestfs-actions.pod:2439
3642 #: ../src/guestfs-actions.pod:2451 ../src/guestfs-actions.pod:2468
3643 #: ../src/guestfs-actions.pod:2576 ../src/guestfs-actions.pod:2587
3644 #: ../src/guestfs-actions.pod:2597 ../src/guestfs-actions.pod:2608
3645 #: ../src/guestfs-actions.pod:2620 ../src/guestfs-actions.pod:2650
3646 #: ../src/guestfs-actions.pod:2714 ../src/guestfs-actions.pod:2731
3647 #: ../src/guestfs-actions.pod:2745 ../src/guestfs-actions.pod:2765
3648 #: ../src/guestfs-actions.pod:2785 ../src/guestfs-actions.pod:2814
3649 #: ../src/guestfs-actions.pod:2830 ../src/guestfs-actions.pod:2846
3650 #: ../src/guestfs-actions.pod:2858 ../src/guestfs-actions.pod:2867
3651 #: ../src/guestfs-actions.pod:2900 ../src/guestfs-actions.pod:2913
3652 #: ../src/guestfs-actions.pod:2923 ../src/guestfs-actions.pod:2935
3653 #: ../src/guestfs-actions.pod:2949 ../src/guestfs-actions.pod:3029
3654 #: ../src/guestfs-actions.pod:3046 ../src/guestfs-actions.pod:3056
3655 #: ../src/guestfs-actions.pod:3101 ../src/guestfs-actions.pod:3116
3656 #: ../src/guestfs-actions.pod:3131 ../src/guestfs-actions.pod:3144
3657 #: ../src/guestfs-actions.pod:3155 ../src/guestfs-actions.pod:3166
3658 #: ../src/guestfs-actions.pod:3180 ../src/guestfs-actions.pod:3192
3659 #: ../src/guestfs-actions.pod:3209 ../src/guestfs-actions.pod:3240
3660 #: ../src/guestfs-actions.pod:3268 ../src/guestfs-actions.pod:3284
3661 #: ../src/guestfs-actions.pod:3300 ../src/guestfs-actions.pod:3309
3662 #: ../src/guestfs-actions.pod:3323 ../src/guestfs-actions.pod:3333
3663 #: ../src/guestfs-actions.pod:3345 ../src/guestfs-actions.pod:3357
3664 #: ../src/guestfs-actions.pod:3389 ../src/guestfs-actions.pod:3401
3665 #: ../src/guestfs-actions.pod:3418 ../src/guestfs-actions.pod:3429
3666 #: ../src/guestfs-actions.pod:3443 ../src/guestfs-actions.pod:3483
3667 #: ../src/guestfs-actions.pod:3514 ../src/guestfs-actions.pod:3525
3668 #: ../src/guestfs-actions.pod:3550 ../src/guestfs-actions.pod:3564
3669 #: ../src/guestfs-actions.pod:3579 ../src/guestfs-actions.pod:3701
3670 #: ../src/guestfs-actions.pod:3753 ../src/guestfs-actions.pod:3772
3671 #: ../src/guestfs-actions.pod:3787 ../src/guestfs-actions.pod:3813
3672 #: ../src/guestfs-actions.pod:3847 ../src/guestfs-actions.pod:3861
3673 #: ../src/guestfs-actions.pod:3871 ../src/guestfs-actions.pod:3882
3674 #: ../src/guestfs-actions.pod:4137 ../src/guestfs-actions.pod:4153
3675 #: ../src/guestfs-actions.pod:4164 ../src/guestfs-actions.pod:4173
3676 #: ../src/guestfs-actions.pod:4184 ../src/guestfs-actions.pod:4193
3677 #: ../src/guestfs-actions.pod:4204 ../src/guestfs-actions.pod:4217
3678 #: ../src/guestfs-actions.pod:4235 ../src/guestfs-actions.pod:4251
3679 #: ../src/guestfs-actions.pod:4267 ../src/guestfs-actions.pod:4282
3680 #: ../src/guestfs-actions.pod:4302 ../src/guestfs-actions.pod:4317
3681 #: ../src/guestfs-actions.pod:4333 ../src/guestfs-actions.pod:4351
3682 #: ../src/guestfs-actions.pod:4367 ../src/guestfs-actions.pod:4381
3683 #: ../src/guestfs-actions.pod:4406 ../src/guestfs-actions.pod:4427
3684 #: ../src/guestfs-actions.pod:4443 ../src/guestfs-actions.pod:4464
3685 #: ../src/guestfs-actions.pod:4476 ../src/guestfs-actions.pod:4488
3686 #: ../src/guestfs-actions.pod:4504 ../src/guestfs-actions.pod:4538
3687 #: ../src/guestfs-actions.pod:4558 ../src/guestfs-actions.pod:4581
3688 #: ../src/guestfs-actions.pod:4671 ../src/guestfs-actions.pod:4777
3689 #: ../src/guestfs-actions.pod:4786 ../src/guestfs-actions.pod:4796
3690 #: ../src/guestfs-actions.pod:4806 ../src/guestfs-actions.pod:4825
3691 #: ../src/guestfs-actions.pod:4835 ../src/guestfs-actions.pod:4845
3692 #: ../src/guestfs-actions.pod:4855 ../src/guestfs-actions.pod:4867
3693 #: ../src/guestfs-actions.pod:4917 ../src/guestfs-actions.pod:4931
3694 #: ../src/guestfs-actions.pod:4944 ../src/guestfs-actions.pod:4957
3695 #: ../src/guestfs-actions.pod:4971 ../src/guestfs-actions.pod:4981
3696 #: ../src/guestfs-actions.pod:4998 ../src/guestfs-actions.pod:5028
3697 #: ../src/guestfs-actions.pod:5039 ../src/guestfs-actions.pod:5074
3698 #: ../src/guestfs-actions.pod:5084 ../src/guestfs-actions.pod:5099
3699 #: ../src/guestfs-actions.pod:5125 ../src/guestfs-actions.pod:5153
3700 #: ../src/guestfs-actions.pod:5257 ../src/guestfs-actions.pod:5272
3701 #: ../src/guestfs-actions.pod:5283 ../src/guestfs-actions.pod:5329
3702 #: ../src/guestfs-actions.pod:5339 ../src/guestfs-actions.pod:5376
3703 #: ../src/guestfs-actions.pod:5403 ../src/guestfs-actions.pod:5445
3704 #: ../src/guestfs-actions.pod:5468 ../src/guestfs-actions.pod:5525
3705 #: ../src/guestfs-actions.pod:5541 ../src/guestfs-actions.pod:5567
3706 msgid "This function returns 0 on success or -1 on error."
3707 msgstr ""
3708
3709 # type: =head2
3710 #: ../src/guestfs-actions.pod:31
3711 msgid "guestfs_add_drive"
3712 msgstr ""
3713
3714 # type: verbatim
3715 #: ../src/guestfs-actions.pod:33
3716 #, no-wrap
3717 msgid ""
3718 " int guestfs_add_drive (guestfs_h *g,\n"
3719 "\t\tconst char *filename);\n"
3720 "\n"
3721 msgstr ""
3722
3723 # type: textblock
3724 #: ../src/guestfs-actions.pod:36 ../fish/guestfish-actions.pod:36
3725 msgid ""
3726 "This function adds a virtual machine disk image C<filename> to the guest.  "
3727 "The first time you call this function, the disk appears as IDE disk 0 (C</"
3728 "dev/sda>) in the guest, the second time as C</dev/sdb>, and so on."
3729 msgstr ""
3730
3731 # type: textblock
3732 #: ../src/guestfs-actions.pod:41 ../fish/guestfish-actions.pod:41
3733 msgid ""
3734 "You don't necessarily need to be root when using libguestfs.  However you "
3735 "obviously do need sufficient permissions to access the filename for whatever "
3736 "operations you want to perform (ie. read access if you just want to read the "
3737 "image or write access if you want to modify the image)."
3738 msgstr ""
3739
3740 # type: textblock
3741 #: ../src/guestfs-actions.pod:47 ../fish/guestfish-actions.pod:47
3742 msgid ""
3743 "This is equivalent to the qemu parameter C<-drive file=filename,cache=off,"
3744 "if=...>."
3745 msgstr ""
3746
3747 # type: textblock
3748 #: ../src/guestfs-actions.pod:50 ../fish/guestfish-actions.pod:50
3749 msgid ""
3750 "C<cache=off> is omitted in cases where it is not supported by the underlying "
3751 "filesystem."
3752 msgstr ""
3753
3754 # type: textblock
3755 #: ../src/guestfs-actions.pod:53 ../src/guestfs-actions.pod:82
3756 msgid ""
3757 "C<if=...> is set at compile time by the configuration option C<./configure --"
3758 "with-drive-if=...>.  In the rare case where you might need to change this at "
3759 "run time, use C<guestfs_add_drive_with_if> or "
3760 "C<guestfs_add_drive_ro_with_if>."
3761 msgstr ""
3762
3763 # type: textblock
3764 #: ../src/guestfs-actions.pod:58 ../src/guestfs-actions.pod:87
3765 msgid ""
3766 "Note that this call checks for the existence of C<filename>.  This stops you "
3767 "from specifying other types of drive which are supported by qemu such as "
3768 "C<nbd:> and C<http:> URLs.  To specify those, use the general "
3769 "C<guestfs_config> call instead."
3770 msgstr ""
3771
3772 # type: =head2
3773 #: ../src/guestfs-actions.pod:65
3774 msgid "guestfs_add_drive_ro"
3775 msgstr ""
3776
3777 # type: verbatim
3778 #: ../src/guestfs-actions.pod:67
3779 #, no-wrap
3780 msgid ""
3781 " int guestfs_add_drive_ro (guestfs_h *g,\n"
3782 "\t\tconst char *filename);\n"
3783 "\n"
3784 msgstr ""
3785
3786 # type: textblock
3787 #: ../src/guestfs-actions.pod:70 ../fish/guestfish-actions.pod:69
3788 msgid "This adds a drive in snapshot mode, making it effectively read-only."
3789 msgstr ""
3790
3791 # type: textblock
3792 #: ../src/guestfs-actions.pod:73 ../fish/guestfish-actions.pod:72
3793 msgid ""
3794 "Note that writes to the device are allowed, and will be seen for the "
3795 "duration of the guestfs handle, but they are written to a temporary file "
3796 "which is discarded as soon as the guestfs handle is closed.  We don't "
3797 "currently have any method to enable changes to be committed, although qemu "
3798 "can support this."
3799 msgstr ""
3800
3801 # type: textblock
3802 #: ../src/guestfs-actions.pod:79 ../fish/guestfish-actions.pod:78
3803 msgid ""
3804 "This is equivalent to the qemu parameter C<-drive file=filename,snapshot=on,"
3805 "if=...>."
3806 msgstr ""
3807
3808 # type: =head2
3809 #: ../src/guestfs-actions.pod:94
3810 msgid "guestfs_add_drive_ro_with_if"
3811 msgstr ""
3812
3813 # type: verbatim
3814 #: ../src/guestfs-actions.pod:96
3815 #, no-wrap
3816 msgid ""
3817 " int guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
3818 "\t\tconst char *filename,\n"
3819 "\t\tconst char *iface);\n"
3820 "\n"
3821 msgstr ""
3822
3823 # type: textblock
3824 #: ../src/guestfs-actions.pod:100
3825 msgid ""
3826 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
3827 "QEMU interface emulation to use at run time."
3828 msgstr ""
3829
3830 # type: =head2
3831 #: ../src/guestfs-actions.pod:105
3832 msgid "guestfs_add_drive_with_if"
3833 msgstr ""
3834
3835 # type: verbatim
3836 #: ../src/guestfs-actions.pod:107
3837 #, no-wrap
3838 msgid ""
3839 " int guestfs_add_drive_with_if (guestfs_h *g,\n"
3840 "\t\tconst char *filename,\n"
3841 "\t\tconst char *iface);\n"
3842 "\n"
3843 msgstr ""
3844
3845 # type: textblock
3846 #: ../src/guestfs-actions.pod:111
3847 msgid ""
3848 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
3849 "QEMU interface emulation to use at run time."
3850 msgstr ""
3851
3852 # type: =head2
3853 #: ../src/guestfs-actions.pod:116
3854 msgid "guestfs_aug_clear"
3855 msgstr ""
3856
3857 # type: verbatim
3858 #: ../src/guestfs-actions.pod:118
3859 #, no-wrap
3860 msgid ""
3861 " int guestfs_aug_clear (guestfs_h *g,\n"
3862 "\t\tconst char *augpath);\n"
3863 "\n"
3864 msgstr ""
3865
3866 # type: textblock
3867 #: ../src/guestfs-actions.pod:121 ../fish/guestfish-actions.pod:109
3868 msgid ""
3869 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
3870 "L<augtool(1)> C<clear> command."
3871 msgstr ""
3872
3873 # type: =head2
3874 #: ../src/guestfs-actions.pod:126
3875 msgid "guestfs_aug_close"
3876 msgstr ""
3877
3878 # type: verbatim
3879 #: ../src/guestfs-actions.pod:128
3880 #, no-wrap
3881 msgid ""
3882 " int guestfs_aug_close (guestfs_h *g);\n"
3883 "\n"
3884 msgstr ""
3885
3886 # type: textblock
3887 #: ../src/guestfs-actions.pod:130
3888 msgid ""
3889 "Close the current Augeas handle and free up any resources used by it.  After "
3890 "calling this, you have to call C<guestfs_aug_init> again before you can use "
3891 "any other Augeas functions."
3892 msgstr ""
3893
3894 # type: =head2
3895 #: ../src/guestfs-actions.pod:137
3896 msgid "guestfs_aug_defnode"
3897 msgstr ""
3898
3899 # type: verbatim
3900 #: ../src/guestfs-actions.pod:139
3901 #, no-wrap
3902 msgid ""
3903 " struct guestfs_int_bool *guestfs_aug_defnode (guestfs_h *g,\n"
3904 "\t\tconst char *name,\n"
3905 "\t\tconst char *expr,\n"
3906 "\t\tconst char *val);\n"
3907 "\n"
3908 msgstr ""
3909
3910 # type: textblock
3911 #: ../src/guestfs-actions.pod:144 ../fish/guestfish-actions.pod:125
3912 msgid ""
3913 "Defines a variable C<name> whose value is the result of evaluating C<expr>."
3914 msgstr ""
3915
3916 # type: textblock
3917 #: ../src/guestfs-actions.pod:147
3918 msgid ""
3919 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
3920 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
3921 "containing that single node."
3922 msgstr ""
3923
3924 # type: textblock
3925 #: ../src/guestfs-actions.pod:151 ../fish/guestfish-actions.pod:132
3926 msgid ""
3927 "On success this returns a pair containing the number of nodes in the "
3928 "nodeset, and a boolean flag if a node was created."
3929 msgstr ""
3930
3931 # type: textblock
3932 #: ../src/guestfs-actions.pod:155
3933 msgid ""
3934 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
3935 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
3936 msgstr ""
3937
3938 # type: =head2
3939 #: ../src/guestfs-actions.pod:159
3940 msgid "guestfs_aug_defvar"
3941 msgstr ""
3942
3943 # type: verbatim
3944 #: ../src/guestfs-actions.pod:161
3945 #, no-wrap
3946 msgid ""
3947 " int guestfs_aug_defvar (guestfs_h *g,\n"
3948 "\t\tconst char *name,\n"
3949 "\t\tconst char *expr);\n"
3950 "\n"
3951 msgstr ""
3952
3953 # type: textblock
3954 #: ../src/guestfs-actions.pod:165 ../fish/guestfish-actions.pod:140
3955 msgid ""
3956 "Defines an Augeas variable C<name> whose value is the result of evaluating "
3957 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
3958 msgstr ""
3959
3960 # type: textblock
3961 #: ../src/guestfs-actions.pod:169 ../fish/guestfish-actions.pod:144
3962 msgid ""
3963 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
3964 "evaluates to something which is not a nodeset."
3965 msgstr ""
3966
3967 # type: textblock
3968 #: ../src/guestfs-actions.pod:172 ../src/guestfs-actions.pod:313
3969 #: ../src/guestfs-actions.pod:467 ../src/guestfs-actions.pod:492
3970 #: ../src/guestfs-actions.pod:507 ../src/guestfs-actions.pod:523
3971 #: ../src/guestfs-actions.pod:1041 ../src/guestfs-actions.pod:1356
3972 #: ../src/guestfs-actions.pod:1538 ../src/guestfs-actions.pod:1619
3973 #: ../src/guestfs-actions.pod:1650 ../src/guestfs-actions.pod:1693
3974 #: ../src/guestfs-actions.pod:1710 ../src/guestfs-actions.pod:1935
3975 #: ../src/guestfs-actions.pod:2147 ../src/guestfs-actions.pod:2165
3976 #: ../src/guestfs-actions.pod:3503 ../src/guestfs-actions.pod:3610
3977 #: ../src/guestfs-actions.pod:3941 ../src/guestfs-actions.pod:3964
3978 #: ../src/guestfs-actions.pod:5063 ../src/guestfs-actions.pod:5413
3979 #: ../src/guestfs-actions.pod:5423 ../src/guestfs-actions.pod:5433
3980 msgid "On error this function returns -1."
3981 msgstr ""
3982
3983 # type: =head2
3984 #: ../src/guestfs-actions.pod:174
3985 msgid "guestfs_aug_get"
3986 msgstr ""
3987
3988 # type: verbatim
3989 #: ../src/guestfs-actions.pod:176
3990 #, no-wrap
3991 msgid ""
3992 " char *guestfs_aug_get (guestfs_h *g,\n"
3993 "\t\tconst char *augpath);\n"
3994 "\n"
3995 msgstr ""
3996
3997 # type: textblock
3998 #: ../src/guestfs-actions.pod:179 ../fish/guestfish-actions.pod:151
3999 msgid ""
4000 "Look up the value associated with C<path>.  If C<path> matches exactly one "
4001 "node, the C<value> is returned."
4002 msgstr ""
4003
4004 # type: textblock
4005 #: ../src/guestfs-actions.pod:182 ../src/guestfs-actions.pod:610
4006 #: ../src/guestfs-actions.pod:625 ../src/guestfs-actions.pod:682
4007 #: ../src/guestfs-actions.pod:695 ../src/guestfs-actions.pod:786
4008 #: ../src/guestfs-actions.pod:899 ../src/guestfs-actions.pod:928
4009 #: ../src/guestfs-actions.pod:942 ../src/guestfs-actions.pod:958
4010 #: ../src/guestfs-actions.pod:1069 ../src/guestfs-actions.pod:1233
4011 #: ../src/guestfs-actions.pod:1342 ../src/guestfs-actions.pod:1487
4012 #: ../src/guestfs-actions.pod:1501 ../src/guestfs-actions.pod:1577
4013 #: ../src/guestfs-actions.pod:1595 ../src/guestfs-actions.pod:1729
4014 #: ../src/guestfs-actions.pod:1868 ../src/guestfs-actions.pod:2049
4015 #: ../src/guestfs-actions.pod:2099 ../src/guestfs-actions.pod:2215
4016 #: ../src/guestfs-actions.pod:2250 ../src/guestfs-actions.pod:2565
4017 #: ../src/guestfs-actions.pod:2986 ../src/guestfs-actions.pod:3082
4018 #: ../src/guestfs-actions.pod:3625 ../src/guestfs-actions.pod:3801
4019 #: ../src/guestfs-actions.pod:3919 ../src/guestfs-actions.pod:4080
4020 #: ../src/guestfs-actions.pod:4123 ../src/guestfs-actions.pod:4599
4021 #: ../src/guestfs-actions.pod:4612 ../src/guestfs-actions.pod:4626
4022 #: ../src/guestfs-actions.pod:4647 ../src/guestfs-actions.pod:5206
4023 #: ../src/guestfs-actions.pod:5222 ../src/guestfs-actions.pod:5237
4024 #: ../src/guestfs-actions.pod:5385 ../src/guestfs-actions.pod:5615
4025 msgid ""
4026 "This function returns a string, or NULL on error.  I<The caller must free "
4027 "the returned string after use>."
4028 msgstr ""
4029
4030 # type: =head2
4031 #: ../src/guestfs-actions.pod:185
4032 msgid "guestfs_aug_init"
4033 msgstr ""
4034
4035 # type: verbatim
4036 #: ../src/guestfs-actions.pod:187
4037 #, no-wrap
4038 msgid ""
4039 " int guestfs_aug_init (guestfs_h *g,\n"
4040 "\t\tconst char *root,\n"
4041 "\t\tint flags);\n"
4042 "\n"
4043 msgstr ""
4044
4045 # type: textblock
4046 #: ../src/guestfs-actions.pod:191 ../fish/guestfish-actions.pod:158
4047 msgid ""
4048 "Create a new Augeas handle for editing configuration files.  If there was "
4049 "any previous Augeas handle associated with this guestfs session, then it is "
4050 "closed."
4051 msgstr ""
4052
4053 # type: textblock
4054 #: ../src/guestfs-actions.pod:195
4055 msgid "You must call this before using any other C<guestfs_aug_*> commands."
4056 msgstr ""
4057
4058 # type: textblock
4059 #: ../src/guestfs-actions.pod:198 ../fish/guestfish-actions.pod:165
4060 msgid ""
4061 "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
4062 msgstr ""
4063
4064 # type: textblock
4065 #: ../src/guestfs-actions.pod:201 ../fish/guestfish-actions.pod:168
4066 msgid ""
4067 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
4068 "logical I<or> of the following integers:"
4069 msgstr ""
4070
4071 # type: =item
4072 #: ../src/guestfs-actions.pod:207 ../fish/guestfish-actions.pod:174
4073 msgid "C<AUG_SAVE_BACKUP> = 1"
4074 msgstr ""
4075
4076 # type: textblock
4077 #: ../src/guestfs-actions.pod:209 ../fish/guestfish-actions.pod:176
4078 msgid "Keep the original file with a C<.augsave> extension."
4079 msgstr ""
4080
4081 # type: =item
4082 #: ../src/guestfs-actions.pod:211 ../fish/guestfish-actions.pod:178
4083 msgid "C<AUG_SAVE_NEWFILE> = 2"
4084 msgstr ""
4085
4086 # type: textblock
4087 #: ../src/guestfs-actions.pod:213 ../fish/guestfish-actions.pod:180
4088 msgid ""
4089 "Save changes into a file with extension C<.augnew>, and do not overwrite "
4090 "original.  Overrides C<AUG_SAVE_BACKUP>."
4091 msgstr ""
4092
4093 # type: =item
4094 #: ../src/guestfs-actions.pod:216 ../fish/guestfish-actions.pod:183
4095 msgid "C<AUG_TYPE_CHECK> = 4"
4096 msgstr ""
4097
4098 # type: textblock
4099 #: ../src/guestfs-actions.pod:218 ../fish/guestfish-actions.pod:185
4100 msgid "Typecheck lenses (can be expensive)."
4101 msgstr ""
4102
4103 # type: =item
4104 #: ../src/guestfs-actions.pod:220 ../fish/guestfish-actions.pod:187
4105 msgid "C<AUG_NO_STDINC> = 8"
4106 msgstr ""
4107
4108 # type: textblock
4109 #: ../src/guestfs-actions.pod:222 ../fish/guestfish-actions.pod:189
4110 msgid "Do not use standard load path for modules."
4111 msgstr ""
4112
4113 # type: =item
4114 #: ../src/guestfs-actions.pod:224 ../fish/guestfish-actions.pod:191
4115 msgid "C<AUG_SAVE_NOOP> = 16"
4116 msgstr ""
4117
4118 # type: textblock
4119 #: ../src/guestfs-actions.pod:226 ../fish/guestfish-actions.pod:193
4120 msgid "Make save a no-op, just record what would have been changed."
4121 msgstr ""
4122
4123 # type: =item
4124 #: ../src/guestfs-actions.pod:228 ../fish/guestfish-actions.pod:195
4125 msgid "C<AUG_NO_LOAD> = 32"
4126 msgstr ""
4127
4128 # type: textblock
4129 #: ../src/guestfs-actions.pod:230
4130 msgid "Do not load the tree in C<guestfs_aug_init>."
4131 msgstr ""
4132
4133 # type: textblock
4134 #: ../src/guestfs-actions.pod:234
4135 msgid "To close the handle, you can call C<guestfs_aug_close>."
4136 msgstr ""
4137
4138 # type: textblock
4139 #: ../src/guestfs-actions.pod:236 ../fish/guestfish-actions.pod:203
4140 msgid "To find out more about Augeas, see L<http://augeas.net/>."
4141 msgstr ""
4142
4143 # type: =head2
4144 #: ../src/guestfs-actions.pod:240
4145 msgid "guestfs_aug_insert"
4146 msgstr ""
4147
4148 # type: verbatim
4149 #: ../src/guestfs-actions.pod:242
4150 #, no-wrap
4151 msgid ""
4152 " int guestfs_aug_insert (guestfs_h *g,\n"
4153 "\t\tconst char *augpath,\n"
4154 "\t\tconst char *label,\n"
4155 "\t\tint before);\n"
4156 "\n"
4157 msgstr ""
4158
4159 # type: textblock
4160 #: ../src/guestfs-actions.pod:247 ../fish/guestfish-actions.pod:209
4161 msgid ""
4162 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
4163 "or after C<path> (depending on the boolean flag C<before>)."
4164 msgstr ""
4165
4166 # type: textblock
4167 #: ../src/guestfs-actions.pod:251 ../fish/guestfish-actions.pod:213
4168 msgid ""
4169 "C<path> must match exactly one existing node in the tree, and C<label> must "
4170 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
4171 msgstr ""
4172
4173 # type: =head2
4174 #: ../src/guestfs-actions.pod:257
4175 msgid "guestfs_aug_load"
4176 msgstr ""
4177
4178 # type: verbatim
4179 #: ../src/guestfs-actions.pod:259
4180 #, no-wrap
4181 msgid ""
4182 " int guestfs_aug_load (guestfs_h *g);\n"
4183 "\n"
4184 msgstr ""
4185
4186 # type: textblock
4187 #: ../src/guestfs-actions.pod:261 ../fish/guestfish-actions.pod:221
4188 msgid "Load files into the tree."
4189 msgstr ""
4190
4191 # type: textblock
4192 #: ../src/guestfs-actions.pod:263 ../fish/guestfish-actions.pod:223
4193 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
4194 msgstr ""
4195
4196 # type: =head2
4197 #: ../src/guestfs-actions.pod:268
4198 msgid "guestfs_aug_ls"
4199 msgstr ""
4200
4201 # type: verbatim
4202 #: ../src/guestfs-actions.pod:270
4203 #, no-wrap
4204 msgid ""
4205 " char **guestfs_aug_ls (guestfs_h *g,\n"
4206 "\t\tconst char *augpath);\n"
4207 "\n"
4208 msgstr ""
4209
4210 # type: textblock
4211 #: ../src/guestfs-actions.pod:273
4212 msgid ""
4213 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
4214 "sorting the resulting nodes into alphabetical order."
4215 msgstr ""
4216
4217 # type: textblock
4218 #: ../src/guestfs-actions.pod:276 ../src/guestfs-actions.pod:289
4219 #: ../src/guestfs-actions.pod:417 ../src/guestfs-actions.pod:802
4220 #: ../src/guestfs-actions.pod:1081 ../src/guestfs-actions.pod:1097
4221 #: ../src/guestfs-actions.pod:1185 ../src/guestfs-actions.pod:1201
4222 #: ../src/guestfs-actions.pod:1432 ../src/guestfs-actions.pod:1766
4223 #: ../src/guestfs-actions.pod:1779 ../src/guestfs-actions.pod:1795
4224 #: ../src/guestfs-actions.pod:1832 ../src/guestfs-actions.pod:1853
4225 #: ../src/guestfs-actions.pod:1915 ../src/guestfs-actions.pod:1955
4226 #: ../src/guestfs-actions.pod:2121 ../src/guestfs-actions.pod:2289
4227 #: ../src/guestfs-actions.pod:2494 ../src/guestfs-actions.pod:2550
4228 #: ../src/guestfs-actions.pod:2634 ../src/guestfs-actions.pod:2963
4229 #: ../src/guestfs-actions.pod:3470 ../src/guestfs-actions.pod:3896
4230 #: ../src/guestfs-actions.pod:4005 ../src/guestfs-actions.pod:4111
4231 #: ../src/guestfs-actions.pod:4660 ../src/guestfs-actions.pod:4709
4232 #: ../src/guestfs-actions.pod:4761 ../src/guestfs-actions.pod:4877
4233 #: ../src/guestfs-actions.pod:4898 ../src/guestfs-actions.pod:5298
4234 #: ../src/guestfs-actions.pod:5315 ../src/guestfs-actions.pod:5353
4235 #: ../src/guestfs-actions.pod:5489 ../src/guestfs-actions.pod:5505
4236 #: ../src/guestfs-actions.pod:5578 ../src/guestfs-actions.pod:5594
4237 #: ../src/guestfs-actions.pod:5634 ../src/guestfs-actions.pod:5650
4238 msgid ""
4239 "This function returns a NULL-terminated array of strings (like L<environ(3)"
4240 ">), or NULL if there was an error.  I<The caller must free the strings and "
4241 "the array after use>."
4242 msgstr ""
4243
4244 # type: =head2
4245 #: ../src/guestfs-actions.pod:280
4246 msgid "guestfs_aug_match"
4247 msgstr ""
4248
4249 # type: verbatim
4250 #: ../src/guestfs-actions.pod:282
4251 #, no-wrap
4252 msgid ""
4253 " char **guestfs_aug_match (guestfs_h *g,\n"
4254 "\t\tconst char *augpath);\n"
4255 "\n"
4256 msgstr ""
4257
4258 # type: textblock
4259 #: ../src/guestfs-actions.pod:285 ../fish/guestfish-actions.pod:237
4260 msgid ""
4261 "Returns a list of paths which match the path expression C<path>.  The "
4262 "returned paths are sufficiently qualified so that they match exactly one "
4263 "node in the current tree."
4264 msgstr ""
4265
4266 # type: =head2
4267 #: ../src/guestfs-actions.pod:293
4268 msgid "guestfs_aug_mv"
4269 msgstr ""
4270
4271 # type: verbatim
4272 #: ../src/guestfs-actions.pod:295
4273 #, no-wrap
4274 msgid ""
4275 " int guestfs_aug_mv (guestfs_h *g,\n"
4276 "\t\tconst char *src,\n"
4277 "\t\tconst char *dest);\n"
4278 "\n"
4279 msgstr ""
4280
4281 # type: textblock
4282 #: ../src/guestfs-actions.pod:299 ../fish/guestfish-actions.pod:245
4283 msgid ""
4284 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
4285 "C<dest> is overwritten if it exists."
4286 msgstr ""
4287
4288 # type: =head2
4289 #: ../src/guestfs-actions.pod:304
4290 msgid "guestfs_aug_rm"
4291 msgstr ""
4292
4293 # type: verbatim
4294 #: ../src/guestfs-actions.pod:306
4295 #, no-wrap
4296 msgid ""
4297 " int guestfs_aug_rm (guestfs_h *g,\n"
4298 "\t\tconst char *augpath);\n"
4299 "\n"
4300 msgstr ""
4301
4302 # type: textblock
4303 #: ../src/guestfs-actions.pod:309 ../fish/guestfish-actions.pod:252
4304 msgid "Remove C<path> and all of its children."
4305 msgstr ""
4306
4307 # type: textblock
4308 #: ../src/guestfs-actions.pod:311 ../fish/guestfish-actions.pod:254
4309 msgid "On success this returns the number of entries which were removed."
4310 msgstr ""
4311
4312 # type: =head2
4313 #: ../src/guestfs-actions.pod:315
4314 msgid "guestfs_aug_save"
4315 msgstr ""
4316
4317 # type: verbatim
4318 #: ../src/guestfs-actions.pod:317
4319 #, no-wrap
4320 msgid ""
4321 " int guestfs_aug_save (guestfs_h *g);\n"
4322 "\n"
4323 msgstr ""
4324
4325 # type: textblock
4326 #: ../src/guestfs-actions.pod:319 ../fish/guestfish-actions.pod:260
4327 msgid "This writes all pending changes to disk."
4328 msgstr ""
4329
4330 # type: textblock
4331 #: ../src/guestfs-actions.pod:321
4332 msgid ""
4333 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
4334 "are saved."
4335 msgstr ""
4336
4337 # type: =head2
4338 #: ../src/guestfs-actions.pod:326
4339 msgid "guestfs_aug_set"
4340 msgstr ""
4341
4342 # type: verbatim
4343 #: ../src/guestfs-actions.pod:328
4344 #, no-wrap
4345 msgid ""
4346 " int guestfs_aug_set (guestfs_h *g,\n"
4347 "\t\tconst char *augpath,\n"
4348 "\t\tconst char *val);\n"
4349 "\n"
4350 msgstr ""
4351
4352 # type: textblock
4353 #: ../src/guestfs-actions.pod:332 ../fish/guestfish-actions.pod:269
4354 msgid "Set the value associated with C<path> to C<val>."
4355 msgstr ""
4356
4357 # type: textblock
4358 #: ../src/guestfs-actions.pod:334
4359 msgid ""
4360 "In the Augeas API, it is possible to clear a node by setting the value to "
4361 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
4362 "this call.  Instead you must use the C<guestfs_aug_clear> call."
4363 msgstr ""
4364
4365 # type: =head2
4366 #: ../src/guestfs-actions.pod:341
4367 msgid "guestfs_available"
4368 msgstr ""
4369
4370 # type: verbatim
4371 #: ../src/guestfs-actions.pod:343
4372 #, no-wrap
4373 msgid ""
4374 " int guestfs_available (guestfs_h *g,\n"
4375 "\t\tchar *const *groups);\n"
4376 "\n"
4377 msgstr ""
4378
4379 # type: textblock
4380 #: ../src/guestfs-actions.pod:346 ../fish/guestfish-actions.pod:280
4381 msgid ""
4382 "This command is used to check the availability of some groups of "
4383 "functionality in the appliance, which not all builds of the libguestfs "
4384 "appliance will be able to provide."
4385 msgstr ""
4386
4387 # type: textblock
4388 #: ../src/guestfs-actions.pod:350
4389 msgid ""
4390 "The libguestfs groups, and the functions that those groups correspond to, "
4391 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
4392 "runtime by calling C<guestfs_available_all_groups>."
4393 msgstr ""
4394
4395 # type: textblock
4396 #: ../src/guestfs-actions.pod:355 ../fish/guestfish-actions.pod:289
4397 msgid ""
4398 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", \"augeas"
4399 "\"]> would check for the availability of the Linux inotify functions and "
4400 "Augeas (configuration file editing) functions."
4401 msgstr ""
4402
4403 # type: textblock
4404 #: ../src/guestfs-actions.pod:360 ../fish/guestfish-actions.pod:294
4405 msgid "The command returns no error if I<all> requested groups are available."
4406 msgstr ""
4407
4408 # type: textblock
4409 #: ../src/guestfs-actions.pod:362 ../fish/guestfish-actions.pod:296
4410 msgid ""
4411 "It fails with an error if one or more of the requested groups is unavailable "
4412 "in the appliance."
4413 msgstr ""
4414
4415 # type: textblock
4416 #: ../src/guestfs-actions.pod:365 ../fish/guestfish-actions.pod:299
4417 msgid ""
4418 "If an unknown group name is included in the list of groups then an error is "
4419 "always returned."
4420 msgstr ""
4421
4422 # type: textblock
4423 #: ../src/guestfs-actions.pod:368 ../fish/guestfish-actions.pod:302
4424 msgid "I<Notes:>"
4425 msgstr ""
4426
4427 # type: textblock
4428 #: ../src/guestfs-actions.pod:374
4429 msgid "You must call C<guestfs_launch> before calling this function."
4430 msgstr ""
4431
4432 # type: textblock
4433 #: ../src/guestfs-actions.pod:376 ../fish/guestfish-actions.pod:310
4434 msgid ""
4435 "The reason is because we don't know what groups are supported by the "
4436 "appliance/daemon until it is running and can be queried."
4437 msgstr ""
4438
4439 # type: textblock
4440 #: ../src/guestfs-actions.pod:382 ../fish/guestfish-actions.pod:316
4441 msgid ""
4442 "If a group of functions is available, this does not necessarily mean that "
4443 "they will work.  You still have to check for errors when calling individual "
4444 "API functions even if they are available."
4445 msgstr ""
4446
4447 # type: textblock
4448 #: ../src/guestfs-actions.pod:389 ../fish/guestfish-actions.pod:323
4449 msgid ""
4450 "It is usually the job of distro packagers to build complete functionality "
4451 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
4452 "with all requirements satisfied, will support everything."
4453 msgstr ""
4454
4455 # type: textblock
4456 #: ../src/guestfs-actions.pod:396
4457 msgid ""
4458 "This call was added in version C<1.0.80>.  In previous versions of "
4459 "libguestfs all you could do would be to speculatively execute a command to "
4460 "find out if the daemon implemented it.  See also C<guestfs_version>."
4461 msgstr ""
4462
4463 # type: =head2
4464 #: ../src/guestfs-actions.pod:405
4465 msgid "guestfs_available_all_groups"
4466 msgstr ""
4467
4468 # type: verbatim
4469 #: ../src/guestfs-actions.pod:407
4470 #, no-wrap
4471 msgid ""
4472 " char **guestfs_available_all_groups (guestfs_h *g);\n"
4473 "\n"
4474 msgstr ""
4475
4476 # type: textblock
4477 #: ../src/guestfs-actions.pod:409
4478 msgid ""
4479 "This command returns a list of all optional groups that this daemon knows "
4480 "about.  Note this returns both supported and unsupported groups.  To find "
4481 "out which ones the daemon can actually support you have to call "
4482 "C<guestfs_available> on each member of the returned list."
4483 msgstr ""
4484
4485 # type: textblock
4486 #: ../src/guestfs-actions.pod:415
4487 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
4488 msgstr ""
4489
4490 # type: =head2
4491 #: ../src/guestfs-actions.pod:421
4492 msgid "guestfs_base64_in"
4493 msgstr ""
4494
4495 # type: verbatim
4496 #: ../src/guestfs-actions.pod:423
4497 #, no-wrap
4498 msgid ""
4499 " int guestfs_base64_in (guestfs_h *g,\n"
4500 "\t\tconst char *base64file,\n"
4501 "\t\tconst char *filename);\n"
4502 "\n"
4503 msgstr ""
4504
4505 # type: textblock
4506 #: ../src/guestfs-actions.pod:427 ../fish/guestfish-actions.pod:353
4507 msgid ""
4508 "This command uploads base64-encoded data from C<base64file> to C<filename>."
4509 msgstr ""
4510
4511 # type: =head2
4512 #: ../src/guestfs-actions.pod:432
4513 msgid "guestfs_base64_out"
4514 msgstr ""
4515
4516 # type: verbatim
4517 #: ../src/guestfs-actions.pod:434
4518 #, no-wrap
4519 msgid ""
4520 " int guestfs_base64_out (guestfs_h *g,\n"
4521 "\t\tconst char *filename,\n"
4522 "\t\tconst char *base64file);\n"
4523 "\n"
4524 msgstr ""
4525
4526 # type: textblock
4527 #: ../src/guestfs-actions.pod:438 ../fish/guestfish-actions.pod:362
4528 msgid ""
4529 "This command downloads the contents of C<filename>, writing it out to local "
4530 "file C<base64file> encoded as base64."
4531 msgstr ""
4532
4533 # type: =head2
4534 #: ../src/guestfs-actions.pod:443
4535 msgid "guestfs_blockdev_flushbufs"
4536 msgstr ""
4537
4538 # type: verbatim
4539 #: ../src/guestfs-actions.pod:445
4540 #, no-wrap
4541 msgid ""
4542 " int guestfs_blockdev_flushbufs (guestfs_h *g,\n"
4543 "\t\tconst char *device);\n"
4544 "\n"
4545 msgstr ""
4546
4547 # type: textblock
4548 #: ../src/guestfs-actions.pod:448 ../fish/guestfish-actions.pod:371
4549 msgid ""
4550 "This tells the kernel to flush internal buffers associated with C<device>."
4551 msgstr ""
4552
4553 # type: textblock
4554 #: ../src/guestfs-actions.pod:451 ../src/guestfs-actions.pod:465
4555 #: ../src/guestfs-actions.pod:477 ../src/guestfs-actions.pod:490
4556 #: ../src/guestfs-actions.pod:505 ../src/guestfs-actions.pod:521
4557 #: ../src/guestfs-actions.pod:532 ../src/guestfs-actions.pod:547
4558 #: ../src/guestfs-actions.pod:558 ../src/guestfs-actions.pod:569
4559 #: ../fish/guestfish-actions.pod:374 ../fish/guestfish-actions.pod:385
4560 #: ../fish/guestfish-actions.pod:394 ../fish/guestfish-actions.pod:404
4561 #: ../fish/guestfish-actions.pod:416 ../fish/guestfish-actions.pod:429
4562 #: ../fish/guestfish-actions.pod:437 ../fish/guestfish-actions.pod:448
4563 #: ../fish/guestfish-actions.pod:456 ../fish/guestfish-actions.pod:464
4564 msgid "This uses the L<blockdev(8)> command."
4565 msgstr ""
4566
4567 # type: =head2
4568 #: ../src/guestfs-actions.pod:455
4569 msgid "guestfs_blockdev_getbsz"
4570 msgstr ""
4571
4572 # type: verbatim
4573 #: ../src/guestfs-actions.pod:457
4574 #, no-wrap
4575 msgid ""
4576 " int guestfs_blockdev_getbsz (guestfs_h *g,\n"
4577 "\t\tconst char *device);\n"
4578 "\n"
4579 msgstr ""
4580
4581 # type: textblock
4582 #: ../src/guestfs-actions.pod:460 ../fish/guestfish-actions.pod:380
4583 msgid "This returns the block size of a device."
4584 msgstr ""
4585
4586 # type: textblock
4587 #: ../src/guestfs-actions.pod:462 ../src/guestfs-actions.pod:544
4588 #: ../fish/guestfish-actions.pod:382 ../fish/guestfish-actions.pod:445
4589 msgid ""
4590 "(Note this is different from both I<size in blocks> and I<filesystem block "
4591 "size>)."
4592 msgstr ""
4593
4594 # type: =head2
4595 #: ../src/guestfs-actions.pod:469
4596 msgid "guestfs_blockdev_getro"
4597 msgstr ""
4598
4599 # type: verbatim
4600 #: ../src/guestfs-actions.pod:471
4601 #, no-wrap
4602 msgid ""
4603 " int guestfs_blockdev_getro (guestfs_h *g,\n"
4604 "\t\tconst char *device);\n"
4605 "\n"
4606 msgstr ""
4607
4608 # type: textblock
4609 #: ../src/guestfs-actions.pod:474 ../fish/guestfish-actions.pod:391
4610 msgid ""
4611 "Returns a boolean indicating if the block device is read-only (true if read-"
4612 "only, false if not)."
4613 msgstr ""
4614
4615 # type: textblock
4616 #: ../src/guestfs-actions.pod:479 ../src/guestfs-actions.pod:1115
4617 #: ../src/guestfs-actions.pod:1127 ../src/guestfs-actions.pod:1559
4618 #: ../src/guestfs-actions.pod:1567 ../src/guestfs-actions.pod:1627
4619 #: ../src/guestfs-actions.pod:1670 ../src/guestfs-actions.pod:1682
4620 #: ../src/guestfs-actions.pod:1701 ../src/guestfs-actions.pod:1718
4621 #: ../src/guestfs-actions.pod:2303 ../src/guestfs-actions.pod:2314
4622 #: ../src/guestfs-actions.pod:2326 ../src/guestfs-actions.pod:2337
4623 #: ../src/guestfs-actions.pod:2350 ../src/guestfs-actions.pod:2362
4624 #: ../src/guestfs-actions.pod:2375 ../src/guestfs-actions.pod:2386
4625 #: ../src/guestfs-actions.pod:2396 ../src/guestfs-actions.pod:2407
4626 #: ../src/guestfs-actions.pod:2419 ../src/guestfs-actions.pod:2431
4627 #: ../src/guestfs-actions.pod:3595
4628 msgid "This function returns a C truth value on success or -1 on error."
4629 msgstr ""
4630
4631 # type: =head2
4632 #: ../src/guestfs-actions.pod:481
4633 msgid "guestfs_blockdev_getsize64"
4634 msgstr ""
4635
4636 # type: verbatim
4637 #: ../src/guestfs-actions.pod:483
4638 #, no-wrap
4639 msgid ""
4640 " int64_t guestfs_blockdev_getsize64 (guestfs_h *g,\n"
4641 "\t\tconst char *device);\n"
4642 "\n"
4643 msgstr ""
4644
4645 # type: textblock
4646 #: ../src/guestfs-actions.pod:486 ../fish/guestfish-actions.pod:400
4647 msgid "This returns the size of the device in bytes."
4648 msgstr ""
4649
4650 # type: textblock
4651 #: ../src/guestfs-actions.pod:488
4652 msgid "See also C<guestfs_blockdev_getsz>."
4653 msgstr ""
4654
4655 # type: =head2
4656 #: ../src/guestfs-actions.pod:494
4657 msgid "guestfs_blockdev_getss"
4658 msgstr ""
4659
4660 # type: verbatim
4661 #: ../src/guestfs-actions.pod:496
4662 #, no-wrap
4663 msgid ""
4664 " int guestfs_blockdev_getss (guestfs_h *g,\n"
4665 "\t\tconst char *device);\n"
4666 "\n"
4667 msgstr ""
4668
4669 # type: textblock
4670 #: ../src/guestfs-actions.pod:499 ../fish/guestfish-actions.pod:410
4671 msgid ""
4672 "This returns the size of sectors on a block device.  Usually 512, but can be "
4673 "larger for modern devices."
4674 msgstr ""
4675
4676 # type: textblock
4677 #: ../src/guestfs-actions.pod:502
4678 msgid ""
4679 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
4680 "that)."
4681 msgstr ""
4682
4683 # type: =head2
4684 #: ../src/guestfs-actions.pod:509
4685 msgid "guestfs_blockdev_getsz"
4686 msgstr ""
4687
4688 # type: verbatim
4689 #: ../src/guestfs-actions.pod:511
4690 #, no-wrap
4691 msgid ""
4692 " int64_t guestfs_blockdev_getsz (guestfs_h *g,\n"
4693 "\t\tconst char *device);\n"
4694 "\n"
4695 msgstr ""
4696
4697 # type: textblock
4698 #: ../src/guestfs-actions.pod:514 ../fish/guestfish-actions.pod:422
4699 msgid ""
4700 "This returns the size of the device in units of 512-byte sectors (even if "
4701 "the sectorsize isn't 512 bytes ... weird)."
4702 msgstr ""
4703
4704 # type: textblock
4705 #: ../src/guestfs-actions.pod:517
4706 msgid ""
4707 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
4708 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
4709 msgstr ""
4710
4711 # type: =head2
4712 #: ../src/guestfs-actions.pod:525
4713 msgid "guestfs_blockdev_rereadpt"
4714 msgstr ""
4715
4716 # type: verbatim
4717 #: ../src/guestfs-actions.pod:527
4718 #, no-wrap
4719 msgid ""
4720 " int guestfs_blockdev_rereadpt (guestfs_h *g,\n"
4721 "\t\tconst char *device);\n"
4722 "\n"
4723 msgstr ""
4724
4725 # type: textblock
4726 #: ../src/guestfs-actions.pod:530 ../fish/guestfish-actions.pod:435
4727 msgid "Reread the partition table on C<device>."
4728 msgstr ""
4729
4730 # type: =head2
4731 #: ../src/guestfs-actions.pod:536
4732 msgid "guestfs_blockdev_setbsz"
4733 msgstr ""
4734
4735 # type: verbatim
4736 #: ../src/guestfs-actions.pod:538
4737 #, no-wrap
4738 msgid ""
4739 " int guestfs_blockdev_setbsz (guestfs_h *g,\n"
4740 "\t\tconst char *device,\n"
4741 "\t\tint blocksize);\n"
4742 "\n"
4743 msgstr ""
4744
4745 # type: textblock
4746 #: ../src/guestfs-actions.pod:542 ../fish/guestfish-actions.pod:443
4747 msgid "This sets the block size of a device."
4748 msgstr ""
4749
4750 # type: =head2
4751 #: ../src/guestfs-actions.pod:551
4752 msgid "guestfs_blockdev_setro"
4753 msgstr ""
4754
4755 # type: verbatim
4756 #: ../src/guestfs-actions.pod:553
4757 #, no-wrap
4758 msgid ""
4759 " int guestfs_blockdev_setro (guestfs_h *g,\n"
4760 "\t\tconst char *device);\n"
4761 "\n"
4762 msgstr ""
4763
4764 # type: textblock
4765 #: ../src/guestfs-actions.pod:556 ../fish/guestfish-actions.pod:454
4766 msgid "Sets the block device named C<device> to read-only."
4767 msgstr ""
4768
4769 # type: =head2
4770 #: ../src/guestfs-actions.pod:562
4771 msgid "guestfs_blockdev_setrw"
4772 msgstr ""
4773
4774 # type: verbatim
4775 #: ../src/guestfs-actions.pod:564
4776 #, no-wrap
4777 msgid ""
4778 " int guestfs_blockdev_setrw (guestfs_h *g,\n"
4779 "\t\tconst char *device);\n"
4780 "\n"
4781 msgstr ""
4782
4783 # type: textblock
4784 #: ../src/guestfs-actions.pod:567 ../fish/guestfish-actions.pod:462
4785 msgid "Sets the block device named C<device> to read-write."
4786 msgstr ""
4787
4788 # type: =head2
4789 #: ../src/guestfs-actions.pod:573
4790 msgid "guestfs_case_sensitive_path"
4791 msgstr ""
4792
4793 # type: verbatim
4794 #: ../src/guestfs-actions.pod:575
4795 #, no-wrap
4796 msgid ""
4797 " char *guestfs_case_sensitive_path (guestfs_h *g,\n"
4798 "\t\tconst char *path);\n"
4799 "\n"
4800 msgstr ""
4801
4802 # type: textblock
4803 #: ../src/guestfs-actions.pod:578 ../fish/guestfish-actions.pod:470
4804 msgid ""
4805 "This can be used to resolve case insensitive paths on a filesystem which is "
4806 "case sensitive.  The use case is to resolve paths which you have read from "
4807 "Windows configuration files or the Windows Registry, to the true path."
4808 msgstr ""
4809
4810 # type: textblock
4811 #: ../src/guestfs-actions.pod:583 ../fish/guestfish-actions.pod:475
4812 msgid ""
4813 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
4814 "(and probably others), which is that although the underlying filesystem is "
4815 "case-insensitive, the driver exports the filesystem to Linux as case-"
4816 "sensitive."
4817 msgstr ""
4818
4819 # type: textblock
4820 #: ../src/guestfs-actions.pod:588 ../fish/guestfish-actions.pod:480
4821 msgid ""
4822 "One consequence of this is that special directories such as C<c:\\windows> "
4823 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
4824 "precise details of how they were created.  In Windows itself this would not "
4825 "be a problem."
4826 msgstr ""
4827
4828 # type: textblock
4829 #: ../src/guestfs-actions.pod:594 ../fish/guestfish-actions.pod:486
4830 msgid ""
4831 "Bug or feature? You decide: L<http://www.tuxera.com/community/ntfs-3g-faq/"
4832 "#posixfilenames1>"
4833 msgstr ""
4834
4835 # type: textblock
4836 #: ../src/guestfs-actions.pod:597 ../fish/guestfish-actions.pod:489
4837 msgid ""
4838 "This function resolves the true case of each element in the path and returns "
4839 "the case-sensitive path."
4840 msgstr ""
4841
4842 # type: textblock
4843 #: ../src/guestfs-actions.pod:600
4844 msgid ""
4845 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return C<"
4846 "\"/WINDOWS/system32\"> (the exact return value would depend on details of "
4847 "how the directories were originally created under Windows)."
4848 msgstr ""
4849
4850 # type: textblock
4851 #: ../src/guestfs-actions.pod:605 ../fish/guestfish-actions.pod:497
4852 msgid "I<Note>: This function does not handle drive names, backslashes etc."
4853 msgstr ""
4854
4855 # type: textblock
4856 #: ../src/guestfs-actions.pod:608
4857 msgid "See also C<guestfs_realpath>."
4858 msgstr ""
4859
4860 # type: =head2
4861 #: ../src/guestfs-actions.pod:613
4862 msgid "guestfs_cat"
4863 msgstr ""
4864
4865 # type: verbatim
4866 #: ../src/guestfs-actions.pod:615
4867 #, no-wrap
4868 msgid ""
4869 " char *guestfs_cat (guestfs_h *g,\n"
4870 "\t\tconst char *path);\n"
4871 "\n"
4872 msgstr ""
4873
4874 # type: textblock
4875 #: ../src/guestfs-actions.pod:618 ../src/guestfs-actions.pod:3995
4876 #: ../fish/guestfish-actions.pod:506 ../fish/guestfish-actions.pod:3085
4877 msgid "Return the contents of the file named C<path>."
4878 msgstr ""
4879
4880 # type: textblock
4881 #: ../src/guestfs-actions.pod:620
4882 msgid ""
4883 "Note that this function cannot correctly handle binary files (specifically, "
4884 "files containing C<\\0> character which is treated as end of string).  For "
4885 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
4886 "functions which have a more complex interface."
4887 msgstr ""
4888
4889 # type: textblock
4890 #: ../src/guestfs-actions.pod:628 ../src/guestfs-actions.pod:789
4891 #: ../src/guestfs-actions.pod:806 ../src/guestfs-actions.pod:1085
4892 #: ../src/guestfs-actions.pod:1101 ../src/guestfs-actions.pod:1189
4893 #: ../src/guestfs-actions.pod:1205 ../src/guestfs-actions.pod:1436
4894 #: ../src/guestfs-actions.pod:1783 ../src/guestfs-actions.pod:1799
4895 #: ../src/guestfs-actions.pod:1836 ../src/guestfs-actions.pod:1857
4896 #: ../src/guestfs-actions.pod:1871 ../src/guestfs-actions.pod:1897
4897 #: ../src/guestfs-actions.pod:3835 ../src/guestfs-actions.pod:3943
4898 #: ../src/guestfs-actions.pod:3966 ../src/guestfs-actions.pod:3987
4899 #: ../src/guestfs-actions.pod:4713 ../src/guestfs-actions.pod:4765
4900 #: ../src/guestfs-actions.pod:4881 ../src/guestfs-actions.pod:4902
4901 #: ../src/guestfs-actions.pod:5447 ../src/guestfs-actions.pod:5470
4902 #: ../src/guestfs-actions.pod:5493 ../src/guestfs-actions.pod:5509
4903 #: ../src/guestfs-actions.pod:5582 ../src/guestfs-actions.pod:5598
4904 #: ../src/guestfs-actions.pod:5638 ../src/guestfs-actions.pod:5654
4905 #: ../fish/guestfish-actions.pod:513 ../fish/guestfish-actions.pod:648
4906 #: ../fish/guestfish-actions.pod:660 ../fish/guestfish-actions.pod:861
4907 #: ../fish/guestfish-actions.pod:871 ../fish/guestfish-actions.pod:938
4908 #: ../fish/guestfish-actions.pod:948 ../fish/guestfish-actions.pod:1143
4909 #: ../fish/guestfish-actions.pod:1418 ../fish/guestfish-actions.pod:1428
4910 #: ../fish/guestfish-actions.pod:1456 ../fish/guestfish-actions.pod:1471
4911 #: ../fish/guestfish-actions.pod:1481 ../fish/guestfish-actions.pod:1500
4912 #: ../fish/guestfish-actions.pod:2970 ../fish/guestfish-actions.pod:3046
4913 #: ../fish/guestfish-actions.pod:3063 ../fish/guestfish-actions.pod:3078
4914 #: ../fish/guestfish-actions.pod:3661 ../fish/guestfish-actions.pod:3707
4915 #: ../fish/guestfish-actions.pod:3792 ../fish/guestfish-actions.pod:3807
4916 #: ../fish/guestfish-actions.pod:4217 ../fish/guestfish-actions.pod:4235
4917 #: ../fish/guestfish-actions.pod:4252 ../fish/guestfish-actions.pod:4262
4918 #: ../fish/guestfish-actions.pod:4310 ../fish/guestfish-actions.pod:4320
4919 #: ../fish/guestfish-actions.pod:4349 ../fish/guestfish-actions.pod:4359
4920 msgid ""
4921 "Because of the message protocol, there is a transfer limit of somewhere "
4922 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
4923 msgstr ""
4924
4925 # type: =head2
4926 #: ../src/guestfs-actions.pod:631
4927 msgid "guestfs_checksum"
4928 msgstr ""
4929
4930 # type: verbatim
4931 #: ../src/guestfs-actions.pod:633
4932 #, no-wrap
4933 msgid ""
4934 " char *guestfs_checksum (guestfs_h *g,\n"
4935 "\t\tconst char *csumtype,\n"
4936 "\t\tconst char *path);\n"
4937 "\n"
4938 msgstr ""
4939
4940 # type: textblock
4941 #: ../src/guestfs-actions.pod:637 ../fish/guestfish-actions.pod:520
4942 msgid ""
4943 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
4944 msgstr ""
4945
4946 # type: textblock
4947 #: ../src/guestfs-actions.pod:640 ../fish/guestfish-actions.pod:523
4948 msgid ""
4949 "The type of checksum to compute is given by the C<csumtype> parameter which "
4950 "must have one of the following values:"
4951 msgstr ""
4952
4953 # type: =item
4954 #: ../src/guestfs-actions.pod:645 ../fish/guestfish-actions.pod:528
4955 msgid "C<crc>"
4956 msgstr ""
4957
4958 # type: textblock
4959 #: ../src/guestfs-actions.pod:647 ../fish/guestfish-actions.pod:530
4960 msgid ""
4961 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
4962 "C<cksum> command."
4963 msgstr ""
4964
4965 # type: =item
4966 #: ../src/guestfs-actions.pod:650 ../fish/guestfish-actions.pod:533
4967 msgid "C<md5>"
4968 msgstr ""
4969
4970 # type: textblock
4971 #: ../src/guestfs-actions.pod:652 ../fish/guestfish-actions.pod:535
4972 msgid "Compute the MD5 hash (using the C<md5sum> program)."
4973 msgstr ""
4974
4975 # type: =item
4976 #: ../src/guestfs-actions.pod:654 ../fish/guestfish-actions.pod:537
4977 msgid "C<sha1>"
4978 msgstr ""
4979
4980 # type: textblock
4981 #: ../src/guestfs-actions.pod:656 ../fish/guestfish-actions.pod:539
4982 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
4983 msgstr ""
4984
4985 # type: =item
4986 #: ../src/guestfs-actions.pod:658 ../fish/guestfish-actions.pod:541
4987 msgid "C<sha224>"
4988 msgstr ""
4989
4990 # type: textblock
4991 #: ../src/guestfs-actions.pod:660 ../fish/guestfish-actions.pod:543
4992 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
4993 msgstr ""
4994
4995 # type: =item
4996 #: ../src/guestfs-actions.pod:662 ../fish/guestfish-actions.pod:545
4997 msgid "C<sha256>"
4998 msgstr ""
4999
5000 # type: textblock
5001 #: ../src/guestfs-actions.pod:664 ../fish/guestfish-actions.pod:547
5002 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
5003 msgstr ""
5004
5005 # type: =item
5006 #: ../src/guestfs-actions.pod:666 ../fish/guestfish-actions.pod:549
5007 msgid "C<sha384>"
5008 msgstr ""
5009
5010 # type: textblock
5011 #: ../src/guestfs-actions.pod:668 ../fish/guestfish-actions.pod:551
5012 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
5013 msgstr ""
5014
5015 # type: =item
5016 #: ../src/guestfs-actions.pod:670 ../fish/guestfish-actions.pod:553
5017 msgid "C<sha512>"
5018 msgstr ""
5019
5020 # type: textblock
5021 #: ../src/guestfs-actions.pod:672 ../fish/guestfish-actions.pod:555
5022 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
5023 msgstr ""
5024
5025 # type: textblock
5026 #: ../src/guestfs-actions.pod:676 ../fish/guestfish-actions.pod:559
5027 msgid "The checksum is returned as a printable string."
5028 msgstr ""
5029
5030 # type: textblock
5031 #: ../src/guestfs-actions.pod:678
5032 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
5033 msgstr ""
5034
5035 # type: textblock
5036 #: ../src/guestfs-actions.pod:680
5037 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
5038 msgstr ""
5039
5040 # type: =head2
5041 #: ../src/guestfs-actions.pod:685
5042 msgid "guestfs_checksum_device"
5043 msgstr ""
5044
5045 # type: verbatim
5046 #: ../src/guestfs-actions.pod:687
5047 #, no-wrap
5048 msgid ""
5049 " char *guestfs_checksum_device (guestfs_h *g,\n"
5050 "\t\tconst char *csumtype,\n"
5051 "\t\tconst char *device);\n"
5052 "\n"
5053 msgstr ""
5054
5055 # type: textblock
5056 #: ../src/guestfs-actions.pod:691
5057 msgid ""
5058 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
5059 "device named C<device>.  For the types of checksums supported see the "
5060 "C<guestfs_checksum> command."
5061 msgstr ""
5062
5063 # type: =head2
5064 #: ../src/guestfs-actions.pod:698
5065 msgid "guestfs_checksums_out"
5066 msgstr ""
5067
5068 # type: verbatim
5069 #: ../src/guestfs-actions.pod:700
5070 #, no-wrap
5071 msgid ""
5072 " int guestfs_checksums_out (guestfs_h *g,\n"
5073 "\t\tconst char *csumtype,\n"
5074 "\t\tconst char *directory,\n"
5075 "\t\tconst char *sumsfile);\n"
5076 "\n"
5077 msgstr ""
5078
5079 # type: textblock
5080 #: ../src/guestfs-actions.pod:705 ../fish/guestfish-actions.pod:577
5081 msgid ""
5082 "This command computes the checksums of all regular files in C<directory> and "
5083 "then emits a list of those checksums to the local output file C<sumsfile>."
5084 msgstr ""
5085
5086 # type: textblock
5087 #: ../src/guestfs-actions.pod:709 ../fish/guestfish-actions.pod:581
5088 msgid ""
5089 "This can be used for verifying the integrity of a virtual machine.  However "
5090 "to be properly secure you should pay attention to the output of the checksum "
5091 "command (it uses the ones from GNU coreutils).  In particular when the "
5092 "filename is not printable, coreutils uses a special backslash syntax.  For "
5093 "more information, see the GNU coreutils info file."
5094 msgstr ""
5095
5096 # type: =head2
5097 #: ../src/guestfs-actions.pod:719
5098 msgid "guestfs_chmod"
5099 msgstr ""
5100
5101 # type: verbatim
5102 #: ../src/guestfs-actions.pod:721
5103 #, no-wrap
5104 msgid ""
5105 " int guestfs_chmod (guestfs_h *g,\n"
5106 "\t\tint mode,\n"
5107 "\t\tconst char *path);\n"
5108 "\n"
5109 msgstr ""
5110
5111 # type: textblock
5112 #: ../src/guestfs-actions.pod:725 ../fish/guestfish-actions.pod:595
5113 msgid ""
5114 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
5115 "supported."
5116 msgstr ""
5117
5118 # type: textblock
5119 #: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:598
5120 msgid ""
5121 "I<Note>: When using this command from guestfish, C<mode> by default would be "
5122 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
5123 "C<700>."
5124 msgstr ""
5125
5126 # type: textblock
5127 #: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:3178
5128 #: ../src/guestfs-actions.pod:3266 ../src/guestfs-actions.pod:3282
5129 #: ../src/guestfs-actions.pod:3298 ../fish/guestfish-actions.pod:602
5130 #: ../fish/guestfish-actions.pod:2475 ../fish/guestfish-actions.pod:2545
5131 #: ../fish/guestfish-actions.pod:2555 ../fish/guestfish-actions.pod:2565
5132 msgid "The mode actually set is affected by the umask."
5133 msgstr ""
5134
5135 # type: =head2
5136 #: ../src/guestfs-actions.pod:736
5137 msgid "guestfs_chown"
5138 msgstr ""
5139
5140 # type: verbatim
5141 #: ../src/guestfs-actions.pod:738
5142 #, no-wrap
5143 msgid ""
5144 " int guestfs_chown (guestfs_h *g,\n"
5145 "\t\tint owner,\n"
5146 "\t\tint group,\n"
5147 "\t\tconst char *path);\n"
5148 "\n"
5149 msgstr ""
5150
5151 # type: textblock
5152 #: ../src/guestfs-actions.pod:743 ../fish/guestfish-actions.pod:608
5153 msgid "Change the file owner to C<owner> and group to C<group>."
5154 msgstr ""
5155
5156 # type: textblock
5157 #: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:2464
5158 #: ../fish/guestfish-actions.pod:610 ../fish/guestfish-actions.pod:1966
5159 msgid ""
5160 "Only numeric uid and gid are supported.  If you want to use names, you will "
5161 "need to locate and parse the password file yourself (Augeas support makes "
5162 "this relatively easy)."
5163 msgstr ""
5164
5165 # type: =head2
5166 #: ../src/guestfs-actions.pod:751
5167 msgid "guestfs_command"
5168 msgstr ""
5169
5170 # type: verbatim
5171 #: ../src/guestfs-actions.pod:753
5172 #, no-wrap
5173 msgid ""
5174 " char *guestfs_command (guestfs_h *g,\n"
5175 "\t\tchar *const *arguments);\n"
5176 "\n"
5177 msgstr ""
5178
5179 # type: textblock
5180 #: ../src/guestfs-actions.pod:756 ../fish/guestfish-actions.pod:618
5181 msgid ""
5182 "This call runs a command from the guest filesystem.  The filesystem must be "
5183 "mounted, and must contain a compatible operating system (ie. something "
5184 "Linux, with the same or compatible processor architecture)."
5185 msgstr ""
5186
5187 # type: textblock
5188 #: ../src/guestfs-actions.pod:761
5189 msgid ""
5190 "The single parameter is an argv-style list of arguments.  The first element "
5191 "is the name of the program to run.  Subsequent elements are parameters.  The "
5192 "list must be non-empty (ie. must contain a program name).  Note that the "
5193 "command runs directly, and is I<not> invoked via the shell (see "
5194 "C<guestfs_sh>)."
5195 msgstr ""
5196
5197 # type: textblock
5198 #: ../src/guestfs-actions.pod:768 ../fish/guestfish-actions.pod:630
5199 msgid "The return value is anything printed to I<stdout> by the command."
5200 msgstr ""
5201
5202 # type: textblock
5203 #: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:633
5204 msgid ""
5205 "If the command returns a non-zero exit status, then this function returns an "
5206 "error message.  The error message string is the content of I<stderr> from "
5207 "the command."
5208 msgstr ""
5209
5210 # type: textblock
5211 #: ../src/guestfs-actions.pod:775 ../fish/guestfish-actions.pod:637
5212 msgid ""
5213 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
5214 "bin>.  If you require a program from another location, you should provide "
5215 "the full path in the first parameter."
5216 msgstr ""
5217
5218 # type: textblock
5219 #: ../src/guestfs-actions.pod:780 ../fish/guestfish-actions.pod:642
5220 msgid ""
5221 "Shared libraries and data files required by the program must be available on "
5222 "filesystems which are mounted in the correct places.  It is the caller's "
5223 "responsibility to ensure all filesystems that are needed are mounted at the "
5224 "right locations."
5225 msgstr ""
5226
5227 # type: =head2
5228 #: ../src/guestfs-actions.pod:792
5229 msgid "guestfs_command_lines"
5230 msgstr ""
5231
5232 # type: verbatim
5233 #: ../src/guestfs-actions.pod:794
5234 #, no-wrap
5235 msgid ""
5236 " char **guestfs_command_lines (guestfs_h *g,\n"
5237 "\t\tchar *const *arguments);\n"
5238 "\n"
5239 msgstr ""
5240
5241 # type: textblock
5242 #: ../src/guestfs-actions.pod:797
5243 msgid ""
5244 "This is the same as C<guestfs_command>, but splits the result into a list of "
5245 "lines."
5246 msgstr ""
5247
5248 # type: textblock
5249 #: ../src/guestfs-actions.pod:800
5250 msgid "See also: C<guestfs_sh_lines>"
5251 msgstr ""
5252
5253 # type: =head2
5254 #: ../src/guestfs-actions.pod:809
5255 msgid "guestfs_config"
5256 msgstr ""
5257
5258 # type: verbatim
5259 #: ../src/guestfs-actions.pod:811
5260 #, no-wrap
5261 msgid ""
5262 " int guestfs_config (guestfs_h *g,\n"
5263 "\t\tconst char *qemuparam,\n"
5264 "\t\tconst char *qemuvalue);\n"
5265 "\n"
5266 msgstr ""
5267
5268 # type: textblock
5269 #: ../src/guestfs-actions.pod:815 ../fish/guestfish-actions.pod:667
5270 msgid ""
5271 "This can be used to add arbitrary qemu command line parameters of the form "
5272 "C<-param value>.  Actually it's not quite arbitrary - we prevent you from "
5273 "setting some parameters which would interfere with parameters that we use."
5274 msgstr ""
5275
5276 # type: textblock
5277 #: ../src/guestfs-actions.pod:820 ../fish/guestfish-actions.pod:672
5278 msgid "The first character of C<param> string must be a C<-> (dash)."
5279 msgstr ""
5280
5281 # type: textblock
5282 #: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:674
5283 msgid "C<value> can be NULL."
5284 msgstr ""
5285
5286 # type: =head2
5287 #: ../src/guestfs-actions.pod:826
5288 msgid "guestfs_copy_size"
5289 msgstr ""
5290
5291 # type: verbatim
5292 #: ../src/guestfs-actions.pod:828
5293 #, no-wrap
5294 msgid ""
5295 " int guestfs_copy_size (guestfs_h *g,\n"
5296 "\t\tconst char *src,\n"
5297 "\t\tconst char *dest,\n"
5298 "\t\tint64_t size);\n"
5299 "\n"
5300 msgstr ""
5301
5302 # type: textblock
5303 #: ../src/guestfs-actions.pod:833 ../fish/guestfish-actions.pod:680
5304 msgid ""
5305 "This command copies exactly C<size> bytes from one source device or file "
5306 "C<src> to another destination device or file C<dest>."
5307 msgstr ""
5308
5309 # type: textblock
5310 #: ../src/guestfs-actions.pod:836 ../fish/guestfish-actions.pod:683
5311 msgid ""
5312 "Note this will fail if the source is too short or if the destination is not "
5313 "large enough."
5314 msgstr ""
5315
5316 # type: textblock
5317 #: ../src/guestfs-actions.pod:841 ../src/guestfs-actions.pod:976
5318 #: ../src/guestfs-actions.pod:1004 ../src/guestfs-actions.pod:1376
5319 #: ../src/guestfs-actions.pod:1395 ../src/guestfs-actions.pod:5527
5320 #: ../src/guestfs-actions.pod:5543
5321 msgid ""
5322 "This long-running command can generate progress notification messages so "
5323 "that the caller can display a progress bar or indicator.  To receive these "
5324 "messages, the caller must register a progress callback.  See L<guestfs(3)/"
5325 "guestfs_set_progress_callback>."
5326 msgstr ""
5327
5328 # type: =head2
5329 #: ../src/guestfs-actions.pod:846
5330 msgid "guestfs_cp"
5331 msgstr ""
5332
5333 # type: verbatim
5334 #: ../src/guestfs-actions.pod:848
5335 #, no-wrap
5336 msgid ""
5337 " int guestfs_cp (guestfs_h *g,\n"
5338 "\t\tconst char *src,\n"
5339 "\t\tconst char *dest);\n"
5340 "\n"
5341 msgstr ""
5342
5343 # type: textblock
5344 #: ../src/guestfs-actions.pod:852 ../fish/guestfish-actions.pod:690
5345 msgid ""
5346 "This copies a file from C<src> to C<dest> where C<dest> is either a "
5347 "destination filename or destination directory."
5348 msgstr ""
5349
5350 # type: =head2
5351 #: ../src/guestfs-actions.pod:857
5352 msgid "guestfs_cp_a"
5353 msgstr ""
5354
5355 # type: verbatim
5356 #: ../src/guestfs-actions.pod:859
5357 #, no-wrap
5358 msgid ""
5359 " int guestfs_cp_a (guestfs_h *g,\n"
5360 "\t\tconst char *src,\n"
5361 "\t\tconst char *dest);\n"
5362 "\n"
5363 msgstr ""
5364
5365 # type: textblock
5366 #: ../src/guestfs-actions.pod:863 ../fish/guestfish-actions.pod:697
5367 msgid ""
5368 "This copies a file or directory from C<src> to C<dest> recursively using the "
5369 "C<cp -a> command."
5370 msgstr ""
5371
5372 # type: =head2
5373 #: ../src/guestfs-actions.pod:868
5374 msgid "guestfs_dd"
5375 msgstr ""
5376
5377 # type: verbatim
5378 #: ../src/guestfs-actions.pod:870
5379 #, no-wrap
5380 msgid ""
5381 " int guestfs_dd (guestfs_h *g,\n"
5382 "\t\tconst char *src,\n"
5383 "\t\tconst char *dest);\n"
5384 "\n"
5385 msgstr ""
5386
5387 # type: textblock
5388 #: ../src/guestfs-actions.pod:874 ../fish/guestfish-actions.pod:704
5389 msgid ""
5390 "This command copies from one source device or file C<src> to another "
5391 "destination device or file C<dest>.  Normally you would use this to copy to "
5392 "or from a device or partition, for example to duplicate a filesystem."
5393 msgstr ""
5394
5395 # type: textblock
5396 #: ../src/guestfs-actions.pod:879
5397 msgid ""
5398 "If the destination is a device, it must be as large or larger than the "
5399 "source file or device, otherwise the copy will fail.  This command cannot do "
5400 "partial copies (see C<guestfs_copy_size>)."
5401 msgstr ""
5402
5403 # type: =head2
5404 #: ../src/guestfs-actions.pod:885
5405 msgid "guestfs_debug"
5406 msgstr ""
5407
5408 # type: verbatim
5409 #: ../src/guestfs-actions.pod:887
5410 #, no-wrap
5411 msgid ""
5412 " char *guestfs_debug (guestfs_h *g,\n"
5413 "\t\tconst char *subcmd,\n"
5414 "\t\tchar *const *extraargs);\n"
5415 "\n"
5416 msgstr ""
5417
5418 # type: textblock
5419 #: ../src/guestfs-actions.pod:891
5420 msgid ""
5421 "The C<guestfs_debug> command exposes some internals of C<guestfsd> (the "
5422 "guestfs daemon) that runs inside the qemu subprocess."
5423 msgstr ""
5424
5425 # type: textblock
5426 #: ../src/guestfs-actions.pod:895 ../fish/guestfish-actions.pod:721
5427 msgid ""
5428 "There is no comprehensive help for this command.  You have to look at the "
5429 "file C<daemon/debug.c> in the libguestfs source to find out what you can do."
5430 msgstr ""
5431
5432 # type: =head2
5433 #: ../src/guestfs-actions.pod:902
5434 msgid "guestfs_debug_upload"
5435 msgstr ""
5436
5437 # type: verbatim
5438 #: ../src/guestfs-actions.pod:904
5439 #, no-wrap
5440 msgid ""
5441 " int guestfs_debug_upload (guestfs_h *g,\n"
5442 "\t\tconst char *filename,\n"
5443 "\t\tconst char *tmpname,\n"
5444 "\t\tint mode);\n"
5445 "\n"
5446 msgstr ""
5447
5448 # type: textblock
5449 #: ../src/guestfs-actions.pod:909
5450 msgid ""
5451 "The C<guestfs_debug_upload> command uploads a file to the libguestfs "
5452 "appliance."
5453 msgstr ""
5454
5455 # type: textblock
5456 #: ../src/guestfs-actions.pod:912 ../fish/guestfish-actions.pod:732
5457 msgid ""
5458 "There is no comprehensive help for this command.  You have to look at the "
5459 "file C<daemon/debug.c> in the libguestfs source to find out what it is for."
5460 msgstr ""
5461
5462 # type: =head2
5463 #: ../src/guestfs-actions.pod:918
5464 msgid "guestfs_df"
5465 msgstr ""
5466
5467 # type: verbatim
5468 #: ../src/guestfs-actions.pod:920
5469 #, no-wrap
5470 msgid ""
5471 " char *guestfs_df (guestfs_h *g);\n"
5472 "\n"
5473 msgstr ""
5474
5475 # type: textblock
5476 #: ../src/guestfs-actions.pod:922 ../fish/guestfish-actions.pod:742
5477 msgid "This command runs the C<df> command to report disk space used."
5478 msgstr ""
5479
5480 # type: textblock
5481 #: ../src/guestfs-actions.pod:924 ../src/guestfs-actions.pod:938
5482 #: ../fish/guestfish-actions.pod:744 ../fish/guestfish-actions.pod:755
5483 msgid ""
5484 "This command is mostly useful for interactive sessions.  It is I<not> "
5485 "intended that you try to parse the output string.  Use C<statvfs> from "
5486 "programs."
5487 msgstr ""
5488
5489 # type: =head2
5490 #: ../src/guestfs-actions.pod:931
5491 msgid "guestfs_df_h"
5492 msgstr ""
5493
5494 # type: verbatim
5495 #: ../src/guestfs-actions.pod:933
5496 #, no-wrap
5497 msgid ""
5498 " char *guestfs_df_h (guestfs_h *g);\n"
5499 "\n"
5500 msgstr ""
5501
5502 # type: textblock
5503 #: ../src/guestfs-actions.pod:935 ../fish/guestfish-actions.pod:752
5504 msgid ""
5505 "This command runs the C<df -h> command to report disk space used in human-"
5506 "readable format."
5507 msgstr ""
5508
5509 # type: =head2
5510 #: ../src/guestfs-actions.pod:945
5511 msgid "guestfs_dmesg"
5512 msgstr ""
5513
5514 # type: verbatim
5515 #: ../src/guestfs-actions.pod:947
5516 #, no-wrap
5517 msgid ""
5518 " char *guestfs_dmesg (guestfs_h *g);\n"
5519 "\n"
5520 msgstr ""
5521
5522 # type: textblock
5523 #: ../src/guestfs-actions.pod:949 ../fish/guestfish-actions.pod:763
5524 msgid ""
5525 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
5526 "This is sometimes useful for extended debugging of problems."
5527 msgstr ""
5528
5529 # type: textblock
5530 #: ../src/guestfs-actions.pod:953
5531 msgid ""
5532 "Another way to get the same information is to enable verbose messages with "
5533 "C<guestfs_set_verbose> or by setting the environment variable "
5534 "C<LIBGUESTFS_DEBUG=1> before running the program."
5535 msgstr ""
5536
5537 # type: =head2
5538 #: ../src/guestfs-actions.pod:961
5539 msgid "guestfs_download"
5540 msgstr ""
5541
5542 # type: verbatim
5543 #: ../src/guestfs-actions.pod:963
5544 #, no-wrap
5545 msgid ""
5546 " int guestfs_download (guestfs_h *g,\n"
5547 "\t\tconst char *remotefilename,\n"
5548 "\t\tconst char *filename);\n"
5549 "\n"
5550 msgstr ""
5551
5552 # type: textblock
5553 #: ../src/guestfs-actions.pod:967 ../src/guestfs-actions.pod:989
5554 #: ../fish/guestfish-actions.pod:776 ../fish/guestfish-actions.pod:789
5555 msgid ""
5556 "Download file C<remotefilename> and save it as C<filename> on the local "
5557 "machine."
5558 msgstr ""
5559
5560 # type: textblock
5561 #: ../src/guestfs-actions.pod:970 ../src/guestfs-actions.pod:5095
5562 #: ../fish/guestfish-actions.pod:779 ../fish/guestfish-actions.pod:3965
5563 msgid "C<filename> can also be a named pipe."
5564 msgstr ""
5565
5566 # type: textblock
5567 #: ../src/guestfs-actions.pod:972
5568 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
5569 msgstr ""
5570
5571 # type: =head2
5572 #: ../src/guestfs-actions.pod:981
5573 msgid "guestfs_download_offset"
5574 msgstr ""
5575
5576 # type: verbatim
5577 #: ../src/guestfs-actions.pod:983
5578 #, no-wrap
5579 msgid ""
5580 " int guestfs_download_offset (guestfs_h *g,\n"
5581 "\t\tconst char *remotefilename,\n"
5582 "\t\tconst char *filename,\n"
5583 "\t\tint64_t offset,\n"
5584 "\t\tint64_t size);\n"
5585 "\n"
5586 msgstr ""
5587
5588 # type: textblock
5589 #: ../src/guestfs-actions.pod:992 ../fish/guestfish-actions.pod:792
5590 msgid ""
5591 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
5592 "region must be within the file or device)."
5593 msgstr ""
5594
5595 # type: textblock
5596 #: ../src/guestfs-actions.pod:995
5597 msgid ""
5598 "Note that there is no limit on the amount of data that can be downloaded "
5599 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
5600 "full amount unless an error occurs."
5601 msgstr ""
5602
5603 # type: textblock
5604 #: ../src/guestfs-actions.pod:1000
5605 msgid "See also C<guestfs_download>, C<guestfs_pread>."
5606 msgstr ""
5607
5608 # type: =head2
5609 #: ../src/guestfs-actions.pod:1009
5610 msgid "guestfs_drop_caches"
5611 msgstr ""
5612
5613 # type: verbatim
5614 #: ../src/guestfs-actions.pod:1011
5615 #, no-wrap
5616 msgid ""
5617 " int guestfs_drop_caches (guestfs_h *g,\n"
5618 "\t\tint whattodrop);\n"
5619 "\n"
5620 msgstr ""
5621
5622 # type: textblock
5623 #: ../src/guestfs-actions.pod:1014 ../fish/guestfish-actions.pod:808
5624 msgid ""
5625 "This instructs the guest kernel to drop its page cache, and/or dentries and "
5626 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
5627 "to drop, see L<http://linux-mm.org/Drop_Caches>"
5628 msgstr ""
5629
5630 # type: textblock
5631 #: ../src/guestfs-actions.pod:1019 ../fish/guestfish-actions.pod:813
5632 msgid "Setting C<whattodrop> to 3 should drop everything."
5633 msgstr ""
5634
5635 # type: textblock
5636 #: ../src/guestfs-actions.pod:1021 ../fish/guestfish-actions.pod:815
5637 msgid ""
5638 "This automatically calls L<sync(2)> before the operation, so that the "
5639 "maximum guest memory is freed."
5640 msgstr ""
5641
5642 # type: =head2
5643 #: ../src/guestfs-actions.pod:1026
5644 msgid "guestfs_du"
5645 msgstr ""
5646
5647 # type: verbatim
5648 #: ../src/guestfs-actions.pod:1028
5649 #, no-wrap
5650 msgid ""
5651 " int64_t guestfs_du (guestfs_h *g,\n"
5652 "\t\tconst char *path);\n"
5653 "\n"
5654 msgstr ""
5655
5656 # type: textblock
5657 #: ../src/guestfs-actions.pod:1031 ../fish/guestfish-actions.pod:822
5658 msgid ""
5659 "This command runs the C<du -s> command to estimate file space usage for "
5660 "C<path>."
5661 msgstr ""
5662
5663 # type: textblock
5664 #: ../src/guestfs-actions.pod:1034 ../fish/guestfish-actions.pod:825
5665 msgid ""
5666 "C<path> can be a file or a directory.  If C<path> is a directory then the "
5667 "estimate includes the contents of the directory and all subdirectories "
5668 "(recursively)."
5669 msgstr ""
5670
5671 # type: textblock
5672 #: ../src/guestfs-actions.pod:1038 ../fish/guestfish-actions.pod:829
5673 msgid ""
5674 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
5675 msgstr ""
5676
5677 # type: =head2
5678 #: ../src/guestfs-actions.pod:1043
5679 msgid "guestfs_e2fsck_f"
5680 msgstr ""
5681
5682 # type: verbatim
5683 #: ../src/guestfs-actions.pod:1045
5684 #, no-wrap
5685 msgid ""
5686 " int guestfs_e2fsck_f (guestfs_h *g,\n"
5687 "\t\tconst char *device);\n"
5688 "\n"
5689 msgstr ""
5690
5691 # type: textblock
5692 #: ../src/guestfs-actions.pod:1048 ../fish/guestfish-actions.pod:836
5693 msgid ""
5694 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
5695 "on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
5696 "clean (C<-f>)."
5697 msgstr ""
5698
5699 # type: textblock
5700 #: ../src/guestfs-actions.pod:1052
5701 msgid ""
5702 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
5703 "Normally you should use C<guestfs_fsck>."
5704 msgstr ""
5705
5706 # type: =head2
5707 #: ../src/guestfs-actions.pod:1057
5708 msgid "guestfs_echo_daemon"
5709 msgstr ""
5710
5711 # type: verbatim
5712 #: ../src/guestfs-actions.pod:1059
5713 #, no-wrap
5714 msgid ""
5715 " char *guestfs_echo_daemon (guestfs_h *g,\n"
5716 "\t\tchar *const *words);\n"
5717 "\n"
5718 msgstr ""
5719
5720 # type: textblock
5721 #: ../src/guestfs-actions.pod:1062 ../fish/guestfish-actions.pod:847
5722 msgid ""
5723 "This command concatenates the list of C<words> passed with single spaces "
5724 "between them and returns the resulting string."
5725 msgstr ""
5726
5727 # type: textblock
5728 #: ../src/guestfs-actions.pod:1065 ../fish/guestfish-actions.pod:850
5729 msgid "You can use this command to test the connection through to the daemon."
5730 msgstr ""
5731
5732 # type: textblock
5733 #: ../src/guestfs-actions.pod:1067
5734 msgid "See also C<guestfs_ping_daemon>."
5735 msgstr ""
5736
5737 # type: =head2
5738 #: ../src/guestfs-actions.pod:1072
5739 msgid "guestfs_egrep"
5740 msgstr ""
5741
5742 # type: verbatim
5743 #: ../src/guestfs-actions.pod:1074
5744 #, no-wrap
5745 msgid ""
5746 " char **guestfs_egrep (guestfs_h *g,\n"
5747 "\t\tconst char *regex,\n"
5748 "\t\tconst char *path);\n"
5749 "\n"
5750 msgstr ""
5751
5752 # type: textblock
5753 #: ../src/guestfs-actions.pod:1078 ../fish/guestfish-actions.pod:858
5754 msgid ""
5755 "This calls the external C<egrep> program and returns the matching lines."
5756 msgstr ""
5757
5758 # type: =head2
5759 #: ../src/guestfs-actions.pod:1088
5760 msgid "guestfs_egrepi"
5761 msgstr ""
5762
5763 # type: verbatim
5764 #: ../src/guestfs-actions.pod:1090
5765 #, no-wrap
5766 msgid ""
5767 " char **guestfs_egrepi (guestfs_h *g,\n"
5768 "\t\tconst char *regex,\n"
5769 "\t\tconst char *path);\n"
5770 "\n"
5771 msgstr ""
5772
5773 # type: textblock
5774 #: ../src/guestfs-actions.pod:1094 ../fish/guestfish-actions.pod:868
5775 msgid ""
5776 "This calls the external C<egrep -i> program and returns the matching lines."
5777 msgstr ""
5778
5779 # type: =head2
5780 #: ../src/guestfs-actions.pod:1104
5781 msgid "guestfs_equal"
5782 msgstr ""
5783
5784 # type: verbatim
5785 #: ../src/guestfs-actions.pod:1106
5786 #, no-wrap
5787 msgid ""
5788 " int guestfs_equal (guestfs_h *g,\n"
5789 "\t\tconst char *file1,\n"
5790 "\t\tconst char *file2);\n"
5791 "\n"
5792 msgstr ""
5793
5794 # type: textblock
5795 #: ../src/guestfs-actions.pod:1110 ../fish/guestfish-actions.pod:878
5796 msgid ""
5797 "This compares the two files C<file1> and C<file2> and returns true if their "
5798 "content is exactly equal, or false otherwise."
5799 msgstr ""
5800
5801 # type: textblock
5802 #: ../src/guestfs-actions.pod:1113 ../fish/guestfish-actions.pod:881
5803 msgid "The external L<cmp(1)> program is used for the comparison."
5804 msgstr ""
5805
5806 # type: =head2
5807 #: ../src/guestfs-actions.pod:1117
5808 msgid "guestfs_exists"
5809 msgstr ""
5810
5811 # type: verbatim
5812 #: ../src/guestfs-actions.pod:1119
5813 #, no-wrap
5814 msgid ""
5815 " int guestfs_exists (guestfs_h *g,\n"
5816 "\t\tconst char *path);\n"
5817 "\n"
5818 msgstr ""
5819
5820 # type: textblock
5821 #: ../src/guestfs-actions.pod:1122 ../fish/guestfish-actions.pod:887
5822 msgid ""
5823 "This returns C<true> if and only if there is a file, directory (or anything) "
5824 "with the given C<path> name."
5825 msgstr ""
5826
5827 # type: textblock
5828 #: ../src/guestfs-actions.pod:1125
5829 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
5830 msgstr ""
5831
5832 # type: =head2
5833 #: ../src/guestfs-actions.pod:1129
5834 msgid "guestfs_fallocate"
5835 msgstr ""
5836
5837 # type: verbatim
5838 #: ../src/guestfs-actions.pod:1131
5839 #, no-wrap
5840 msgid ""
5841 " int guestfs_fallocate (guestfs_h *g,\n"
5842 "\t\tconst char *path,\n"
5843 "\t\tint len);\n"
5844 "\n"
5845 msgstr ""
5846
5847 # type: textblock
5848 #: ../src/guestfs-actions.pod:1135 ../src/guestfs-actions.pod:1158
5849 #: ../fish/guestfish-actions.pod:896 ../fish/guestfish-actions.pod:915
5850 msgid ""
5851 "This command preallocates a file (containing zero bytes) named C<path> of "
5852 "size C<len> bytes.  If the file exists already, it is overwritten."
5853 msgstr ""
5854
5855 # type: textblock
5856 #: ../src/guestfs-actions.pod:1139 ../fish/guestfish-actions.pod:900
5857 msgid ""
5858 "Do not confuse this with the guestfish-specific C<alloc> command which "
5859 "allocates a file in the host and attaches it as a device."
5860 msgstr ""
5861
5862 # type: textblock
5863 #: ../src/guestfs-actions.pod:1145 ../fish/guestfish-actions.pod:904
5864 msgid ""
5865 "This function is deprecated.  In new code, use the C<fallocate64> call "
5866 "instead."
5867 msgstr ""
5868
5869 # type: textblock
5870 #: ../src/guestfs-actions.pod:1148 ../src/guestfs-actions.pod:1583
5871 #: ../src/guestfs-actions.pod:1601 ../src/guestfs-actions.pod:5476
5872 #: ../src/guestfs-actions.pod:5621 ../fish/guestfish-actions.pod:907
5873 #: ../fish/guestfish-actions.pod:1264 ../fish/guestfish-actions.pod:1278
5874 #: ../fish/guestfish-actions.pod:4241 ../fish/guestfish-actions.pod:4338
5875 msgid ""
5876 "Deprecated functions will not be removed from the API, but the fact that "
5877 "they are deprecated indicates that there are problems with correct use of "
5878 "these functions."
5879 msgstr ""
5880
5881 # type: =head2
5882 #: ../src/guestfs-actions.pod:1152
5883 msgid "guestfs_fallocate64"
5884 msgstr ""
5885
5886 # type: verbatim
5887 #: ../src/guestfs-actions.pod:1154
5888 #, no-wrap
5889 msgid ""
5890 " int guestfs_fallocate64 (guestfs_h *g,\n"
5891 "\t\tconst char *path,\n"
5892 "\t\tint64_t len);\n"
5893 "\n"
5894 msgstr ""
5895
5896 # type: textblock
5897 #: ../src/guestfs-actions.pod:1162
5898 msgid ""
5899 "Note that this call allocates disk blocks for the file.  To create a sparse "
5900 "file use C<guestfs_truncate_size> instead."
5901 msgstr ""
5902
5903 # type: textblock
5904 #: ../src/guestfs-actions.pod:1165
5905 msgid ""
5906 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
5907 "oversight it only allowed 30 bit lengths to be specified, effectively "
5908 "limiting the maximum size of files created through that call to 1GB."
5909 msgstr ""
5910
5911 # type: textblock
5912 #: ../src/guestfs-actions.pod:1170 ../fish/guestfish-actions.pod:927
5913 msgid ""
5914 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
5915 "commands which create a file in the host and attach it as a device."
5916 msgstr ""
5917
5918 # type: =head2
5919 #: ../src/guestfs-actions.pod:1176
5920 msgid "guestfs_fgrep"
5921 msgstr ""
5922
5923 # type: verbatim
5924 #: ../src/guestfs-actions.pod:1178
5925 #, no-wrap
5926 msgid ""
5927 " char **guestfs_fgrep (guestfs_h *g,\n"
5928 "\t\tconst char *pattern,\n"
5929 "\t\tconst char *path);\n"
5930 "\n"
5931 msgstr ""
5932
5933 # type: textblock
5934 #: ../src/guestfs-actions.pod:1182 ../fish/guestfish-actions.pod:935
5935 msgid ""
5936 "This calls the external C<fgrep> program and returns the matching lines."
5937 msgstr ""
5938
5939 # type: =head2
5940 #: ../src/guestfs-actions.pod:1192
5941 msgid "guestfs_fgrepi"
5942 msgstr ""
5943
5944 # type: verbatim
5945 #: ../src/guestfs-actions.pod:1194
5946 #, no-wrap
5947 msgid ""
5948 " char **guestfs_fgrepi (guestfs_h *g,\n"
5949 "\t\tconst char *pattern,\n"
5950 "\t\tconst char *path);\n"
5951 "\n"
5952 msgstr ""
5953
5954 # type: textblock
5955 #: ../src/guestfs-actions.pod:1198 ../fish/guestfish-actions.pod:945
5956 msgid ""
5957 "This calls the external C<fgrep -i> program and returns the matching lines."
5958 msgstr ""
5959
5960 # type: =head2
5961 #: ../src/guestfs-actions.pod:1208
5962 msgid "guestfs_file"
5963 msgstr ""
5964
5965 # type: verbatim
5966 #: ../src/guestfs-actions.pod:1210
5967 #, no-wrap
5968 msgid ""
5969 " char *guestfs_file (guestfs_h *g,\n"
5970 "\t\tconst char *path);\n"
5971 "\n"
5972 msgstr ""
5973
5974 # type: textblock
5975 #: ../src/guestfs-actions.pod:1213 ../fish/guestfish-actions.pod:955
5976 msgid ""
5977 "This call uses the standard L<file(1)> command to determine the type or "
5978 "contents of the file."
5979 msgstr ""
5980
5981 # type: textblock
5982 #: ../src/guestfs-actions.pod:1216 ../fish/guestfish-actions.pod:958
5983 msgid ""
5984 "This call will also transparently look inside various types of compressed "
5985 "file."
5986 msgstr ""
5987
5988 # type: textblock
5989 #: ../src/guestfs-actions.pod:1219 ../fish/guestfish-actions.pod:961
5990 msgid ""
5991 "The exact command which runs is C<file -zb path>.  Note in particular that "
5992 "the filename is not prepended to the output (the C<-b> option)."
5993 msgstr ""
5994
5995 # type: textblock
5996 #: ../src/guestfs-actions.pod:1223
5997 msgid ""
5998 "This command can also be used on C</dev/> devices (and partitions, LV "
5999 "names).  You can for example use this to determine if a device contains a "
6000 "filesystem, although it's usually better to use C<guestfs_vfs_type>."
6001 msgstr ""
6002
6003 # type: textblock
6004 #: ../src/guestfs-actions.pod:1228 ../fish/guestfish-actions.pod:970
6005 msgid ""
6006 "If the C<path> does not begin with C</dev/> then this command only works for "
6007 "the content of regular files.  For other file types (directory, symbolic "
6008 "link etc) it will just return the string C<directory> etc."
6009 msgstr ""
6010
6011 # type: =head2
6012 #: ../src/guestfs-actions.pod:1236
6013 msgid "guestfs_file_architecture"
6014 msgstr ""
6015
6016 # type: verbatim
6017 #: ../src/guestfs-actions.pod:1238
6018 #, no-wrap
6019 msgid ""
6020 " char *guestfs_file_architecture (guestfs_h *g,\n"
6021 "\t\tconst char *filename);\n"
6022 "\n"
6023 msgstr ""
6024
6025 # type: textblock
6026 #: ../src/guestfs-actions.pod:1241 ../fish/guestfish-actions.pod:979
6027 msgid ""
6028 "This detects the architecture of the binary C<filename>, and returns it if "
6029 "known."
6030 msgstr ""
6031
6032 # type: textblock
6033 #: ../src/guestfs-actions.pod:1244 ../fish/guestfish-actions.pod:982
6034 msgid "Currently defined architectures are:"
6035 msgstr ""
6036
6037 # type: =item
6038 #: ../src/guestfs-actions.pod:1248 ../fish/guestfish-actions.pod:986
6039 msgid "\"i386\""
6040 msgstr ""
6041
6042 # type: textblock
6043 #: ../src/guestfs-actions.pod:1250 ../fish/guestfish-actions.pod:988
6044 msgid ""
6045 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
6046 "irrespective of the precise processor requirements of the binary."
6047 msgstr ""
6048
6049 # type: =item
6050 #: ../src/guestfs-actions.pod:1253 ../fish/guestfish-actions.pod:991
6051 msgid "\"x86_64\""
6052 msgstr ""
6053
6054 # type: textblock
6055 #: ../src/guestfs-actions.pod:1255 ../fish/guestfish-actions.pod:993
6056 msgid "64 bit x86-64."
6057 msgstr ""
6058
6059 # type: =item
6060 #: ../src/guestfs-actions.pod:1257 ../fish/guestfish-actions.pod:995
6061 msgid "\"sparc\""
6062 msgstr ""
6063
6064 # type: textblock
6065 #: ../src/guestfs-actions.pod:1259 ../fish/guestfish-actions.pod:997
6066 msgid "32 bit SPARC."
6067 msgstr ""
6068
6069 # type: =item
6070 #: ../src/guestfs-actions.pod:1261 ../fish/guestfish-actions.pod:999
6071 msgid "\"sparc64\""
6072 msgstr ""
6073
6074 # type: textblock
6075 #: ../src/guestfs-actions.pod:1263 ../fish/guestfish-actions.pod:1001
6076 msgid "64 bit SPARC V9 and above."
6077 msgstr ""
6078
6079 # type: =item
6080 #: ../src/guestfs-actions.pod:1265 ../fish/guestfish-actions.pod:1003
6081 msgid "\"ia64\""
6082 msgstr ""
6083
6084 # type: textblock
6085 #: ../src/guestfs-actions.pod:1267 ../fish/guestfish-actions.pod:1005
6086 msgid "Intel Itanium."
6087 msgstr ""
6088
6089 # type: =item
6090 #: ../src/guestfs-actions.pod:1269 ../fish/guestfish-actions.pod:1007
6091 msgid "\"ppc\""
6092 msgstr ""
6093
6094 # type: textblock
6095 #: ../src/guestfs-actions.pod:1271 ../fish/guestfish-actions.pod:1009
6096 msgid "32 bit Power PC."
6097 msgstr ""
6098
6099 # type: =item
6100 #: ../src/guestfs-actions.pod:1273 ../fish/guestfish-actions.pod:1011
6101 msgid "\"ppc64\""
6102 msgstr ""
6103
6104 # type: textblock
6105 #: ../src/guestfs-actions.pod:1275 ../fish/guestfish-actions.pod:1013
6106 msgid "64 bit Power PC."
6107 msgstr ""
6108
6109 # type: textblock
6110 #: ../src/guestfs-actions.pod:1279 ../fish/guestfish-actions.pod:1017
6111 msgid "Libguestfs may return other architecture strings in future."
6112 msgstr ""
6113
6114 # type: textblock
6115 #: ../src/guestfs-actions.pod:1281 ../fish/guestfish-actions.pod:1019
6116 msgid "The function works on at least the following types of files:"
6117 msgstr ""
6118
6119 # type: textblock
6120 #: ../src/guestfs-actions.pod:1287 ../fish/guestfish-actions.pod:1025
6121 msgid "many types of Un*x and Linux binary"
6122 msgstr ""
6123
6124 # type: textblock
6125 #: ../src/guestfs-actions.pod:1291 ../fish/guestfish-actions.pod:1029
6126 msgid "many types of Un*x and Linux shared library"
6127 msgstr ""
6128
6129 # type: textblock
6130 #: ../src/guestfs-actions.pod:1295 ../fish/guestfish-actions.pod:1033
6131 msgid "Windows Win32 and Win64 binaries"
6132 msgstr ""
6133
6134 # type: textblock
6135 #: ../src/guestfs-actions.pod:1299 ../fish/guestfish-actions.pod:1037
6136 msgid "Windows Win32 and Win64 DLLs"
6137 msgstr ""
6138
6139 # type: textblock
6140 #: ../src/guestfs-actions.pod:1301 ../fish/guestfish-actions.pod:1039
6141 msgid "Win32 binaries and DLLs return C<i386>."
6142 msgstr ""
6143
6144 # type: textblock
6145 #: ../src/guestfs-actions.pod:1303 ../fish/guestfish-actions.pod:1041
6146 msgid "Win64 binaries and DLLs return C<x86_64>."
6147 msgstr ""
6148
6149 # type: textblock
6150 #: ../src/guestfs-actions.pod:1307 ../fish/guestfish-actions.pod:1045
6151 msgid "Linux kernel modules"
6152 msgstr ""
6153
6154 # type: textblock
6155 #: ../src/guestfs-actions.pod:1311 ../fish/guestfish-actions.pod:1049
6156 msgid "Linux new-style initrd images"
6157 msgstr ""
6158
6159 # type: textblock
6160 #: ../src/guestfs-actions.pod:1315 ../fish/guestfish-actions.pod:1053
6161 msgid "some non-x86 Linux vmlinuz kernels"
6162 msgstr ""
6163
6164 # type: textblock
6165 #: ../src/guestfs-actions.pod:1319 ../fish/guestfish-actions.pod:1057
6166 msgid "What it can't do currently:"
6167 msgstr ""
6168
6169 # type: textblock
6170 #: ../src/guestfs-actions.pod:1325 ../fish/guestfish-actions.pod:1063
6171 msgid "static libraries (libfoo.a)"
6172 msgstr ""
6173
6174 # type: textblock
6175 #: ../src/guestfs-actions.pod:1329 ../fish/guestfish-actions.pod:1067
6176 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
6177 msgstr ""
6178
6179 # type: textblock
6180 #: ../src/guestfs-actions.pod:1333 ../fish/guestfish-actions.pod:1071
6181 msgid "x86 Linux vmlinuz kernels"
6182 msgstr ""
6183
6184 # type: textblock
6185 #: ../src/guestfs-actions.pod:1335 ../fish/guestfish-actions.pod:1073
6186 msgid ""
6187 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
6188 "compressed code, and are horribly hard to unpack.  If you want to find the "
6189 "architecture of a kernel, use the architecture of the associated initrd or "
6190 "kernel module(s) instead."
6191 msgstr ""
6192
6193 # type: =head2
6194 #: ../src/guestfs-actions.pod:1345
6195 msgid "guestfs_filesize"
6196 msgstr ""
6197
6198 # type: verbatim
6199 #: ../src/guestfs-actions.pod:1347
6200 #, no-wrap
6201 msgid ""
6202 " int64_t guestfs_filesize (guestfs_h *g,\n"
6203 "\t\tconst char *file);\n"
6204 "\n"
6205 msgstr ""
6206
6207 # type: textblock
6208 #: ../src/guestfs-actions.pod:1350 ../fish/guestfish-actions.pod:1084
6209 msgid "This command returns the size of C<file> in bytes."
6210 msgstr ""
6211
6212 # type: textblock
6213 #: ../src/guestfs-actions.pod:1352
6214 msgid ""
6215 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
6216 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
6217 "devices, use C<guestfs_blockdev_getsize64>."
6218 msgstr ""
6219
6220 # type: =head2
6221 #: ../src/guestfs-actions.pod:1358
6222 msgid "guestfs_fill"
6223 msgstr ""
6224
6225 # type: verbatim
6226 #: ../src/guestfs-actions.pod:1360
6227 #, no-wrap
6228 msgid ""
6229 " int guestfs_fill (guestfs_h *g,\n"
6230 "\t\tint c,\n"
6231 "\t\tint len,\n"
6232 "\t\tconst char *path);\n"
6233 "\n"
6234 msgstr ""
6235
6236 # type: textblock
6237 #: ../src/guestfs-actions.pod:1365 ../fish/guestfish-actions.pod:1094
6238 msgid ""
6239 "This command creates a new file called C<path>.  The initial content of the "
6240 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
6241 "[0..255]>."
6242 msgstr ""
6243
6244 # type: textblock
6245 #: ../src/guestfs-actions.pod:1369
6246 msgid ""
6247 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
6248 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
6249 "bytes use C<guestfs_fill_pattern>."
6250 msgstr ""
6251
6252 # type: =head2
6253 #: ../src/guestfs-actions.pod:1381
6254 msgid "guestfs_fill_pattern"
6255 msgstr ""
6256
6257 # type: verbatim
6258 #: ../src/guestfs-actions.pod:1383
6259 #, no-wrap
6260 msgid ""
6261 " int guestfs_fill_pattern (guestfs_h *g,\n"
6262 "\t\tconst char *pattern,\n"
6263 "\t\tint len,\n"
6264 "\t\tconst char *path);\n"
6265 "\n"
6266 msgstr ""
6267
6268 # type: textblock
6269 #: ../src/guestfs-actions.pod:1388
6270 msgid ""
6271 "This function is like C<guestfs_fill> except that it creates a new file of "
6272 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
6273 "pattern is truncated if necessary to ensure the length of the file is "
6274 "exactly C<len> bytes."
6275 msgstr ""
6276
6277 # type: =head2
6278 #: ../src/guestfs-actions.pod:1400
6279 msgid "guestfs_find"
6280 msgstr ""
6281
6282 # type: verbatim
6283 #: ../src/guestfs-actions.pod:1402
6284 #, no-wrap
6285 msgid ""
6286 " char **guestfs_find (guestfs_h *g,\n"
6287 "\t\tconst char *directory);\n"
6288 "\n"
6289 msgstr ""
6290
6291 # type: textblock
6292 #: ../src/guestfs-actions.pod:1405 ../fish/guestfish-actions.pod:1116
6293 msgid ""
6294 "This command lists out all files and directories, recursively, starting at "
6295 "C<directory>.  It is essentially equivalent to running the shell command "
6296 "C<find directory -print> but some post-processing happens on the output, "
6297 "described below."
6298 msgstr ""
6299
6300 # type: textblock
6301 #: ../src/guestfs-actions.pod:1410 ../fish/guestfish-actions.pod:1121
6302 msgid ""
6303 "This returns a list of strings I<without any prefix>.  Thus if the directory "
6304 "structure was:"
6305 msgstr ""
6306
6307 # type: verbatim
6308 #: ../src/guestfs-actions.pod:1413 ../fish/guestfish-actions.pod:1124
6309 #, no-wrap
6310 msgid ""
6311 " /tmp/a\n"
6312 " /tmp/b\n"
6313 " /tmp/c/d\n"
6314 "\n"
6315 msgstr ""
6316
6317 # type: textblock
6318 #: ../src/guestfs-actions.pod:1417
6319 msgid ""
6320 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
6321 msgstr ""
6322
6323 # type: verbatim
6324 #: ../src/guestfs-actions.pod:1420 ../fish/guestfish-actions.pod:1131
6325 #, no-wrap
6326 msgid ""
6327 " a\n"
6328 " b\n"
6329 " c\n"
6330 " c/d\n"
6331 "\n"
6332 msgstr ""
6333
6334 # type: textblock
6335 #: ../src/guestfs-actions.pod:1425 ../fish/guestfish-actions.pod:1136
6336 msgid "If C<directory> is not a directory, then this command returns an error."
6337 msgstr ""
6338
6339 # type: textblock
6340 #: ../src/guestfs-actions.pod:1428 ../fish/guestfish-actions.pod:1139
6341 msgid "The returned list is sorted."
6342 msgstr ""
6343
6344 # type: textblock
6345 #: ../src/guestfs-actions.pod:1430
6346 msgid "See also C<guestfs_find0>."
6347 msgstr ""
6348
6349 # type: =head2
6350 #: ../src/guestfs-actions.pod:1439
6351 msgid "guestfs_find0"
6352 msgstr ""
6353
6354 # type: verbatim
6355 #: ../src/guestfs-actions.pod:1441
6356 #, no-wrap
6357 msgid ""
6358 " int guestfs_find0 (guestfs_h *g,\n"
6359 "\t\tconst char *directory,\n"
6360 "\t\tconst char *files);\n"
6361 "\n"
6362 msgstr ""
6363
6364 # type: textblock
6365 #: ../src/guestfs-actions.pod:1445 ../fish/guestfish-actions.pod:1150
6366 msgid ""
6367 "This command lists out all files and directories, recursively, starting at "
6368 "C<directory>, placing the resulting list in the external file called "
6369 "C<files>."
6370 msgstr ""
6371
6372 # type: textblock
6373 #: ../src/guestfs-actions.pod:1449
6374 msgid ""
6375 "This command works the same way as C<guestfs_find> with the following "
6376 "exceptions:"
6377 msgstr ""
6378
6379 # type: textblock
6380 #: ../src/guestfs-actions.pod:1456 ../fish/guestfish-actions.pod:1161
6381 msgid "The resulting list is written to an external file."
6382 msgstr ""
6383
6384 # type: textblock
6385 #: ../src/guestfs-actions.pod:1460 ../fish/guestfish-actions.pod:1165
6386 msgid ""
6387 "Items (filenames) in the result are separated by C<\\0> characters.  See "
6388 "L<find(1)> option I<-print0>."
6389 msgstr ""
6390
6391 # type: textblock
6392 #: ../src/guestfs-actions.pod:1465 ../fish/guestfish-actions.pod:1170
6393 msgid "This command is not limited in the number of names that it can return."
6394 msgstr ""
6395
6396 # type: textblock
6397 #: ../src/guestfs-actions.pod:1470 ../fish/guestfish-actions.pod:1175
6398 msgid "The result list is not sorted."
6399 msgstr ""
6400
6401 # type: =head2
6402 #: ../src/guestfs-actions.pod:1476
6403 msgid "guestfs_findfs_label"
6404 msgstr ""
6405
6406 # type: verbatim
6407 #: ../src/guestfs-actions.pod:1478
6408 #, no-wrap
6409 msgid ""
6410 " char *guestfs_findfs_label (guestfs_h *g,\n"
6411 "\t\tconst char *label);\n"
6412 "\n"
6413 msgstr ""
6414
6415 # type: textblock
6416 #: ../src/guestfs-actions.pod:1481 ../fish/guestfish-actions.pod:1185
6417 msgid ""
6418 "This command searches the filesystems and returns the one which has the "
6419 "given label.  An error is returned if no such filesystem can be found."
6420 msgstr ""
6421
6422 # type: textblock
6423 #: ../src/guestfs-actions.pod:1485
6424 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
6425 msgstr ""
6426
6427 # type: =head2
6428 #: ../src/guestfs-actions.pod:1490
6429 msgid "guestfs_findfs_uuid"
6430 msgstr ""
6431
6432 # type: verbatim
6433 #: ../src/guestfs-actions.pod:1492
6434 #, no-wrap
6435 msgid ""
6436 " char *guestfs_findfs_uuid (guestfs_h *g,\n"
6437 "\t\tconst char *uuid);\n"
6438 "\n"
6439 msgstr ""
6440
6441 # type: textblock
6442 #: ../src/guestfs-actions.pod:1495 ../fish/guestfish-actions.pod:1195
6443 msgid ""
6444 "This command searches the filesystems and returns the one which has the "
6445 "given UUID.  An error is returned if no such filesystem can be found."
6446 msgstr ""
6447
6448 # type: textblock
6449 #: ../src/guestfs-actions.pod:1499
6450 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
6451 msgstr ""
6452
6453 # type: =head2
6454 #: ../src/guestfs-actions.pod:1504
6455 msgid "guestfs_fsck"
6456 msgstr ""
6457
6458 # type: verbatim
6459 #: ../src/guestfs-actions.pod:1506
6460 #, no-wrap
6461 msgid ""
6462 " int guestfs_fsck (guestfs_h *g,\n"
6463 "\t\tconst char *fstype,\n"
6464 "\t\tconst char *device);\n"
6465 "\n"
6466 msgstr ""
6467
6468 # type: textblock
6469 #: ../src/guestfs-actions.pod:1510 ../fish/guestfish-actions.pod:1205
6470 msgid ""
6471 "This runs the filesystem checker (fsck) on C<device> which should have "
6472 "filesystem type C<fstype>."
6473 msgstr ""
6474
6475 # type: textblock
6476 #: ../src/guestfs-actions.pod:1513 ../fish/guestfish-actions.pod:1208
6477 msgid ""
6478 "The returned integer is the status.  See L<fsck(8)> for the list of status "
6479 "codes from C<fsck>."
6480 msgstr ""
6481
6482 # type: textblock
6483 #: ../src/guestfs-actions.pod:1522 ../fish/guestfish-actions.pod:1217
6484 msgid "Multiple status codes can be summed together."
6485 msgstr ""
6486
6487 # type: textblock
6488 #: ../src/guestfs-actions.pod:1526 ../fish/guestfish-actions.pod:1221
6489 msgid ""
6490 "A non-zero return code can mean \"success\", for example if errors have been "
6491 "corrected on the filesystem."
6492 msgstr ""
6493
6494 # type: textblock
6495 #: ../src/guestfs-actions.pod:1531 ../fish/guestfish-actions.pod:1226
6496 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
6497 msgstr ""
6498
6499 # type: textblock
6500 #: ../src/guestfs-actions.pod:1536 ../fish/guestfish-actions.pod:1231
6501 msgid ""
6502 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
6503 msgstr ""
6504
6505 # type: =head2
6506 #: ../src/guestfs-actions.pod:1540
6507 msgid "guestfs_get_append"
6508 msgstr ""
6509
6510 # type: verbatim
6511 #: ../src/guestfs-actions.pod:1542
6512 #, no-wrap
6513 msgid ""
6514 " const char *guestfs_get_append (guestfs_h *g);\n"
6515 "\n"
6516 msgstr ""
6517
6518 # type: textblock
6519 #: ../src/guestfs-actions.pod:1544 ../fish/guestfish-actions.pod:1237
6520 msgid ""
6521 "Return the additional kernel options which are added to the guest kernel "
6522 "command line."
6523 msgstr ""
6524
6525 # type: textblock
6526 #: ../src/guestfs-actions.pod:1547 ../fish/guestfish-actions.pod:1240
6527 msgid "If C<NULL> then no options are added."
6528 msgstr ""
6529
6530 # type: textblock
6531 #: ../src/guestfs-actions.pod:1549
6532 msgid ""
6533 "This function returns a string which may be NULL.  There is no way to return "
6534 "an error from this function.  The string is owned by the guest handle and "
6535 "must I<not> be freed."
6536 msgstr ""
6537
6538 # type: =head2
6539 #: ../src/guestfs-actions.pod:1553
6540 msgid "guestfs_get_autosync"
6541 msgstr ""
6542
6543 # type: verbatim
6544 #: ../src/guestfs-actions.pod:1555
6545 #, no-wrap
6546 msgid ""
6547 " int guestfs_get_autosync (guestfs_h *g);\n"
6548 "\n"
6549 msgstr ""
6550
6551 # type: textblock
6552 #: ../src/guestfs-actions.pod:1557 ../fish/guestfish-actions.pod:1246
6553 msgid "Get the autosync flag."
6554 msgstr ""
6555
6556 # type: =head2
6557 #: ../src/guestfs-actions.pod:1561
6558 msgid "guestfs_get_direct"
6559 msgstr ""
6560
6561 # type: verbatim
6562 #: ../src/guestfs-actions.pod:1563
6563 #, no-wrap
6564 msgid ""
6565 " int guestfs_get_direct (guestfs_h *g);\n"
6566 "\n"
6567 msgstr ""
6568
6569 # type: textblock
6570 #: ../src/guestfs-actions.pod:1565 ../fish/guestfish-actions.pod:1252
6571 msgid "Return the direct appliance mode flag."
6572 msgstr ""
6573
6574 # type: =head2
6575 #: ../src/guestfs-actions.pod:1569
6576 msgid "guestfs_get_e2label"
6577 msgstr ""
6578
6579 # type: verbatim
6580 #: ../src/guestfs-actions.pod:1571
6581 #, no-wrap
6582 msgid ""
6583 " char *guestfs_get_e2label (guestfs_h *g,\n"
6584 "\t\tconst char *device);\n"
6585 "\n"
6586 msgstr ""
6587
6588 # type: textblock
6589 #: ../src/guestfs-actions.pod:1574 ../fish/guestfish-actions.pod:1258
6590 msgid ""
6591 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
6592 msgstr ""
6593
6594 # type: textblock
6595 #: ../src/guestfs-actions.pod:1580 ../fish/guestfish-actions.pod:1261
6596 msgid ""
6597 "This function is deprecated.  In new code, use the C<vfs_label> call instead."
6598 msgstr ""
6599
6600 # type: =head2
6601 #: ../src/guestfs-actions.pod:1587
6602 msgid "guestfs_get_e2uuid"
6603 msgstr ""
6604
6605 # type: verbatim
6606 #: ../src/guestfs-actions.pod:1589
6607 #, no-wrap
6608 msgid ""
6609 " char *guestfs_get_e2uuid (guestfs_h *g,\n"
6610 "\t\tconst char *device);\n"
6611 "\n"
6612 msgstr ""
6613
6614 # type: textblock
6615 #: ../src/guestfs-actions.pod:1592 ../fish/guestfish-actions.pod:1272
6616 msgid ""
6617 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
6618 msgstr ""
6619
6620 # type: textblock
6621 #: ../src/guestfs-actions.pod:1598 ../fish/guestfish-actions.pod:1275
6622 msgid ""
6623 "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
6624 msgstr ""
6625
6626 # type: =head2
6627 #: ../src/guestfs-actions.pod:1605
6628 msgid "guestfs_get_memsize"
6629 msgstr ""
6630
6631 # type: verbatim
6632 #: ../src/guestfs-actions.pod:1607
6633 #, no-wrap
6634 msgid ""
6635 " int guestfs_get_memsize (guestfs_h *g);\n"
6636 "\n"
6637 msgstr ""
6638
6639 # type: textblock
6640 #: ../src/guestfs-actions.pod:1609 ../fish/guestfish-actions.pod:1286
6641 msgid ""
6642 "This gets the memory size in megabytes allocated to the qemu subprocess."
6643 msgstr ""
6644
6645 # type: textblock
6646 #: ../src/guestfs-actions.pod:1612
6647 msgid ""
6648 "If C<guestfs_set_memsize> was not called on this handle, and if "
6649 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
6650 "value for memsize."
6651 msgstr ""
6652
6653 # type: textblock
6654 #: ../src/guestfs-actions.pod:1616 ../src/guestfs-actions.pod:1679
6655 #: ../src/guestfs-actions.pod:4348 ../src/guestfs-actions.pod:4440
6656 #: ../fish/guestfish-actions.pod:1293 ../fish/guestfish-actions.pod:1344
6657 #: ../fish/guestfish-actions.pod:3372 ../fish/guestfish-actions.pod:3459
6658 msgid ""
6659 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
6660 msgstr ""
6661
6662 # type: =head2
6663 #: ../src/guestfs-actions.pod:1621
6664 msgid "guestfs_get_network"
6665 msgstr ""
6666
6667 # type: verbatim
6668 #: ../src/guestfs-actions.pod:1623
6669 #, no-wrap
6670 msgid ""
6671 " int guestfs_get_network (guestfs_h *g);\n"
6672 "\n"
6673 msgstr ""
6674
6675 # type: textblock
6676 #: ../src/guestfs-actions.pod:1625 ../fish/guestfish-actions.pod:1300
6677 msgid "This returns the enable network flag."
6678 msgstr ""
6679
6680 # type: =head2
6681 #: ../src/guestfs-actions.pod:1629
6682 msgid "guestfs_get_path"
6683 msgstr ""
6684
6685 # type: verbatim
6686 #: ../src/guestfs-actions.pod:1631
6687 #, no-wrap
6688 msgid ""
6689 " const char *guestfs_get_path (guestfs_h *g);\n"
6690 "\n"
6691 msgstr ""
6692
6693 # type: textblock
6694 #: ../src/guestfs-actions.pod:1633 ../fish/guestfish-actions.pod:1306
6695 msgid "Return the current search path."
6696 msgstr ""
6697
6698 # type: textblock
6699 #: ../src/guestfs-actions.pod:1635 ../fish/guestfish-actions.pod:1308
6700 msgid ""
6701 "This is always non-NULL.  If it wasn't set already, then this will return "
6702 "the default path."
6703 msgstr ""
6704
6705 # type: textblock
6706 #: ../src/guestfs-actions.pod:1638 ../src/guestfs-actions.pod:1661
6707 msgid ""
6708 "This function returns a string, or NULL on error.  The string is owned by "
6709 "the guest handle and must I<not> be freed."
6710 msgstr ""
6711
6712 # type: =head2
6713 #: ../src/guestfs-actions.pod:1641
6714 msgid "guestfs_get_pid"
6715 msgstr ""
6716
6717 # type: verbatim
6718 #: ../src/guestfs-actions.pod:1643
6719 #, no-wrap
6720 msgid ""
6721 " int guestfs_get_pid (guestfs_h *g);\n"
6722 "\n"
6723 msgstr ""
6724
6725 # type: textblock
6726 #: ../src/guestfs-actions.pod:1645 ../fish/guestfish-actions.pod:1317
6727 msgid ""
6728 "Return the process ID of the qemu subprocess.  If there is no qemu "
6729 "subprocess, then this will return an error."
6730 msgstr ""
6731
6732 # type: textblock
6733 #: ../src/guestfs-actions.pod:1648 ../fish/guestfish-actions.pod:1320
6734 msgid "This is an internal call used for debugging and testing."
6735 msgstr ""
6736
6737 # type: =head2
6738 #: ../src/guestfs-actions.pod:1652
6739 msgid "guestfs_get_qemu"
6740 msgstr ""
6741
6742 # type: verbatim
6743 #: ../src/guestfs-actions.pod:1654
6744 #, no-wrap
6745 msgid ""
6746 " const char *guestfs_get_qemu (guestfs_h *g);\n"
6747 "\n"
6748 msgstr ""
6749
6750 # type: textblock
6751 #: ../src/guestfs-actions.pod:1656 ../fish/guestfish-actions.pod:1326
6752 msgid "Return the current qemu binary."
6753 msgstr ""
6754
6755 # type: textblock
6756 #: ../src/guestfs-actions.pod:1658 ../fish/guestfish-actions.pod:1328
6757 msgid ""
6758 "This is always non-NULL.  If it wasn't set already, then this will return "
6759 "the default qemu binary name."
6760 msgstr ""
6761
6762 # type: =head2
6763 #: ../src/guestfs-actions.pod:1664
6764 msgid "guestfs_get_recovery_proc"
6765 msgstr ""
6766
6767 # type: verbatim
6768 #: ../src/guestfs-actions.pod:1666
6769 #, no-wrap
6770 msgid ""
6771 " int guestfs_get_recovery_proc (guestfs_h *g);\n"
6772 "\n"
6773 msgstr ""
6774
6775 # type: textblock
6776 #: ../src/guestfs-actions.pod:1668 ../fish/guestfish-actions.pod:1335
6777 msgid "Return the recovery process enabled flag."
6778 msgstr ""
6779
6780 # type: =head2
6781 #: ../src/guestfs-actions.pod:1672
6782 msgid "guestfs_get_selinux"
6783 msgstr ""
6784
6785 # type: verbatim
6786 #: ../src/guestfs-actions.pod:1674
6787 #, no-wrap
6788 msgid ""
6789 " int guestfs_get_selinux (guestfs_h *g);\n"
6790 "\n"
6791 msgstr ""
6792
6793 # type: textblock
6794 #: ../src/guestfs-actions.pod:1676
6795 msgid ""
6796 "This returns the current setting of the selinux flag which is passed to the "
6797 "appliance at boot time.  See C<guestfs_set_selinux>."
6798 msgstr ""
6799
6800 # type: =head2
6801 #: ../src/guestfs-actions.pod:1684
6802 msgid "guestfs_get_state"
6803 msgstr ""
6804
6805 # type: verbatim
6806 #: ../src/guestfs-actions.pod:1686
6807 #, no-wrap
6808 msgid ""
6809 " int guestfs_get_state (guestfs_h *g);\n"
6810 "\n"
6811 msgstr ""
6812
6813 # type: textblock
6814 #: ../src/guestfs-actions.pod:1688 ../fish/guestfish-actions.pod:1351
6815 msgid ""
6816 "This returns the current state as an opaque integer.  This is only useful "
6817 "for printing debug and internal error messages."
6818 msgstr ""
6819
6820 # type: textblock
6821 #: ../src/guestfs-actions.pod:1691 ../src/guestfs-actions.pod:2312
6822 #: ../src/guestfs-actions.pod:2335 ../src/guestfs-actions.pod:2384
6823 #: ../src/guestfs-actions.pod:2405 ../fish/guestfish-actions.pod:1354
6824 #: ../fish/guestfish-actions.pod:1848 ../fish/guestfish-actions.pod:1866
6825 #: ../fish/guestfish-actions.pod:1904 ../fish/guestfish-actions.pod:1920
6826 msgid "For more information on states, see L<guestfs(3)>."
6827 msgstr ""
6828
6829 # type: =head2
6830 #: ../src/guestfs-actions.pod:1695
6831 msgid "guestfs_get_trace"
6832 msgstr ""
6833
6834 # type: verbatim
6835 #: ../src/guestfs-actions.pod:1697
6836 #, no-wrap
6837 msgid ""
6838 " int guestfs_get_trace (guestfs_h *g);\n"
6839 "\n"
6840 msgstr ""
6841
6842 # type: textblock
6843 #: ../src/guestfs-actions.pod:1699 ../fish/guestfish-actions.pod:1360
6844 msgid "Return the command trace flag."
6845 msgstr ""
6846
6847 # type: =head2
6848 #: ../src/guestfs-actions.pod:1703
6849 msgid "guestfs_get_umask"
6850 msgstr ""
6851
6852 # type: verbatim
6853 #: ../src/guestfs-actions.pod:1705
6854 #, no-wrap
6855 msgid ""
6856 " int guestfs_get_umask (guestfs_h *g);\n"
6857 "\n"
6858 msgstr ""
6859
6860 # type: textblock
6861 #: ../src/guestfs-actions.pod:1707
6862 msgid ""
6863 "Return the current umask.  By default the umask is C<022> unless it has been "
6864 "set by calling C<guestfs_umask>."
6865 msgstr ""
6866
6867 # type: =head2
6868 #: ../src/guestfs-actions.pod:1712
6869 msgid "guestfs_get_verbose"
6870 msgstr ""
6871
6872 # type: verbatim
6873 #: ../src/guestfs-actions.pod:1714
6874 #, no-wrap
6875 msgid ""
6876 " int guestfs_get_verbose (guestfs_h *g);\n"
6877 "\n"
6878 msgstr ""
6879
6880 # type: textblock
6881 #: ../src/guestfs-actions.pod:1716 ../fish/guestfish-actions.pod:1373
6882 msgid "This returns the verbose messages flag."
6883 msgstr ""
6884
6885 # type: =head2
6886 #: ../src/guestfs-actions.pod:1720
6887 msgid "guestfs_getcon"
6888 msgstr ""
6889
6890 # type: verbatim
6891 #: ../src/guestfs-actions.pod:1722
6892 #, no-wrap
6893 msgid ""
6894 " char *guestfs_getcon (guestfs_h *g);\n"
6895 "\n"
6896 msgstr ""
6897
6898 # type: textblock
6899 #: ../src/guestfs-actions.pod:1724 ../fish/guestfish-actions.pod:1379
6900 msgid "This gets the SELinux security context of the daemon."
6901 msgstr ""
6902
6903 # type: textblock
6904 #: ../src/guestfs-actions.pod:1726
6905 msgid ""
6906 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
6907 msgstr ""
6908
6909 # type: =head2
6910 #: ../src/guestfs-actions.pod:1732
6911 msgid "guestfs_getxattrs"
6912 msgstr ""
6913
6914 # type: verbatim
6915 #: ../src/guestfs-actions.pod:1734
6916 #, no-wrap
6917 msgid ""
6918 " struct guestfs_xattr_list *guestfs_getxattrs (guestfs_h *g,\n"
6919 "\t\tconst char *path);\n"
6920 "\n"
6921 msgstr ""
6922
6923 # type: textblock
6924 #: ../src/guestfs-actions.pod:1737 ../fish/guestfish-actions.pod:1388
6925 msgid ""
6926 "This call lists the extended attributes of the file or directory C<path>."
6927 msgstr ""
6928
6929 # type: textblock
6930 #: ../src/guestfs-actions.pod:1740 ../fish/guestfish-actions.pod:1391
6931 msgid ""
6932 "At the system call level, this is a combination of the L<listxattr(2)> and "
6933 "L<getxattr(2)> calls."
6934 msgstr ""
6935
6936 # type: textblock
6937 #: ../src/guestfs-actions.pod:1743
6938 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
6939 msgstr ""
6940
6941 # type: textblock
6942 #: ../src/guestfs-actions.pod:1745 ../src/guestfs-actions.pod:2479
6943 #: ../src/guestfs-actions.pod:3017
6944 msgid ""
6945 "This function returns a C<struct guestfs_xattr_list *> (see E<lt>guestfs-"
6946 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
6947 "C<guestfs_free_xattr_list> after use>."
6948 msgstr ""
6949
6950 # type: =head2
6951 #: ../src/guestfs-actions.pod:1750
6952 msgid "guestfs_glob_expand"
6953 msgstr ""
6954
6955 # type: verbatim
6956 #: ../src/guestfs-actions.pod:1752
6957 #, no-wrap
6958 msgid ""
6959 " char **guestfs_glob_expand (guestfs_h *g,\n"
6960 "\t\tconst char *pattern);\n"
6961 "\n"
6962 msgstr ""
6963
6964 # type: textblock
6965 #: ../src/guestfs-actions.pod:1755 ../fish/guestfish-actions.pod:1400
6966 msgid ""
6967 "This command searches for all the pathnames matching C<pattern> according to "
6968 "the wildcard expansion rules used by the shell."
6969 msgstr ""
6970
6971 # type: textblock
6972 #: ../src/guestfs-actions.pod:1759 ../fish/guestfish-actions.pod:1404
6973 msgid ""
6974 "If no paths match, then this returns an empty list (note: not an error)."
6975 msgstr ""
6976
6977 # type: textblock
6978 #: ../src/guestfs-actions.pod:1762 ../fish/guestfish-actions.pod:1407
6979 msgid ""
6980 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
6981 "GLOB_BRACE>.  See that manual page for more details."
6982 msgstr ""
6983
6984 # type: =head2
6985 #: ../src/guestfs-actions.pod:1770
6986 msgid "guestfs_grep"
6987 msgstr ""
6988
6989 # type: verbatim
6990 #: ../src/guestfs-actions.pod:1772
6991 #, no-wrap
6992 msgid ""
6993 " char **guestfs_grep (guestfs_h *g,\n"
6994 "\t\tconst char *regex,\n"
6995 "\t\tconst char *path);\n"
6996 "\n"
6997 msgstr ""
6998
6999 # type: textblock
7000 #: ../src/guestfs-actions.pod:1776 ../fish/guestfish-actions.pod:1415
7001 msgid "This calls the external C<grep> program and returns the matching lines."
7002 msgstr ""
7003
7004 # type: =head2
7005 #: ../src/guestfs-actions.pod:1786
7006 msgid "guestfs_grepi"
7007 msgstr ""
7008
7009 # type: verbatim
7010 #: ../src/guestfs-actions.pod:1788
7011 #, no-wrap
7012 msgid ""
7013 " char **guestfs_grepi (guestfs_h *g,\n"
7014 "\t\tconst char *regex,\n"
7015 "\t\tconst char *path);\n"
7016 "\n"
7017 msgstr ""
7018
7019 # type: textblock
7020 #: ../src/guestfs-actions.pod:1792 ../fish/guestfish-actions.pod:1425
7021 msgid ""
7022 "This calls the external C<grep -i> program and returns the matching lines."
7023 msgstr ""
7024
7025 # type: =head2
7026 #: ../src/guestfs-actions.pod:1802
7027 msgid "guestfs_grub_install"
7028 msgstr ""
7029
7030 # type: verbatim
7031 #: ../src/guestfs-actions.pod:1804
7032 #, no-wrap
7033 msgid ""
7034 " int guestfs_grub_install (guestfs_h *g,\n"
7035 "\t\tconst char *root,\n"
7036 "\t\tconst char *device);\n"
7037 "\n"
7038 msgstr ""
7039
7040 # type: textblock
7041 #: ../src/guestfs-actions.pod:1808 ../fish/guestfish-actions.pod:1435
7042 msgid ""
7043 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
7044 "the root directory being C<root>."
7045 msgstr ""
7046
7047 # type: textblock
7048 #: ../src/guestfs-actions.pod:1811 ../fish/guestfish-actions.pod:1438
7049 msgid ""
7050 "Note: If grub-install reports the error \"No suitable drive was found in the "
7051 "generated device map.\" it may be that you need to create a C</boot/grub/"
7052 "device.map> file first that contains the mapping between grub device names "
7053 "and Linux device names.  It is usually sufficient to create a file "
7054 "containing:"
7055 msgstr ""
7056
7057 # type: verbatim
7058 #: ../src/guestfs-actions.pod:1818 ../fish/guestfish-actions.pod:1445
7059 #, no-wrap
7060 msgid ""
7061 " (hd0) /dev/vda\n"
7062 "\n"
7063 msgstr ""
7064
7065 # type: textblock
7066 #: ../src/guestfs-actions.pod:1820 ../fish/guestfish-actions.pod:1447
7067 msgid "replacing C</dev/vda> with the name of the installation device."
7068 msgstr ""
7069
7070 # type: =head2
7071 #: ../src/guestfs-actions.pod:1824
7072 msgid "guestfs_head"
7073 msgstr ""
7074
7075 # type: verbatim
7076 #: ../src/guestfs-actions.pod:1826
7077 #, no-wrap
7078 msgid ""
7079 " char **guestfs_head (guestfs_h *g,\n"
7080 "\t\tconst char *path);\n"
7081 "\n"
7082 msgstr ""
7083
7084 # type: textblock
7085 #: ../src/guestfs-actions.pod:1829 ../fish/guestfish-actions.pod:1453
7086 msgid ""
7087 "This command returns up to the first 10 lines of a file as a list of strings."
7088 msgstr ""
7089
7090 # type: =head2
7091 #: ../src/guestfs-actions.pod:1839
7092 msgid "guestfs_head_n"
7093 msgstr ""
7094
7095 # type: verbatim
7096 #: ../src/guestfs-actions.pod:1841
7097 #, no-wrap
7098 msgid ""
7099 " char **guestfs_head_n (guestfs_h *g,\n"
7100 "\t\tint nrlines,\n"
7101 "\t\tconst char *path);\n"
7102 "\n"
7103 msgstr ""
7104
7105 # type: textblock
7106 #: ../src/guestfs-actions.pod:1845 ../fish/guestfish-actions.pod:1463
7107 msgid ""
7108 "If the parameter C<nrlines> is a positive number, this returns the first "
7109 "C<nrlines> lines of the file C<path>."
7110 msgstr ""
7111
7112 # type: textblock
7113 #: ../src/guestfs-actions.pod:1848 ../fish/guestfish-actions.pod:1466
7114 msgid ""
7115 "If the parameter C<nrlines> is a negative number, this returns lines from "
7116 "the file C<path>, excluding the last C<nrlines> lines."
7117 msgstr ""
7118
7119 # type: textblock
7120 #: ../src/guestfs-actions.pod:1851 ../src/guestfs-actions.pod:4896
7121 #: ../fish/guestfish-actions.pod:1469 ../fish/guestfish-actions.pod:3805
7122 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
7123 msgstr ""
7124
7125 # type: =head2
7126 #: ../src/guestfs-actions.pod:1860
7127 msgid "guestfs_hexdump"
7128 msgstr ""
7129
7130 # type: verbatim
7131 #: ../src/guestfs-actions.pod:1862
7132 #, no-wrap
7133 msgid ""
7134 " char *guestfs_hexdump (guestfs_h *g,\n"
7135 "\t\tconst char *path);\n"
7136 "\n"
7137 msgstr ""
7138
7139 # type: textblock
7140 #: ../src/guestfs-actions.pod:1865 ../fish/guestfish-actions.pod:1478
7141 msgid ""
7142 "This runs C<hexdump -C> on the given C<path>.  The result is the human-"
7143 "readable, canonical hex dump of the file."
7144 msgstr ""
7145
7146 # type: =head2
7147 #: ../src/guestfs-actions.pod:1874
7148 msgid "guestfs_initrd_cat"
7149 msgstr ""
7150
7151 # type: verbatim
7152 #: ../src/guestfs-actions.pod:1876
7153 #, no-wrap
7154 msgid ""
7155 " char *guestfs_initrd_cat (guestfs_h *g,\n"
7156 "\t\tconst char *initrdpath,\n"
7157 "\t\tconst char *filename,\n"
7158 "\t\tsize_t *size_r);\n"
7159 "\n"
7160 msgstr ""
7161
7162 # type: textblock
7163 #: ../src/guestfs-actions.pod:1881 ../fish/guestfish-actions.pod:1488
7164 msgid ""
7165 "This command unpacks the file C<filename> from the initrd file called "
7166 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
7167 "character."
7168 msgstr ""
7169
7170 # type: textblock
7171 #: ../src/guestfs-actions.pod:1885 ../fish/guestfish-actions.pod:1492
7172 msgid ""
7173 "For example, in guestfish you could use the following command to examine the "
7174 "boot script (usually called C</init>)  contained in a Linux initrd or "
7175 "initramfs image:"
7176 msgstr ""
7177
7178 # type: verbatim
7179 #: ../src/guestfs-actions.pod:1889 ../fish/guestfish-actions.pod:1496
7180 #, no-wrap
7181 msgid ""
7182 " initrd-cat /boot/initrd-<version>.img init\n"
7183 "\n"
7184 msgstr ""
7185
7186 # type: textblock
7187 #: ../src/guestfs-actions.pod:1891
7188 msgid "See also C<guestfs_initrd_list>."
7189 msgstr ""
7190
7191 # type: textblock
7192 #: ../src/guestfs-actions.pod:1893 ../src/guestfs-actions.pod:3831
7193 #: ../src/guestfs-actions.pod:3983
7194 msgid ""
7195 "This function returns a buffer, or NULL on error.  The size of the returned "
7196 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
7197 "after use>."
7198 msgstr ""
7199
7200 # type: =head2
7201 #: ../src/guestfs-actions.pod:1900
7202 msgid "guestfs_initrd_list"
7203 msgstr ""
7204
7205 # type: verbatim
7206 #: ../src/guestfs-actions.pod:1902
7207 #, no-wrap
7208 msgid ""
7209 " char **guestfs_initrd_list (guestfs_h *g,\n"
7210 "\t\tconst char *path);\n"
7211 "\n"
7212 msgstr ""
7213
7214 # type: textblock
7215 #: ../src/guestfs-actions.pod:1905 ../fish/guestfish-actions.pod:1507
7216 msgid "This command lists out files contained in an initrd."
7217 msgstr ""
7218
7219 # type: textblock
7220 #: ../src/guestfs-actions.pod:1907 ../fish/guestfish-actions.pod:1509
7221 msgid ""
7222 "The files are listed without any initial C</> character.  The files are "
7223 "listed in the order they appear (not necessarily alphabetical).  Directory "
7224 "names are listed as separate items."
7225 msgstr ""
7226
7227 # type: textblock
7228 #: ../src/guestfs-actions.pod:1911 ../fish/guestfish-actions.pod:1513
7229 msgid ""
7230 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
7231 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
7232 "files)."
7233 msgstr ""
7234
7235 # type: =head2
7236 #: ../src/guestfs-actions.pod:1919
7237 msgid "guestfs_inotify_add_watch"
7238 msgstr ""
7239
7240 # type: verbatim
7241 #: ../src/guestfs-actions.pod:1921
7242 #, no-wrap
7243 msgid ""
7244 " int64_t guestfs_inotify_add_watch (guestfs_h *g,\n"
7245 "\t\tconst char *path,\n"
7246 "\t\tint mask);\n"
7247 "\n"
7248 msgstr ""
7249
7250 # type: textblock
7251 #: ../src/guestfs-actions.pod:1925 ../fish/guestfish-actions.pod:1521
7252 msgid "Watch C<path> for the events listed in C<mask>."
7253 msgstr ""
7254
7255 # type: textblock
7256 #: ../src/guestfs-actions.pod:1927 ../fish/guestfish-actions.pod:1523
7257 msgid ""
7258 "Note that if C<path> is a directory then events within that directory are "
7259 "watched, but this does I<not> happen recursively (in subdirectories)."
7260 msgstr ""
7261
7262 # type: textblock
7263 #: ../src/guestfs-actions.pod:1931 ../fish/guestfish-actions.pod:1527
7264 msgid ""
7265 "Note for non-C or non-Linux callers: the inotify events are defined by the "
7266 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
7267 msgstr ""
7268
7269 # type: =head2
7270 #: ../src/guestfs-actions.pod:1937
7271 msgid "guestfs_inotify_close"
7272 msgstr ""
7273
7274 # type: verbatim
7275 #: ../src/guestfs-actions.pod:1939
7276 #, no-wrap
7277 msgid ""
7278 " int guestfs_inotify_close (guestfs_h *g);\n"
7279 "\n"
7280 msgstr ""
7281
7282 # type: textblock
7283 #: ../src/guestfs-actions.pod:1941 ../fish/guestfish-actions.pod:1535
7284 msgid ""
7285 "This closes the inotify handle which was previously opened by inotify_init.  "
7286 "It removes all watches, throws away any pending events, and deallocates all "
7287 "resources."
7288 msgstr ""
7289
7290 # type: =head2
7291 #: ../src/guestfs-actions.pod:1947
7292 msgid "guestfs_inotify_files"
7293 msgstr ""
7294
7295 # type: verbatim
7296 #: ../src/guestfs-actions.pod:1949
7297 #, no-wrap
7298 msgid ""
7299 " char **guestfs_inotify_files (guestfs_h *g);\n"
7300 "\n"
7301 msgstr ""
7302
7303 # type: textblock
7304 #: ../src/guestfs-actions.pod:1951
7305 msgid ""
7306 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
7307 "returns a list of pathnames of objects that were touched.  The returned "
7308 "pathnames are sorted and deduplicated."
7309 msgstr ""
7310
7311 # type: =head2
7312 #: ../src/guestfs-actions.pod:1959
7313 msgid "guestfs_inotify_init"
7314 msgstr ""
7315
7316 # type: verbatim
7317 #: ../src/guestfs-actions.pod:1961
7318 #, no-wrap
7319 msgid ""
7320 " int guestfs_inotify_init (guestfs_h *g,\n"
7321 "\t\tint maxevents);\n"
7322 "\n"
7323 msgstr ""
7324
7325 # type: textblock
7326 #: ../src/guestfs-actions.pod:1964 ../fish/guestfish-actions.pod:1551
7327 msgid ""
7328 "This command creates a new inotify handle.  The inotify subsystem can be "
7329 "used to notify events which happen to objects in the guest filesystem."
7330 msgstr ""
7331
7332 # type: textblock
7333 #: ../src/guestfs-actions.pod:1968
7334 msgid ""
7335 "C<maxevents> is the maximum number of events which will be queued up between "
7336 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
7337 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
7338 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
7339 "throws away events, but records the fact that it threw them away by setting "
7340 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
7341 "C<guestfs_inotify_read>)."
7342 msgstr ""
7343
7344 # type: textblock
7345 #: ../src/guestfs-actions.pod:1978
7346 msgid ""
7347 "Before any events are generated, you have to add some watches to the "
7348 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
7349 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
7350 msgstr ""
7351
7352 # type: textblock
7353 #: ../src/guestfs-actions.pod:1984
7354 msgid ""
7355 "Queued up events should be read periodically by calling "
7356 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
7357 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
7358 "often enough then you risk the internal queue overflowing."
7359 msgstr ""
7360
7361 # type: textblock
7362 #: ../src/guestfs-actions.pod:1991
7363 msgid ""
7364 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
7365 "This also removes any watches automatically."
7366 msgstr ""
7367
7368 # type: textblock
7369 #: ../src/guestfs-actions.pod:1995 ../fish/guestfish-actions.pod:1582
7370 msgid ""
7371 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
7372 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
7373 "that there is one global inotify handle per libguestfs instance."
7374 msgstr ""
7375
7376 # type: =head2
7377 #: ../src/guestfs-actions.pod:2002
7378 msgid "guestfs_inotify_read"
7379 msgstr ""
7380
7381 # type: verbatim
7382 #: ../src/guestfs-actions.pod:2004
7383 #, no-wrap
7384 msgid ""
7385 " struct guestfs_inotify_event_list *guestfs_inotify_read (guestfs_h *g);\n"
7386 "\n"
7387 msgstr ""
7388
7389 # type: textblock
7390 #: ../src/guestfs-actions.pod:2006 ../fish/guestfish-actions.pod:1591
7391 msgid ""
7392 "Return the complete queue of events that have happened since the previous "
7393 "read call."
7394 msgstr ""
7395
7396 # type: textblock
7397 #: ../src/guestfs-actions.pod:2009 ../fish/guestfish-actions.pod:1594
7398 msgid "If no events have happened, this returns an empty list."
7399 msgstr ""
7400
7401 # type: textblock
7402 #: ../src/guestfs-actions.pod:2011 ../fish/guestfish-actions.pod:1596
7403 msgid ""
7404 "I<Note>: In order to make sure that all events have been read, you must call "
7405 "this function repeatedly until it returns an empty list.  The reason is that "
7406 "the call will read events up to the maximum appliance-to-host message size "
7407 "and leave remaining events in the queue."
7408 msgstr ""
7409
7410 # type: textblock
7411 #: ../src/guestfs-actions.pod:2017
7412 msgid ""
7413 "This function returns a C<struct guestfs_inotify_event_list *> (see "
7414 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7415 "must call C<guestfs_free_inotify_event_list> after use>."
7416 msgstr ""
7417
7418 # type: =head2
7419 #: ../src/guestfs-actions.pod:2022
7420 msgid "guestfs_inotify_rm_watch"
7421 msgstr ""
7422
7423 # type: verbatim
7424 #: ../src/guestfs-actions.pod:2024
7425 #, no-wrap
7426 msgid ""
7427 " int guestfs_inotify_rm_watch (guestfs_h *g,\n"
7428 "\t\tint wd);\n"
7429 "\n"
7430 msgstr ""
7431
7432 # type: textblock
7433 #: ../src/guestfs-actions.pod:2027
7434 msgid ""
7435 "Remove a previously defined inotify watch.  See C<guestfs_inotify_add_watch>."
7436 msgstr ""
7437
7438 # type: =head2
7439 #: ../src/guestfs-actions.pod:2032
7440 msgid "guestfs_inspect_get_arch"
7441 msgstr ""
7442
7443 # type: verbatim
7444 #: ../src/guestfs-actions.pod:2034
7445 #, no-wrap
7446 msgid ""
7447 " char *guestfs_inspect_get_arch (guestfs_h *g,\n"
7448 "\t\tconst char *root);\n"
7449 "\n"
7450 msgstr ""
7451
7452 # type: textblock
7453 #: ../src/guestfs-actions.pod:2037 ../src/guestfs-actions.pod:2057
7454 #: ../src/guestfs-actions.pod:2107 ../src/guestfs-actions.pod:2130
7455 #: ../src/guestfs-actions.pod:2154 ../src/guestfs-actions.pod:2172
7456 #: ../src/guestfs-actions.pod:2202 ../src/guestfs-actions.pod:2223
7457 msgid ""
7458 "This function should only be called with a root device string as returned by "
7459 "C<guestfs_inspect_os>."
7460 msgstr ""
7461
7462 # type: textblock
7463 #: ../src/guestfs-actions.pod:2040
7464 msgid ""
7465 "This returns the architecture of the inspected operating system.  The "
7466 "possible return values are listed under C<guestfs_file_architecture>."
7467 msgstr ""
7468
7469 # type: textblock
7470 #: ../src/guestfs-actions.pod:2044 ../fish/guestfish-actions.pod:1620
7471 msgid ""
7472 "If the architecture could not be determined, then the string C<unknown> is "
7473 "returned."
7474 msgstr ""
7475
7476 # type: textblock
7477 #: ../src/guestfs-actions.pod:2047 ../src/guestfs-actions.pod:2097
7478 #: ../src/guestfs-actions.pod:2145 ../src/guestfs-actions.pod:2213
7479 #: ../src/guestfs-actions.pod:2248 ../src/guestfs-actions.pod:2285
7480 #: ../fish/guestfish-actions.pod:1623 ../fish/guestfish-actions.pod:1669
7481 #: ../fish/guestfish-actions.pod:1708 ../fish/guestfish-actions.pod:1763
7482 #: ../fish/guestfish-actions.pod:1794 ../fish/guestfish-actions.pod:1828
7483 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
7484 msgstr ""
7485
7486 # type: =head2
7487 #: ../src/guestfs-actions.pod:2052
7488 msgid "guestfs_inspect_get_distro"
7489 msgstr ""
7490
7491 # type: verbatim
7492 #: ../src/guestfs-actions.pod:2054
7493 #, no-wrap
7494 msgid ""
7495 " char *guestfs_inspect_get_distro (guestfs_h *g,\n"
7496 "\t\tconst char *root);\n"
7497 "\n"
7498 msgstr ""
7499
7500 # type: textblock
7501 #: ../src/guestfs-actions.pod:2060 ../fish/guestfish-actions.pod:1632
7502 msgid ""
7503 "This returns the distro (distribution) of the inspected operating system."
7504 msgstr ""
7505
7506 # type: textblock
7507 #: ../src/guestfs-actions.pod:2063 ../fish/guestfish-actions.pod:1635
7508 msgid "Currently defined distros are:"
7509 msgstr ""
7510
7511 # type: =item
7512 #: ../src/guestfs-actions.pod:2067 ../fish/guestfish-actions.pod:1639
7513 msgid "\"debian\""
7514 msgstr ""
7515
7516 # type: textblock
7517 #: ../src/guestfs-actions.pod:2069 ../fish/guestfish-actions.pod:1641
7518 msgid "Debian or a Debian-derived distro such as Ubuntu."
7519 msgstr ""
7520
7521 # type: =item
7522 #: ../src/guestfs-actions.pod:2071 ../fish/guestfish-actions.pod:1643
7523 msgid "\"fedora\""
7524 msgstr ""
7525
7526 # type: textblock
7527 #: ../src/guestfs-actions.pod:2073 ../fish/guestfish-actions.pod:1645
7528 msgid "Fedora."
7529 msgstr ""
7530
7531 # type: =item
7532 #: ../src/guestfs-actions.pod:2075 ../fish/guestfish-actions.pod:1647
7533 msgid "\"redhat-based\""
7534 msgstr ""
7535
7536 # type: textblock
7537 #: ../src/guestfs-actions.pod:2077 ../fish/guestfish-actions.pod:1649
7538 msgid "Some Red Hat-derived distro."
7539 msgstr ""
7540
7541 # type: =item
7542 #: ../src/guestfs-actions.pod:2079 ../fish/guestfish-actions.pod:1651
7543 msgid "\"rhel\""
7544 msgstr ""
7545
7546 # type: textblock
7547 #: ../src/guestfs-actions.pod:2081 ../fish/guestfish-actions.pod:1653
7548 msgid "Red Hat Enterprise Linux and some derivatives."
7549 msgstr ""
7550
7551 # type: =item
7552 #: ../src/guestfs-actions.pod:2083 ../src/guestfs-actions.pod:2235
7553 #: ../fish/guestfish-actions.pod:1655 ../fish/guestfish-actions.pod:1781
7554 msgid "\"windows\""
7555 msgstr ""
7556
7557 # type: textblock
7558 #: ../src/guestfs-actions.pod:2085 ../fish/guestfish-actions.pod:1657
7559 msgid ""
7560 "Windows does not have distributions.  This string is returned if the OS type "
7561 "is Windows."
7562 msgstr ""
7563
7564 # type: =item
7565 #: ../src/guestfs-actions.pod:2088 ../src/guestfs-actions.pod:2239
7566 #: ../fish/guestfish-actions.pod:1660 ../fish/guestfish-actions.pod:1785
7567 msgid "\"unknown\""
7568 msgstr ""
7569
7570 # type: textblock
7571 #: ../src/guestfs-actions.pod:2090 ../fish/guestfish-actions.pod:1662
7572 msgid "The distro could not be determined."
7573 msgstr ""
7574
7575 # type: textblock
7576 #: ../src/guestfs-actions.pod:2094 ../src/guestfs-actions.pod:2245
7577 #: ../fish/guestfish-actions.pod:1666 ../fish/guestfish-actions.pod:1791
7578 msgid ""
7579 "Future versions of libguestfs may return other strings here.  The caller "
7580 "should be prepared to handle any string."
7581 msgstr ""
7582
7583 # type: =head2
7584 #: ../src/guestfs-actions.pod:2102
7585 msgid "guestfs_inspect_get_filesystems"
7586 msgstr ""
7587
7588 # type: verbatim
7589 #: ../src/guestfs-actions.pod:2104
7590 #, no-wrap
7591 msgid ""
7592 " char **guestfs_inspect_get_filesystems (guestfs_h *g,\n"
7593 "\t\tconst char *root);\n"
7594 "\n"
7595 msgstr ""
7596
7597 # type: textblock
7598 #: ../src/guestfs-actions.pod:2110 ../fish/guestfish-actions.pod:1678
7599 msgid ""
7600 "This returns a list of all the filesystems that we think are associated with "
7601 "this operating system.  This includes the root filesystem, other ordinary "
7602 "filesystems, and non-mounted devices like swap partitions."
7603 msgstr ""
7604
7605 # type: textblock
7606 #: ../src/guestfs-actions.pod:2115 ../fish/guestfish-actions.pod:1683
7607 msgid ""
7608 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
7609 "to be shared between operating systems."
7610 msgstr ""
7611
7612 # type: textblock
7613 #: ../src/guestfs-actions.pod:2118
7614 msgid ""
7615 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7616 "C<guestfs_inspect_get_mountpoints>."
7617 msgstr ""
7618
7619 # type: =head2
7620 #: ../src/guestfs-actions.pod:2125
7621 msgid "guestfs_inspect_get_major_version"
7622 msgstr ""
7623
7624 # type: verbatim
7625 #: ../src/guestfs-actions.pod:2127
7626 #, no-wrap
7627 msgid ""
7628 " int guestfs_inspect_get_major_version (guestfs_h *g,\n"
7629 "\t\tconst char *root);\n"
7630 "\n"
7631 msgstr ""
7632
7633 # type: textblock
7634 #: ../src/guestfs-actions.pod:2133 ../fish/guestfish-actions.pod:1696
7635 msgid ""
7636 "This returns the major version number of the inspected operating system."
7637 msgstr ""
7638
7639 # type: textblock
7640 #: ../src/guestfs-actions.pod:2136 ../fish/guestfish-actions.pod:1699
7641 msgid ""
7642 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
7643 "popular public names used by the operating system.  Notably the operating "
7644 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
7645 "1).  You can find out the real versions corresponding to releases of Windows "
7646 "by consulting Wikipedia or MSDN."
7647 msgstr ""
7648
7649 # type: textblock
7650 #: ../src/guestfs-actions.pod:2143 ../src/guestfs-actions.pod:2160
7651 #: ../fish/guestfish-actions.pod:1706 ../fish/guestfish-actions.pod:1720
7652 msgid "If the version could not be determined, then C<0> is returned."
7653 msgstr ""
7654
7655 # type: =head2
7656 #: ../src/guestfs-actions.pod:2149
7657 msgid "guestfs_inspect_get_minor_version"
7658 msgstr ""
7659
7660 # type: verbatim
7661 #: ../src/guestfs-actions.pod:2151
7662 #, no-wrap
7663 msgid ""
7664 " int guestfs_inspect_get_minor_version (guestfs_h *g,\n"
7665 "\t\tconst char *root);\n"
7666 "\n"
7667 msgstr ""
7668
7669 # type: textblock
7670 #: ../src/guestfs-actions.pod:2157 ../fish/guestfish-actions.pod:1717
7671 msgid ""
7672 "This returns the minor version number of the inspected operating system."
7673 msgstr ""
7674
7675 # type: textblock
7676 #: ../src/guestfs-actions.pod:2162
7677 msgid ""
7678 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7679 "C<guestfs_inspect_get_major_version>."
7680 msgstr ""
7681
7682 # type: =head2
7683 #: ../src/guestfs-actions.pod:2167
7684 msgid "guestfs_inspect_get_mountpoints"
7685 msgstr ""
7686
7687 # type: verbatim
7688 #: ../src/guestfs-actions.pod:2169
7689 #, no-wrap
7690 msgid ""
7691 " char **guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
7692 "\t\tconst char *root);\n"
7693 "\n"
7694 msgstr ""
7695
7696 # type: textblock
7697 #: ../src/guestfs-actions.pod:2175 ../fish/guestfish-actions.pod:1732
7698 msgid ""
7699 "This returns a hash of where we think the filesystems associated with this "
7700 "operating system should be mounted.  Callers should note that this is at "
7701 "best an educated guess made by reading configuration files such as C</etc/"
7702 "fstab>."
7703 msgstr ""
7704
7705 # type: textblock
7706 #: ../src/guestfs-actions.pod:2180 ../fish/guestfish-actions.pod:1737
7707 msgid ""
7708 "Each element in the returned hashtable has a key which is the path of the "
7709 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
7710 "mounted there (eg. C</dev/sda1>)."
7711 msgstr ""
7712
7713 # type: textblock
7714 #: ../src/guestfs-actions.pod:2185 ../fish/guestfish-actions.pod:1742
7715 msgid ""
7716 "Non-mounted devices such as swap devices are I<not> returned in this list."
7717 msgstr ""
7718
7719 # type: textblock
7720 #: ../src/guestfs-actions.pod:2188
7721 msgid ""
7722 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7723 "C<guestfs_inspect_get_filesystems>."
7724 msgstr ""
7725
7726 # type: textblock
7727 #: ../src/guestfs-actions.pod:2191 ../src/guestfs-actions.pod:2531
7728 #: ../src/guestfs-actions.pod:3453 ../src/guestfs-actions.pod:5013
7729 msgid ""
7730 "This function returns a NULL-terminated array of strings, or NULL if there "
7731 "was an error.  The array of strings will always have length C<2n+1>, where "
7732 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
7733 "caller must free the strings and the array after use>."
7734 msgstr ""
7735
7736 # type: =head2
7737 #: ../src/guestfs-actions.pod:2197
7738 msgid "guestfs_inspect_get_product_name"
7739 msgstr ""
7740
7741 # type: verbatim
7742 #: ../src/guestfs-actions.pod:2199
7743 #, no-wrap
7744 msgid ""
7745 " char *guestfs_inspect_get_product_name (guestfs_h *g,\n"
7746 "\t\tconst char *root);\n"
7747 "\n"
7748 msgstr ""
7749
7750 # type: textblock
7751 #: ../src/guestfs-actions.pod:2205 ../fish/guestfish-actions.pod:1755
7752 msgid ""
7753 "This returns the product name of the inspected operating system.  The "
7754 "product name is generally some freeform string which can be displayed to the "
7755 "user, but should not be parsed by programs."
7756 msgstr ""
7757
7758 # type: textblock
7759 #: ../src/guestfs-actions.pod:2210 ../fish/guestfish-actions.pod:1760
7760 msgid ""
7761 "If the product name could not be determined, then the string C<unknown> is "
7762 "returned."
7763 msgstr ""
7764
7765 # type: =head2
7766 #: ../src/guestfs-actions.pod:2218
7767 msgid "guestfs_inspect_get_type"
7768 msgstr ""
7769
7770 # type: verbatim
7771 #: ../src/guestfs-actions.pod:2220
7772 #, no-wrap
7773 msgid ""
7774 " char *guestfs_inspect_get_type (guestfs_h *g,\n"
7775 "\t\tconst char *root);\n"
7776 "\n"
7777 msgstr ""
7778
7779 # type: textblock
7780 #: ../src/guestfs-actions.pod:2226 ../fish/guestfish-actions.pod:1772
7781 msgid ""
7782 "This returns the type of the inspected operating system.  Currently defined "
7783 "types are:"
7784 msgstr ""
7785
7786 # type: =item
7787 #: ../src/guestfs-actions.pod:2231 ../fish/guestfish-actions.pod:1777
7788 msgid "\"linux\""
7789 msgstr ""
7790
7791 # type: textblock
7792 #: ../src/guestfs-actions.pod:2233 ../fish/guestfish-actions.pod:1779
7793 msgid "Any Linux-based operating system."
7794 msgstr ""
7795
7796 # type: textblock
7797 #: ../src/guestfs-actions.pod:2237 ../fish/guestfish-actions.pod:1783
7798 msgid "Any Microsoft Windows operating system."
7799 msgstr ""
7800
7801 # type: textblock
7802 #: ../src/guestfs-actions.pod:2241 ../fish/guestfish-actions.pod:1787
7803 msgid "The operating system type could not be determined."
7804 msgstr ""
7805
7806 # type: =head2
7807 #: ../src/guestfs-actions.pod:2253
7808 msgid "guestfs_inspect_os"
7809 msgstr ""
7810
7811 # type: verbatim
7812 #: ../src/guestfs-actions.pod:2255
7813 #, no-wrap
7814 msgid ""
7815 " char **guestfs_inspect_os (guestfs_h *g);\n"
7816 "\n"
7817 msgstr ""
7818
7819 # type: textblock
7820 #: ../src/guestfs-actions.pod:2257 ../fish/guestfish-actions.pod:1800
7821 msgid ""
7822 "This function uses other libguestfs functions and certain heuristics to "
7823 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
7824 "for operating systems."
7825 msgstr ""
7826
7827 # type: textblock
7828 #: ../src/guestfs-actions.pod:2261 ../fish/guestfish-actions.pod:1804
7829 msgid "The list returned is empty if no operating systems were found."
7830 msgstr ""
7831
7832 # type: textblock
7833 #: ../src/guestfs-actions.pod:2263 ../fish/guestfish-actions.pod:1806
7834 msgid ""
7835 "If one operating system was found, then this returns a list with a single "
7836 "element, which is the name of the root filesystem of this operating system.  "
7837 "It is also possible for this function to return a list containing more than "
7838 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
7839 "element being the root filesystem of one of the operating systems."
7840 msgstr ""
7841
7842 # type: textblock
7843 #: ../src/guestfs-actions.pod:2270
7844 msgid ""
7845 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
7846 "functions in order to query further information about each operating system, "
7847 "such as the name and version."
7848 msgstr ""
7849
7850 # type: textblock
7851 #: ../src/guestfs-actions.pod:2275
7852 msgid ""
7853 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
7854 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
7855 "the contents.  This should be called with no disks currently mounted.  The "
7856 "function may also use Augeas, so any existing Augeas handle will be closed."
7857 msgstr ""
7858
7859 # type: textblock
7860 #: ../src/guestfs-actions.pod:2281 ../fish/guestfish-actions.pod:1824
7861 msgid ""
7862 "This function cannot decrypt encrypted disks.  The caller must do that first "
7863 "(supplying the necessary keys) if the disk is encrypted."
7864 msgstr ""
7865
7866 # type: textblock
7867 #: ../src/guestfs-actions.pod:2287 ../src/guestfs-actions.pod:2492
7868 #: ../src/guestfs-actions.pod:2548
7869 msgid "See also C<guestfs_list_filesystems>."
7870 msgstr ""
7871
7872 # type: =head2
7873 #: ../src/guestfs-actions.pod:2293
7874 msgid "guestfs_is_blockdev"
7875 msgstr ""
7876
7877 # type: verbatim
7878 #: ../src/guestfs-actions.pod:2295
7879 #, no-wrap
7880 msgid ""
7881 " int guestfs_is_blockdev (guestfs_h *g,\n"
7882 "\t\tconst char *path);\n"
7883 "\n"
7884 msgstr ""
7885
7886 # type: textblock
7887 #: ../src/guestfs-actions.pod:2298 ../fish/guestfish-actions.pod:1836
7888 msgid ""
7889 "This returns C<true> if and only if there is a block device with the given "
7890 "C<path> name."
7891 msgstr ""
7892
7893 # type: textblock
7894 #: ../src/guestfs-actions.pod:2301 ../src/guestfs-actions.pod:2324
7895 #: ../src/guestfs-actions.pod:2348 ../src/guestfs-actions.pod:2360
7896 #: ../src/guestfs-actions.pod:2373 ../src/guestfs-actions.pod:2417
7897 #: ../src/guestfs-actions.pod:2429
7898 msgid "See also C<guestfs_stat>."
7899 msgstr ""
7900
7901 # type: =head2
7902 #: ../src/guestfs-actions.pod:2305
7903 msgid "guestfs_is_busy"
7904 msgstr ""
7905
7906 # type: verbatim
7907 #: ../src/guestfs-actions.pod:2307
7908 #, no-wrap
7909 msgid ""
7910 " int guestfs_is_busy (guestfs_h *g);\n"
7911 "\n"
7912 msgstr ""
7913
7914 # type: textblock
7915 #: ../src/guestfs-actions.pod:2309 ../fish/guestfish-actions.pod:1845
7916 msgid ""
7917 "This returns true iff this handle is busy processing a command (in the "
7918 "C<BUSY> state)."
7919 msgstr ""
7920
7921 # type: =head2
7922 #: ../src/guestfs-actions.pod:2316
7923 msgid "guestfs_is_chardev"
7924 msgstr ""
7925
7926 # type: verbatim
7927 #: ../src/guestfs-actions.pod:2318
7928 #, no-wrap
7929 msgid ""
7930 " int guestfs_is_chardev (guestfs_h *g,\n"
7931 "\t\tconst char *path);\n"
7932 "\n"
7933 msgstr ""
7934
7935 # type: textblock
7936 #: ../src/guestfs-actions.pod:2321 ../fish/guestfish-actions.pod:1854
7937 msgid ""
7938 "This returns C<true> if and only if there is a character device with the "
7939 "given C<path> name."
7940 msgstr ""
7941
7942 # type: =head2
7943 #: ../src/guestfs-actions.pod:2328
7944 msgid "guestfs_is_config"
7945 msgstr ""
7946
7947 # type: verbatim
7948 #: ../src/guestfs-actions.pod:2330
7949 #, no-wrap
7950 msgid ""
7951 " int guestfs_is_config (guestfs_h *g);\n"
7952 "\n"
7953 msgstr ""
7954
7955 # type: textblock
7956 #: ../src/guestfs-actions.pod:2332 ../fish/guestfish-actions.pod:1863
7957 msgid ""
7958 "This returns true iff this handle is being configured (in the C<CONFIG> "
7959 "state)."
7960 msgstr ""
7961
7962 # type: =head2
7963 #: ../src/guestfs-actions.pod:2339
7964 msgid "guestfs_is_dir"
7965 msgstr ""
7966
7967 # type: verbatim
7968 #: ../src/guestfs-actions.pod:2341
7969 #, no-wrap
7970 msgid ""
7971 " int guestfs_is_dir (guestfs_h *g,\n"
7972 "\t\tconst char *path);\n"
7973 "\n"
7974 msgstr ""
7975
7976 # type: textblock
7977 #: ../src/guestfs-actions.pod:2344 ../fish/guestfish-actions.pod:1872
7978 msgid ""
7979 "This returns C<true> if and only if there is a directory with the given "
7980 "C<path> name.  Note that it returns false for other objects like files."
7981 msgstr ""
7982
7983 # type: =head2
7984 #: ../src/guestfs-actions.pod:2352
7985 msgid "guestfs_is_fifo"
7986 msgstr ""
7987
7988 # type: verbatim
7989 #: ../src/guestfs-actions.pod:2354
7990 #, no-wrap
7991 msgid ""
7992 " int guestfs_is_fifo (guestfs_h *g,\n"
7993 "\t\tconst char *path);\n"
7994 "\n"
7995 msgstr ""
7996
7997 # type: textblock
7998 #: ../src/guestfs-actions.pod:2357 ../fish/guestfish-actions.pod:1882
7999 msgid ""
8000 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
8001 "given C<path> name."
8002 msgstr ""
8003
8004 # type: =head2
8005 #: ../src/guestfs-actions.pod:2364
8006 msgid "guestfs_is_file"
8007 msgstr ""
8008
8009 # type: verbatim
8010 #: ../src/guestfs-actions.pod:2366
8011 #, no-wrap
8012 msgid ""
8013 " int guestfs_is_file (guestfs_h *g,\n"
8014 "\t\tconst char *path);\n"
8015 "\n"
8016 msgstr ""
8017
8018 # type: textblock
8019 #: ../src/guestfs-actions.pod:2369 ../fish/guestfish-actions.pod:1891
8020 msgid ""
8021 "This returns C<true> if and only if there is a regular file with the given "
8022 "C<path> name.  Note that it returns false for other objects like directories."
8023 msgstr ""
8024
8025 # type: =head2
8026 #: ../src/guestfs-actions.pod:2377
8027 msgid "guestfs_is_launching"
8028 msgstr ""
8029
8030 # type: verbatim
8031 #: ../src/guestfs-actions.pod:2379
8032 #, no-wrap
8033 msgid ""
8034 " int guestfs_is_launching (guestfs_h *g);\n"
8035 "\n"
8036 msgstr ""
8037
8038 # type: textblock
8039 #: ../src/guestfs-actions.pod:2381 ../fish/guestfish-actions.pod:1901
8040 msgid ""
8041 "This returns true iff this handle is launching the subprocess (in the "
8042 "C<LAUNCHING> state)."
8043 msgstr ""
8044
8045 # type: =head2
8046 #: ../src/guestfs-actions.pod:2388
8047 msgid "guestfs_is_lv"
8048 msgstr ""
8049
8050 # type: verbatim
8051 #: ../src/guestfs-actions.pod:2390
8052 #, no-wrap
8053 msgid ""
8054 " int guestfs_is_lv (guestfs_h *g,\n"
8055 "\t\tconst char *device);\n"
8056 "\n"
8057 msgstr ""
8058
8059 # type: textblock
8060 #: ../src/guestfs-actions.pod:2393 ../fish/guestfish-actions.pod:1910
8061 msgid ""
8062 "This command tests whether C<device> is a logical volume, and returns true "
8063 "iff this is the case."
8064 msgstr ""
8065
8066 # type: =head2
8067 #: ../src/guestfs-actions.pod:2398
8068 msgid "guestfs_is_ready"
8069 msgstr ""
8070
8071 # type: verbatim
8072 #: ../src/guestfs-actions.pod:2400
8073 #, no-wrap
8074 msgid ""
8075 " int guestfs_is_ready (guestfs_h *g);\n"
8076 "\n"
8077 msgstr ""
8078
8079 # type: textblock
8080 #: ../src/guestfs-actions.pod:2402 ../fish/guestfish-actions.pod:1917
8081 msgid ""
8082 "This returns true iff this handle is ready to accept commands (in the "
8083 "C<READY> state)."
8084 msgstr ""
8085
8086 # type: =head2
8087 #: ../src/guestfs-actions.pod:2409
8088 msgid "guestfs_is_socket"
8089 msgstr ""
8090
8091 # type: verbatim
8092 #: ../src/guestfs-actions.pod:2411
8093 #, no-wrap
8094 msgid ""
8095 " int guestfs_is_socket (guestfs_h *g,\n"
8096 "\t\tconst char *path);\n"
8097 "\n"
8098 msgstr ""
8099
8100 # type: textblock
8101 #: ../src/guestfs-actions.pod:2414 ../fish/guestfish-actions.pod:1926
8102 msgid ""
8103 "This returns C<true> if and only if there is a Unix domain socket with the "
8104 "given C<path> name."
8105 msgstr ""
8106
8107 # type: =head2
8108 #: ../src/guestfs-actions.pod:2421
8109 msgid "guestfs_is_symlink"
8110 msgstr ""
8111
8112 # type: verbatim
8113 #: ../src/guestfs-actions.pod:2423
8114 #, no-wrap
8115 msgid ""
8116 " int guestfs_is_symlink (guestfs_h *g,\n"
8117 "\t\tconst char *path);\n"
8118 "\n"
8119 msgstr ""
8120
8121 # type: textblock
8122 #: ../src/guestfs-actions.pod:2426 ../fish/guestfish-actions.pod:1935
8123 msgid ""
8124 "This returns C<true> if and only if there is a symbolic link with the given "
8125 "C<path> name."
8126 msgstr ""
8127
8128 # type: =head2
8129 #: ../src/guestfs-actions.pod:2433
8130 msgid "guestfs_kill_subprocess"
8131 msgstr ""
8132
8133 # type: verbatim
8134 #: ../src/guestfs-actions.pod:2435
8135 #, no-wrap
8136 msgid ""
8137 " int guestfs_kill_subprocess (guestfs_h *g);\n"
8138 "\n"
8139 msgstr ""
8140
8141 # type: textblock
8142 #: ../src/guestfs-actions.pod:2437 ../fish/guestfish-actions.pod:1944
8143 msgid "This kills the qemu subprocess.  You should never need to call this."
8144 msgstr ""
8145
8146 # type: =head2
8147 #: ../src/guestfs-actions.pod:2441
8148 msgid "guestfs_launch"
8149 msgstr ""
8150
8151 # type: verbatim
8152 #: ../src/guestfs-actions.pod:2443
8153 #, no-wrap
8154 msgid ""
8155 " int guestfs_launch (guestfs_h *g);\n"
8156 "\n"
8157 msgstr ""
8158
8159 # type: textblock
8160 #: ../src/guestfs-actions.pod:2445 ../fish/guestfish-actions.pod:1952
8161 msgid ""
8162 "Internally libguestfs is implemented by running a virtual machine using "
8163 "L<qemu(1)>."
8164 msgstr ""
8165
8166 # type: textblock
8167 #: ../src/guestfs-actions.pod:2448 ../fish/guestfish-actions.pod:1955
8168 msgid ""
8169 "You should call this after configuring the handle (eg. adding drives) but "
8170 "before performing any actions."
8171 msgstr ""
8172
8173 # type: =head2
8174 #: ../src/guestfs-actions.pod:2453
8175 msgid "guestfs_lchown"
8176 msgstr ""
8177
8178 # type: verbatim
8179 #: ../src/guestfs-actions.pod:2455
8180 #, no-wrap
8181 msgid ""
8182 " int guestfs_lchown (guestfs_h *g,\n"
8183 "\t\tint owner,\n"
8184 "\t\tint group,\n"
8185 "\t\tconst char *path);\n"
8186 "\n"
8187 msgstr ""
8188
8189 # type: textblock
8190 #: ../src/guestfs-actions.pod:2460
8191 msgid ""
8192 "Change the file owner to C<owner> and group to C<group>.  This is like "
8193 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
8194 "changed, not the target."
8195 msgstr ""
8196
8197 # type: =head2
8198 #: ../src/guestfs-actions.pod:2470
8199 msgid "guestfs_lgetxattrs"
8200 msgstr ""
8201
8202 # type: verbatim
8203 #: ../src/guestfs-actions.pod:2472
8204 #, no-wrap
8205 msgid ""
8206 " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n"
8207 "\t\tconst char *path);\n"
8208 "\n"
8209 msgstr ""
8210
8211 # type: textblock
8212 #: ../src/guestfs-actions.pod:2475
8213 msgid ""
8214 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
8215 "then it returns the extended attributes of the link itself."
8216 msgstr ""
8217
8218 # type: =head2
8219 #: ../src/guestfs-actions.pod:2484
8220 msgid "guestfs_list_devices"
8221 msgstr ""
8222
8223 # type: verbatim
8224 #: ../src/guestfs-actions.pod:2486
8225 #, no-wrap
8226 msgid ""
8227 " char **guestfs_list_devices (guestfs_h *g);\n"
8228 "\n"
8229 msgstr ""
8230
8231 # type: textblock
8232 #: ../src/guestfs-actions.pod:2488 ../fish/guestfish-actions.pod:1982
8233 msgid "List all the block devices."
8234 msgstr ""
8235
8236 # type: textblock
8237 #: ../src/guestfs-actions.pod:2490 ../fish/guestfish-actions.pod:1984
8238 msgid "The full block device names are returned, eg. C</dev/sda>."
8239 msgstr ""
8240
8241 # type: =head2
8242 #: ../src/guestfs-actions.pod:2498
8243 msgid "guestfs_list_filesystems"
8244 msgstr ""
8245
8246 # type: verbatim
8247 #: ../src/guestfs-actions.pod:2500
8248 #, no-wrap
8249 msgid ""
8250 " char **guestfs_list_filesystems (guestfs_h *g);\n"
8251 "\n"
8252 msgstr ""
8253
8254 # type: textblock
8255 #: ../src/guestfs-actions.pod:2502 ../fish/guestfish-actions.pod:1992
8256 msgid ""
8257 "This inspection command looks for filesystems on partitions, block devices "
8258 "and logical volumes, returning a list of devices containing filesystems and "
8259 "their type."
8260 msgstr ""
8261
8262 # type: textblock
8263 #: ../src/guestfs-actions.pod:2506 ../fish/guestfish-actions.pod:1996
8264 msgid ""
8265 "The return value is a hash, where the keys are the devices containing "
8266 "filesystems, and the values are the filesystem types.  For example:"
8267 msgstr ""
8268
8269 # type: verbatim
8270 #: ../src/guestfs-actions.pod:2510 ../fish/guestfish-actions.pod:2000
8271 #, no-wrap
8272 msgid ""
8273 " \"/dev/sda1\" => \"ntfs\"\n"
8274 " \"/dev/sda2\" => \"ext2\"\n"
8275 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
8276 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
8277 "\n"
8278 msgstr ""
8279
8280 # type: textblock
8281 #: ../src/guestfs-actions.pod:2515 ../fish/guestfish-actions.pod:2005
8282 msgid ""
8283 "The value can have the special value \"unknown\", meaning the content of the "
8284 "device is undetermined or empty.  \"swap\" means a Linux swap partition."
8285 msgstr ""
8286
8287 # type: textblock
8288 #: ../src/guestfs-actions.pod:2519
8289 msgid ""
8290 "This command runs other libguestfs commands, which might include "
8291 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
8292 "soon after launch and only when nothing is mounted."
8293 msgstr ""
8294
8295 # type: textblock
8296 #: ../src/guestfs-actions.pod:2523
8297 msgid ""
8298 "Not all of the filesystems returned will be mountable.  In particular, swap "
8299 "partitions are returned in the list.  Also this command does not check that "
8300 "each filesystem found is valid and mountable, and some filesystems might be "
8301 "mountable but require special options.  Filesystems may not all belong to a "
8302 "single logical operating system (use C<guestfs_inspect_os> to look for OSes)."
8303 msgstr ""
8304
8305 # type: =head2
8306 #: ../src/guestfs-actions.pod:2537
8307 msgid "guestfs_list_partitions"
8308 msgstr ""
8309
8310 # type: verbatim
8311 #: ../src/guestfs-actions.pod:2539
8312 #, no-wrap
8313 msgid ""
8314 " char **guestfs_list_partitions (guestfs_h *g);\n"
8315 "\n"
8316 msgstr ""
8317
8318 # type: textblock
8319 #: ../src/guestfs-actions.pod:2541 ../fish/guestfish-actions.pod:2025
8320 msgid "List all the partitions detected on all block devices."
8321 msgstr ""
8322
8323 # type: textblock
8324 #: ../src/guestfs-actions.pod:2543 ../fish/guestfish-actions.pod:2027
8325 msgid "The full partition device names are returned, eg. C</dev/sda1>"
8326 msgstr ""
8327
8328 # type: textblock
8329 #: ../src/guestfs-actions.pod:2545
8330 msgid ""
8331 "This does not return logical volumes.  For that you will need to call "
8332 "C<guestfs_lvs>."
8333 msgstr ""
8334
8335 # type: =head2
8336 #: ../src/guestfs-actions.pod:2554
8337 msgid "guestfs_ll"
8338 msgstr ""
8339
8340 # type: verbatim
8341 #: ../src/guestfs-actions.pod:2556
8342 #, no-wrap
8343 msgid ""
8344 " char *guestfs_ll (guestfs_h *g,\n"
8345 "\t\tconst char *directory);\n"
8346 "\n"
8347 msgstr ""
8348
8349 # type: textblock
8350 #: ../src/guestfs-actions.pod:2559 ../fish/guestfish-actions.pod:2038
8351 msgid ""
8352 "List the files in C<directory> (relative to the root directory, there is no "
8353 "cwd) in the format of 'ls -la'."
8354 msgstr ""
8355
8356 # type: textblock
8357 #: ../src/guestfs-actions.pod:2562 ../fish/guestfish-actions.pod:2041
8358 msgid ""
8359 "This command is mostly useful for interactive sessions.  It is I<not> "
8360 "intended that you try to parse the output string."
8361 msgstr ""
8362
8363 # type: =head2
8364 #: ../src/guestfs-actions.pod:2568
8365 msgid "guestfs_ln"
8366 msgstr ""
8367
8368 # type: verbatim
8369 #: ../src/guestfs-actions.pod:2570
8370 #, no-wrap
8371 msgid ""
8372 " int guestfs_ln (guestfs_h *g,\n"
8373 "\t\tconst char *target,\n"
8374 "\t\tconst char *linkname);\n"
8375 "\n"
8376 msgstr ""
8377
8378 # type: textblock
8379 #: ../src/guestfs-actions.pod:2574 ../fish/guestfish-actions.pod:2048
8380 msgid "This command creates a hard link using the C<ln> command."
8381 msgstr ""
8382
8383 # type: =head2
8384 #: ../src/guestfs-actions.pod:2578
8385 msgid "guestfs_ln_f"
8386 msgstr ""
8387
8388 # type: verbatim
8389 #: ../src/guestfs-actions.pod:2580
8390 #, no-wrap
8391 msgid ""
8392 " int guestfs_ln_f (guestfs_h *g,\n"
8393 "\t\tconst char *target,\n"
8394 "\t\tconst char *linkname);\n"
8395 "\n"
8396 msgstr ""
8397
8398 # type: textblock
8399 #: ../src/guestfs-actions.pod:2584 ../fish/guestfish-actions.pod:2054
8400 msgid ""
8401 "This command creates a hard link using the C<ln -f> command.  The C<-f> "
8402 "option removes the link (C<linkname>) if it exists already."
8403 msgstr ""
8404
8405 # type: =head2
8406 #: ../src/guestfs-actions.pod:2589
8407 msgid "guestfs_ln_s"
8408 msgstr ""
8409
8410 # type: verbatim
8411 #: ../src/guestfs-actions.pod:2591
8412 #, no-wrap
8413 msgid ""
8414 " int guestfs_ln_s (guestfs_h *g,\n"
8415 "\t\tconst char *target,\n"
8416 "\t\tconst char *linkname);\n"
8417 "\n"
8418 msgstr ""
8419
8420 # type: textblock
8421 #: ../src/guestfs-actions.pod:2595 ../fish/guestfish-actions.pod:2061
8422 msgid "This command creates a symbolic link using the C<ln -s> command."
8423 msgstr ""
8424
8425 # type: =head2
8426 #: ../src/guestfs-actions.pod:2599
8427 msgid "guestfs_ln_sf"
8428 msgstr ""
8429
8430 # type: verbatim
8431 #: ../src/guestfs-actions.pod:2601
8432 #, no-wrap
8433 msgid ""
8434 " int guestfs_ln_sf (guestfs_h *g,\n"
8435 "\t\tconst char *target,\n"
8436 "\t\tconst char *linkname);\n"
8437 "\n"
8438 msgstr ""
8439
8440 # type: textblock
8441 #: ../src/guestfs-actions.pod:2605 ../fish/guestfish-actions.pod:2067
8442 msgid ""
8443 "This command creates a symbolic link using the C<ln -sf> command, The C<-f> "
8444 "option removes the link (C<linkname>) if it exists already."
8445 msgstr ""
8446
8447 # type: =head2
8448 #: ../src/guestfs-actions.pod:2610
8449 msgid "guestfs_lremovexattr"
8450 msgstr ""
8451
8452 # type: verbatim
8453 #: ../src/guestfs-actions.pod:2612
8454 #, no-wrap
8455 msgid ""
8456 " int guestfs_lremovexattr (guestfs_h *g,\n"
8457 "\t\tconst char *xattr,\n"
8458 "\t\tconst char *path);\n"
8459 "\n"
8460 msgstr ""
8461
8462 # type: textblock
8463 #: ../src/guestfs-actions.pod:2616
8464 msgid ""
8465 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
8466 "link, then it removes an extended attribute of the link itself."
8467 msgstr ""
8468
8469 # type: =head2
8470 #: ../src/guestfs-actions.pod:2622
8471 msgid "guestfs_ls"
8472 msgstr ""
8473
8474 # type: verbatim
8475 #: ../src/guestfs-actions.pod:2624
8476 #, no-wrap
8477 msgid ""
8478 " char **guestfs_ls (guestfs_h *g,\n"
8479 "\t\tconst char *directory);\n"
8480 "\n"
8481 msgstr ""
8482
8483 # type: textblock
8484 #: ../src/guestfs-actions.pod:2627 ../fish/guestfish-actions.pod:2082
8485 msgid ""
8486 "List the files in C<directory> (relative to the root directory, there is no "
8487 "cwd).  The '.' and '..' entries are not returned, but hidden files are shown."
8488 msgstr ""
8489
8490 # type: textblock
8491 #: ../src/guestfs-actions.pod:2631
8492 msgid ""
8493 "This command is mostly useful for interactive sessions.  Programs should "
8494 "probably use C<guestfs_readdir> instead."
8495 msgstr ""
8496
8497 # type: =head2
8498 #: ../src/guestfs-actions.pod:2638
8499 msgid "guestfs_lsetxattr"
8500 msgstr ""
8501
8502 # type: verbatim
8503 #: ../src/guestfs-actions.pod:2640
8504 #, no-wrap
8505 msgid ""
8506 " int guestfs_lsetxattr (guestfs_h *g,\n"
8507 "\t\tconst char *xattr,\n"
8508 "\t\tconst char *val,\n"
8509 "\t\tint vallen,\n"
8510 "\t\tconst char *path);\n"
8511 "\n"
8512 msgstr ""
8513
8514 # type: textblock
8515 #: ../src/guestfs-actions.pod:2646
8516 msgid ""
8517 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
8518 "then it sets an extended attribute of the link itself."
8519 msgstr ""
8520
8521 # type: =head2
8522 #: ../src/guestfs-actions.pod:2652
8523 msgid "guestfs_lstat"
8524 msgstr ""
8525
8526 # type: verbatim
8527 #: ../src/guestfs-actions.pod:2654
8528 #, no-wrap
8529 msgid ""
8530 " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n"
8531 "\t\tconst char *path);\n"
8532 "\n"
8533 msgstr ""
8534
8535 # type: textblock
8536 #: ../src/guestfs-actions.pod:2657 ../src/guestfs-actions.pod:4678
8537 #: ../fish/guestfish-actions.pod:2101 ../fish/guestfish-actions.pod:3640
8538 msgid "Returns file information for the given C<path>."
8539 msgstr ""
8540
8541 # type: textblock
8542 #: ../src/guestfs-actions.pod:2659
8543 msgid ""
8544 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
8545 "link, then the link is stat-ed, not the file it refers to."
8546 msgstr ""
8547
8548 # type: textblock
8549 #: ../src/guestfs-actions.pod:2663 ../fish/guestfish-actions.pod:2107
8550 msgid "This is the same as the C<lstat(2)> system call."
8551 msgstr ""
8552
8553 # type: textblock
8554 #: ../src/guestfs-actions.pod:2665 ../src/guestfs-actions.pod:4682
8555 msgid ""
8556 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
8557 "error.  I<The caller must call C<guestfs_free_stat> after use>."
8558 msgstr ""
8559
8560 # type: =head2
8561 #: ../src/guestfs-actions.pod:2669
8562 msgid "guestfs_lstatlist"
8563 msgstr ""
8564
8565 # type: verbatim
8566 #: ../src/guestfs-actions.pod:2671
8567 #, no-wrap
8568 msgid ""
8569 " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n"
8570 "\t\tconst char *path,\n"
8571 "\t\tchar *const *names);\n"
8572 "\n"
8573 msgstr ""
8574
8575 # type: textblock
8576 #: ../src/guestfs-actions.pod:2675
8577 msgid ""
8578 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
8579 "files, where all files are in the directory C<path>.  C<names> is the list "
8580 "of files from this directory."
8581 msgstr ""
8582
8583 # type: textblock
8584 #: ../src/guestfs-actions.pod:2679 ../fish/guestfish-actions.pod:2117
8585 msgid ""
8586 "On return you get a list of stat structs, with a one-to-one correspondence "
8587 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
8588 "then the C<ino> field of that structure is set to C<-1>."
8589 msgstr ""
8590
8591 # type: textblock
8592 #: ../src/guestfs-actions.pod:2684
8593 msgid ""
8594 "This call is intended for programs that want to efficiently list a directory "
8595 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
8596 "for a similarly efficient call for getting extended attributes.  Very long "
8597 "directory listings might cause the protocol message size to be exceeded, "
8598 "causing this call to fail.  The caller must split up such requests into "
8599 "smaller groups of names."
8600 msgstr ""
8601
8602 # type: textblock
8603 #: ../src/guestfs-actions.pod:2692
8604 msgid ""
8605 "This function returns a C<struct guestfs_stat_list *> (see E<lt>guestfs-"
8606 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
8607 "C<guestfs_free_stat_list> after use>."
8608 msgstr ""
8609
8610 # type: =head2
8611 #: ../src/guestfs-actions.pod:2697
8612 msgid "guestfs_luks_add_key"
8613 msgstr ""
8614
8615 # type: verbatim
8616 #: ../src/guestfs-actions.pod:2699
8617 #, no-wrap
8618 msgid ""
8619 " int guestfs_luks_add_key (guestfs_h *g,\n"
8620 "\t\tconst char *device,\n"
8621 "\t\tconst char *key,\n"
8622 "\t\tconst char *newkey,\n"
8623 "\t\tint keyslot);\n"
8624 "\n"
8625 msgstr ""
8626
8627 # type: textblock
8628 #: ../src/guestfs-actions.pod:2705 ../fish/guestfish-actions.pod:2134
8629 msgid ""
8630 "This command adds a new key on LUKS device C<device>.  C<key> is any "
8631 "existing key, and is used to access the device.  C<newkey> is the new key to "
8632 "add.  C<keyslot> is the key slot that will be replaced."
8633 msgstr ""
8634
8635 # type: textblock
8636 #: ../src/guestfs-actions.pod:2710
8637 msgid ""
8638 "Note that if C<keyslot> already contains a key, then this command will "
8639 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
8640 msgstr ""
8641
8642 # type: textblock
8643 #: ../src/guestfs-actions.pod:2716 ../src/guestfs-actions.pod:2750
8644 #: ../src/guestfs-actions.pod:2770 ../src/guestfs-actions.pod:2787
8645 #: ../src/guestfs-actions.pod:2816 ../src/guestfs-actions.pod:2832
8646 msgid ""
8647 "This function takes a key or passphrase parameter which could contain "
8648 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
8649 "information."
8650 msgstr ""
8651
8652 # type: =head2
8653 #: ../src/guestfs-actions.pod:2720
8654 msgid "guestfs_luks_close"
8655 msgstr ""
8656
8657 # type: verbatim
8658 #: ../src/guestfs-actions.pod:2722
8659 #, no-wrap
8660 msgid ""
8661 " int guestfs_luks_close (guestfs_h *g,\n"
8662 "\t\tconst char *device);\n"
8663 "\n"
8664 msgstr ""
8665
8666 # type: textblock
8667 #: ../src/guestfs-actions.pod:2725
8668 msgid ""
8669 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
8670 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
8671 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
8672 "underlying block device."
8673 msgstr ""
8674
8675 # type: =head2
8676 #: ../src/guestfs-actions.pod:2733
8677 msgid "guestfs_luks_format"
8678 msgstr ""
8679
8680 # type: verbatim
8681 #: ../src/guestfs-actions.pod:2735
8682 #, no-wrap
8683 msgid ""
8684 " int guestfs_luks_format (guestfs_h *g,\n"
8685 "\t\tconst char *device,\n"
8686 "\t\tconst char *key,\n"
8687 "\t\tint keyslot);\n"
8688 "\n"
8689 msgstr ""
8690
8691 # type: textblock
8692 #: ../src/guestfs-actions.pod:2740 ../fish/guestfish-actions.pod:2160
8693 msgid ""
8694 "This command erases existing data on C<device> and formats the device as a "
8695 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
8696 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
8697 msgstr ""
8698
8699 # type: textblock
8700 #: ../src/guestfs-actions.pod:2747 ../src/guestfs-actions.pod:2767
8701 #: ../src/guestfs-actions.pod:2869 ../src/guestfs-actions.pod:3581
8702 #: ../src/guestfs-actions.pod:4219 ../src/guestfs-actions.pod:4540
8703 #: ../src/guestfs-actions.pod:4560 ../src/guestfs-actions.pod:4583
8704 #: ../src/guestfs-actions.pod:5548 ../fish/guestfish-actions.pod:2168
8705 #: ../fish/guestfish-actions.pod:2181 ../fish/guestfish-actions.pod:2252
8706 #: ../fish/guestfish-actions.pod:2767 ../fish/guestfish-actions.pod:3259
8707 #: ../fish/guestfish-actions.pod:3539 ../fish/guestfish-actions.pod:3555
8708 #: ../fish/guestfish-actions.pod:3570 ../fish/guestfish-actions.pod:4285
8709 msgid ""
8710 "B<This command is dangerous.  Without careful use you can easily destroy all "
8711 "your data>."
8712 msgstr ""
8713
8714 # type: =head2
8715 #: ../src/guestfs-actions.pod:2754
8716 msgid "guestfs_luks_format_cipher"
8717 msgstr ""
8718
8719 # type: verbatim
8720 #: ../src/guestfs-actions.pod:2756
8721 #, no-wrap
8722 msgid ""
8723 " int guestfs_luks_format_cipher (guestfs_h *g,\n"
8724 "\t\tconst char *device,\n"
8725 "\t\tconst char *key,\n"
8726 "\t\tint keyslot,\n"
8727 "\t\tconst char *cipher);\n"
8728 "\n"
8729 msgstr ""
8730
8731 # type: textblock
8732 #: ../src/guestfs-actions.pod:2762
8733 msgid ""
8734 "This command is the same as C<guestfs_luks_format> but it also allows you to "
8735 "set the C<cipher> used."
8736 msgstr ""
8737
8738 # type: =head2
8739 #: ../src/guestfs-actions.pod:2774
8740 msgid "guestfs_luks_kill_slot"
8741 msgstr ""
8742
8743 # type: verbatim
8744 #: ../src/guestfs-actions.pod:2776
8745 #, no-wrap
8746 msgid ""
8747 " int guestfs_luks_kill_slot (guestfs_h *g,\n"
8748 "\t\tconst char *device,\n"
8749 "\t\tconst char *key,\n"
8750 "\t\tint keyslot);\n"
8751 "\n"
8752 msgstr ""
8753
8754 # type: textblock
8755 #: ../src/guestfs-actions.pod:2781 ../fish/guestfish-actions.pod:2188
8756 msgid ""
8757 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
8758 "device C<device>.  C<key> must be one of the I<other> keys."
8759 msgstr ""
8760
8761 # type: =head2
8762 #: ../src/guestfs-actions.pod:2791
8763 msgid "guestfs_luks_open"
8764 msgstr ""
8765
8766 # type: verbatim
8767 #: ../src/guestfs-actions.pod:2793
8768 #, no-wrap
8769 msgid ""
8770 " int guestfs_luks_open (guestfs_h *g,\n"
8771 "\t\tconst char *device,\n"
8772 "\t\tconst char *key,\n"
8773 "\t\tconst char *mapname);\n"
8774 "\n"
8775 msgstr ""
8776
8777 # type: textblock
8778 #: ../src/guestfs-actions.pod:2798 ../fish/guestfish-actions.pod:2199
8779 msgid ""
8780 "This command opens a block device which has been encrypted according to the "
8781 "Linux Unified Key Setup (LUKS) standard."
8782 msgstr ""
8783
8784 # type: textblock
8785 #: ../src/guestfs-actions.pod:2801 ../fish/guestfish-actions.pod:2202
8786 msgid "C<device> is the encrypted block device or partition."
8787 msgstr ""
8788
8789 # type: textblock
8790 #: ../src/guestfs-actions.pod:2803 ../fish/guestfish-actions.pod:2204
8791 msgid ""
8792 "The caller must supply one of the keys associated with the LUKS block "
8793 "device, in the C<key> parameter."
8794 msgstr ""
8795
8796 # type: textblock
8797 #: ../src/guestfs-actions.pod:2806 ../fish/guestfish-actions.pod:2207
8798 msgid ""
8799 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
8800 "writes to this block device are decrypted from and encrypted to the "
8801 "underlying C<device> respectively."
8802 msgstr ""
8803
8804 # type: textblock
8805 #: ../src/guestfs-actions.pod:2810
8806 msgid ""
8807 "If this block device contains LVM volume groups, then calling "
8808 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
8809 "visible."
8810 msgstr ""
8811
8812 # type: =head2
8813 #: ../src/guestfs-actions.pod:2820
8814 msgid "guestfs_luks_open_ro"
8815 msgstr ""
8816
8817 # type: verbatim
8818 #: ../src/guestfs-actions.pod:2822
8819 #, no-wrap
8820 msgid ""
8821 " int guestfs_luks_open_ro (guestfs_h *g,\n"
8822 "\t\tconst char *device,\n"
8823 "\t\tconst char *key,\n"
8824 "\t\tconst char *mapname);\n"
8825 "\n"
8826 msgstr ""
8827
8828 # type: textblock
8829 #: ../src/guestfs-actions.pod:2827
8830 msgid ""
8831 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
8832 "created."
8833 msgstr ""
8834
8835 # type: =head2
8836 #: ../src/guestfs-actions.pod:2836
8837 msgid "guestfs_lvcreate"
8838 msgstr ""
8839
8840 # type: verbatim
8841 #: ../src/guestfs-actions.pod:2838
8842 #, no-wrap
8843 msgid ""
8844 " int guestfs_lvcreate (guestfs_h *g,\n"
8845 "\t\tconst char *logvol,\n"
8846 "\t\tconst char *volgroup,\n"
8847 "\t\tint mbytes);\n"
8848 "\n"
8849 msgstr ""
8850
8851 # type: textblock
8852 #: ../src/guestfs-actions.pod:2843 ../fish/guestfish-actions.pod:2232
8853 msgid ""
8854 "This creates an LVM logical volume called C<logvol> on the volume group "
8855 "C<volgroup>, with C<size> megabytes."
8856 msgstr ""
8857
8858 # type: =head2
8859 #: ../src/guestfs-actions.pod:2848
8860 msgid "guestfs_lvm_clear_filter"
8861 msgstr ""
8862
8863 # type: verbatim
8864 #: ../src/guestfs-actions.pod:2850
8865 #, no-wrap
8866 msgid ""
8867 " int guestfs_lvm_clear_filter (guestfs_h *g);\n"
8868 "\n"
8869 msgstr ""
8870
8871 # type: textblock
8872 #: ../src/guestfs-actions.pod:2852
8873 msgid ""
8874 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
8875 "see every block device."
8876 msgstr ""
8877
8878 # type: textblock
8879 #: ../src/guestfs-actions.pod:2855 ../src/guestfs-actions.pod:2891
8880 #: ../fish/guestfish-actions.pod:2242 ../fish/guestfish-actions.pod:2273
8881 msgid ""
8882 "This command also clears the LVM cache and performs a volume group scan."
8883 msgstr ""
8884
8885 # type: =head2
8886 #: ../src/guestfs-actions.pod:2860
8887 msgid "guestfs_lvm_remove_all"
8888 msgstr ""
8889
8890 # type: verbatim
8891 #: ../src/guestfs-actions.pod:2862
8892 #, no-wrap
8893 msgid ""
8894 " int guestfs_lvm_remove_all (guestfs_h *g);\n"
8895 "\n"
8896 msgstr ""
8897
8898 # type: textblock
8899 #: ../src/guestfs-actions.pod:2864 ../fish/guestfish-actions.pod:2249
8900 msgid ""
8901 "This command removes all LVM logical volumes, volume groups and physical "
8902 "volumes."
8903 msgstr ""
8904
8905 # type: =head2
8906 #: ../src/guestfs-actions.pod:2872
8907 msgid "guestfs_lvm_set_filter"
8908 msgstr ""
8909
8910 # type: verbatim
8911 #: ../src/guestfs-actions.pod:2874
8912 #, no-wrap
8913 msgid ""
8914 " int guestfs_lvm_set_filter (guestfs_h *g,\n"
8915 "\t\tchar *const *devices);\n"
8916 "\n"
8917 msgstr ""
8918
8919 # type: textblock
8920 #: ../src/guestfs-actions.pod:2877 ../fish/guestfish-actions.pod:2259
8921 msgid ""
8922 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
8923 "block devices in the list C<devices>, and will ignore all other attached "
8924 "block devices."
8925 msgstr ""
8926
8927 # type: textblock
8928 #: ../src/guestfs-actions.pod:2881 ../fish/guestfish-actions.pod:2263
8929 msgid ""
8930 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
8931 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
8932 "there are two types of duplication possible: either cloned PVs/VGs which "
8933 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
8934 "same name.  In normal operation you cannot create this situation, but you "
8935 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
8936 "inside the LVM metadata."
8937 msgstr ""
8938
8939 # type: textblock
8940 #: ../src/guestfs-actions.pod:2894 ../fish/guestfish-actions.pod:2276
8941 msgid "You can filter whole block devices or individual partitions."
8942 msgstr ""
8943
8944 # type: textblock
8945 #: ../src/guestfs-actions.pod:2896 ../fish/guestfish-actions.pod:2278
8946 msgid ""
8947 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
8948 "filesystem), even if you are not filtering out that VG."
8949 msgstr ""
8950
8951 # type: =head2
8952 #: ../src/guestfs-actions.pod:2902
8953 msgid "guestfs_lvremove"
8954 msgstr ""
8955
8956 # type: verbatim
8957 #: ../src/guestfs-actions.pod:2904
8958 #, no-wrap
8959 msgid ""
8960 " int guestfs_lvremove (guestfs_h *g,\n"
8961 "\t\tconst char *device);\n"
8962 "\n"
8963 msgstr ""
8964
8965 # type: textblock
8966 #: ../src/guestfs-actions.pod:2907 ../fish/guestfish-actions.pod:2286
8967 msgid ""
8968 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
8969 "LV, such as C</dev/VG/LV>."
8970 msgstr ""
8971
8972 # type: textblock
8973 #: ../src/guestfs-actions.pod:2910 ../fish/guestfish-actions.pod:2289
8974 msgid ""
8975 "You can also remove all LVs in a volume group by specifying the VG name, C</"
8976 "dev/VG>."
8977 msgstr ""
8978
8979 # type: =head2
8980 #: ../src/guestfs-actions.pod:2915
8981 msgid "guestfs_lvrename"
8982 msgstr ""
8983
8984 # type: verbatim
8985 #: ../src/guestfs-actions.pod:2917
8986 #, no-wrap
8987 msgid ""
8988 " int guestfs_lvrename (guestfs_h *g,\n"
8989 "\t\tconst char *logvol,\n"
8990 "\t\tconst char *newlogvol);\n"
8991 "\n"
8992 msgstr ""
8993
8994 # type: textblock
8995 #: ../src/guestfs-actions.pod:2921 ../fish/guestfish-actions.pod:2296
8996 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
8997 msgstr ""
8998
8999 # type: =head2
9000 #: ../src/guestfs-actions.pod:2925
9001 msgid "guestfs_lvresize"
9002 msgstr ""
9003
9004 # type: verbatim
9005 #: ../src/guestfs-actions.pod:2927
9006 #, no-wrap
9007 msgid ""
9008 " int guestfs_lvresize (guestfs_h *g,\n"
9009 "\t\tconst char *device,\n"
9010 "\t\tint mbytes);\n"
9011 "\n"
9012 msgstr ""
9013
9014 # type: textblock
9015 #: ../src/guestfs-actions.pod:2931 ../fish/guestfish-actions.pod:2302
9016 msgid ""
9017 "This resizes (expands or shrinks) an existing LVM logical volume to "
9018 "C<mbytes>.  When reducing, data in the reduced part is lost."
9019 msgstr ""
9020
9021 # type: =head2
9022 #: ../src/guestfs-actions.pod:2937
9023 msgid "guestfs_lvresize_free"
9024 msgstr ""
9025
9026 # type: verbatim
9027 #: ../src/guestfs-actions.pod:2939
9028 #, no-wrap
9029 msgid ""
9030 " int guestfs_lvresize_free (guestfs_h *g,\n"
9031 "\t\tconst char *lv,\n"
9032 "\t\tint percent);\n"
9033 "\n"
9034 msgstr ""
9035
9036 # type: textblock
9037 #: ../src/guestfs-actions.pod:2943 ../fish/guestfish-actions.pod:2310
9038 msgid ""
9039 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
9040 "remaining free space in the volume group.  Commonly you would call this with "
9041 "pc = 100 which expands the logical volume as much as possible, using all "
9042 "remaining free space in the volume group."
9043 msgstr ""
9044
9045 # type: =head2
9046 #: ../src/guestfs-actions.pod:2951
9047 msgid "guestfs_lvs"
9048 msgstr ""
9049
9050 # type: verbatim
9051 #: ../src/guestfs-actions.pod:2953
9052 #, no-wrap
9053 msgid ""
9054 " char **guestfs_lvs (guestfs_h *g);\n"
9055 "\n"
9056 msgstr ""
9057
9058 # type: textblock
9059 #: ../src/guestfs-actions.pod:2955 ../fish/guestfish-actions.pod:2320
9060 msgid ""
9061 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
9062 "(8)> command."
9063 msgstr ""
9064
9065 # type: textblock
9066 #: ../src/guestfs-actions.pod:2958 ../fish/guestfish-actions.pod:2323
9067 msgid ""
9068 "This returns a list of the logical volume device names (eg. C</dev/"
9069 "VolGroup00/LogVol00>)."
9070 msgstr ""
9071
9072 # type: textblock
9073 #: ../src/guestfs-actions.pod:2961
9074 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
9075 msgstr ""
9076
9077 # type: =head2
9078 #: ../src/guestfs-actions.pod:2967
9079 msgid "guestfs_lvs_full"
9080 msgstr ""
9081
9082 # type: verbatim
9083 #: ../src/guestfs-actions.pod:2969
9084 #, no-wrap
9085 msgid ""
9086 " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n"
9087 "\n"
9088 msgstr ""
9089
9090 # type: textblock
9091 #: ../src/guestfs-actions.pod:2971 ../fish/guestfish-actions.pod:2332
9092 msgid ""
9093 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
9094 "(8)> command.  The \"full\" version includes all fields."
9095 msgstr ""
9096
9097 # type: textblock
9098 #: ../src/guestfs-actions.pod:2974
9099 msgid ""
9100 "This function returns a C<struct guestfs_lvm_lv_list *> (see E<lt>guestfs-"
9101 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
9102 "C<guestfs_free_lvm_lv_list> after use>."
9103 msgstr ""
9104
9105 # type: =head2
9106 #: ../src/guestfs-actions.pod:2979
9107 msgid "guestfs_lvuuid"
9108 msgstr ""
9109
9110 # type: verbatim
9111 #: ../src/guestfs-actions.pod:2981
9112 #, no-wrap
9113 msgid ""
9114 " char *guestfs_lvuuid (guestfs_h *g,\n"
9115 "\t\tconst char *device);\n"
9116 "\n"
9117 msgstr ""
9118
9119 # type: textblock
9120 #: ../src/guestfs-actions.pod:2984 ../fish/guestfish-actions.pod:2339
9121 msgid "This command returns the UUID of the LVM LV C<device>."
9122 msgstr ""
9123
9124 # type: =head2
9125 #: ../src/guestfs-actions.pod:2989
9126 msgid "guestfs_lxattrlist"
9127 msgstr ""
9128
9129 # type: verbatim
9130 #: ../src/guestfs-actions.pod:2991
9131 #, no-wrap
9132 msgid ""
9133 " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n"
9134 "\t\tconst char *path,\n"
9135 "\t\tchar *const *names);\n"
9136 "\n"
9137 msgstr ""
9138
9139 # type: textblock
9140 #: ../src/guestfs-actions.pod:2995 ../fish/guestfish-actions.pod:2345
9141 msgid ""
9142 "This call allows you to get the extended attributes of multiple files, where "
9143 "all files are in the directory C<path>.  C<names> is the list of files from "
9144 "this directory."
9145 msgstr ""
9146
9147 # type: textblock
9148 #: ../src/guestfs-actions.pod:2999 ../fish/guestfish-actions.pod:2349
9149 msgid ""
9150 "On return you get a flat list of xattr structs which must be interpreted "
9151 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
9152 "C<attrval> in this struct is zero-length to indicate there was an error "
9153 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
9154 "number (the number of following attributes for this file, which could be C<"
9155 "\"0\">).  Then after the first xattr struct are the zero or more attributes "
9156 "for the first named file.  This repeats for the second and subsequent files."
9157 msgstr ""
9158
9159 # type: textblock
9160 #: ../src/guestfs-actions.pod:3009
9161 msgid ""
9162 "This call is intended for programs that want to efficiently list a directory "
9163 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
9164 "a similarly efficient call for getting standard stats.  Very long directory "
9165 "listings might cause the protocol message size to be exceeded, causing this "
9166 "call to fail.  The caller must split up such requests into smaller groups of "
9167 "names."
9168 msgstr ""
9169
9170 # type: =head2
9171 #: ../src/guestfs-actions.pod:3022
9172 msgid "guestfs_mkdir"
9173 msgstr ""
9174
9175 # type: verbatim
9176 #: ../src/guestfs-actions.pod:3024
9177 #, no-wrap
9178 msgid ""
9179 " int guestfs_mkdir (guestfs_h *g,\n"
9180 "\t\tconst char *path);\n"
9181 "\n"
9182 msgstr ""
9183
9184 # type: textblock
9185 #: ../src/guestfs-actions.pod:3027 ../fish/guestfish-actions.pod:2371
9186 msgid "Create a directory named C<path>."
9187 msgstr ""
9188
9189 # type: =head2
9190 #: ../src/guestfs-actions.pod:3031
9191 msgid "guestfs_mkdir_mode"
9192 msgstr ""
9193
9194 # type: verbatim
9195 #: ../src/guestfs-actions.pod:3033
9196 #, no-wrap
9197 msgid ""
9198 " int guestfs_mkdir_mode (guestfs_h *g,\n"
9199 "\t\tconst char *path,\n"
9200 "\t\tint mode);\n"
9201 "\n"
9202 msgstr ""
9203
9204 # type: textblock
9205 #: ../src/guestfs-actions.pod:3037 ../fish/guestfish-actions.pod:2377
9206 msgid ""
9207 "This command creates a directory, setting the initial permissions of the "
9208 "directory to C<mode>."
9209 msgstr ""
9210
9211 # type: textblock
9212 #: ../src/guestfs-actions.pod:3040 ../fish/guestfish-actions.pod:2380
9213 msgid ""
9214 "For common Linux filesystems, the actual mode which is set will be C<mode & "
9215 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
9216 "other ways."
9217 msgstr ""
9218
9219 # type: textblock
9220 #: ../src/guestfs-actions.pod:3044
9221 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
9222 msgstr ""
9223
9224 # type: =head2
9225 #: ../src/guestfs-actions.pod:3048
9226 msgid "guestfs_mkdir_p"
9227 msgstr ""
9228
9229 # type: verbatim
9230 #: ../src/guestfs-actions.pod:3050
9231 #, no-wrap
9232 msgid ""
9233 " int guestfs_mkdir_p (guestfs_h *g,\n"
9234 "\t\tconst char *path);\n"
9235 "\n"
9236 msgstr ""
9237
9238 # type: textblock
9239 #: ../src/guestfs-actions.pod:3053 ../fish/guestfish-actions.pod:2390
9240 msgid ""
9241 "Create a directory named C<path>, creating any parent directories as "
9242 "necessary.  This is like the C<mkdir -p> shell command."
9243 msgstr ""
9244
9245 # type: =head2
9246 #: ../src/guestfs-actions.pod:3058
9247 msgid "guestfs_mkdtemp"
9248 msgstr ""
9249
9250 # type: verbatim
9251 #: ../src/guestfs-actions.pod:3060
9252 #, no-wrap
9253 msgid ""
9254 " char *guestfs_mkdtemp (guestfs_h *g,\n"
9255 "\t\tconst char *template);\n"
9256 "\n"
9257 msgstr ""
9258
9259 # type: textblock
9260 #: ../src/guestfs-actions.pod:3063 ../fish/guestfish-actions.pod:2397
9261 msgid ""
9262 "This command creates a temporary directory.  The C<template> parameter "
9263 "should be a full pathname for the temporary directory name with the final "
9264 "six characters being \"XXXXXX\"."
9265 msgstr ""
9266
9267 # type: textblock
9268 #: ../src/guestfs-actions.pod:3068 ../fish/guestfish-actions.pod:2402
9269 msgid ""
9270 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
9271 "being suitable for Windows filesystems."
9272 msgstr ""
9273
9274 # type: textblock
9275 #: ../src/guestfs-actions.pod:3071 ../fish/guestfish-actions.pod:2405
9276 msgid "The name of the temporary directory that was created is returned."
9277 msgstr ""
9278
9279 # type: textblock
9280 #: ../src/guestfs-actions.pod:3074 ../fish/guestfish-actions.pod:2408
9281 msgid "The temporary directory is created with mode 0700 and is owned by root."
9282 msgstr ""
9283
9284 # type: textblock
9285 #: ../src/guestfs-actions.pod:3077 ../fish/guestfish-actions.pod:2411
9286 msgid ""
9287 "The caller is responsible for deleting the temporary directory and its "
9288 "contents after use."
9289 msgstr ""
9290
9291 # type: textblock
9292 #: ../src/guestfs-actions.pod:3080 ../fish/guestfish-actions.pod:2414
9293 msgid "See also: L<mkdtemp(3)>"
9294 msgstr ""
9295
9296 # type: =head2
9297 #: ../src/guestfs-actions.pod:3085
9298 msgid "guestfs_mke2fs_J"
9299 msgstr ""
9300
9301 # type: verbatim
9302 #: ../src/guestfs-actions.pod:3087
9303 #, no-wrap
9304 msgid ""
9305 " int guestfs_mke2fs_J (guestfs_h *g,\n"
9306 "\t\tconst char *fstype,\n"
9307 "\t\tint blocksize,\n"
9308 "\t\tconst char *device,\n"
9309 "\t\tconst char *journal);\n"
9310 "\n"
9311 msgstr ""
9312
9313 # type: textblock
9314 #: ../src/guestfs-actions.pod:3093 ../fish/guestfish-actions.pod:2420
9315 msgid ""
9316 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9317 "C<journal>.  It is equivalent to the command:"
9318 msgstr ""
9319
9320 # type: verbatim
9321 #: ../src/guestfs-actions.pod:3097 ../fish/guestfish-actions.pod:2424
9322 #, no-wrap
9323 msgid ""
9324 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
9325 "\n"
9326 msgstr ""
9327
9328 # type: textblock
9329 #: ../src/guestfs-actions.pod:3099
9330 msgid "See also C<guestfs_mke2journal>."
9331 msgstr ""
9332
9333 # type: =head2
9334 #: ../src/guestfs-actions.pod:3103
9335 msgid "guestfs_mke2fs_JL"
9336 msgstr ""
9337
9338 # type: verbatim
9339 #: ../src/guestfs-actions.pod:3105
9340 #, no-wrap
9341 msgid ""
9342 " int guestfs_mke2fs_JL (guestfs_h *g,\n"
9343 "\t\tconst char *fstype,\n"
9344 "\t\tint blocksize,\n"
9345 "\t\tconst char *device,\n"
9346 "\t\tconst char *label);\n"
9347 "\n"
9348 msgstr ""
9349
9350 # type: textblock
9351 #: ../src/guestfs-actions.pod:3111 ../fish/guestfish-actions.pod:2432
9352 msgid ""
9353 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9354 "the journal labeled C<label>."
9355 msgstr ""
9356
9357 # type: textblock
9358 #: ../src/guestfs-actions.pod:3114
9359 msgid "See also C<guestfs_mke2journal_L>."
9360 msgstr ""
9361
9362 # type: =head2
9363 #: ../src/guestfs-actions.pod:3118
9364 msgid "guestfs_mke2fs_JU"
9365 msgstr ""
9366
9367 # type: verbatim
9368 #: ../src/guestfs-actions.pod:3120
9369 #, no-wrap
9370 msgid ""
9371 " int guestfs_mke2fs_JU (guestfs_h *g,\n"
9372 "\t\tconst char *fstype,\n"
9373 "\t\tint blocksize,\n"
9374 "\t\tconst char *device,\n"
9375 "\t\tconst char *uuid);\n"
9376 "\n"
9377 msgstr ""
9378
9379 # type: textblock
9380 #: ../src/guestfs-actions.pod:3126 ../fish/guestfish-actions.pod:2441
9381 msgid ""
9382 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9383 "the journal with UUID C<uuid>."
9384 msgstr ""
9385
9386 # type: textblock
9387 #: ../src/guestfs-actions.pod:3129
9388 msgid "See also C<guestfs_mke2journal_U>."
9389 msgstr ""
9390
9391 # type: =head2
9392 #: ../src/guestfs-actions.pod:3133
9393 msgid "guestfs_mke2journal"
9394 msgstr ""
9395
9396 # type: verbatim
9397 #: ../src/guestfs-actions.pod:3135
9398 #, no-wrap
9399 msgid ""
9400 " int guestfs_mke2journal (guestfs_h *g,\n"
9401 "\t\tint blocksize,\n"
9402 "\t\tconst char *device);\n"
9403 "\n"
9404 msgstr ""
9405
9406 # type: textblock
9407 #: ../src/guestfs-actions.pod:3139 ../fish/guestfish-actions.pod:2450
9408 msgid ""
9409 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
9410 "command:"
9411 msgstr ""
9412
9413 # type: verbatim
9414 #: ../src/guestfs-actions.pod:3142 ../fish/guestfish-actions.pod:2453
9415 #, no-wrap
9416 msgid ""
9417 " mke2fs -O journal_dev -b blocksize device\n"
9418 "\n"
9419 msgstr ""
9420
9421 # type: =head2
9422 #: ../src/guestfs-actions.pod:3146
9423 msgid "guestfs_mke2journal_L"
9424 msgstr ""
9425
9426 # type: verbatim
9427 #: ../src/guestfs-actions.pod:3148
9428 #, no-wrap
9429 msgid ""
9430 " int guestfs_mke2journal_L (guestfs_h *g,\n"
9431 "\t\tint blocksize,\n"
9432 "\t\tconst char *label,\n"
9433 "\t\tconst char *device);\n"
9434 "\n"
9435 msgstr ""
9436
9437 # type: textblock
9438 #: ../src/guestfs-actions.pod:3153 ../fish/guestfish-actions.pod:2459
9439 msgid "This creates an ext2 external journal on C<device> with label C<label>."
9440 msgstr ""
9441
9442 # type: =head2
9443 #: ../src/guestfs-actions.pod:3157
9444 msgid "guestfs_mke2journal_U"
9445 msgstr ""
9446
9447 # type: verbatim
9448 #: ../src/guestfs-actions.pod:3159
9449 #, no-wrap
9450 msgid ""
9451 " int guestfs_mke2journal_U (guestfs_h *g,\n"
9452 "\t\tint blocksize,\n"
9453 "\t\tconst char *uuid,\n"
9454 "\t\tconst char *device);\n"
9455 "\n"
9456 msgstr ""
9457
9458 # type: textblock
9459 #: ../src/guestfs-actions.pod:3164 ../fish/guestfish-actions.pod:2465
9460 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
9461 msgstr ""
9462
9463 # type: =head2
9464 #: ../src/guestfs-actions.pod:3168
9465 msgid "guestfs_mkfifo"
9466 msgstr ""
9467
9468 # type: verbatim
9469 #: ../src/guestfs-actions.pod:3170
9470 #, no-wrap
9471 msgid ""
9472 " int guestfs_mkfifo (guestfs_h *g,\n"
9473 "\t\tint mode,\n"
9474 "\t\tconst char *path);\n"
9475 "\n"
9476 msgstr ""
9477
9478 # type: textblock
9479 #: ../src/guestfs-actions.pod:3174
9480 msgid ""
9481 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
9482 "is just a convenient wrapper around C<guestfs_mknod>."
9483 msgstr ""
9484
9485 # type: =head2
9486 #: ../src/guestfs-actions.pod:3182
9487 msgid "guestfs_mkfs"
9488 msgstr ""
9489
9490 # type: verbatim
9491 #: ../src/guestfs-actions.pod:3184
9492 #, no-wrap
9493 msgid ""
9494 " int guestfs_mkfs (guestfs_h *g,\n"
9495 "\t\tconst char *fstype,\n"
9496 "\t\tconst char *device);\n"
9497 "\n"
9498 msgstr ""
9499
9500 # type: textblock
9501 #: ../src/guestfs-actions.pod:3188 ../fish/guestfish-actions.pod:2481
9502 msgid ""
9503 "This creates a filesystem on C<device> (usually a partition or LVM logical "
9504 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
9505 msgstr ""
9506
9507 # type: =head2
9508 #: ../src/guestfs-actions.pod:3194
9509 msgid "guestfs_mkfs_b"
9510 msgstr ""
9511
9512 # type: verbatim
9513 #: ../src/guestfs-actions.pod:3196
9514 #, no-wrap
9515 msgid ""
9516 " int guestfs_mkfs_b (guestfs_h *g,\n"
9517 "\t\tconst char *fstype,\n"
9518 "\t\tint blocksize,\n"
9519 "\t\tconst char *device);\n"
9520 "\n"
9521 msgstr ""
9522
9523 # type: textblock
9524 #: ../src/guestfs-actions.pod:3201
9525 msgid ""
9526 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
9527 "block size of the resulting filesystem.  Supported block sizes depend on the "
9528 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
9529 msgstr ""
9530
9531 # type: textblock
9532 #: ../src/guestfs-actions.pod:3206 ../fish/guestfish-actions.pod:2494
9533 msgid ""
9534 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
9535 "cluster size."
9536 msgstr ""
9537
9538 # type: =head2
9539 #: ../src/guestfs-actions.pod:3211
9540 msgid "guestfs_mkmountpoint"
9541 msgstr ""
9542
9543 # type: verbatim
9544 #: ../src/guestfs-actions.pod:3213
9545 #, no-wrap
9546 msgid ""
9547 " int guestfs_mkmountpoint (guestfs_h *g,\n"
9548 "\t\tconst char *exemptpath);\n"
9549 "\n"
9550 msgstr ""
9551
9552 # type: textblock
9553 #: ../src/guestfs-actions.pod:3216
9554 msgid ""
9555 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
9556 "that can be used to create extra mountpoints before mounting the first "
9557 "filesystem."
9558 msgstr ""
9559
9560 # type: textblock
9561 #: ../src/guestfs-actions.pod:3220 ../fish/guestfish-actions.pod:2505
9562 msgid ""
9563 "These calls are I<only> necessary in some very limited circumstances, mainly "
9564 "the case where you want to mount a mix of unrelated and/or read-only "
9565 "filesystems together."
9566 msgstr ""
9567
9568 # type: textblock
9569 #: ../src/guestfs-actions.pod:3224 ../fish/guestfish-actions.pod:2509
9570 msgid ""
9571 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
9572 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
9573 "inside that.  You can unpack this as follows in guestfish:"
9574 msgstr ""
9575
9576 # type: verbatim
9577 #: ../src/guestfs-actions.pod:3229 ../fish/guestfish-actions.pod:2514
9578 #, no-wrap
9579 msgid ""
9580 " add-ro Fedora-11-i686-Live.iso\n"
9581 " run\n"
9582 " mkmountpoint /cd\n"
9583 " mkmountpoint /squash\n"
9584 " mkmountpoint /ext3\n"
9585 " mount /dev/sda /cd\n"
9586 " mount-loop /cd/LiveOS/squashfs.img /squash\n"
9587 " mount-loop /squash/LiveOS/ext3fs.img /ext3\n"
9588 "\n"
9589 msgstr ""
9590
9591 # type: textblock
9592 #: ../src/guestfs-actions.pod:3238 ../fish/guestfish-actions.pod:2523
9593 msgid "The inner filesystem is now unpacked under the /ext3 mountpoint."
9594 msgstr ""
9595
9596 # type: =head2
9597 #: ../src/guestfs-actions.pod:3242
9598 msgid "guestfs_mknod"
9599 msgstr ""
9600
9601 # type: verbatim
9602 #: ../src/guestfs-actions.pod:3244
9603 #, no-wrap
9604 msgid ""
9605 " int guestfs_mknod (guestfs_h *g,\n"
9606 "\t\tint mode,\n"
9607 "\t\tint devmajor,\n"
9608 "\t\tint devminor,\n"
9609 "\t\tconst char *path);\n"
9610 "\n"
9611 msgstr ""
9612
9613 # type: textblock
9614 #: ../src/guestfs-actions.pod:3250 ../fish/guestfish-actions.pod:2529
9615 msgid ""
9616 "This call creates block or character special devices, or named pipes (FIFOs)."
9617 msgstr ""
9618
9619 # type: textblock
9620 #: ../src/guestfs-actions.pod:3253 ../fish/guestfish-actions.pod:2532
9621 msgid ""
9622 "The C<mode> parameter should be the mode, using the standard constants.  "
9623 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
9624 "used when creating block and character special devices."
9625 msgstr ""
9626
9627 # type: textblock
9628 #: ../src/guestfs-actions.pod:3258
9629 msgid ""
9630 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
9631 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
9632 "regular file).  These constants are available in the standard Linux header "
9633 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
9634 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
9635 "the appropriate constant for you."
9636 msgstr ""
9637
9638 # type: =head2
9639 #: ../src/guestfs-actions.pod:3270
9640 msgid "guestfs_mknod_b"
9641 msgstr ""
9642
9643 # type: verbatim
9644 #: ../src/guestfs-actions.pod:3272
9645 #, no-wrap
9646 msgid ""
9647 " int guestfs_mknod_b (guestfs_h *g,\n"
9648 "\t\tint mode,\n"
9649 "\t\tint devmajor,\n"
9650 "\t\tint devminor,\n"
9651 "\t\tconst char *path);\n"
9652 "\n"
9653 msgstr ""
9654
9655 # type: textblock
9656 #: ../src/guestfs-actions.pod:3278
9657 msgid ""
9658 "This call creates a block device node called C<path> with mode C<mode> and "
9659 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9660 "wrapper around C<guestfs_mknod>."
9661 msgstr ""
9662
9663 # type: =head2
9664 #: ../src/guestfs-actions.pod:3286
9665 msgid "guestfs_mknod_c"
9666 msgstr ""
9667
9668 # type: verbatim
9669 #: ../src/guestfs-actions.pod:3288
9670 #, no-wrap
9671 msgid ""
9672 " int guestfs_mknod_c (guestfs_h *g,\n"
9673 "\t\tint mode,\n"
9674 "\t\tint devmajor,\n"
9675 "\t\tint devminor,\n"
9676 "\t\tconst char *path);\n"
9677 "\n"
9678 msgstr ""
9679
9680 # type: textblock
9681 #: ../src/guestfs-actions.pod:3294
9682 msgid ""
9683 "This call creates a char device node called C<path> with mode C<mode> and "
9684 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9685 "wrapper around C<guestfs_mknod>."
9686 msgstr ""
9687
9688 # type: =head2
9689 #: ../src/guestfs-actions.pod:3302
9690 msgid "guestfs_mkswap"
9691 msgstr ""
9692
9693 # type: verbatim
9694 #: ../src/guestfs-actions.pod:3304
9695 #, no-wrap
9696 msgid ""
9697 " int guestfs_mkswap (guestfs_h *g,\n"
9698 "\t\tconst char *device);\n"
9699 "\n"
9700 msgstr ""
9701
9702 # type: textblock
9703 #: ../src/guestfs-actions.pod:3307 ../fish/guestfish-actions.pod:2571
9704 msgid "Create a swap partition on C<device>."
9705 msgstr ""
9706
9707 # type: =head2
9708 #: ../src/guestfs-actions.pod:3311
9709 msgid "guestfs_mkswap_L"
9710 msgstr ""
9711
9712 # type: verbatim
9713 #: ../src/guestfs-actions.pod:3313
9714 #, no-wrap
9715 msgid ""
9716 " int guestfs_mkswap_L (guestfs_h *g,\n"
9717 "\t\tconst char *label,\n"
9718 "\t\tconst char *device);\n"
9719 "\n"
9720 msgstr ""
9721
9722 # type: textblock
9723 #: ../src/guestfs-actions.pod:3317 ../fish/guestfish-actions.pod:2577
9724 msgid "Create a swap partition on C<device> with label C<label>."
9725 msgstr ""
9726
9727 # type: textblock
9728 #: ../src/guestfs-actions.pod:3319 ../fish/guestfish-actions.pod:2579
9729 msgid ""
9730 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
9731 "sda>), just to a partition.  This appears to be a limitation of the kernel "
9732 "or swap tools."
9733 msgstr ""
9734
9735 # type: =head2
9736 #: ../src/guestfs-actions.pod:3325
9737 msgid "guestfs_mkswap_U"
9738 msgstr ""
9739
9740 # type: verbatim
9741 #: ../src/guestfs-actions.pod:3327
9742 #, no-wrap
9743 msgid ""
9744 " int guestfs_mkswap_U (guestfs_h *g,\n"
9745 "\t\tconst char *uuid,\n"
9746 "\t\tconst char *device);\n"
9747 "\n"
9748 msgstr ""
9749
9750 # type: textblock
9751 #: ../src/guestfs-actions.pod:3331 ../fish/guestfish-actions.pod:2587
9752 msgid "Create a swap partition on C<device> with UUID C<uuid>."
9753 msgstr ""
9754
9755 # type: =head2
9756 #: ../src/guestfs-actions.pod:3335
9757 msgid "guestfs_mkswap_file"
9758 msgstr ""
9759
9760 # type: verbatim
9761 #: ../src/guestfs-actions.pod:3337
9762 #, no-wrap
9763 msgid ""
9764 " int guestfs_mkswap_file (guestfs_h *g,\n"
9765 "\t\tconst char *path);\n"
9766 "\n"
9767 msgstr ""
9768
9769 # type: textblock
9770 #: ../src/guestfs-actions.pod:3340 ../fish/guestfish-actions.pod:2593
9771 msgid "Create a swap file."
9772 msgstr ""
9773
9774 # type: textblock
9775 #: ../src/guestfs-actions.pod:3342
9776 msgid ""
9777 "This command just writes a swap file signature to an existing file.  To "
9778 "create the file itself, use something like C<guestfs_fallocate>."
9779 msgstr ""
9780
9781 # type: =head2
9782 #: ../src/guestfs-actions.pod:3347
9783 msgid "guestfs_modprobe"
9784 msgstr ""
9785
9786 # type: verbatim
9787 #: ../src/guestfs-actions.pod:3349
9788 #, no-wrap
9789 msgid ""
9790 " int guestfs_modprobe (guestfs_h *g,\n"
9791 "\t\tconst char *modulename);\n"
9792 "\n"
9793 msgstr ""
9794
9795 # type: textblock
9796 #: ../src/guestfs-actions.pod:3352 ../fish/guestfish-actions.pod:2602
9797 msgid "This loads a kernel module in the appliance."
9798 msgstr ""
9799
9800 # type: textblock
9801 #: ../src/guestfs-actions.pod:3354 ../fish/guestfish-actions.pod:2604
9802 msgid ""
9803 "The kernel module must have been whitelisted when libguestfs was built (see "
9804 "C<appliance/kmod.whitelist.in> in the source)."
9805 msgstr ""
9806
9807 # type: =head2
9808 #: ../src/guestfs-actions.pod:3359
9809 msgid "guestfs_mount"
9810 msgstr ""
9811
9812 # type: verbatim
9813 #: ../src/guestfs-actions.pod:3361
9814 #, no-wrap
9815 msgid ""
9816 " int guestfs_mount (guestfs_h *g,\n"
9817 "\t\tconst char *device,\n"
9818 "\t\tconst char *mountpoint);\n"
9819 "\n"
9820 msgstr ""
9821
9822 # type: textblock
9823 #: ../src/guestfs-actions.pod:3365 ../fish/guestfish-actions.pod:2611
9824 msgid ""
9825 "Mount a guest disk at a position in the filesystem.  Block devices are named "
9826 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
9827 "those block devices contain partitions, they will have the usual names (eg. "
9828 "C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
9829 msgstr ""
9830
9831 # type: textblock
9832 #: ../src/guestfs-actions.pod:3371 ../fish/guestfish-actions.pod:2617
9833 msgid ""
9834 "The rules are the same as for L<mount(2)>: A filesystem must first be "
9835 "mounted on C</> before others can be mounted.  Other filesystems can only be "
9836 "mounted on directories which already exist."
9837 msgstr ""
9838
9839 # type: textblock
9840 #: ../src/guestfs-actions.pod:3376 ../fish/guestfish-actions.pod:2622
9841 msgid ""
9842 "The mounted filesystem is writable, if we have sufficient permissions on the "
9843 "underlying device."
9844 msgstr ""
9845
9846 # type: textblock
9847 #: ../src/guestfs-actions.pod:3379
9848 msgid ""
9849 "B<Important note:> When you use this call, the filesystem options C<sync> "
9850 "and C<noatime> are set implicitly.  This was originally done because we "
9851 "thought it would improve reliability, but it turns out that I<-o sync> has a "
9852 "very large negative performance impact and negligible effect on "
9853 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
9854 "in any code that needs performance, and instead use C<guestfs_mount_options> "
9855 "(use an empty string for the first parameter if you don't want any options)."
9856 msgstr ""
9857
9858 # type: =head2
9859 #: ../src/guestfs-actions.pod:3391
9860 msgid "guestfs_mount_loop"
9861 msgstr ""
9862
9863 # type: verbatim
9864 #: ../src/guestfs-actions.pod:3393
9865 #, no-wrap
9866 msgid ""
9867 " int guestfs_mount_loop (guestfs_h *g,\n"
9868 "\t\tconst char *file,\n"
9869 "\t\tconst char *mountpoint);\n"
9870 "\n"
9871 msgstr ""
9872
9873 # type: textblock
9874 #: ../src/guestfs-actions.pod:3397 ../fish/guestfish-actions.pod:2639
9875 msgid ""
9876 "This command lets you mount C<file> (a filesystem image in a file) on a "
9877 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
9878 "mountpoint>."
9879 msgstr ""
9880
9881 # type: =head2
9882 #: ../src/guestfs-actions.pod:3403
9883 msgid "guestfs_mount_options"
9884 msgstr ""
9885
9886 # type: verbatim
9887 #: ../src/guestfs-actions.pod:3405
9888 #, no-wrap
9889 msgid ""
9890 " int guestfs_mount_options (guestfs_h *g,\n"
9891 "\t\tconst char *options,\n"
9892 "\t\tconst char *device,\n"
9893 "\t\tconst char *mountpoint);\n"
9894 "\n"
9895 msgstr ""
9896
9897 # type: textblock
9898 #: ../src/guestfs-actions.pod:3410
9899 msgid ""
9900 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9901 "the mount options as for the L<mount(8)> I<-o> flag."
9902 msgstr ""
9903
9904 # type: textblock
9905 #: ../src/guestfs-actions.pod:3414 ../fish/guestfish-actions.pod:2651
9906 msgid ""
9907 "If the C<options> parameter is an empty string, then no options are passed "
9908 "(all options default to whatever the filesystem uses)."
9909 msgstr ""
9910
9911 # type: =head2
9912 #: ../src/guestfs-actions.pod:3420
9913 msgid "guestfs_mount_ro"
9914 msgstr ""
9915
9916 # type: verbatim
9917 #: ../src/guestfs-actions.pod:3422
9918 #, no-wrap
9919 msgid ""
9920 " int guestfs_mount_ro (guestfs_h *g,\n"
9921 "\t\tconst char *device,\n"
9922 "\t\tconst char *mountpoint);\n"
9923 "\n"
9924 msgstr ""
9925
9926 # type: textblock
9927 #: ../src/guestfs-actions.pod:3426
9928 msgid ""
9929 "This is the same as the C<guestfs_mount> command, but it mounts the "
9930 "filesystem with the read-only (I<-o ro>) flag."
9931 msgstr ""
9932
9933 # type: =head2
9934 #: ../src/guestfs-actions.pod:3431
9935 msgid "guestfs_mount_vfs"
9936 msgstr ""
9937
9938 # type: verbatim
9939 #: ../src/guestfs-actions.pod:3433
9940 #, no-wrap
9941 msgid ""
9942 " int guestfs_mount_vfs (guestfs_h *g,\n"
9943 "\t\tconst char *options,\n"
9944 "\t\tconst char *vfstype,\n"
9945 "\t\tconst char *device,\n"
9946 "\t\tconst char *mountpoint);\n"
9947 "\n"
9948 msgstr ""
9949
9950 # type: textblock
9951 #: ../src/guestfs-actions.pod:3439
9952 msgid ""
9953 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9954 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
9955 "t> flags."
9956 msgstr ""
9957
9958 # type: =head2
9959 #: ../src/guestfs-actions.pod:3445
9960 msgid "guestfs_mountpoints"
9961 msgstr ""
9962
9963 # type: verbatim
9964 #: ../src/guestfs-actions.pod:3447
9965 #, no-wrap
9966 msgid ""
9967 " char **guestfs_mountpoints (guestfs_h *g);\n"
9968 "\n"
9969 msgstr ""
9970
9971 # type: textblock
9972 #: ../src/guestfs-actions.pod:3449
9973 msgid ""
9974 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
9975 "devices.  This one returns a hash table (map) of device name to directory "
9976 "where the device is mounted."
9977 msgstr ""
9978
9979 # type: =head2
9980 #: ../src/guestfs-actions.pod:3459
9981 msgid "guestfs_mounts"
9982 msgstr ""
9983
9984 # type: verbatim
9985 #: ../src/guestfs-actions.pod:3461
9986 #, no-wrap
9987 msgid ""
9988 " char **guestfs_mounts (guestfs_h *g);\n"
9989 "\n"
9990 msgstr ""
9991
9992 # type: textblock
9993 #: ../src/guestfs-actions.pod:3463 ../fish/guestfish-actions.pod:2682
9994 msgid ""
9995 "This returns the list of currently mounted filesystems.  It returns the list "
9996 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
9997 msgstr ""
9998
9999 # type: textblock
10000 #: ../src/guestfs-actions.pod:3466 ../fish/guestfish-actions.pod:2685
10001 msgid "Some internal mounts are not shown."
10002 msgstr ""
10003
10004 # type: textblock
10005 #: ../src/guestfs-actions.pod:3468
10006 msgid "See also: C<guestfs_mountpoints>"
10007 msgstr ""
10008
10009 # type: =head2
10010 #: ../src/guestfs-actions.pod:3474
10011 msgid "guestfs_mv"
10012 msgstr ""
10013
10014 # type: verbatim
10015 #: ../src/guestfs-actions.pod:3476
10016 #, no-wrap
10017 msgid ""
10018 " int guestfs_mv (guestfs_h *g,\n"
10019 "\t\tconst char *src,\n"
10020 "\t\tconst char *dest);\n"
10021 "\n"
10022 msgstr ""
10023
10024 # type: textblock
10025 #: ../src/guestfs-actions.pod:3480 ../fish/guestfish-actions.pod:2693
10026 msgid ""
10027 "This moves a file from C<src> to C<dest> where C<dest> is either a "
10028 "destination filename or destination directory."
10029 msgstr ""
10030
10031 # type: =head2
10032 #: ../src/guestfs-actions.pod:3485
10033 msgid "guestfs_ntfs_3g_probe"
10034 msgstr ""
10035
10036 # type: verbatim
10037 #: ../src/guestfs-actions.pod:3487
10038 #, no-wrap
10039 msgid ""
10040 " int guestfs_ntfs_3g_probe (guestfs_h *g,\n"
10041 "\t\tint rw,\n"
10042 "\t\tconst char *device);\n"
10043 "\n"
10044 msgstr ""
10045
10046 # type: textblock
10047 #: ../src/guestfs-actions.pod:3491 ../fish/guestfish-actions.pod:2700
10048 msgid ""
10049 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
10050 "C<device> for mountability.  (Not all NTFS volumes can be mounted read-"
10051 "write, and some cannot be mounted at all)."
10052 msgstr ""
10053
10054 # type: textblock
10055 #: ../src/guestfs-actions.pod:3495 ../fish/guestfish-actions.pod:2704
10056 msgid ""
10057 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
10058 "can be mounted read-write.  Set it to false if you want to test if the "
10059 "volume can be mounted read-only."
10060 msgstr ""
10061
10062 # type: textblock
10063 #: ../src/guestfs-actions.pod:3499 ../fish/guestfish-actions.pod:2708
10064 msgid ""
10065 "The return value is an integer which C<0> if the operation would succeed, or "
10066 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
10067 msgstr ""
10068
10069 # type: =head2
10070 #: ../src/guestfs-actions.pod:3505
10071 msgid "guestfs_ntfsresize"
10072 msgstr ""
10073
10074 # type: verbatim
10075 #: ../src/guestfs-actions.pod:3507
10076 #, no-wrap
10077 msgid ""
10078 " int guestfs_ntfsresize (guestfs_h *g,\n"
10079 "\t\tconst char *device);\n"
10080 "\n"
10081 msgstr ""
10082
10083 # type: textblock
10084 #: ../src/guestfs-actions.pod:3510 ../fish/guestfish-actions.pod:2716
10085 msgid ""
10086 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
10087 "size of the underlying device.  See also L<ntfsresize(8)>."
10088 msgstr ""
10089
10090 # type: =head2
10091 #: ../src/guestfs-actions.pod:3516
10092 msgid "guestfs_ntfsresize_size"
10093 msgstr ""
10094
10095 # type: verbatim
10096 #: ../src/guestfs-actions.pod:3518
10097 #, no-wrap
10098 msgid ""
10099 " int guestfs_ntfsresize_size (guestfs_h *g,\n"
10100 "\t\tconst char *device,\n"
10101 "\t\tint64_t size);\n"
10102 "\n"
10103 msgstr ""
10104
10105 # type: textblock
10106 #: ../src/guestfs-actions.pod:3522
10107 msgid ""
10108 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
10109 "to specify the new size (in bytes) explicitly."
10110 msgstr ""
10111
10112 # type: =head2
10113 #: ../src/guestfs-actions.pod:3527
10114 msgid "guestfs_part_add"
10115 msgstr ""
10116
10117 # type: verbatim
10118 #: ../src/guestfs-actions.pod:3529
10119 #, no-wrap
10120 msgid ""
10121 " int guestfs_part_add (guestfs_h *g,\n"
10122 "\t\tconst char *device,\n"
10123 "\t\tconst char *prlogex,\n"
10124 "\t\tint64_t startsect,\n"
10125 "\t\tint64_t endsect);\n"
10126 "\n"
10127 msgstr ""
10128
10129 # type: textblock
10130 #: ../src/guestfs-actions.pod:3535
10131 msgid ""
10132 "This command adds a partition to C<device>.  If there is no partition table "
10133 "on the device, call C<guestfs_part_init> first."
10134 msgstr ""
10135
10136 # type: textblock
10137 #: ../src/guestfs-actions.pod:3538 ../fish/guestfish-actions.pod:2734
10138 msgid ""
10139 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
10140 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
10141 "C<logical>) and C<e> (or C<extended>) partition types."
10142 msgstr ""
10143
10144 # type: textblock
10145 #: ../src/guestfs-actions.pod:3543 ../fish/guestfish-actions.pod:2739
10146 msgid ""
10147 "C<startsect> and C<endsect> are the start and end of the partition in "
10148 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
10149 "from the end of the disk (C<-1> is the last sector)."
10150 msgstr ""
10151
10152 # type: textblock
10153 #: ../src/guestfs-actions.pod:3547
10154 msgid ""
10155 "Creating a partition which covers the whole disk is not so easy.  Use "
10156 "C<guestfs_part_disk> to do that."
10157 msgstr ""
10158
10159 # type: =head2
10160 #: ../src/guestfs-actions.pod:3552
10161 msgid "guestfs_part_del"
10162 msgstr ""
10163
10164 # type: verbatim
10165 #: ../src/guestfs-actions.pod:3554
10166 #, no-wrap
10167 msgid ""
10168 " int guestfs_part_del (guestfs_h *g,\n"
10169 "\t\tconst char *device,\n"
10170 "\t\tint partnum);\n"
10171 "\n"
10172 msgstr ""
10173
10174 # type: textblock
10175 #: ../src/guestfs-actions.pod:3558 ../fish/guestfish-actions.pod:2750
10176 msgid "This command deletes the partition numbered C<partnum> on C<device>."
10177 msgstr ""
10178
10179 # type: textblock
10180 #: ../src/guestfs-actions.pod:3560 ../fish/guestfish-actions.pod:2752
10181 msgid ""
10182 "Note that in the case of MBR partitioning, deleting an extended partition "
10183 "also deletes any logical partitions it contains."
10184 msgstr ""
10185
10186 # type: =head2
10187 #: ../src/guestfs-actions.pod:3566
10188 msgid "guestfs_part_disk"
10189 msgstr ""
10190
10191 # type: verbatim
10192 #: ../src/guestfs-actions.pod:3568
10193 #, no-wrap
10194 msgid ""
10195 " int guestfs_part_disk (guestfs_h *g,\n"
10196 "\t\tconst char *device,\n"
10197 "\t\tconst char *parttype);\n"
10198 "\n"
10199 msgstr ""
10200
10201 # type: textblock
10202 #: ../src/guestfs-actions.pod:3572
10203 msgid ""
10204 "This command is simply a combination of C<guestfs_part_init> followed by "
10205 "C<guestfs_part_add> to create a single primary partition covering the whole "
10206 "disk."
10207 msgstr ""
10208
10209 # type: textblock
10210 #: ../src/guestfs-actions.pod:3576
10211 msgid ""
10212 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
10213 "possible values are described in C<guestfs_part_init>."
10214 msgstr ""
10215
10216 # type: =head2
10217 #: ../src/guestfs-actions.pod:3584
10218 msgid "guestfs_part_get_bootable"
10219 msgstr ""
10220
10221 # type: verbatim
10222 #: ../src/guestfs-actions.pod:3586
10223 #, no-wrap
10224 msgid ""
10225 " int guestfs_part_get_bootable (guestfs_h *g,\n"
10226 "\t\tconst char *device,\n"
10227 "\t\tint partnum);\n"
10228 "\n"
10229 msgstr ""
10230
10231 # type: textblock
10232 #: ../src/guestfs-actions.pod:3590 ../fish/guestfish-actions.pod:2774
10233 msgid ""
10234 "This command returns true if the partition C<partnum> on C<device> has the "
10235 "bootable flag set."
10236 msgstr ""
10237
10238 # type: textblock
10239 #: ../src/guestfs-actions.pod:3593
10240 msgid "See also C<guestfs_part_set_bootable>."
10241 msgstr ""
10242
10243 # type: =head2
10244 #: ../src/guestfs-actions.pod:3597
10245 msgid "guestfs_part_get_mbr_id"
10246 msgstr ""
10247
10248 # type: verbatim
10249 #: ../src/guestfs-actions.pod:3599
10250 #, no-wrap
10251 msgid ""
10252 " int guestfs_part_get_mbr_id (guestfs_h *g,\n"
10253 "\t\tconst char *device,\n"
10254 "\t\tint partnum);\n"
10255 "\n"
10256 msgstr ""
10257
10258 # type: textblock
10259 #: ../src/guestfs-actions.pod:3603 ../fish/guestfish-actions.pod:2783
10260 msgid ""
10261 "Returns the MBR type byte (also known as the ID byte) from the numbered "
10262 "partition C<partnum>."
10263 msgstr ""
10264
10265 # type: textblock
10266 #: ../src/guestfs-actions.pod:3606 ../src/guestfs-actions.pod:3768
10267 msgid ""
10268 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
10269 "undefined results for other partition table types (see "
10270 "C<guestfs_part_get_parttype>)."
10271 msgstr ""
10272
10273 # type: =head2
10274 #: ../src/guestfs-actions.pod:3612
10275 msgid "guestfs_part_get_parttype"
10276 msgstr ""
10277
10278 # type: verbatim
10279 #: ../src/guestfs-actions.pod:3614
10280 #, no-wrap
10281 msgid ""
10282 " char *guestfs_part_get_parttype (guestfs_h *g,\n"
10283 "\t\tconst char *device);\n"
10284 "\n"
10285 msgstr ""
10286
10287 # type: textblock
10288 #: ../src/guestfs-actions.pod:3617 ../fish/guestfish-actions.pod:2794
10289 msgid ""
10290 "This command examines the partition table on C<device> and returns the "
10291 "partition table type (format) being used."
10292 msgstr ""
10293
10294 # type: textblock
10295 #: ../src/guestfs-actions.pod:3620
10296 msgid ""
10297 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
10298 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
10299 "possible, although unusual.  See C<guestfs_part_init> for a full list."
10300 msgstr ""
10301
10302 # type: =head2
10303 #: ../src/guestfs-actions.pod:3628
10304 msgid "guestfs_part_init"
10305 msgstr ""
10306
10307 # type: verbatim
10308 #: ../src/guestfs-actions.pod:3630
10309 #, no-wrap
10310 msgid ""
10311 " int guestfs_part_init (guestfs_h *g,\n"
10312 "\t\tconst char *device,\n"
10313 "\t\tconst char *parttype);\n"
10314 "\n"
10315 msgstr ""
10316
10317 # type: textblock
10318 #: ../src/guestfs-actions.pod:3634 ../fish/guestfish-actions.pod:2806
10319 msgid ""
10320 "This creates an empty partition table on C<device> of one of the partition "
10321 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
10322 "(for large disks)."
10323 msgstr ""
10324
10325 # type: textblock
10326 #: ../src/guestfs-actions.pod:3638
10327 msgid ""
10328 "Initially there are no partitions.  Following this, you should call "
10329 "C<guestfs_part_add> for each partition required."
10330 msgstr ""
10331
10332 # type: textblock
10333 #: ../src/guestfs-actions.pod:3641 ../fish/guestfish-actions.pod:2813
10334 msgid "Possible values for C<parttype> are:"
10335 msgstr ""
10336
10337 # type: =item
10338 #: ../src/guestfs-actions.pod:3645 ../fish/guestfish-actions.pod:2817
10339 msgid "B<efi> | B<gpt>"
10340 msgstr ""
10341
10342 # type: textblock
10343 #: ../src/guestfs-actions.pod:3647 ../fish/guestfish-actions.pod:2819
10344 msgid "Intel EFI / GPT partition table."
10345 msgstr ""
10346
10347 # type: textblock
10348 #: ../src/guestfs-actions.pod:3649 ../fish/guestfish-actions.pod:2821
10349 msgid ""
10350 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
10351 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
10352 "the C<mbr> format."
10353 msgstr ""
10354
10355 # type: =item
10356 #: ../src/guestfs-actions.pod:3653 ../fish/guestfish-actions.pod:2825
10357 msgid "B<mbr> | B<msdos>"
10358 msgstr ""
10359
10360 # type: textblock
10361 #: ../src/guestfs-actions.pod:3655 ../fish/guestfish-actions.pod:2827
10362 msgid ""
10363 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
10364 "Windows.  This partition type will B<only> work for device sizes up to 2 "
10365 "TB.  For large disks we recommend using C<gpt>."
10366 msgstr ""
10367
10368 # type: textblock
10369 #: ../src/guestfs-actions.pod:3662 ../fish/guestfish-actions.pod:2834
10370 msgid ""
10371 "Other partition table types that may work but are not supported include:"
10372 msgstr ""
10373
10374 # type: =item
10375 #: ../src/guestfs-actions.pod:3667 ../fish/guestfish-actions.pod:2839
10376 msgid "B<aix>"
10377 msgstr ""
10378
10379 # type: textblock
10380 #: ../src/guestfs-actions.pod:3669 ../fish/guestfish-actions.pod:2841
10381 msgid "AIX disk labels."
10382 msgstr ""
10383
10384 # type: =item
10385 #: ../src/guestfs-actions.pod:3671 ../fish/guestfish-actions.pod:2843
10386 msgid "B<amiga> | B<rdb>"
10387 msgstr ""
10388
10389 # type: textblock
10390 #: ../src/guestfs-actions.pod:3673 ../fish/guestfish-actions.pod:2845
10391 msgid "Amiga \"Rigid Disk Block\" format."
10392 msgstr ""
10393
10394 # type: =item
10395 #: ../src/guestfs-actions.pod:3675 ../fish/guestfish-actions.pod:2847
10396 msgid "B<bsd>"
10397 msgstr ""
10398
10399 # type: textblock
10400 #: ../src/guestfs-actions.pod:3677 ../fish/guestfish-actions.pod:2849
10401 msgid "BSD disk labels."
10402 msgstr ""
10403
10404 # type: =item
10405 #: ../src/guestfs-actions.pod:3679 ../fish/guestfish-actions.pod:2851
10406 msgid "B<dasd>"
10407 msgstr ""
10408
10409 # type: textblock
10410 #: ../src/guestfs-actions.pod:3681 ../fish/guestfish-actions.pod:2853
10411 msgid "DASD, used on IBM mainframes."
10412 msgstr ""
10413
10414 # type: =item
10415 #: ../src/guestfs-actions.pod:3683 ../fish/guestfish-actions.pod:2855
10416 msgid "B<dvh>"
10417 msgstr ""
10418
10419 # type: textblock
10420 #: ../src/guestfs-actions.pod:3685 ../fish/guestfish-actions.pod:2857
10421 msgid "MIPS/SGI volumes."
10422 msgstr ""
10423
10424 # type: =item
10425 #: ../src/guestfs-actions.pod:3687 ../fish/guestfish-actions.pod:2859
10426 msgid "B<mac>"
10427 msgstr ""
10428
10429 # type: textblock
10430 #: ../src/guestfs-actions.pod:3689 ../fish/guestfish-actions.pod:2861
10431 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
10432 msgstr ""
10433
10434 # type: =item
10435 #: ../src/guestfs-actions.pod:3691 ../fish/guestfish-actions.pod:2863
10436 msgid "B<pc98>"
10437 msgstr ""
10438
10439 # type: textblock
10440 #: ../src/guestfs-actions.pod:3693 ../fish/guestfish-actions.pod:2865
10441 msgid "NEC PC-98 format, common in Japan apparently."
10442 msgstr ""
10443
10444 # type: =item
10445 #: ../src/guestfs-actions.pod:3695 ../fish/guestfish-actions.pod:2867
10446 msgid "B<sun>"
10447 msgstr ""
10448
10449 # type: textblock
10450 #: ../src/guestfs-actions.pod:3697 ../fish/guestfish-actions.pod:2869
10451 msgid "Sun disk labels."
10452 msgstr ""
10453
10454 # type: =head2
10455 #: ../src/guestfs-actions.pod:3703
10456 msgid "guestfs_part_list"
10457 msgstr ""
10458
10459 # type: verbatim
10460 #: ../src/guestfs-actions.pod:3705
10461 #, no-wrap
10462 msgid ""
10463 " struct guestfs_partition_list *guestfs_part_list (guestfs_h *g,\n"
10464 "\t\tconst char *device);\n"
10465 "\n"
10466 msgstr ""
10467
10468 # type: textblock
10469 #: ../src/guestfs-actions.pod:3708 ../fish/guestfish-actions.pod:2877
10470 msgid ""
10471 "This command parses the partition table on C<device> and returns the list of "
10472 "partitions found."
10473 msgstr ""
10474
10475 # type: textblock
10476 #: ../src/guestfs-actions.pod:3711 ../fish/guestfish-actions.pod:2880
10477 msgid "The fields in the returned structure are:"
10478 msgstr ""
10479
10480 # type: =item
10481 #: ../src/guestfs-actions.pod:3715 ../fish/guestfish-actions.pod:2884
10482 msgid "B<part_num>"
10483 msgstr ""
10484
10485 # type: textblock
10486 #: ../src/guestfs-actions.pod:3717 ../fish/guestfish-actions.pod:2886
10487 msgid "Partition number, counting from 1."
10488 msgstr ""
10489
10490 # type: =item
10491 #: ../src/guestfs-actions.pod:3719 ../fish/guestfish-actions.pod:2888
10492 msgid "B<part_start>"
10493 msgstr ""
10494
10495 # type: textblock
10496 #: ../src/guestfs-actions.pod:3721
10497 msgid ""
10498 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
10499 "the device's sector size, see C<guestfs_blockdev_getss>."
10500 msgstr ""
10501
10502 # type: =item
10503 #: ../src/guestfs-actions.pod:3724 ../fish/guestfish-actions.pod:2893
10504 msgid "B<part_end>"
10505 msgstr ""
10506
10507 # type: textblock
10508 #: ../src/guestfs-actions.pod:3726 ../fish/guestfish-actions.pod:2895
10509 msgid "End of the partition in bytes."
10510 msgstr ""
10511
10512 # type: =item
10513 #: ../src/guestfs-actions.pod:3728 ../fish/guestfish-actions.pod:2897
10514 msgid "B<part_size>"
10515 msgstr ""
10516
10517 # type: textblock
10518 #: ../src/guestfs-actions.pod:3730 ../fish/guestfish-actions.pod:2899
10519 msgid "Size of the partition in bytes."
10520 msgstr ""
10521
10522 # type: textblock
10523 #: ../src/guestfs-actions.pod:3734
10524 msgid ""
10525 "This function returns a C<struct guestfs_partition_list *> (see E<lt>guestfs-"
10526 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10527 "C<guestfs_free_partition_list> after use>."
10528 msgstr ""
10529
10530 # type: =head2
10531 #: ../src/guestfs-actions.pod:3739
10532 msgid "guestfs_part_set_bootable"
10533 msgstr ""
10534
10535 # type: verbatim
10536 #: ../src/guestfs-actions.pod:3741
10537 #, no-wrap
10538 msgid ""
10539 " int guestfs_part_set_bootable (guestfs_h *g,\n"
10540 "\t\tconst char *device,\n"
10541 "\t\tint partnum,\n"
10542 "\t\tint bootable);\n"
10543 "\n"
10544 msgstr ""
10545
10546 # type: textblock
10547 #: ../src/guestfs-actions.pod:3746 ../fish/guestfish-actions.pod:2907
10548 msgid ""
10549 "This sets the bootable flag on partition numbered C<partnum> on device "
10550 "C<device>.  Note that partitions are numbered from 1."
10551 msgstr ""
10552
10553 # type: textblock
10554 #: ../src/guestfs-actions.pod:3749 ../fish/guestfish-actions.pod:2910
10555 msgid ""
10556 "The bootable flag is used by some operating systems (notably Windows) to "
10557 "determine which partition to boot from.  It is by no means universally "
10558 "recognized."
10559 msgstr ""
10560
10561 # type: =head2
10562 #: ../src/guestfs-actions.pod:3755
10563 msgid "guestfs_part_set_mbr_id"
10564 msgstr ""
10565
10566 # type: verbatim
10567 #: ../src/guestfs-actions.pod:3757
10568 #, no-wrap
10569 msgid ""
10570 " int guestfs_part_set_mbr_id (guestfs_h *g,\n"
10571 "\t\tconst char *device,\n"
10572 "\t\tint partnum,\n"
10573 "\t\tint idbyte);\n"
10574 "\n"
10575 msgstr ""
10576
10577 # type: textblock
10578 #: ../src/guestfs-actions.pod:3762 ../fish/guestfish-actions.pod:2918
10579 msgid ""
10580 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
10581 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
10582 "documentation are in fact hexadecimal numbers, but usually documented "
10583 "without any leading \"0x\" which might be confusing."
10584 msgstr ""
10585
10586 # type: =head2
10587 #: ../src/guestfs-actions.pod:3774
10588 msgid "guestfs_part_set_name"
10589 msgstr ""
10590
10591 # type: verbatim
10592 #: ../src/guestfs-actions.pod:3776
10593 #, no-wrap
10594 msgid ""
10595 " int guestfs_part_set_name (guestfs_h *g,\n"
10596 "\t\tconst char *device,\n"
10597 "\t\tint partnum,\n"
10598 "\t\tconst char *name);\n"
10599 "\n"
10600 msgstr ""
10601
10602 # type: textblock
10603 #: ../src/guestfs-actions.pod:3781 ../fish/guestfish-actions.pod:2932
10604 msgid ""
10605 "This sets the partition name on partition numbered C<partnum> on device "
10606 "C<device>.  Note that partitions are numbered from 1."
10607 msgstr ""
10608
10609 # type: textblock
10610 #: ../src/guestfs-actions.pod:3784 ../fish/guestfish-actions.pod:2935
10611 msgid ""
10612 "The partition name can only be set on certain types of partition table.  "
10613 "This works on C<gpt> but not on C<mbr> partitions."
10614 msgstr ""
10615
10616 # type: =head2
10617 #: ../src/guestfs-actions.pod:3789
10618 msgid "guestfs_part_to_dev"
10619 msgstr ""
10620
10621 # type: verbatim
10622 #: ../src/guestfs-actions.pod:3791
10623 #, no-wrap
10624 msgid ""
10625 " char *guestfs_part_to_dev (guestfs_h *g,\n"
10626 "\t\tconst char *partition);\n"
10627 "\n"
10628 msgstr ""
10629
10630 # type: textblock
10631 #: ../src/guestfs-actions.pod:3794 ../fish/guestfish-actions.pod:2942
10632 msgid ""
10633 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
10634 "partition number, returning the device name (eg. \"/dev/sdb\")."
10635 msgstr ""
10636
10637 # type: textblock
10638 #: ../src/guestfs-actions.pod:3798
10639 msgid ""
10640 "The named partition must exist, for example as a string returned from "
10641 "C<guestfs_list_partitions>."
10642 msgstr ""
10643
10644 # type: =head2
10645 #: ../src/guestfs-actions.pod:3804
10646 msgid "guestfs_ping_daemon"
10647 msgstr ""
10648
10649 # type: verbatim
10650 #: ../src/guestfs-actions.pod:3806
10651 #, no-wrap
10652 msgid ""
10653 " int guestfs_ping_daemon (guestfs_h *g);\n"
10654 "\n"
10655 msgstr ""
10656
10657 # type: textblock
10658 #: ../src/guestfs-actions.pod:3808 ../fish/guestfish-actions.pod:2953
10659 msgid ""
10660 "This is a test probe into the guestfs daemon running inside the qemu "
10661 "subprocess.  Calling this function checks that the daemon responds to the "
10662 "ping message, without affecting the daemon or attached block device(s) in "
10663 "any other way."
10664 msgstr ""
10665
10666 # type: =head2
10667 #: ../src/guestfs-actions.pod:3815
10668 msgid "guestfs_pread"
10669 msgstr ""
10670
10671 # type: verbatim
10672 #: ../src/guestfs-actions.pod:3817
10673 #, no-wrap
10674 msgid ""
10675 " char *guestfs_pread (guestfs_h *g,\n"
10676 "\t\tconst char *path,\n"
10677 "\t\tint count,\n"
10678 "\t\tint64_t offset,\n"
10679 "\t\tsize_t *size_r);\n"
10680 "\n"
10681 msgstr ""
10682
10683 # type: textblock
10684 #: ../src/guestfs-actions.pod:3823 ../fish/guestfish-actions.pod:2962
10685 msgid ""
10686 "This command lets you read part of a file.  It reads C<count> bytes of the "
10687 "file, starting at C<offset>, from file C<path>."
10688 msgstr ""
10689
10690 # type: textblock
10691 #: ../src/guestfs-actions.pod:3826 ../fish/guestfish-actions.pod:2965
10692 msgid ""
10693 "This may read fewer bytes than requested.  For further details see the "
10694 "L<pread(2)> system call."
10695 msgstr ""
10696
10697 # type: textblock
10698 #: ../src/guestfs-actions.pod:3829 ../src/guestfs-actions.pod:3962
10699 msgid "See also C<guestfs_pwrite>."
10700 msgstr ""
10701
10702 # type: =head2
10703 #: ../src/guestfs-actions.pod:3838
10704 msgid "guestfs_pvcreate"
10705 msgstr ""
10706
10707 # type: verbatim
10708 #: ../src/guestfs-actions.pod:3840
10709 #, no-wrap
10710 msgid ""
10711 " int guestfs_pvcreate (guestfs_h *g,\n"
10712 "\t\tconst char *device);\n"
10713 "\n"
10714 msgstr ""
10715
10716 # type: textblock
10717 #: ../src/guestfs-actions.pod:3843 ../fish/guestfish-actions.pod:2977
10718 msgid ""
10719 "This creates an LVM physical volume on the named C<device>, where C<device> "
10720 "should usually be a partition name such as C</dev/sda1>."
10721 msgstr ""
10722
10723 # type: =head2
10724 #: ../src/guestfs-actions.pod:3849
10725 msgid "guestfs_pvremove"
10726 msgstr ""
10727
10728 # type: verbatim
10729 #: ../src/guestfs-actions.pod:3851
10730 #, no-wrap
10731 msgid ""
10732 " int guestfs_pvremove (guestfs_h *g,\n"
10733 "\t\tconst char *device);\n"
10734 "\n"
10735 msgstr ""
10736
10737 # type: textblock
10738 #: ../src/guestfs-actions.pod:3854 ../fish/guestfish-actions.pod:2985
10739 msgid ""
10740 "This wipes a physical volume C<device> so that LVM will no longer recognise "
10741 "it."
10742 msgstr ""
10743
10744 # type: textblock
10745 #: ../src/guestfs-actions.pod:3857 ../fish/guestfish-actions.pod:2988
10746 msgid ""
10747 "The implementation uses the C<pvremove> command which refuses to wipe "
10748 "physical volumes that contain any volume groups, so you have to remove those "
10749 "first."
10750 msgstr ""
10751
10752 # type: =head2
10753 #: ../src/guestfs-actions.pod:3863
10754 msgid "guestfs_pvresize"
10755 msgstr ""
10756
10757 # type: verbatim
10758 #: ../src/guestfs-actions.pod:3865
10759 #, no-wrap
10760 msgid ""
10761 " int guestfs_pvresize (guestfs_h *g,\n"
10762 "\t\tconst char *device);\n"
10763 "\n"
10764 msgstr ""
10765
10766 # type: textblock
10767 #: ../src/guestfs-actions.pod:3868 ../fish/guestfish-actions.pod:2996
10768 msgid ""
10769 "This resizes (expands or shrinks) an existing LVM physical volume to match "
10770 "the new size of the underlying device."
10771 msgstr ""
10772
10773 # type: =head2
10774 #: ../src/guestfs-actions.pod:3873
10775 msgid "guestfs_pvresize_size"
10776 msgstr ""
10777
10778 # type: verbatim
10779 #: ../src/guestfs-actions.pod:3875
10780 #, no-wrap
10781 msgid ""
10782 " int guestfs_pvresize_size (guestfs_h *g,\n"
10783 "\t\tconst char *device,\n"
10784 "\t\tint64_t size);\n"
10785 "\n"
10786 msgstr ""
10787
10788 # type: textblock
10789 #: ../src/guestfs-actions.pod:3879
10790 msgid ""
10791 "This command is the same as C<guestfs_pvresize> except that it allows you to "
10792 "specify the new size (in bytes) explicitly."
10793 msgstr ""
10794
10795 # type: =head2
10796 #: ../src/guestfs-actions.pod:3884
10797 msgid "guestfs_pvs"
10798 msgstr ""
10799
10800 # type: verbatim
10801 #: ../src/guestfs-actions.pod:3886
10802 #, no-wrap
10803 msgid ""
10804 " char **guestfs_pvs (guestfs_h *g);\n"
10805 "\n"
10806 msgstr ""
10807
10808 # type: textblock
10809 #: ../src/guestfs-actions.pod:3888 ../fish/guestfish-actions.pod:3010
10810 msgid ""
10811 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10812 "(8)> command."
10813 msgstr ""
10814
10815 # type: textblock
10816 #: ../src/guestfs-actions.pod:3891 ../fish/guestfish-actions.pod:3013
10817 msgid ""
10818 "This returns a list of just the device names that contain PVs (eg. C</dev/"
10819 "sda2>)."
10820 msgstr ""
10821
10822 # type: textblock
10823 #: ../src/guestfs-actions.pod:3894
10824 msgid "See also C<guestfs_pvs_full>."
10825 msgstr ""
10826
10827 # type: =head2
10828 #: ../src/guestfs-actions.pod:3900
10829 msgid "guestfs_pvs_full"
10830 msgstr ""
10831
10832 # type: verbatim
10833 #: ../src/guestfs-actions.pod:3902
10834 #, no-wrap
10835 msgid ""
10836 " struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *g);\n"
10837 "\n"
10838 msgstr ""
10839
10840 # type: textblock
10841 #: ../src/guestfs-actions.pod:3904 ../fish/guestfish-actions.pod:3022
10842 msgid ""
10843 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10844 "(8)> command.  The \"full\" version includes all fields."
10845 msgstr ""
10846
10847 # type: textblock
10848 #: ../src/guestfs-actions.pod:3907
10849 msgid ""
10850 "This function returns a C<struct guestfs_lvm_pv_list *> (see E<lt>guestfs-"
10851 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10852 "C<guestfs_free_lvm_pv_list> after use>."
10853 msgstr ""
10854
10855 # type: =head2
10856 #: ../src/guestfs-actions.pod:3912
10857 msgid "guestfs_pvuuid"
10858 msgstr ""
10859
10860 # type: verbatim
10861 #: ../src/guestfs-actions.pod:3914
10862 #, no-wrap
10863 msgid ""
10864 " char *guestfs_pvuuid (guestfs_h *g,\n"
10865 "\t\tconst char *device);\n"
10866 "\n"
10867 msgstr ""
10868
10869 # type: textblock
10870 #: ../src/guestfs-actions.pod:3917 ../fish/guestfish-actions.pod:3029
10871 msgid "This command returns the UUID of the LVM PV C<device>."
10872 msgstr ""
10873
10874 # type: =head2
10875 #: ../src/guestfs-actions.pod:3922
10876 msgid "guestfs_pwrite"
10877 msgstr ""
10878
10879 # type: verbatim
10880 #: ../src/guestfs-actions.pod:3924
10881 #, no-wrap
10882 msgid ""
10883 " int guestfs_pwrite (guestfs_h *g,\n"
10884 "\t\tconst char *path,\n"
10885 "\t\tconst char *content,\n"
10886 "\t\tsize_t content_size,\n"
10887 "\t\tint64_t offset);\n"
10888 "\n"
10889 msgstr ""
10890
10891 # type: textblock
10892 #: ../src/guestfs-actions.pod:3930 ../fish/guestfish-actions.pod:3035
10893 msgid ""
10894 "This command writes to part of a file.  It writes the data buffer C<content> "
10895 "to the file C<path> starting at offset C<offset>."
10896 msgstr ""
10897
10898 # type: textblock
10899 #: ../src/guestfs-actions.pod:3933 ../fish/guestfish-actions.pod:3038
10900 msgid ""
10901 "This command implements the L<pwrite(2)> system call, and like that system "
10902 "call it may not write the full data requested.  The return value is the "
10903 "number of bytes that were actually written to the file.  This could even be "
10904 "0, although short writes are unlikely for regular files in ordinary "
10905 "circumstances."
10906 msgstr ""
10907
10908 # type: textblock
10909 #: ../src/guestfs-actions.pod:3939
10910 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
10911 msgstr ""
10912
10913 # type: =head2
10914 #: ../src/guestfs-actions.pod:3946
10915 msgid "guestfs_pwrite_device"
10916 msgstr ""
10917
10918 # type: verbatim
10919 #: ../src/guestfs-actions.pod:3948
10920 #, no-wrap
10921 msgid ""
10922 " int guestfs_pwrite_device (guestfs_h *g,\n"
10923 "\t\tconst char *device,\n"
10924 "\t\tconst char *content,\n"
10925 "\t\tsize_t content_size,\n"
10926 "\t\tint64_t offset);\n"
10927 "\n"
10928 msgstr ""
10929
10930 # type: textblock
10931 #: ../src/guestfs-actions.pod:3954 ../fish/guestfish-actions.pod:3053
10932 msgid ""
10933 "This command writes to part of a device.  It writes the data buffer "
10934 "C<content> to C<device> starting at offset C<offset>."
10935 msgstr ""
10936
10937 # type: textblock
10938 #: ../src/guestfs-actions.pod:3957 ../fish/guestfish-actions.pod:3056
10939 msgid ""
10940 "This command implements the L<pwrite(2)> system call, and like that system "
10941 "call it may not write the full data requested (although short writes to disk "
10942 "devices and partitions are probably impossible with standard Linux kernels)."
10943 msgstr ""
10944
10945 # type: =head2
10946 #: ../src/guestfs-actions.pod:3969
10947 msgid "guestfs_read_file"
10948 msgstr ""
10949
10950 # type: verbatim
10951 #: ../src/guestfs-actions.pod:3971
10952 #, no-wrap
10953 msgid ""
10954 " char *guestfs_read_file (guestfs_h *g,\n"
10955 "\t\tconst char *path,\n"
10956 "\t\tsize_t *size_r);\n"
10957 "\n"
10958 msgstr ""
10959
10960 # type: textblock
10961 #: ../src/guestfs-actions.pod:3975 ../fish/guestfish-actions.pod:3070
10962 msgid "This calls returns the contents of the file C<path> as a buffer."
10963 msgstr ""
10964
10965 # type: textblock
10966 #: ../src/guestfs-actions.pod:3978
10967 msgid ""
10968 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
10969 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
10970 "function is limited in the total size of file that can be handled."
10971 msgstr ""
10972
10973 # type: =head2
10974 #: ../src/guestfs-actions.pod:3990
10975 msgid "guestfs_read_lines"
10976 msgstr ""
10977
10978 # type: verbatim
10979 #: ../src/guestfs-actions.pod:3992
10980 #, no-wrap
10981 msgid ""
10982 " char **guestfs_read_lines (guestfs_h *g,\n"
10983 "\t\tconst char *path);\n"
10984 "\n"
10985 msgstr ""
10986
10987 # type: textblock
10988 #: ../src/guestfs-actions.pod:3997 ../fish/guestfish-actions.pod:3087
10989 msgid ""
10990 "The file contents are returned as a list of lines.  Trailing C<LF> and "
10991 "C<CRLF> character sequences are I<not> returned."
10992 msgstr ""
10993
10994 # type: textblock
10995 #: ../src/guestfs-actions.pod:4000
10996 msgid ""
10997 "Note that this function cannot correctly handle binary files (specifically, "
10998 "files containing C<\\0> character which is treated as end of line).  For "
10999 "those you need to use the C<guestfs_read_file> function which has a more "
11000 "complex interface."
11001 msgstr ""
11002
11003 # type: =head2
11004 #: ../src/guestfs-actions.pod:4009
11005 msgid "guestfs_readdir"
11006 msgstr ""
11007
11008 # type: verbatim
11009 #: ../src/guestfs-actions.pod:4011
11010 #, no-wrap
11011 msgid ""
11012 " struct guestfs_dirent_list *guestfs_readdir (guestfs_h *g,\n"
11013 "\t\tconst char *dir);\n"
11014 "\n"
11015 msgstr ""
11016
11017 # type: textblock
11018 #: ../src/guestfs-actions.pod:4014 ../fish/guestfish-actions.pod:3099
11019 msgid "This returns the list of directory entries in directory C<dir>."
11020 msgstr ""
11021
11022 # type: textblock
11023 #: ../src/guestfs-actions.pod:4016 ../fish/guestfish-actions.pod:3101
11024 msgid ""
11025 "All entries in the directory are returned, including C<.> and C<..>.  The "
11026 "entries are I<not> sorted, but returned in the same order as the underlying "
11027 "filesystem."
11028 msgstr ""
11029
11030 # type: textblock
11031 #: ../src/guestfs-actions.pod:4020 ../fish/guestfish-actions.pod:3105
11032 msgid ""
11033 "Also this call returns basic file type information about each file.  The "
11034 "C<ftyp> field will contain one of the following characters:"
11035 msgstr ""
11036
11037 # type: =item
11038 #: ../src/guestfs-actions.pod:4025 ../fish/guestfish-actions.pod:3110
11039 msgid "'b'"
11040 msgstr ""
11041
11042 # type: textblock
11043 #: ../src/guestfs-actions.pod:4027 ../fish/guestfish-actions.pod:3112
11044 msgid "Block special"
11045 msgstr ""
11046
11047 # type: =item
11048 #: ../src/guestfs-actions.pod:4029 ../fish/guestfish-actions.pod:3114
11049 msgid "'c'"
11050 msgstr ""
11051
11052 # type: textblock
11053 #: ../src/guestfs-actions.pod:4031 ../fish/guestfish-actions.pod:3116
11054 msgid "Char special"
11055 msgstr ""
11056
11057 # type: =item
11058 #: ../src/guestfs-actions.pod:4033 ../fish/guestfish-actions.pod:3118
11059 msgid "'d'"
11060 msgstr ""
11061
11062 # type: textblock
11063 #: ../src/guestfs-actions.pod:4035 ../fish/guestfish-actions.pod:3120
11064 msgid "Directory"
11065 msgstr ""
11066
11067 # type: =item
11068 #: ../src/guestfs-actions.pod:4037 ../fish/guestfish-actions.pod:3122
11069 msgid "'f'"
11070 msgstr ""
11071
11072 # type: textblock
11073 #: ../src/guestfs-actions.pod:4039 ../fish/guestfish-actions.pod:3124
11074 msgid "FIFO (named pipe)"
11075 msgstr ""
11076
11077 # type: =item
11078 #: ../src/guestfs-actions.pod:4041 ../fish/guestfish-actions.pod:3126
11079 msgid "'l'"
11080 msgstr ""
11081
11082 # type: textblock
11083 #: ../src/guestfs-actions.pod:4043 ../fish/guestfish-actions.pod:3128
11084 msgid "Symbolic link"
11085 msgstr ""
11086
11087 # type: =item
11088 #: ../src/guestfs-actions.pod:4045 ../fish/guestfish-actions.pod:3130
11089 msgid "'r'"
11090 msgstr ""
11091
11092 # type: textblock
11093 #: ../src/guestfs-actions.pod:4047 ../fish/guestfish-actions.pod:3132
11094 msgid "Regular file"
11095 msgstr ""
11096
11097 # type: =item
11098 #: ../src/guestfs-actions.pod:4049 ../fish/guestfish-actions.pod:3134
11099 msgid "'s'"
11100 msgstr ""
11101
11102 # type: textblock
11103 #: ../src/guestfs-actions.pod:4051 ../fish/guestfish-actions.pod:3136
11104 msgid "Socket"
11105 msgstr ""
11106
11107 # type: =item
11108 #: ../src/guestfs-actions.pod:4053 ../fish/guestfish-actions.pod:3138
11109 msgid "'u'"
11110 msgstr ""
11111
11112 # type: textblock
11113 #: ../src/guestfs-actions.pod:4055 ../fish/guestfish-actions.pod:3140
11114 msgid "Unknown file type"
11115 msgstr ""
11116
11117 # type: =item
11118 #: ../src/guestfs-actions.pod:4057 ../fish/guestfish-actions.pod:3142
11119 msgid "'?'"
11120 msgstr ""
11121
11122 # type: textblock
11123 #: ../src/guestfs-actions.pod:4059 ../fish/guestfish-actions.pod:3144
11124 msgid ""
11125 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
11126 msgstr ""
11127
11128 # type: textblock
11129 #: ../src/guestfs-actions.pod:4064
11130 msgid ""
11131 "This function is primarily intended for use by programs.  To get a simple "
11132 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
11133 "consumption, use C<guestfs_ll>."
11134 msgstr ""
11135
11136 # type: textblock
11137 #: ../src/guestfs-actions.pod:4068
11138 msgid ""
11139 "This function returns a C<struct guestfs_dirent_list *> (see E<lt>guestfs-"
11140 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
11141 "C<guestfs_free_dirent_list> after use>."
11142 msgstr ""
11143
11144 # type: =head2
11145 #: ../src/guestfs-actions.pod:4073
11146 msgid "guestfs_readlink"
11147 msgstr ""
11148
11149 # type: verbatim
11150 #: ../src/guestfs-actions.pod:4075
11151 #, no-wrap
11152 msgid ""
11153 " char *guestfs_readlink (guestfs_h *g,\n"
11154 "\t\tconst char *path);\n"
11155 "\n"
11156 msgstr ""
11157
11158 # type: textblock
11159 #: ../src/guestfs-actions.pod:4078 ../fish/guestfish-actions.pod:3157
11160 msgid "This command reads the target of a symbolic link."
11161 msgstr ""
11162
11163 # type: =head2
11164 #: ../src/guestfs-actions.pod:4083
11165 msgid "guestfs_readlinklist"
11166 msgstr ""
11167
11168 # type: verbatim
11169 #: ../src/guestfs-actions.pod:4085
11170 #, no-wrap
11171 msgid ""
11172 " char **guestfs_readlinklist (guestfs_h *g,\n"
11173 "\t\tconst char *path,\n"
11174 "\t\tchar *const *names);\n"
11175 "\n"
11176 msgstr ""
11177
11178 # type: textblock
11179 #: ../src/guestfs-actions.pod:4089 ../fish/guestfish-actions.pod:3163
11180 msgid ""
11181 "This call allows you to do a C<readlink> operation on multiple files, where "
11182 "all files are in the directory C<path>.  C<names> is the list of files from "
11183 "this directory."
11184 msgstr ""
11185
11186 # type: textblock
11187 #: ../src/guestfs-actions.pod:4093 ../fish/guestfish-actions.pod:3167
11188 msgid ""
11189 "On return you get a list of strings, with a one-to-one correspondence to the "
11190 "C<names> list.  Each string is the value of the symbolic link."
11191 msgstr ""
11192
11193 # type: textblock
11194 #: ../src/guestfs-actions.pod:4097 ../fish/guestfish-actions.pod:3171
11195 msgid ""
11196 "If the C<readlink(2)> operation fails on any name, then the corresponding "
11197 "result string is the empty string C<\"\">.  However the whole operation is "
11198 "completed even if there were C<readlink(2)> errors, and so you can call this "
11199 "function with names where you don't know if they are symbolic links already "
11200 "(albeit slightly less efficient)."
11201 msgstr ""
11202
11203 # type: textblock
11204 #: ../src/guestfs-actions.pod:4104 ../fish/guestfish-actions.pod:3178
11205 msgid ""
11206 "This call is intended for programs that want to efficiently list a directory "
11207 "contents without making many round-trips.  Very long directory listings "
11208 "might cause the protocol message size to be exceeded, causing this call to "
11209 "fail.  The caller must split up such requests into smaller groups of names."
11210 msgstr ""
11211
11212 # type: =head2
11213 #: ../src/guestfs-actions.pod:4115
11214 msgid "guestfs_realpath"
11215 msgstr ""
11216
11217 # type: verbatim
11218 #: ../src/guestfs-actions.pod:4117
11219 #, no-wrap
11220 msgid ""
11221 " char *guestfs_realpath (guestfs_h *g,\n"
11222 "\t\tconst char *path);\n"
11223 "\n"
11224 msgstr ""
11225
11226 # type: textblock
11227 #: ../src/guestfs-actions.pod:4120 ../fish/guestfish-actions.pod:3189
11228 msgid ""
11229 "Return the canonicalized absolute pathname of C<path>.  The returned path "
11230 "has no C<.>, C<..> or symbolic link path elements."
11231 msgstr ""
11232
11233 # type: =head2
11234 #: ../src/guestfs-actions.pod:4126
11235 msgid "guestfs_removexattr"
11236 msgstr ""
11237
11238 # type: verbatim
11239 #: ../src/guestfs-actions.pod:4128
11240 #, no-wrap
11241 msgid ""
11242 " int guestfs_removexattr (guestfs_h *g,\n"
11243 "\t\tconst char *xattr,\n"
11244 "\t\tconst char *path);\n"
11245 "\n"
11246 msgstr ""
11247
11248 # type: textblock
11249 #: ../src/guestfs-actions.pod:4132 ../fish/guestfish-actions.pod:3196
11250 msgid ""
11251 "This call removes the extended attribute named C<xattr> of the file C<path>."
11252 msgstr ""
11253
11254 # type: textblock
11255 #: ../src/guestfs-actions.pod:4135
11256 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
11257 msgstr ""
11258
11259 # type: =head2
11260 #: ../src/guestfs-actions.pod:4139
11261 msgid "guestfs_resize2fs"
11262 msgstr ""
11263
11264 # type: verbatim
11265 #: ../src/guestfs-actions.pod:4141
11266 #, no-wrap
11267 msgid ""
11268 " int guestfs_resize2fs (guestfs_h *g,\n"
11269 "\t\tconst char *device);\n"
11270 "\n"
11271 msgstr ""
11272
11273 # type: textblock
11274 #: ../src/guestfs-actions.pod:4144 ../fish/guestfish-actions.pod:3205
11275 msgid ""
11276 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
11277 "underlying device."
11278 msgstr ""
11279
11280 # type: textblock
11281 #: ../src/guestfs-actions.pod:4147
11282 msgid ""
11283 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
11284 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
11285 "sometimes gives an error about this and sometimes not.  In any case, it is "
11286 "always safe to call C<guestfs_e2fsck_f> before calling this function."
11287 msgstr ""
11288
11289 # type: =head2
11290 #: ../src/guestfs-actions.pod:4155
11291 msgid "guestfs_resize2fs_size"
11292 msgstr ""
11293
11294 # type: verbatim
11295 #: ../src/guestfs-actions.pod:4157
11296 #, no-wrap
11297 msgid ""
11298 " int guestfs_resize2fs_size (guestfs_h *g,\n"
11299 "\t\tconst char *device,\n"
11300 "\t\tint64_t size);\n"
11301 "\n"
11302 msgstr ""
11303
11304 # type: textblock
11305 #: ../src/guestfs-actions.pod:4161
11306 msgid ""
11307 "This command is the same as C<guestfs_resize2fs> except that it allows you "
11308 "to specify the new size (in bytes) explicitly."
11309 msgstr ""
11310
11311 # type: =head2
11312 #: ../src/guestfs-actions.pod:4166
11313 msgid "guestfs_rm"
11314 msgstr ""
11315
11316 # type: verbatim
11317 #: ../src/guestfs-actions.pod:4168
11318 #, no-wrap
11319 msgid ""
11320 " int guestfs_rm (guestfs_h *g,\n"
11321 "\t\tconst char *path);\n"
11322 "\n"
11323 msgstr ""
11324
11325 # type: textblock
11326 #: ../src/guestfs-actions.pod:4171 ../fish/guestfish-actions.pod:3225
11327 msgid "Remove the single file C<path>."
11328 msgstr ""
11329
11330 # type: =head2
11331 #: ../src/guestfs-actions.pod:4175
11332 msgid "guestfs_rm_rf"
11333 msgstr ""
11334
11335 # type: verbatim
11336 #: ../src/guestfs-actions.pod:4177
11337 #, no-wrap
11338 msgid ""
11339 " int guestfs_rm_rf (guestfs_h *g,\n"
11340 "\t\tconst char *path);\n"
11341 "\n"
11342 msgstr ""
11343
11344 # type: textblock
11345 #: ../src/guestfs-actions.pod:4180 ../fish/guestfish-actions.pod:3231
11346 msgid ""
11347 "Remove the file or directory C<path>, recursively removing the contents if "
11348 "its a directory.  This is like the C<rm -rf> shell command."
11349 msgstr ""
11350
11351 # type: =head2
11352 #: ../src/guestfs-actions.pod:4186
11353 msgid "guestfs_rmdir"
11354 msgstr ""
11355
11356 # type: verbatim
11357 #: ../src/guestfs-actions.pod:4188
11358 #, no-wrap
11359 msgid ""
11360 " int guestfs_rmdir (guestfs_h *g,\n"
11361 "\t\tconst char *path);\n"
11362 "\n"
11363 msgstr ""
11364
11365 # type: textblock
11366 #: ../src/guestfs-actions.pod:4191 ../fish/guestfish-actions.pod:3239
11367 msgid "Remove the single directory C<path>."
11368 msgstr ""
11369
11370 # type: =head2
11371 #: ../src/guestfs-actions.pod:4195
11372 msgid "guestfs_rmmountpoint"
11373 msgstr ""
11374
11375 # type: verbatim
11376 #: ../src/guestfs-actions.pod:4197
11377 #, no-wrap
11378 msgid ""
11379 " int guestfs_rmmountpoint (guestfs_h *g,\n"
11380 "\t\tconst char *exemptpath);\n"
11381 "\n"
11382 msgstr ""
11383
11384 # type: textblock
11385 #: ../src/guestfs-actions.pod:4200
11386 msgid ""
11387 "This calls removes a mountpoint that was previously created with "
11388 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
11389 msgstr ""
11390
11391 # type: =head2
11392 #: ../src/guestfs-actions.pod:4206
11393 msgid "guestfs_scrub_device"
11394 msgstr ""
11395
11396 # type: verbatim
11397 #: ../src/guestfs-actions.pod:4208
11398 #, no-wrap
11399 msgid ""
11400 " int guestfs_scrub_device (guestfs_h *g,\n"
11401 "\t\tconst char *device);\n"
11402 "\n"
11403 msgstr ""
11404
11405 # type: textblock
11406 #: ../src/guestfs-actions.pod:4211 ../fish/guestfish-actions.pod:3253
11407 msgid ""
11408 "This command writes patterns over C<device> to make data retrieval more "
11409 "difficult."
11410 msgstr ""
11411
11412 # type: textblock
11413 #: ../src/guestfs-actions.pod:4214 ../src/guestfs-actions.pod:4232
11414 #: ../src/guestfs-actions.pod:4248 ../fish/guestfish-actions.pod:3256
11415 #: ../fish/guestfish-actions.pod:3271 ../fish/guestfish-actions.pod:3284
11416 msgid ""
11417 "It is an interface to the L<scrub(1)> program.  See that manual page for "
11418 "more details."
11419 msgstr ""
11420
11421 # type: =head2
11422 #: ../src/guestfs-actions.pod:4222
11423 msgid "guestfs_scrub_file"
11424 msgstr ""
11425
11426 # type: verbatim
11427 #: ../src/guestfs-actions.pod:4224
11428 #, no-wrap
11429 msgid ""
11430 " int guestfs_scrub_file (guestfs_h *g,\n"
11431 "\t\tconst char *file);\n"
11432 "\n"
11433 msgstr ""
11434
11435 # type: textblock
11436 #: ../src/guestfs-actions.pod:4227 ../fish/guestfish-actions.pod:3266
11437 msgid ""
11438 "This command writes patterns over a file to make data retrieval more "
11439 "difficult."
11440 msgstr ""
11441
11442 # type: textblock
11443 #: ../src/guestfs-actions.pod:4230 ../fish/guestfish-actions.pod:3269
11444 msgid "The file is I<removed> after scrubbing."
11445 msgstr ""
11446
11447 # type: =head2
11448 #: ../src/guestfs-actions.pod:4237
11449 msgid "guestfs_scrub_freespace"
11450 msgstr ""
11451
11452 # type: verbatim
11453 #: ../src/guestfs-actions.pod:4239
11454 #, no-wrap
11455 msgid ""
11456 " int guestfs_scrub_freespace (guestfs_h *g,\n"
11457 "\t\tconst char *dir);\n"
11458 "\n"
11459 msgstr ""
11460
11461 # type: textblock
11462 #: ../src/guestfs-actions.pod:4242
11463 msgid ""
11464 "This command creates the directory C<dir> and then fills it with files until "
11465 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
11466 "and deletes them.  The intention is to scrub any free space on the partition "
11467 "containing C<dir>."
11468 msgstr ""
11469
11470 # type: =head2
11471 #: ../src/guestfs-actions.pod:4253
11472 msgid "guestfs_set_append"
11473 msgstr ""
11474
11475 # type: verbatim
11476 #: ../src/guestfs-actions.pod:4255
11477 #, no-wrap
11478 msgid ""
11479 " int guestfs_set_append (guestfs_h *g,\n"
11480 "\t\tconst char *append);\n"
11481 "\n"
11482 msgstr ""
11483
11484 # type: textblock
11485 #: ../src/guestfs-actions.pod:4258 ../fish/guestfish-actions.pod:3293
11486 msgid ""
11487 "This function is used to add additional options to the guest kernel command "
11488 "line."
11489 msgstr ""
11490
11491 # type: textblock
11492 #: ../src/guestfs-actions.pod:4261 ../fish/guestfish-actions.pod:3296
11493 msgid ""
11494 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
11495 "environment variable."
11496 msgstr ""
11497
11498 # type: textblock
11499 #: ../src/guestfs-actions.pod:4264 ../fish/guestfish-actions.pod:3299
11500 msgid ""
11501 "Setting C<append> to C<NULL> means I<no> additional options are passed "
11502 "(libguestfs always adds a few of its own)."
11503 msgstr ""
11504
11505 # type: =head2
11506 #: ../src/guestfs-actions.pod:4269
11507 msgid "guestfs_set_autosync"
11508 msgstr ""
11509
11510 # type: verbatim
11511 #: ../src/guestfs-actions.pod:4271
11512 #, no-wrap
11513 msgid ""
11514 " int guestfs_set_autosync (guestfs_h *g,\n"
11515 "\t\tint autosync);\n"
11516 "\n"
11517 msgstr ""
11518
11519 # type: textblock
11520 #: ../src/guestfs-actions.pod:4274
11521 msgid ""
11522 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
11523 "effort attempt to run C<guestfs_umount_all> followed by C<guestfs_sync> when "
11524 "the handle is closed (also if the program exits without closing handles)."
11525 msgstr ""
11526
11527 # type: textblock
11528 #: ../src/guestfs-actions.pod:4279 ../fish/guestfish-actions.pod:3313
11529 msgid ""
11530 "This is disabled by default (except in guestfish where it is enabled by "
11531 "default)."
11532 msgstr ""
11533
11534 # type: =head2
11535 #: ../src/guestfs-actions.pod:4284
11536 msgid "guestfs_set_direct"
11537 msgstr ""
11538
11539 # type: verbatim
11540 #: ../src/guestfs-actions.pod:4286
11541 #, no-wrap
11542 msgid ""
11543 " int guestfs_set_direct (guestfs_h *g,\n"
11544 "\t\tint direct);\n"
11545 "\n"
11546 msgstr ""
11547
11548 # type: textblock
11549 #: ../src/guestfs-actions.pod:4289 ../fish/guestfish-actions.pod:3322
11550 msgid ""
11551 "If the direct appliance mode flag is enabled, then stdin and stdout are "
11552 "passed directly through to the appliance once it is launched."
11553 msgstr ""
11554
11555 # type: textblock
11556 #: ../src/guestfs-actions.pod:4293
11557 msgid ""
11558 "One consequence of this is that log messages aren't caught by the library "
11559 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
11560 "stdout."
11561 msgstr ""
11562
11563 # type: textblock
11564 #: ../src/guestfs-actions.pod:4297 ../fish/guestfish-actions.pod:3330
11565 msgid "You probably don't want to use this unless you know what you are doing."
11566 msgstr ""
11567
11568 # type: textblock
11569 #: ../src/guestfs-actions.pod:4300 ../fish/guestfish-actions.pod:3333
11570 msgid "The default is disabled."
11571 msgstr ""
11572
11573 # type: =head2
11574 #: ../src/guestfs-actions.pod:4304
11575 msgid "guestfs_set_e2label"
11576 msgstr ""
11577
11578 # type: verbatim
11579 #: ../src/guestfs-actions.pod:4306
11580 #, no-wrap
11581 msgid ""
11582 " int guestfs_set_e2label (guestfs_h *g,\n"
11583 "\t\tconst char *device,\n"
11584 "\t\tconst char *label);\n"
11585 "\n"
11586 msgstr ""
11587
11588 # type: textblock
11589 #: ../src/guestfs-actions.pod:4310 ../fish/guestfish-actions.pod:3339
11590 msgid ""
11591 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
11592 "C<label>.  Filesystem labels are limited to 16 characters."
11593 msgstr ""
11594
11595 # type: textblock
11596 #: ../src/guestfs-actions.pod:4314
11597 msgid ""
11598 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
11599 "the existing label on a filesystem."
11600 msgstr ""
11601
11602 # type: =head2
11603 #: ../src/guestfs-actions.pod:4319
11604 msgid "guestfs_set_e2uuid"
11605 msgstr ""
11606
11607 # type: verbatim
11608 #: ../src/guestfs-actions.pod:4321
11609 #, no-wrap
11610 msgid ""
11611 " int guestfs_set_e2uuid (guestfs_h *g,\n"
11612 "\t\tconst char *device,\n"
11613 "\t\tconst char *uuid);\n"
11614 "\n"
11615 msgstr ""
11616
11617 # type: textblock
11618 #: ../src/guestfs-actions.pod:4325 ../fish/guestfish-actions.pod:3350
11619 msgid ""
11620 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
11621 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
11622 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
11623 msgstr ""
11624
11625 # type: textblock
11626 #: ../src/guestfs-actions.pod:4330
11627 msgid ""
11628 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
11629 "the existing UUID of a filesystem."
11630 msgstr ""
11631
11632 # type: =head2
11633 #: ../src/guestfs-actions.pod:4335
11634 msgid "guestfs_set_memsize"
11635 msgstr ""
11636
11637 # type: verbatim
11638 #: ../src/guestfs-actions.pod:4337
11639 #, no-wrap
11640 msgid ""
11641 " int guestfs_set_memsize (guestfs_h *g,\n"
11642 "\t\tint memsize);\n"
11643 "\n"
11644 msgstr ""
11645
11646 # type: textblock
11647 #: ../src/guestfs-actions.pod:4340
11648 msgid ""
11649 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
11650 "This only has any effect if called before C<guestfs_launch>."
11651 msgstr ""
11652
11653 # type: textblock
11654 #: ../src/guestfs-actions.pod:4344 ../fish/guestfish-actions.pod:3368
11655 msgid ""
11656 "You can also change this by setting the environment variable "
11657 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
11658 msgstr ""
11659
11660 # type: =head2
11661 #: ../src/guestfs-actions.pod:4353
11662 msgid "guestfs_set_network"
11663 msgstr ""
11664
11665 # type: verbatim
11666 #: ../src/guestfs-actions.pod:4355
11667 #, no-wrap
11668 msgid ""
11669 " int guestfs_set_network (guestfs_h *g,\n"
11670 "\t\tint network);\n"
11671 "\n"
11672 msgstr ""
11673
11674 # type: textblock
11675 #: ../src/guestfs-actions.pod:4358 ../fish/guestfish-actions.pod:3381
11676 msgid ""
11677 "If C<network> is true, then the network is enabled in the libguestfs "
11678 "appliance.  The default is false."
11679 msgstr ""
11680
11681 # type: textblock
11682 #: ../src/guestfs-actions.pod:4361 ../fish/guestfish-actions.pod:3384
11683 msgid ""
11684 "This affects whether commands are able to access the network (see L<guestfs"
11685 "(3)/RUNNING COMMANDS>)."
11686 msgstr ""
11687
11688 # type: textblock
11689 #: ../src/guestfs-actions.pod:4364
11690 msgid ""
11691 "You must call this before calling C<guestfs_launch>, otherwise it has no "
11692 "effect."
11693 msgstr ""
11694
11695 # type: =head2
11696 #: ../src/guestfs-actions.pod:4369
11697 msgid "guestfs_set_path"
11698 msgstr ""
11699
11700 # type: verbatim
11701 #: ../src/guestfs-actions.pod:4371
11702 #, no-wrap
11703 msgid ""
11704 " int guestfs_set_path (guestfs_h *g,\n"
11705 "\t\tconst char *searchpath);\n"
11706 "\n"
11707 msgstr ""
11708
11709 # type: textblock
11710 #: ../src/guestfs-actions.pod:4374 ../fish/guestfish-actions.pod:3396
11711 msgid "Set the path that libguestfs searches for kernel and initrd.img."
11712 msgstr ""
11713
11714 # type: textblock
11715 #: ../src/guestfs-actions.pod:4376 ../fish/guestfish-actions.pod:3398
11716 msgid ""
11717 "The default is C<$libdir/guestfs> unless overridden by setting "
11718 "C<LIBGUESTFS_PATH> environment variable."
11719 msgstr ""
11720
11721 # type: textblock
11722 #: ../src/guestfs-actions.pod:4379 ../fish/guestfish-actions.pod:3401
11723 msgid "Setting C<path> to C<NULL> restores the default path."
11724 msgstr ""
11725
11726 # type: =head2
11727 #: ../src/guestfs-actions.pod:4383
11728 msgid "guestfs_set_qemu"
11729 msgstr ""
11730
11731 # type: verbatim
11732 #: ../src/guestfs-actions.pod:4385
11733 #, no-wrap
11734 msgid ""
11735 " int guestfs_set_qemu (guestfs_h *g,\n"
11736 "\t\tconst char *qemu);\n"
11737 "\n"
11738 msgstr ""
11739
11740 # type: textblock
11741 #: ../src/guestfs-actions.pod:4388 ../fish/guestfish-actions.pod:3409
11742 msgid "Set the qemu binary that we will use."
11743 msgstr ""
11744
11745 # type: textblock
11746 #: ../src/guestfs-actions.pod:4390 ../fish/guestfish-actions.pod:3411
11747 msgid ""
11748 "The default is chosen when the library was compiled by the configure script."
11749 msgstr ""
11750
11751 # type: textblock
11752 #: ../src/guestfs-actions.pod:4393 ../fish/guestfish-actions.pod:3414
11753 msgid ""
11754 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
11755 "variable."
11756 msgstr ""
11757
11758 # type: textblock
11759 #: ../src/guestfs-actions.pod:4396 ../fish/guestfish-actions.pod:3417
11760 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
11761 msgstr ""
11762
11763 # type: textblock
11764 #: ../src/guestfs-actions.pod:4398 ../fish/guestfish-actions.pod:3419
11765 msgid ""
11766 "Note that you should call this function as early as possible after creating "
11767 "the handle.  This is because some pre-launch operations depend on testing "
11768 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
11769 "don't retest features, and so you might see inconsistent results.  Using the "
11770 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
11771 "the qemu binary at the same time as the handle is created."
11772 msgstr ""
11773
11774 # type: =head2
11775 #: ../src/guestfs-actions.pod:4408
11776 msgid "guestfs_set_recovery_proc"
11777 msgstr ""
11778
11779 # type: verbatim
11780 #: ../src/guestfs-actions.pod:4410
11781 #, no-wrap
11782 msgid ""
11783 " int guestfs_set_recovery_proc (guestfs_h *g,\n"
11784 "\t\tint recoveryproc);\n"
11785 "\n"
11786 msgstr ""
11787
11788 # type: textblock
11789 #: ../src/guestfs-actions.pod:4413
11790 msgid ""
11791 "If this is called with the parameter C<false> then C<guestfs_launch> does "
11792 "not create a recovery process.  The purpose of the recovery process is to "
11793 "stop runaway qemu processes in the case where the main program aborts "
11794 "abruptly."
11795 msgstr ""
11796
11797 # type: textblock
11798 #: ../src/guestfs-actions.pod:4418
11799 msgid ""
11800 "This only has any effect if called before C<guestfs_launch>, and the default "
11801 "is true."
11802 msgstr ""
11803
11804 # type: textblock
11805 #: ../src/guestfs-actions.pod:4421 ../fish/guestfish-actions.pod:3441
11806 msgid ""
11807 "About the only time when you would want to disable this is if the main "
11808 "process will fork itself into the background (\"daemonize\" itself).  In "
11809 "this case the recovery process thinks that the main program has disappeared "
11810 "and so kills qemu, which is not very helpful."
11811 msgstr ""
11812
11813 # type: =head2
11814 #: ../src/guestfs-actions.pod:4429
11815 msgid "guestfs_set_selinux"
11816 msgstr ""
11817
11818 # type: verbatim
11819 #: ../src/guestfs-actions.pod:4431
11820 #, no-wrap
11821 msgid ""
11822 " int guestfs_set_selinux (guestfs_h *g,\n"
11823 "\t\tint selinux);\n"
11824 "\n"
11825 msgstr ""
11826
11827 # type: textblock
11828 #: ../src/guestfs-actions.pod:4434 ../fish/guestfish-actions.pod:3453
11829 msgid ""
11830 "This sets the selinux flag that is passed to the appliance at boot time.  "
11831 "The default is C<selinux=0> (disabled)."
11832 msgstr ""
11833
11834 # type: textblock
11835 #: ../src/guestfs-actions.pod:4437 ../fish/guestfish-actions.pod:3456
11836 msgid ""
11837 "Note that if SELinux is enabled, it is always in Permissive mode "
11838 "(C<enforcing=0>)."
11839 msgstr ""
11840
11841 # type: =head2
11842 #: ../src/guestfs-actions.pod:4445
11843 msgid "guestfs_set_trace"
11844 msgstr ""
11845
11846 # type: verbatim
11847 #: ../src/guestfs-actions.pod:4447
11848 #, no-wrap
11849 msgid ""
11850 " int guestfs_set_trace (guestfs_h *g,\n"
11851 "\t\tint trace);\n"
11852 "\n"
11853 msgstr ""
11854
11855 # type: textblock
11856 #: ../src/guestfs-actions.pod:4450 ../fish/guestfish-actions.pod:3468
11857 msgid ""
11858 "If the command trace flag is set to 1, then commands are printed on stderr "
11859 "before they are executed in a format which is very similar to the one used "
11860 "by guestfish.  In other words, you can run a program with this enabled, and "
11861 "you will get out a script which you can feed to guestfish to perform the "
11862 "same set of actions."
11863 msgstr ""
11864
11865 # type: textblock
11866 #: ../src/guestfs-actions.pod:4457 ../fish/guestfish-actions.pod:3475
11867 msgid ""
11868 "If you want to trace C API calls into libguestfs (and other libraries) then "
11869 "possibly a better way is to use the external ltrace(1) command."
11870 msgstr ""
11871
11872 # type: textblock
11873 #: ../src/guestfs-actions.pod:4461 ../fish/guestfish-actions.pod:3479
11874 msgid ""
11875 "Command traces are disabled unless the environment variable "
11876 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
11877 msgstr ""
11878
11879 # type: =head2
11880 #: ../src/guestfs-actions.pod:4466
11881 msgid "guestfs_set_verbose"
11882 msgstr ""
11883
11884 # type: verbatim
11885 #: ../src/guestfs-actions.pod:4468
11886 #, no-wrap
11887 msgid ""
11888 " int guestfs_set_verbose (guestfs_h *g,\n"
11889 "\t\tint verbose);\n"
11890 "\n"
11891 msgstr ""
11892
11893 # type: textblock
11894 #: ../src/guestfs-actions.pod:4471 ../fish/guestfish-actions.pod:3488
11895 msgid "If C<verbose> is true, this turns on verbose messages (to C<stderr>)."
11896 msgstr ""
11897
11898 # type: textblock
11899 #: ../src/guestfs-actions.pod:4473 ../fish/guestfish-actions.pod:3490
11900 msgid ""
11901 "Verbose messages are disabled unless the environment variable "
11902 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
11903 msgstr ""
11904
11905 # type: =head2
11906 #: ../src/guestfs-actions.pod:4478
11907 msgid "guestfs_setcon"
11908 msgstr ""
11909
11910 # type: verbatim
11911 #: ../src/guestfs-actions.pod:4480
11912 #, no-wrap
11913 msgid ""
11914 " int guestfs_setcon (guestfs_h *g,\n"
11915 "\t\tconst char *context);\n"
11916 "\n"
11917 msgstr ""
11918
11919 # type: textblock
11920 #: ../src/guestfs-actions.pod:4483 ../fish/guestfish-actions.pod:3497
11921 msgid ""
11922 "This sets the SELinux security context of the daemon to the string "
11923 "C<context>."
11924 msgstr ""
11925
11926 # type: textblock
11927 #: ../src/guestfs-actions.pod:4486 ../fish/guestfish-actions.pod:3500
11928 msgid "See the documentation about SELINUX in L<guestfs(3)>."
11929 msgstr ""
11930
11931 # type: =head2
11932 #: ../src/guestfs-actions.pod:4490
11933 msgid "guestfs_setxattr"
11934 msgstr ""
11935
11936 # type: verbatim
11937 #: ../src/guestfs-actions.pod:4492
11938 #, no-wrap
11939 msgid ""
11940 " int guestfs_setxattr (guestfs_h *g,\n"
11941 "\t\tconst char *xattr,\n"
11942 "\t\tconst char *val,\n"
11943 "\t\tint vallen,\n"
11944 "\t\tconst char *path);\n"
11945 "\n"
11946 msgstr ""
11947
11948 # type: textblock
11949 #: ../src/guestfs-actions.pod:4498 ../fish/guestfish-actions.pod:3506
11950 msgid ""
11951 "This call sets the extended attribute named C<xattr> of the file C<path> to "
11952 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
11953 msgstr ""
11954
11955 # type: textblock
11956 #: ../src/guestfs-actions.pod:4502
11957 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
11958 msgstr ""
11959
11960 # type: =head2
11961 #: ../src/guestfs-actions.pod:4506
11962 msgid "guestfs_sfdisk"
11963 msgstr ""
11964
11965 # type: verbatim
11966 #: ../src/guestfs-actions.pod:4508
11967 #, no-wrap
11968 msgid ""
11969 " int guestfs_sfdisk (guestfs_h *g,\n"
11970 "\t\tconst char *device,\n"
11971 "\t\tint cyls,\n"
11972 "\t\tint heads,\n"
11973 "\t\tint sectors,\n"
11974 "\t\tchar *const *lines);\n"
11975 "\n"
11976 msgstr ""
11977
11978 # type: textblock
11979 #: ../src/guestfs-actions.pod:4515 ../fish/guestfish-actions.pod:3516
11980 msgid ""
11981 "This is a direct interface to the L<sfdisk(8)> program for creating "
11982 "partitions on block devices."
11983 msgstr ""
11984
11985 # type: textblock
11986 #: ../src/guestfs-actions.pod:4518 ../fish/guestfish-actions.pod:3519
11987 msgid "C<device> should be a block device, for example C</dev/sda>."
11988 msgstr ""
11989
11990 # type: textblock
11991 #: ../src/guestfs-actions.pod:4520 ../fish/guestfish-actions.pod:3521
11992 msgid ""
11993 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
11994 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
11995 "H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
11996 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
11997 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
11998 "the kernel) cannot work out the right geometry and you will need to tell it."
11999 msgstr ""
12000
12001 # type: textblock
12002 #: ../src/guestfs-actions.pod:4528 ../fish/guestfish-actions.pod:3529
12003 msgid ""
12004 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
12005 "refer to the L<sfdisk(8)> manpage."
12006 msgstr ""
12007
12008 # type: textblock
12009 #: ../src/guestfs-actions.pod:4531 ../fish/guestfish-actions.pod:3532
12010 msgid ""
12011 "To create a single partition occupying the whole disk, you would pass "
12012 "C<lines> as a single element list, when the single element being the string "
12013 "C<,> (comma)."
12014 msgstr ""
12015
12016 # type: textblock
12017 #: ../src/guestfs-actions.pod:4535
12018 msgid ""
12019 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
12020 msgstr ""
12021
12022 # type: =head2
12023 #: ../src/guestfs-actions.pod:4543
12024 msgid "guestfs_sfdiskM"
12025 msgstr ""
12026
12027 # type: verbatim
12028 #: ../src/guestfs-actions.pod:4545
12029 #, no-wrap
12030 msgid ""
12031 " int guestfs_sfdiskM (guestfs_h *g,\n"
12032 "\t\tconst char *device,\n"
12033 "\t\tchar *const *lines);\n"
12034 "\n"
12035 msgstr ""
12036
12037 # type: textblock
12038 #: ../src/guestfs-actions.pod:4549
12039 msgid ""
12040 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
12041 "partition sizes are specified in megabytes only (rounded to the nearest "
12042 "cylinder) and you don't need to specify the cyls, heads and sectors "
12043 "parameters which were rarely if ever used anyway."
12044 msgstr ""
12045
12046 # type: textblock
12047 #: ../src/guestfs-actions.pod:4555
12048 msgid ""
12049 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
12050 "C<guestfs_part_disk>"
12051 msgstr ""
12052
12053 # type: =head2
12054 #: ../src/guestfs-actions.pod:4563
12055 msgid "guestfs_sfdisk_N"
12056 msgstr ""
12057
12058 # type: verbatim
12059 #: ../src/guestfs-actions.pod:4565
12060 #, no-wrap
12061 msgid ""
12062 " int guestfs_sfdisk_N (guestfs_h *g,\n"
12063 "\t\tconst char *device,\n"
12064 "\t\tint partnum,\n"
12065 "\t\tint cyls,\n"
12066 "\t\tint heads,\n"
12067 "\t\tint sectors,\n"
12068 "\t\tconst char *line);\n"
12069 "\n"
12070 msgstr ""
12071
12072 # type: textblock
12073 #: ../src/guestfs-actions.pod:4573 ../fish/guestfish-actions.pod:3562
12074 msgid ""
12075 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
12076 "(note: C<n> counts from 1)."
12077 msgstr ""
12078
12079 # type: textblock
12080 #: ../src/guestfs-actions.pod:4576
12081 msgid ""
12082 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
12083 "for the cyls/heads/sectors parameters."
12084 msgstr ""
12085
12086 # type: textblock
12087 #: ../src/guestfs-actions.pod:4579
12088 msgid "See also: C<guestfs_part_add>"
12089 msgstr ""
12090
12091 # type: =head2
12092 #: ../src/guestfs-actions.pod:4586
12093 msgid "guestfs_sfdisk_disk_geometry"
12094 msgstr ""
12095
12096 # type: verbatim
12097 #: ../src/guestfs-actions.pod:4588
12098 #, no-wrap
12099 msgid ""
12100 " char *guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
12101 "\t\tconst char *device);\n"
12102 "\n"
12103 msgstr ""
12104
12105 # type: textblock
12106 #: ../src/guestfs-actions.pod:4591
12107 msgid ""
12108 "This displays the disk geometry of C<device> read from the partition table.  "
12109 "Especially in the case where the underlying block device has been resized, "
12110 "this can be different from the kernel's idea of the geometry (see "
12111 "C<guestfs_sfdisk_kernel_geometry>)."
12112 msgstr ""
12113
12114 # type: textblock
12115 #: ../src/guestfs-actions.pod:4596 ../src/guestfs-actions.pod:4609
12116 #: ../fish/guestfish-actions.pod:3582 ../fish/guestfish-actions.pod:3591
12117 msgid "The result is in human-readable format, and not designed to be parsed."
12118 msgstr ""
12119
12120 # type: =head2
12121 #: ../src/guestfs-actions.pod:4602
12122 msgid "guestfs_sfdisk_kernel_geometry"
12123 msgstr ""
12124
12125 # type: verbatim
12126 #: ../src/guestfs-actions.pod:4604
12127 #, no-wrap
12128 msgid ""
12129 " char *guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
12130 "\t\tconst char *device);\n"
12131 "\n"
12132 msgstr ""
12133
12134 # type: textblock
12135 #: ../src/guestfs-actions.pod:4607 ../fish/guestfish-actions.pod:3589
12136 msgid "This displays the kernel's idea of the geometry of C<device>."
12137 msgstr ""
12138
12139 # type: =head2
12140 #: ../src/guestfs-actions.pod:4615
12141 msgid "guestfs_sfdisk_l"
12142 msgstr ""
12143
12144 # type: verbatim
12145 #: ../src/guestfs-actions.pod:4617
12146 #, no-wrap
12147 msgid ""
12148 " char *guestfs_sfdisk_l (guestfs_h *g,\n"
12149 "\t\tconst char *device);\n"
12150 "\n"
12151 msgstr ""
12152
12153 # type: textblock
12154 #: ../src/guestfs-actions.pod:4620 ../fish/guestfish-actions.pod:3598
12155 msgid ""
12156 "This displays the partition table on C<device>, in the human-readable output "
12157 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
12158 msgstr ""
12159
12160 # type: textblock
12161 #: ../src/guestfs-actions.pod:4624
12162 msgid "See also: C<guestfs_part_list>"
12163 msgstr ""
12164
12165 # type: =head2
12166 #: ../src/guestfs-actions.pod:4629
12167 msgid "guestfs_sh"
12168 msgstr ""
12169
12170 # type: verbatim
12171 #: ../src/guestfs-actions.pod:4631
12172 #, no-wrap
12173 msgid ""
12174 " char *guestfs_sh (guestfs_h *g,\n"
12175 "\t\tconst char *command);\n"
12176 "\n"
12177 msgstr ""
12178
12179 # type: textblock
12180 #: ../src/guestfs-actions.pod:4634 ../fish/guestfish-actions.pod:3608
12181 msgid ""
12182 "This call runs a command from the guest filesystem via the guest's C</bin/"
12183 "sh>."
12184 msgstr ""
12185
12186 # type: textblock
12187 #: ../src/guestfs-actions.pod:4637
12188 msgid "This is like C<guestfs_command>, but passes the command to:"
12189 msgstr ""
12190
12191 # type: verbatim
12192 #: ../src/guestfs-actions.pod:4639 ../fish/guestfish-actions.pod:3613
12193 #, no-wrap
12194 msgid ""
12195 " /bin/sh -c \"command\"\n"
12196 "\n"
12197 msgstr ""
12198
12199 # type: textblock
12200 #: ../src/guestfs-actions.pod:4641 ../fish/guestfish-actions.pod:3615
12201 msgid ""
12202 "Depending on the guest's shell, this usually results in wildcards being "
12203 "expanded, shell expressions being interpolated and so on."
12204 msgstr ""
12205
12206 # type: textblock
12207 #: ../src/guestfs-actions.pod:4645
12208 msgid "All the provisos about C<guestfs_command> apply to this call."
12209 msgstr ""
12210
12211 # type: =head2
12212 #: ../src/guestfs-actions.pod:4650
12213 msgid "guestfs_sh_lines"
12214 msgstr ""
12215
12216 # type: verbatim
12217 #: ../src/guestfs-actions.pod:4652
12218 #, no-wrap
12219 msgid ""
12220 " char **guestfs_sh_lines (guestfs_h *g,\n"
12221 "\t\tconst char *command);\n"
12222 "\n"
12223 msgstr ""
12224
12225 # type: textblock
12226 #: ../src/guestfs-actions.pod:4655
12227 msgid ""
12228 "This is the same as C<guestfs_sh>, but splits the result into a list of "
12229 "lines."
12230 msgstr ""
12231
12232 # type: textblock
12233 #: ../src/guestfs-actions.pod:4658
12234 msgid "See also: C<guestfs_command_lines>"
12235 msgstr ""
12236
12237 # type: =head2
12238 #: ../src/guestfs-actions.pod:4664
12239 msgid "guestfs_sleep"
12240 msgstr ""
12241
12242 # type: verbatim
12243 #: ../src/guestfs-actions.pod:4666
12244 #, no-wrap
12245 msgid ""
12246 " int guestfs_sleep (guestfs_h *g,\n"
12247 "\t\tint secs);\n"
12248 "\n"
12249 msgstr ""
12250
12251 # type: textblock
12252 #: ../src/guestfs-actions.pod:4669 ../fish/guestfish-actions.pod:3634
12253 msgid "Sleep for C<secs> seconds."
12254 msgstr ""
12255
12256 # type: =head2
12257 #: ../src/guestfs-actions.pod:4673 ../src/guestfs-structs.pod:109
12258 msgid "guestfs_stat"
12259 msgstr ""
12260
12261 # type: verbatim
12262 #: ../src/guestfs-actions.pod:4675
12263 #, no-wrap
12264 msgid ""
12265 " struct guestfs_stat *guestfs_stat (guestfs_h *g,\n"
12266 "\t\tconst char *path);\n"
12267 "\n"
12268 msgstr ""
12269
12270 # type: textblock
12271 #: ../src/guestfs-actions.pod:4680 ../fish/guestfish-actions.pod:3642
12272 msgid "This is the same as the C<stat(2)> system call."
12273 msgstr ""
12274
12275 # type: =head2
12276 #: ../src/guestfs-actions.pod:4686 ../src/guestfs-structs.pod:135
12277 msgid "guestfs_statvfs"
12278 msgstr ""
12279
12280 # type: verbatim
12281 #: ../src/guestfs-actions.pod:4688
12282 #, no-wrap
12283 msgid ""
12284 " struct guestfs_statvfs *guestfs_statvfs (guestfs_h *g,\n"
12285 "\t\tconst char *path);\n"
12286 "\n"
12287 msgstr ""
12288
12289 # type: textblock
12290 #: ../src/guestfs-actions.pod:4691 ../fish/guestfish-actions.pod:3648
12291 msgid ""
12292 "Returns file system statistics for any mounted file system.  C<path> should "
12293 "be a file or directory in the mounted file system (typically it is the mount "
12294 "point itself, but it doesn't need to be)."
12295 msgstr ""
12296
12297 # type: textblock
12298 #: ../src/guestfs-actions.pod:4695 ../fish/guestfish-actions.pod:3652
12299 msgid "This is the same as the C<statvfs(2)> system call."
12300 msgstr ""
12301
12302 # type: textblock
12303 #: ../src/guestfs-actions.pod:4697
12304 msgid ""
12305 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
12306 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
12307 msgstr ""
12308
12309 # type: =head2
12310 #: ../src/guestfs-actions.pod:4701
12311 msgid "guestfs_strings"
12312 msgstr ""
12313
12314 # type: verbatim
12315 #: ../src/guestfs-actions.pod:4703
12316 #, no-wrap
12317 msgid ""
12318 " char **guestfs_strings (guestfs_h *g,\n"
12319 "\t\tconst char *path);\n"
12320 "\n"
12321 msgstr ""
12322
12323 # type: textblock
12324 #: ../src/guestfs-actions.pod:4706 ../fish/guestfish-actions.pod:3658
12325 msgid ""
12326 "This runs the L<strings(1)> command on a file and returns the list of "
12327 "printable strings found."
12328 msgstr ""
12329
12330 # type: =head2
12331 #: ../src/guestfs-actions.pod:4716
12332 msgid "guestfs_strings_e"
12333 msgstr ""
12334
12335 # type: verbatim
12336 #: ../src/guestfs-actions.pod:4718
12337 #, no-wrap
12338 msgid ""
12339 " char **guestfs_strings_e (guestfs_h *g,\n"
12340 "\t\tconst char *encoding,\n"
12341 "\t\tconst char *path);\n"
12342 "\n"
12343 msgstr ""
12344
12345 # type: textblock
12346 #: ../src/guestfs-actions.pod:4722
12347 msgid ""
12348 "This is like the C<guestfs_strings> command, but allows you to specify the "
12349 "encoding of strings that are looked for in the source file C<path>."
12350 msgstr ""
12351
12352 # type: textblock
12353 #: ../src/guestfs-actions.pod:4726 ../fish/guestfish-actions.pod:3672
12354 msgid "Allowed encodings are:"
12355 msgstr ""
12356
12357 # type: =item
12358 #: ../src/guestfs-actions.pod:4730 ../fish/guestfish-actions.pod:3676
12359 msgid "s"
12360 msgstr ""
12361
12362 # type: textblock
12363 #: ../src/guestfs-actions.pod:4732
12364 msgid ""
12365 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
12366 "ISO-8859-X (this is what C<guestfs_strings> uses)."
12367 msgstr ""
12368
12369 # type: =item
12370 #: ../src/guestfs-actions.pod:4735 ../fish/guestfish-actions.pod:3681
12371 msgid "S"
12372 msgstr ""
12373
12374 # type: textblock
12375 #: ../src/guestfs-actions.pod:4737 ../fish/guestfish-actions.pod:3683
12376 msgid "Single 8-bit-byte characters."
12377 msgstr ""
12378
12379 # type: =item
12380 #: ../src/guestfs-actions.pod:4739 ../fish/guestfish-actions.pod:3685
12381 msgid "b"
12382 msgstr ""
12383
12384 # type: textblock
12385 #: ../src/guestfs-actions.pod:4741 ../fish/guestfish-actions.pod:3687
12386 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
12387 msgstr ""
12388
12389 # type: =item
12390 #: ../src/guestfs-actions.pod:4744 ../fish/guestfish-actions.pod:3690
12391 msgid "l (lower case letter L)"
12392 msgstr ""
12393
12394 # type: textblock
12395 #: ../src/guestfs-actions.pod:4746 ../fish/guestfish-actions.pod:3692
12396 msgid ""
12397 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
12398 "examining binaries in Windows guests."
12399 msgstr ""
12400
12401 # type: =item
12402 #: ../src/guestfs-actions.pod:4749 ../fish/guestfish-actions.pod:3695
12403 msgid "B"
12404 msgstr ""
12405
12406 # type: textblock
12407 #: ../src/guestfs-actions.pod:4751 ../fish/guestfish-actions.pod:3697
12408 msgid "32-bit big endian such as UCS-4BE."
12409 msgstr ""
12410
12411 # type: =item
12412 #: ../src/guestfs-actions.pod:4753 ../fish/guestfish-actions.pod:3699
12413 msgid "L"
12414 msgstr ""
12415
12416 # type: textblock
12417 #: ../src/guestfs-actions.pod:4755 ../fish/guestfish-actions.pod:3701
12418 msgid "32-bit little endian such as UCS-4LE."
12419 msgstr ""
12420
12421 # type: textblock
12422 #: ../src/guestfs-actions.pod:4759 ../fish/guestfish-actions.pod:3705
12423 msgid "The returned strings are transcoded to UTF-8."
12424 msgstr ""
12425
12426 # type: =head2
12427 #: ../src/guestfs-actions.pod:4768
12428 msgid "guestfs_swapoff_device"
12429 msgstr ""
12430
12431 # type: verbatim
12432 #: ../src/guestfs-actions.pod:4770
12433 #, no-wrap
12434 msgid ""
12435 " int guestfs_swapoff_device (guestfs_h *g,\n"
12436 "\t\tconst char *device);\n"
12437 "\n"
12438 msgstr ""
12439
12440 # type: textblock
12441 #: ../src/guestfs-actions.pod:4773
12442 msgid ""
12443 "This command disables the libguestfs appliance swap device or partition "
12444 "named C<device>.  See C<guestfs_swapon_device>."
12445 msgstr ""
12446
12447 # type: =head2
12448 #: ../src/guestfs-actions.pod:4779
12449 msgid "guestfs_swapoff_file"
12450 msgstr ""
12451
12452 # type: verbatim
12453 #: ../src/guestfs-actions.pod:4781
12454 #, no-wrap
12455 msgid ""
12456 " int guestfs_swapoff_file (guestfs_h *g,\n"
12457 "\t\tconst char *file);\n"
12458 "\n"
12459 msgstr ""
12460
12461 # type: textblock
12462 #: ../src/guestfs-actions.pod:4784 ../fish/guestfish-actions.pod:3722
12463 msgid "This command disables the libguestfs appliance swap on file."
12464 msgstr ""
12465
12466 # type: =head2
12467 #: ../src/guestfs-actions.pod:4788
12468 msgid "guestfs_swapoff_label"
12469 msgstr ""
12470
12471 # type: verbatim
12472 #: ../src/guestfs-actions.pod:4790
12473 #, no-wrap
12474 msgid ""
12475 " int guestfs_swapoff_label (guestfs_h *g,\n"
12476 "\t\tconst char *label);\n"
12477 "\n"
12478 msgstr ""
12479
12480 # type: textblock
12481 #: ../src/guestfs-actions.pod:4793 ../fish/guestfish-actions.pod:3728
12482 msgid ""
12483 "This command disables the libguestfs appliance swap on labeled swap "
12484 "partition."
12485 msgstr ""
12486
12487 # type: =head2
12488 #: ../src/guestfs-actions.pod:4798
12489 msgid "guestfs_swapoff_uuid"
12490 msgstr ""
12491
12492 # type: verbatim
12493 #: ../src/guestfs-actions.pod:4800
12494 #, no-wrap
12495 msgid ""
12496 " int guestfs_swapoff_uuid (guestfs_h *g,\n"
12497 "\t\tconst char *uuid);\n"
12498 "\n"
12499 msgstr ""
12500
12501 # type: textblock
12502 #: ../src/guestfs-actions.pod:4803 ../fish/guestfish-actions.pod:3735
12503 msgid ""
12504 "This command disables the libguestfs appliance swap partition with the given "
12505 "UUID."
12506 msgstr ""
12507
12508 # type: =head2
12509 #: ../src/guestfs-actions.pod:4808
12510 msgid "guestfs_swapon_device"
12511 msgstr ""
12512
12513 # type: verbatim
12514 #: ../src/guestfs-actions.pod:4810
12515 #, no-wrap
12516 msgid ""
12517 " int guestfs_swapon_device (guestfs_h *g,\n"
12518 "\t\tconst char *device);\n"
12519 "\n"
12520 msgstr ""
12521
12522 # type: textblock
12523 #: ../src/guestfs-actions.pod:4813
12524 msgid ""
12525 "This command enables the libguestfs appliance to use the swap device or "
12526 "partition named C<device>.  The increased memory is made available for all "
12527 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
12528 msgstr ""
12529
12530 # type: textblock
12531 #: ../src/guestfs-actions.pod:4818 ../fish/guestfish-actions.pod:3747
12532 msgid ""
12533 "Note that you should not swap to existing guest swap partitions unless you "
12534 "know what you are doing.  They may contain hibernation information, or other "
12535 "information that the guest doesn't want you to trash.  You also risk leaking "
12536 "information about the host to the guest this way.  Instead, attach a new "
12537 "host device to the guest and swap on that."
12538 msgstr ""
12539
12540 # type: =head2
12541 #: ../src/guestfs-actions.pod:4827
12542 msgid "guestfs_swapon_file"
12543 msgstr ""
12544
12545 # type: verbatim
12546 #: ../src/guestfs-actions.pod:4829
12547 #, no-wrap
12548 msgid ""
12549 " int guestfs_swapon_file (guestfs_h *g,\n"
12550 "\t\tconst char *file);\n"
12551 "\n"
12552 msgstr ""
12553
12554 # type: textblock
12555 #: ../src/guestfs-actions.pod:4832
12556 msgid ""
12557 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
12558 "notes."
12559 msgstr ""
12560
12561 # type: =head2
12562 #: ../src/guestfs-actions.pod:4837
12563 msgid "guestfs_swapon_label"
12564 msgstr ""
12565
12566 # type: verbatim
12567 #: ../src/guestfs-actions.pod:4839
12568 #, no-wrap
12569 msgid ""
12570 " int guestfs_swapon_label (guestfs_h *g,\n"
12571 "\t\tconst char *label);\n"
12572 "\n"
12573 msgstr ""
12574
12575 # type: textblock
12576 #: ../src/guestfs-actions.pod:4842
12577 msgid ""
12578 "This command enables swap to a labeled swap partition.  See "
12579 "C<guestfs_swapon_device> for other notes."
12580 msgstr ""
12581
12582 # type: =head2
12583 #: ../src/guestfs-actions.pod:4847
12584 msgid "guestfs_swapon_uuid"
12585 msgstr ""
12586
12587 # type: verbatim
12588 #: ../src/guestfs-actions.pod:4849
12589 #, no-wrap
12590 msgid ""
12591 " int guestfs_swapon_uuid (guestfs_h *g,\n"
12592 "\t\tconst char *uuid);\n"
12593 "\n"
12594 msgstr ""
12595
12596 # type: textblock
12597 #: ../src/guestfs-actions.pod:4852
12598 msgid ""
12599 "This command enables swap to a swap partition with the given UUID.  See "
12600 "C<guestfs_swapon_device> for other notes."
12601 msgstr ""
12602
12603 # type: =head2
12604 #: ../src/guestfs-actions.pod:4857
12605 msgid "guestfs_sync"
12606 msgstr ""
12607
12608 # type: verbatim
12609 #: ../src/guestfs-actions.pod:4859
12610 #, no-wrap
12611 msgid ""
12612 " int guestfs_sync (guestfs_h *g);\n"
12613 "\n"
12614 msgstr ""
12615
12616 # type: textblock
12617 #: ../src/guestfs-actions.pod:4861 ../fish/guestfish-actions.pod:3779
12618 msgid ""
12619 "This syncs the disk, so that any writes are flushed through to the "
12620 "underlying disk image."
12621 msgstr ""
12622
12623 # type: textblock
12624 #: ../src/guestfs-actions.pod:4864 ../fish/guestfish-actions.pod:3782
12625 msgid ""
12626 "You should always call this if you have modified a disk image, before "
12627 "closing the handle."
12628 msgstr ""
12629
12630 # type: =head2
12631 #: ../src/guestfs-actions.pod:4869
12632 msgid "guestfs_tail"
12633 msgstr ""
12634
12635 # type: verbatim
12636 #: ../src/guestfs-actions.pod:4871
12637 #, no-wrap
12638 msgid ""
12639 " char **guestfs_tail (guestfs_h *g,\n"
12640 "\t\tconst char *path);\n"
12641 "\n"
12642 msgstr ""
12643
12644 # type: textblock
12645 #: ../src/guestfs-actions.pod:4874 ../fish/guestfish-actions.pod:3789
12646 msgid ""
12647 "This command returns up to the last 10 lines of a file as a list of strings."
12648 msgstr ""
12649
12650 # type: =head2
12651 #: ../src/guestfs-actions.pod:4884
12652 msgid "guestfs_tail_n"
12653 msgstr ""
12654
12655 # type: verbatim
12656 #: ../src/guestfs-actions.pod:4886
12657 #, no-wrap
12658 msgid ""
12659 " char **guestfs_tail_n (guestfs_h *g,\n"
12660 "\t\tint nrlines,\n"
12661 "\t\tconst char *path);\n"
12662 "\n"
12663 msgstr ""
12664
12665 # type: textblock
12666 #: ../src/guestfs-actions.pod:4890 ../fish/guestfish-actions.pod:3799
12667 msgid ""
12668 "If the parameter C<nrlines> is a positive number, this returns the last "
12669 "C<nrlines> lines of the file C<path>."
12670 msgstr ""
12671
12672 # type: textblock
12673 #: ../src/guestfs-actions.pod:4893 ../fish/guestfish-actions.pod:3802
12674 msgid ""
12675 "If the parameter C<nrlines> is a negative number, this returns lines from "
12676 "the file C<path>, starting with the C<-nrlines>th line."
12677 msgstr ""
12678
12679 # type: =head2
12680 #: ../src/guestfs-actions.pod:4905
12681 msgid "guestfs_tar_in"
12682 msgstr ""
12683
12684 # type: verbatim
12685 #: ../src/guestfs-actions.pod:4907
12686 #, no-wrap
12687 msgid ""
12688 " int guestfs_tar_in (guestfs_h *g,\n"
12689 "\t\tconst char *tarfile,\n"
12690 "\t\tconst char *directory);\n"
12691 "\n"
12692 msgstr ""
12693
12694 # type: textblock
12695 #: ../src/guestfs-actions.pod:4911 ../fish/guestfish-actions.pod:3814
12696 msgid ""
12697 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
12698 "tar file) into C<directory>."
12699 msgstr ""
12700
12701 # type: textblock
12702 #: ../src/guestfs-actions.pod:4914
12703 msgid ""
12704 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
12705 msgstr ""
12706
12707 # type: =head2
12708 #: ../src/guestfs-actions.pod:4919
12709 msgid "guestfs_tar_out"
12710 msgstr ""
12711
12712 # type: verbatim
12713 #: ../src/guestfs-actions.pod:4921
12714 #, no-wrap
12715 msgid ""
12716 " int guestfs_tar_out (guestfs_h *g,\n"
12717 "\t\tconst char *directory,\n"
12718 "\t\tconst char *tarfile);\n"
12719 "\n"
12720 msgstr ""
12721
12722 # type: textblock
12723 #: ../src/guestfs-actions.pod:4925 ../fish/guestfish-actions.pod:3826
12724 msgid ""
12725 "This command packs the contents of C<directory> and downloads it to local "
12726 "file C<tarfile>."
12727 msgstr ""
12728
12729 # type: textblock
12730 #: ../src/guestfs-actions.pod:4928
12731 msgid ""
12732 "To download a compressed tarball, use C<guestfs_tgz_out> or "
12733 "C<guestfs_txz_out>."
12734 msgstr ""
12735
12736 # type: =head2
12737 #: ../src/guestfs-actions.pod:4933
12738 msgid "guestfs_tgz_in"
12739 msgstr ""
12740
12741 # type: verbatim
12742 #: ../src/guestfs-actions.pod:4935
12743 #, no-wrap
12744 msgid ""
12745 " int guestfs_tgz_in (guestfs_h *g,\n"
12746 "\t\tconst char *tarball,\n"
12747 "\t\tconst char *directory);\n"
12748 "\n"
12749 msgstr ""
12750
12751 # type: textblock
12752 #: ../src/guestfs-actions.pod:4939 ../fish/guestfish-actions.pod:3838
12753 msgid ""
12754 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
12755 "tar file) into C<directory>."
12756 msgstr ""
12757
12758 # type: textblock
12759 #: ../src/guestfs-actions.pod:4942
12760 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
12761 msgstr ""
12762
12763 # type: =head2
12764 #: ../src/guestfs-actions.pod:4946
12765 msgid "guestfs_tgz_out"
12766 msgstr ""
12767
12768 # type: verbatim
12769 #: ../src/guestfs-actions.pod:4948
12770 #, no-wrap
12771 msgid ""
12772 " int guestfs_tgz_out (guestfs_h *g,\n"
12773 "\t\tconst char *directory,\n"
12774 "\t\tconst char *tarball);\n"
12775 "\n"
12776 msgstr ""
12777
12778 # type: textblock
12779 #: ../src/guestfs-actions.pod:4952 ../fish/guestfish-actions.pod:3849
12780 msgid ""
12781 "This command packs the contents of C<directory> and downloads it to local "
12782 "file C<tarball>."
12783 msgstr ""
12784
12785 # type: textblock
12786 #: ../src/guestfs-actions.pod:4955
12787 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
12788 msgstr ""
12789
12790 # type: =head2
12791 #: ../src/guestfs-actions.pod:4959
12792 msgid "guestfs_touch"
12793 msgstr ""
12794
12795 # type: verbatim
12796 #: ../src/guestfs-actions.pod:4961
12797 #, no-wrap
12798 msgid ""
12799 " int guestfs_touch (guestfs_h *g,\n"
12800 "\t\tconst char *path);\n"
12801 "\n"
12802 msgstr ""
12803
12804 # type: textblock
12805 #: ../src/guestfs-actions.pod:4964 ../fish/guestfish-actions.pod:3860
12806 msgid ""
12807 "Touch acts like the L<touch(1)> command.  It can be used to update the "
12808 "timestamps on a file, or, if the file does not exist, to create a new zero-"
12809 "length file."
12810 msgstr ""
12811
12812 # type: textblock
12813 #: ../src/guestfs-actions.pod:4968 ../fish/guestfish-actions.pod:3864
12814 msgid ""
12815 "This command only works on regular files, and will fail on other file types "
12816 "such as directories, symbolic links, block special etc."
12817 msgstr ""
12818
12819 # type: =head2
12820 #: ../src/guestfs-actions.pod:4973
12821 msgid "guestfs_truncate"
12822 msgstr ""
12823
12824 # type: verbatim
12825 #: ../src/guestfs-actions.pod:4975
12826 #, no-wrap
12827 msgid ""
12828 " int guestfs_truncate (guestfs_h *g,\n"
12829 "\t\tconst char *path);\n"
12830 "\n"
12831 msgstr ""
12832
12833 # type: textblock
12834 #: ../src/guestfs-actions.pod:4978 ../fish/guestfish-actions.pod:3871
12835 msgid ""
12836 "This command truncates C<path> to a zero-length file.  The file must exist "
12837 "already."
12838 msgstr ""
12839
12840 # type: =head2
12841 #: ../src/guestfs-actions.pod:4983
12842 msgid "guestfs_truncate_size"
12843 msgstr ""
12844
12845 # type: verbatim
12846 #: ../src/guestfs-actions.pod:4985
12847 #, no-wrap
12848 msgid ""
12849 " int guestfs_truncate_size (guestfs_h *g,\n"
12850 "\t\tconst char *path,\n"
12851 "\t\tint64_t size);\n"
12852 "\n"
12853 msgstr ""
12854
12855 # type: textblock
12856 #: ../src/guestfs-actions.pod:4989 ../fish/guestfish-actions.pod:3878
12857 msgid ""
12858 "This command truncates C<path> to size C<size> bytes.  The file must exist "
12859 "already."
12860 msgstr ""
12861
12862 # type: textblock
12863 #: ../src/guestfs-actions.pod:4992
12864 msgid ""
12865 "If the current file size is less than C<size> then the file is extended to "
12866 "the required size with zero bytes.  This creates a sparse file (ie. disk "
12867 "blocks are not allocated for the file until you write to it).  To create a "
12868 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
12869 msgstr ""
12870
12871 # type: =head2
12872 #: ../src/guestfs-actions.pod:5000
12873 msgid "guestfs_tune2fs_l"
12874 msgstr ""
12875
12876 # type: verbatim
12877 #: ../src/guestfs-actions.pod:5002
12878 #, no-wrap
12879 msgid ""
12880 " char **guestfs_tune2fs_l (guestfs_h *g,\n"
12881 "\t\tconst char *device);\n"
12882 "\n"
12883 msgstr ""
12884
12885 # type: textblock
12886 #: ../src/guestfs-actions.pod:5005 ../fish/guestfish-actions.pod:3891
12887 msgid ""
12888 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
12889 "C<device>."
12890 msgstr ""
12891
12892 # type: textblock
12893 #: ../src/guestfs-actions.pod:5008 ../fish/guestfish-actions.pod:3894
12894 msgid ""
12895 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
12896 "for more details.  The list of fields returned isn't clearly defined, and "
12897 "depends on both the version of C<tune2fs> that libguestfs was built against, "
12898 "and the filesystem itself."
12899 msgstr ""
12900
12901 # type: =head2
12902 #: ../src/guestfs-actions.pod:5019
12903 msgid "guestfs_txz_in"
12904 msgstr ""
12905
12906 # type: verbatim
12907 #: ../src/guestfs-actions.pod:5021
12908 #, no-wrap
12909 msgid ""
12910 " int guestfs_txz_in (guestfs_h *g,\n"
12911 "\t\tconst char *tarball,\n"
12912 "\t\tconst char *directory);\n"
12913 "\n"
12914 msgstr ""
12915
12916 # type: textblock
12917 #: ../src/guestfs-actions.pod:5025 ../fish/guestfish-actions.pod:3903
12918 msgid ""
12919 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
12920 "tar file) into C<directory>."
12921 msgstr ""
12922
12923 # type: =head2
12924 #: ../src/guestfs-actions.pod:5030
12925 msgid "guestfs_txz_out"
12926 msgstr ""
12927
12928 # type: verbatim
12929 #: ../src/guestfs-actions.pod:5032
12930 #, no-wrap
12931 msgid ""
12932 " int guestfs_txz_out (guestfs_h *g,\n"
12933 "\t\tconst char *directory,\n"
12934 "\t\tconst char *tarball);\n"
12935 "\n"
12936 msgstr ""
12937
12938 # type: textblock
12939 #: ../src/guestfs-actions.pod:5036 ../fish/guestfish-actions.pod:3912
12940 msgid ""
12941 "This command packs the contents of C<directory> and downloads it to local "
12942 "file C<tarball> (as an xz compressed tar archive)."
12943 msgstr ""
12944
12945 # type: =head2
12946 #: ../src/guestfs-actions.pod:5041
12947 msgid "guestfs_umask"
12948 msgstr ""
12949
12950 # type: verbatim
12951 #: ../src/guestfs-actions.pod:5043
12952 #, no-wrap
12953 msgid ""
12954 " int guestfs_umask (guestfs_h *g,\n"
12955 "\t\tint mask);\n"
12956 "\n"
12957 msgstr ""
12958
12959 # type: textblock
12960 #: ../src/guestfs-actions.pod:5046 ../fish/guestfish-actions.pod:3921
12961 msgid ""
12962 "This function sets the mask used for creating new files and device nodes to "
12963 "C<mask & 0777>."
12964 msgstr ""
12965
12966 # type: textblock
12967 #: ../src/guestfs-actions.pod:5049 ../fish/guestfish-actions.pod:3924
12968 msgid ""
12969 "Typical umask values would be C<022> which creates new files with "
12970 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
12971 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
12972 msgstr ""
12973
12974 # type: textblock
12975 #: ../src/guestfs-actions.pod:5054 ../fish/guestfish-actions.pod:3929
12976 msgid ""
12977 "The default umask is C<022>.  This is important because it means that "
12978 "directories and device nodes will be created with C<0644> or C<0755> mode "
12979 "even if you specify C<0777>."
12980 msgstr ""
12981
12982 # type: textblock
12983 #: ../src/guestfs-actions.pod:5058
12984 msgid ""
12985 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
12986 "C<guestfs_mkdir>."
12987 msgstr ""
12988
12989 # type: textblock
12990 #: ../src/guestfs-actions.pod:5061 ../fish/guestfish-actions.pod:3936
12991 msgid "This call returns the previous umask."
12992 msgstr ""
12993
12994 # type: =head2
12995 #: ../src/guestfs-actions.pod:5065
12996 msgid "guestfs_umount"
12997 msgstr ""
12998
12999 # type: verbatim
13000 #: ../src/guestfs-actions.pod:5067
13001 #, no-wrap
13002 msgid ""
13003 " int guestfs_umount (guestfs_h *g,\n"
13004 "\t\tconst char *pathordevice);\n"
13005 "\n"
13006 msgstr ""
13007
13008 # type: textblock
13009 #: ../src/guestfs-actions.pod:5070 ../fish/guestfish-actions.pod:3944
13010 msgid ""
13011 "This unmounts the given filesystem.  The filesystem may be specified either "
13012 "by its mountpoint (path) or the device which contains the filesystem."
13013 msgstr ""
13014
13015 # type: =head2
13016 #: ../src/guestfs-actions.pod:5076
13017 msgid "guestfs_umount_all"
13018 msgstr ""
13019
13020 # type: verbatim
13021 #: ../src/guestfs-actions.pod:5078
13022 #, no-wrap
13023 msgid ""
13024 " int guestfs_umount_all (guestfs_h *g);\n"
13025 "\n"
13026 msgstr ""
13027
13028 # type: textblock
13029 #: ../src/guestfs-actions.pod:5080 ../fish/guestfish-actions.pod:3954
13030 msgid "This unmounts all mounted filesystems."
13031 msgstr ""
13032
13033 # type: textblock
13034 #: ../src/guestfs-actions.pod:5082 ../fish/guestfish-actions.pod:3956
13035 msgid "Some internal mounts are not unmounted by this call."
13036 msgstr ""
13037
13038 # type: =head2
13039 #: ../src/guestfs-actions.pod:5086
13040 msgid "guestfs_upload"
13041 msgstr ""
13042
13043 # type: verbatim
13044 #: ../src/guestfs-actions.pod:5088
13045 #, no-wrap
13046 msgid ""
13047 " int guestfs_upload (guestfs_h *g,\n"
13048 "\t\tconst char *filename,\n"
13049 "\t\tconst char *remotefilename);\n"
13050 "\n"
13051 msgstr ""
13052
13053 # type: textblock
13054 #: ../src/guestfs-actions.pod:5092 ../src/guestfs-actions.pod:5108
13055 #: ../fish/guestfish-actions.pod:3962 ../fish/guestfish-actions.pod:3975
13056 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
13057 msgstr ""
13058
13059 # type: textblock
13060 #: ../src/guestfs-actions.pod:5097
13061 msgid "See also C<guestfs_download>."
13062 msgstr ""
13063
13064 # type: =head2
13065 #: ../src/guestfs-actions.pod:5101
13066 msgid "guestfs_upload_offset"
13067 msgstr ""
13068
13069 # type: verbatim
13070 #: ../src/guestfs-actions.pod:5103
13071 #, no-wrap
13072 msgid ""
13073 " int guestfs_upload_offset (guestfs_h *g,\n"
13074 "\t\tconst char *filename,\n"
13075 "\t\tconst char *remotefilename,\n"
13076 "\t\tint64_t offset);\n"
13077 "\n"
13078 msgstr ""
13079
13080 # type: textblock
13081 #: ../src/guestfs-actions.pod:5111 ../fish/guestfish-actions.pod:3978
13082 msgid ""
13083 "C<remotefilename> is overwritten starting at the byte C<offset> specified.  "
13084 "The intention is to overwrite parts of existing files or devices, although "
13085 "if a non-existant file is specified then it is created with a \"hole\" "
13086 "before C<offset>.  The size of the data written is implicit in the size of "
13087 "the source C<filename>."
13088 msgstr ""
13089
13090 # type: textblock
13091 #: ../src/guestfs-actions.pod:5118
13092 msgid ""
13093 "Note that there is no limit on the amount of data that can be uploaded with "
13094 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
13095 "full amount unless an error occurs."
13096 msgstr ""
13097
13098 # type: textblock
13099 #: ../src/guestfs-actions.pod:5123
13100 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
13101 msgstr ""
13102
13103 # type: =head2
13104 #: ../src/guestfs-actions.pod:5127
13105 msgid "guestfs_utimens"
13106 msgstr ""
13107
13108 # type: verbatim
13109 #: ../src/guestfs-actions.pod:5129
13110 #, no-wrap
13111 msgid ""
13112 " int guestfs_utimens (guestfs_h *g,\n"
13113 "\t\tconst char *path,\n"
13114 "\t\tint64_t atsecs,\n"
13115 "\t\tint64_t atnsecs,\n"
13116 "\t\tint64_t mtsecs,\n"
13117 "\t\tint64_t mtnsecs);\n"
13118 "\n"
13119 msgstr ""
13120
13121 # type: textblock
13122 #: ../src/guestfs-actions.pod:5136 ../fish/guestfish-actions.pod:3998
13123 msgid "This command sets the timestamps of a file with nanosecond precision."
13124 msgstr ""
13125
13126 # type: textblock
13127 #: ../src/guestfs-actions.pod:5139 ../fish/guestfish-actions.pod:4001
13128 msgid ""
13129 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
13130 "from the epoch."
13131 msgstr ""
13132
13133 # type: textblock
13134 #: ../src/guestfs-actions.pod:5142 ../fish/guestfish-actions.pod:4004
13135 msgid ""
13136 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
13137 "nanoseconds from the epoch."
13138 msgstr ""
13139
13140 # type: textblock
13141 #: ../src/guestfs-actions.pod:5145 ../fish/guestfish-actions.pod:4007
13142 msgid ""
13143 "If the C<*nsecs> field contains the special value C<-1> then the "
13144 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
13145 "ignored in this case)."
13146 msgstr ""
13147
13148 # type: textblock
13149 #: ../src/guestfs-actions.pod:5149 ../fish/guestfish-actions.pod:4011
13150 msgid ""
13151 "If the C<*nsecs> field contains the special value C<-2> then the "
13152 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
13153 "in this case)."
13154 msgstr ""
13155
13156 # type: =head2
13157 #: ../src/guestfs-actions.pod:5155 ../src/guestfs-structs.pod:175
13158 msgid "guestfs_version"
13159 msgstr ""
13160
13161 # type: verbatim
13162 #: ../src/guestfs-actions.pod:5157
13163 #, no-wrap
13164 msgid ""
13165 " struct guestfs_version *guestfs_version (guestfs_h *g);\n"
13166 "\n"
13167 msgstr ""
13168
13169 # type: textblock
13170 #: ../src/guestfs-actions.pod:5159 ../fish/guestfish-actions.pod:4019
13171 msgid ""
13172 "Return the libguestfs version number that the program is linked against."
13173 msgstr ""
13174
13175 # type: textblock
13176 #: ../src/guestfs-actions.pod:5162 ../fish/guestfish-actions.pod:4022
13177 msgid ""
13178 "Note that because of dynamic linking this is not necessarily the version of "
13179 "libguestfs that you compiled against.  You can compile the program, and then "
13180 "at runtime dynamically link against a completely different C<libguestfs.so> "
13181 "library."
13182 msgstr ""
13183
13184 # type: textblock
13185 #: ../src/guestfs-actions.pod:5167 ../fish/guestfish-actions.pod:4027
13186 msgid ""
13187 "This call was added in version C<1.0.58>.  In previous versions of "
13188 "libguestfs there was no way to get the version number.  From C code you can "
13189 "use dynamic linker functions to find out if this symbol exists (if it "
13190 "doesn't, then it's an earlier version)."
13191 msgstr ""
13192
13193 # type: textblock
13194 #: ../src/guestfs-actions.pod:5173 ../fish/guestfish-actions.pod:4033
13195 msgid ""
13196 "The call returns a structure with four elements.  The first three (C<major>, "
13197 "C<minor> and C<release>) are numbers and correspond to the usual version "
13198 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
13199 "but may be used for distro-specific information."
13200 msgstr ""
13201
13202 # type: textblock
13203 #: ../src/guestfs-actions.pod:5179 ../fish/guestfish-actions.pod:4039
13204 msgid ""
13205 "To construct the original version string: C<$major.$minor.$release$extra>"
13206 msgstr ""
13207
13208 # type: textblock
13209 #: ../src/guestfs-actions.pod:5182 ../fish/guestfish-actions.pod:4042
13210 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
13211 msgstr ""
13212
13213 # type: textblock
13214 #: ../src/guestfs-actions.pod:5184
13215 msgid ""
13216 "I<Note:> Don't use this call to test for availability of features.  In "
13217 "enterprise distributions we backport features from later versions into "
13218 "earlier versions, making this an unreliable way to test for features.  Use "
13219 "C<guestfs_available> instead."
13220 msgstr ""
13221
13222 # type: textblock
13223 #: ../src/guestfs-actions.pod:5190
13224 msgid ""
13225 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
13226 "error.  I<The caller must call C<guestfs_free_version> after use>."
13227 msgstr ""
13228
13229 # type: =head2
13230 #: ../src/guestfs-actions.pod:5194
13231 msgid "guestfs_vfs_label"
13232 msgstr ""
13233
13234 # type: verbatim
13235 #: ../src/guestfs-actions.pod:5196
13236 #, no-wrap
13237 msgid ""
13238 " char *guestfs_vfs_label (guestfs_h *g,\n"
13239 "\t\tconst char *device);\n"
13240 "\n"
13241 msgstr ""
13242
13243 # type: textblock
13244 #: ../src/guestfs-actions.pod:5199 ../fish/guestfish-actions.pod:4054
13245 msgid "This returns the filesystem label of the filesystem on C<device>."
13246 msgstr ""
13247
13248 # type: textblock
13249 #: ../src/guestfs-actions.pod:5202 ../fish/guestfish-actions.pod:4057
13250 msgid "If the filesystem is unlabeled, this returns the empty string."
13251 msgstr ""
13252
13253 # type: textblock
13254 #: ../src/guestfs-actions.pod:5204
13255 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
13256 msgstr ""
13257
13258 # type: =head2
13259 #: ../src/guestfs-actions.pod:5209
13260 msgid "guestfs_vfs_type"
13261 msgstr ""
13262
13263 # type: verbatim
13264 #: ../src/guestfs-actions.pod:5211
13265 #, no-wrap
13266 msgid ""
13267 " char *guestfs_vfs_type (guestfs_h *g,\n"
13268 "\t\tconst char *device);\n"
13269 "\n"
13270 msgstr ""
13271
13272 # type: textblock
13273 #: ../src/guestfs-actions.pod:5214 ../fish/guestfish-actions.pod:4065
13274 msgid ""
13275 "This command gets the filesystem type corresponding to the filesystem on "
13276 "C<device>."
13277 msgstr ""
13278
13279 # type: textblock
13280 #: ../src/guestfs-actions.pod:5217 ../fish/guestfish-actions.pod:4068
13281 msgid ""
13282 "For most filesystems, the result is the name of the Linux VFS module which "
13283 "would be used to mount this filesystem if you mounted it without specifying "
13284 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
13285 msgstr ""
13286
13287 # type: =head2
13288 #: ../src/guestfs-actions.pod:5225
13289 msgid "guestfs_vfs_uuid"
13290 msgstr ""
13291
13292 # type: verbatim
13293 #: ../src/guestfs-actions.pod:5227
13294 #, no-wrap
13295 msgid ""
13296 " char *guestfs_vfs_uuid (guestfs_h *g,\n"
13297 "\t\tconst char *device);\n"
13298 "\n"
13299 msgstr ""
13300
13301 # type: textblock
13302 #: ../src/guestfs-actions.pod:5230 ../fish/guestfish-actions.pod:4077
13303 msgid "This returns the filesystem UUID of the filesystem on C<device>."
13304 msgstr ""
13305
13306 # type: textblock
13307 #: ../src/guestfs-actions.pod:5233 ../fish/guestfish-actions.pod:4080
13308 msgid "If the filesystem does not have a UUID, this returns the empty string."
13309 msgstr ""
13310
13311 # type: textblock
13312 #: ../src/guestfs-actions.pod:5235
13313 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
13314 msgstr ""
13315
13316 # type: =head2
13317 #: ../src/guestfs-actions.pod:5240
13318 msgid "guestfs_vg_activate"
13319 msgstr ""
13320
13321 # type: verbatim
13322 #: ../src/guestfs-actions.pod:5242
13323 #, no-wrap
13324 msgid ""
13325 " int guestfs_vg_activate (guestfs_h *g,\n"
13326 "\t\tint activate,\n"
13327 "\t\tchar *const *volgroups);\n"
13328 "\n"
13329 msgstr ""
13330
13331 # type: textblock
13332 #: ../src/guestfs-actions.pod:5246 ../fish/guestfish-actions.pod:4088
13333 msgid ""
13334 "This command activates or (if C<activate> is false) deactivates all logical "
13335 "volumes in the listed volume groups C<volgroups>.  If activated, then they "
13336 "are made known to the kernel, ie. they appear as C</dev/mapper> devices.  If "
13337 "deactivated, then those devices disappear."
13338 msgstr ""
13339
13340 # type: textblock
13341 #: ../src/guestfs-actions.pod:5252 ../fish/guestfish-actions.pod:4094
13342 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
13343 msgstr ""
13344
13345 # type: textblock
13346 #: ../src/guestfs-actions.pod:5254 ../fish/guestfish-actions.pod:4096
13347 msgid ""
13348 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
13349 "activated or deactivated."
13350 msgstr ""
13351
13352 # type: =head2
13353 #: ../src/guestfs-actions.pod:5259
13354 msgid "guestfs_vg_activate_all"
13355 msgstr ""
13356
13357 # type: verbatim
13358 #: ../src/guestfs-actions.pod:5261
13359 #, no-wrap
13360 msgid ""
13361 " int guestfs_vg_activate_all (guestfs_h *g,\n"
13362 "\t\tint activate);\n"
13363 "\n"
13364 msgstr ""
13365
13366 # type: textblock
13367 #: ../src/guestfs-actions.pod:5264 ../fish/guestfish-actions.pod:4103
13368 msgid ""
13369 "This command activates or (if C<activate> is false) deactivates all logical "
13370 "volumes in all volume groups.  If activated, then they are made known to the "
13371 "kernel, ie. they appear as C</dev/mapper> devices.  If deactivated, then "
13372 "those devices disappear."
13373 msgstr ""
13374
13375 # type: textblock
13376 #: ../src/guestfs-actions.pod:5270 ../fish/guestfish-actions.pod:4109
13377 msgid "This command is the same as running C<vgchange -a y|n>"
13378 msgstr ""
13379
13380 # type: =head2
13381 #: ../src/guestfs-actions.pod:5274
13382 msgid "guestfs_vgcreate"
13383 msgstr ""
13384
13385 # type: verbatim
13386 #: ../src/guestfs-actions.pod:5276
13387 #, no-wrap
13388 msgid ""
13389 " int guestfs_vgcreate (guestfs_h *g,\n"
13390 "\t\tconst char *volgroup,\n"
13391 "\t\tchar *const *physvols);\n"
13392 "\n"
13393 msgstr ""
13394
13395 # type: textblock
13396 #: ../src/guestfs-actions.pod:5280 ../fish/guestfish-actions.pod:4115
13397 msgid ""
13398 "This creates an LVM volume group called C<volgroup> from the non-empty list "
13399 "of physical volumes C<physvols>."
13400 msgstr ""
13401
13402 # type: =head2
13403 #: ../src/guestfs-actions.pod:5285
13404 msgid "guestfs_vglvuuids"
13405 msgstr ""
13406
13407 # type: verbatim
13408 #: ../src/guestfs-actions.pod:5287
13409 #, no-wrap
13410 msgid ""
13411 " char **guestfs_vglvuuids (guestfs_h *g,\n"
13412 "\t\tconst char *vgname);\n"
13413 "\n"
13414 msgstr ""
13415
13416 # type: textblock
13417 #: ../src/guestfs-actions.pod:5290 ../fish/guestfish-actions.pod:4122
13418 msgid ""
13419 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
13420 "volumes created in this volume group."
13421 msgstr ""
13422
13423 # type: textblock
13424 #: ../src/guestfs-actions.pod:5293
13425 msgid ""
13426 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
13427 "associate logical volumes and volume groups."
13428 msgstr ""
13429
13430 # type: textblock
13431 #: ../src/guestfs-actions.pod:5296
13432 msgid "See also C<guestfs_vgpvuuids>."
13433 msgstr ""
13434
13435 # type: =head2
13436 #: ../src/guestfs-actions.pod:5302
13437 msgid "guestfs_vgpvuuids"
13438 msgstr ""
13439
13440 # type: verbatim
13441 #: ../src/guestfs-actions.pod:5304
13442 #, no-wrap
13443 msgid ""
13444 " char **guestfs_vgpvuuids (guestfs_h *g,\n"
13445 "\t\tconst char *vgname);\n"
13446 "\n"
13447 msgstr ""
13448
13449 # type: textblock
13450 #: ../src/guestfs-actions.pod:5307 ../fish/guestfish-actions.pod:4134
13451 msgid ""
13452 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
13453 "volumes that this volume group resides on."
13454 msgstr ""
13455
13456 # type: textblock
13457 #: ../src/guestfs-actions.pod:5310
13458 msgid ""
13459 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
13460 "associate physical volumes and volume groups."
13461 msgstr ""
13462
13463 # type: textblock
13464 #: ../src/guestfs-actions.pod:5313
13465 msgid "See also C<guestfs_vglvuuids>."
13466 msgstr ""
13467
13468 # type: =head2
13469 #: ../src/guestfs-actions.pod:5319
13470 msgid "guestfs_vgremove"
13471 msgstr ""
13472
13473 # type: verbatim
13474 #: ../src/guestfs-actions.pod:5321
13475 #, no-wrap
13476 msgid ""
13477 " int guestfs_vgremove (guestfs_h *g,\n"
13478 "\t\tconst char *vgname);\n"
13479 "\n"
13480 msgstr ""
13481
13482 # type: textblock
13483 #: ../src/guestfs-actions.pod:5324 ../fish/guestfish-actions.pod:4146
13484 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
13485 msgstr ""
13486
13487 # type: textblock
13488 #: ../src/guestfs-actions.pod:5326 ../fish/guestfish-actions.pod:4148
13489 msgid ""
13490 "This also forcibly removes all logical volumes in the volume group (if any)."
13491 msgstr ""
13492
13493 # type: =head2
13494 #: ../src/guestfs-actions.pod:5331
13495 msgid "guestfs_vgrename"
13496 msgstr ""
13497
13498 # type: verbatim
13499 #: ../src/guestfs-actions.pod:5333
13500 #, no-wrap
13501 msgid ""
13502 " int guestfs_vgrename (guestfs_h *g,\n"
13503 "\t\tconst char *volgroup,\n"
13504 "\t\tconst char *newvolgroup);\n"
13505 "\n"
13506 msgstr ""
13507
13508 # type: textblock
13509 #: ../src/guestfs-actions.pod:5337 ../fish/guestfish-actions.pod:4155
13510 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
13511 msgstr ""
13512
13513 # type: =head2
13514 #: ../src/guestfs-actions.pod:5341
13515 msgid "guestfs_vgs"
13516 msgstr ""
13517
13518 # type: verbatim
13519 #: ../src/guestfs-actions.pod:5343
13520 #, no-wrap
13521 msgid ""
13522 " char **guestfs_vgs (guestfs_h *g);\n"
13523 "\n"
13524 msgstr ""
13525
13526 # type: textblock
13527 #: ../src/guestfs-actions.pod:5345 ../fish/guestfish-actions.pod:4161
13528 msgid ""
13529 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13530 "> command."
13531 msgstr ""
13532
13533 # type: textblock
13534 #: ../src/guestfs-actions.pod:5348 ../fish/guestfish-actions.pod:4164
13535 msgid ""
13536 "This returns a list of just the volume group names that were detected (eg. "
13537 "C<VolGroup00>)."
13538 msgstr ""
13539
13540 # type: textblock
13541 #: ../src/guestfs-actions.pod:5351
13542 msgid "See also C<guestfs_vgs_full>."
13543 msgstr ""
13544
13545 # type: =head2
13546 #: ../src/guestfs-actions.pod:5357
13547 msgid "guestfs_vgs_full"
13548 msgstr ""
13549
13550 # type: verbatim
13551 #: ../src/guestfs-actions.pod:5359
13552 #, no-wrap
13553 msgid ""
13554 " struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *g);\n"
13555 "\n"
13556 msgstr ""
13557
13558 # type: textblock
13559 #: ../src/guestfs-actions.pod:5361 ../fish/guestfish-actions.pod:4173
13560 msgid ""
13561 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13562 "> command.  The \"full\" version includes all fields."
13563 msgstr ""
13564
13565 # type: textblock
13566 #: ../src/guestfs-actions.pod:5364
13567 msgid ""
13568 "This function returns a C<struct guestfs_lvm_vg_list *> (see E<lt>guestfs-"
13569 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
13570 "C<guestfs_free_lvm_vg_list> after use>."
13571 msgstr ""
13572
13573 # type: =head2
13574 #: ../src/guestfs-actions.pod:5369
13575 msgid "guestfs_vgscan"
13576 msgstr ""
13577
13578 # type: verbatim
13579 #: ../src/guestfs-actions.pod:5371
13580 #, no-wrap
13581 msgid ""
13582 " int guestfs_vgscan (guestfs_h *g);\n"
13583 "\n"
13584 msgstr ""
13585
13586 # type: textblock
13587 #: ../src/guestfs-actions.pod:5373 ../fish/guestfish-actions.pod:4180
13588 msgid ""
13589 "This rescans all block devices and rebuilds the list of LVM physical "
13590 "volumes, volume groups and logical volumes."
13591 msgstr ""
13592
13593 # type: =head2
13594 #: ../src/guestfs-actions.pod:5378
13595 msgid "guestfs_vguuid"
13596 msgstr ""
13597
13598 # type: verbatim
13599 #: ../src/guestfs-actions.pod:5380
13600 #, no-wrap
13601 msgid ""
13602 " char *guestfs_vguuid (guestfs_h *g,\n"
13603 "\t\tconst char *vgname);\n"
13604 "\n"
13605 msgstr ""
13606
13607 # type: textblock
13608 #: ../src/guestfs-actions.pod:5383 ../fish/guestfish-actions.pod:4187
13609 msgid "This command returns the UUID of the LVM VG named C<vgname>."
13610 msgstr ""
13611
13612 # type: =head2
13613 #: ../src/guestfs-actions.pod:5388
13614 msgid "guestfs_wait_ready"
13615 msgstr ""
13616
13617 # type: verbatim
13618 #: ../src/guestfs-actions.pod:5390
13619 #, no-wrap
13620 msgid ""
13621 " int guestfs_wait_ready (guestfs_h *g);\n"
13622 "\n"
13623 msgstr ""
13624
13625 # type: textblock
13626 #: ../src/guestfs-actions.pod:5392
13627 msgid "This function is a no op."
13628 msgstr ""
13629
13630 # type: textblock
13631 #: ../src/guestfs-actions.pod:5394
13632 msgid ""
13633 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
13634 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
13635 "is no longer necessary because C<guestfs_launch> now does the waiting."
13636 msgstr ""
13637
13638 # type: textblock
13639 #: ../src/guestfs-actions.pod:5399
13640 msgid ""
13641 "If you see any calls to this function in code then you can just remove them, "
13642 "unless you want to retain compatibility with older versions of the API."
13643 msgstr ""
13644
13645 # type: =head2
13646 #: ../src/guestfs-actions.pod:5405
13647 msgid "guestfs_wc_c"
13648 msgstr ""
13649
13650 # type: verbatim
13651 #: ../src/guestfs-actions.pod:5407
13652 #, no-wrap
13653 msgid ""
13654 " int guestfs_wc_c (guestfs_h *g,\n"
13655 "\t\tconst char *path);\n"
13656 "\n"
13657 msgstr ""
13658
13659 # type: textblock
13660 #: ../src/guestfs-actions.pod:5410 ../fish/guestfish-actions.pod:4193
13661 msgid ""
13662 "This command counts the characters in a file, using the C<wc -c> external "
13663 "command."
13664 msgstr ""
13665
13666 # type: =head2
13667 #: ../src/guestfs-actions.pod:5415
13668 msgid "guestfs_wc_l"
13669 msgstr ""
13670
13671 # type: verbatim
13672 #: ../src/guestfs-actions.pod:5417
13673 #, no-wrap
13674 msgid ""
13675 " int guestfs_wc_l (guestfs_h *g,\n"
13676 "\t\tconst char *path);\n"
13677 "\n"
13678 msgstr ""
13679
13680 # type: textblock
13681 #: ../src/guestfs-actions.pod:5420 ../fish/guestfish-actions.pod:4200
13682 msgid ""
13683 "This command counts the lines in a file, using the C<wc -l> external command."
13684 msgstr ""
13685
13686 # type: =head2
13687 #: ../src/guestfs-actions.pod:5425
13688 msgid "guestfs_wc_w"
13689 msgstr ""
13690
13691 # type: verbatim
13692 #: ../src/guestfs-actions.pod:5427
13693 #, no-wrap
13694 msgid ""
13695 " int guestfs_wc_w (guestfs_h *g,\n"
13696 "\t\tconst char *path);\n"
13697 "\n"
13698 msgstr ""
13699
13700 # type: textblock
13701 #: ../src/guestfs-actions.pod:5430 ../fish/guestfish-actions.pod:4207
13702 msgid ""
13703 "This command counts the words in a file, using the C<wc -w> external command."
13704 msgstr ""
13705
13706 # type: =head2
13707 #: ../src/guestfs-actions.pod:5435
13708 msgid "guestfs_write"
13709 msgstr ""
13710
13711 # type: verbatim
13712 #: ../src/guestfs-actions.pod:5437
13713 #, no-wrap
13714 msgid ""
13715 " int guestfs_write (guestfs_h *g,\n"
13716 "\t\tconst char *path,\n"
13717 "\t\tconst char *content,\n"
13718 "\t\tsize_t content_size);\n"
13719 "\n"
13720 msgstr ""
13721
13722 # type: textblock
13723 #: ../src/guestfs-actions.pod:5442 ../fish/guestfish-actions.pod:4214
13724 msgid ""
13725 "This call creates a file called C<path>.  The content of the file is the "
13726 "string C<content> (which can contain any 8 bit data)."
13727 msgstr ""
13728
13729 # type: =head2
13730 #: ../src/guestfs-actions.pod:5450
13731 msgid "guestfs_write_file"
13732 msgstr ""
13733
13734 # type: verbatim
13735 #: ../src/guestfs-actions.pod:5452
13736 #, no-wrap
13737 msgid ""
13738 " int guestfs_write_file (guestfs_h *g,\n"
13739 "\t\tconst char *path,\n"
13740 "\t\tconst char *content,\n"
13741 "\t\tint size);\n"
13742 "\n"
13743 msgstr ""
13744
13745 # type: textblock
13746 #: ../src/guestfs-actions.pod:5457 ../fish/guestfish-actions.pod:4224
13747 msgid ""
13748 "This call creates a file called C<path>.  The contents of the file is the "
13749 "string C<content> (which can contain any 8 bit data), with length C<size>."
13750 msgstr ""
13751
13752 # type: textblock
13753 #: ../src/guestfs-actions.pod:5461 ../fish/guestfish-actions.pod:4228
13754 msgid ""
13755 "As a special case, if C<size> is C<0> then the length is calculated using "
13756 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
13757 msgstr ""
13758
13759 # type: textblock
13760 #: ../src/guestfs-actions.pod:5465 ../fish/guestfish-actions.pod:4232
13761 msgid ""
13762 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
13763 "I<not> work, even if the length is specified."
13764 msgstr ""
13765
13766 # type: textblock
13767 #: ../src/guestfs-actions.pod:5473 ../fish/guestfish-actions.pod:4238
13768 msgid ""
13769 "This function is deprecated.  In new code, use the C<write> call instead."
13770 msgstr ""
13771
13772 # type: =head2
13773 #: ../src/guestfs-actions.pod:5480
13774 msgid "guestfs_zegrep"
13775 msgstr ""
13776
13777 # type: verbatim
13778 #: ../src/guestfs-actions.pod:5482
13779 #, no-wrap
13780 msgid ""
13781 " char **guestfs_zegrep (guestfs_h *g,\n"
13782 "\t\tconst char *regex,\n"
13783 "\t\tconst char *path);\n"
13784 "\n"
13785 msgstr ""
13786
13787 # type: textblock
13788 #: ../src/guestfs-actions.pod:5486 ../fish/guestfish-actions.pod:4249
13789 msgid ""
13790 "This calls the external C<zegrep> program and returns the matching lines."
13791 msgstr ""
13792
13793 # type: =head2
13794 #: ../src/guestfs-actions.pod:5496
13795 msgid "guestfs_zegrepi"
13796 msgstr ""
13797
13798 # type: verbatim
13799 #: ../src/guestfs-actions.pod:5498
13800 #, no-wrap
13801 msgid ""
13802 " char **guestfs_zegrepi (guestfs_h *g,\n"
13803 "\t\tconst char *regex,\n"
13804 "\t\tconst char *path);\n"
13805 "\n"
13806 msgstr ""
13807
13808 # type: textblock
13809 #: ../src/guestfs-actions.pod:5502 ../fish/guestfish-actions.pod:4259
13810 msgid ""
13811 "This calls the external C<zegrep -i> program and returns the matching lines."
13812 msgstr ""
13813
13814 # type: =head2
13815 #: ../src/guestfs-actions.pod:5512
13816 msgid "guestfs_zero"
13817 msgstr ""
13818
13819 # type: verbatim
13820 #: ../src/guestfs-actions.pod:5514
13821 #, no-wrap
13822 msgid ""
13823 " int guestfs_zero (guestfs_h *g,\n"
13824 "\t\tconst char *device);\n"
13825 "\n"
13826 msgstr ""
13827
13828 # type: textblock
13829 #: ../src/guestfs-actions.pod:5517 ../fish/guestfish-actions.pod:4269
13830 msgid "This command writes zeroes over the first few blocks of C<device>."
13831 msgstr ""
13832
13833 # type: textblock
13834 #: ../src/guestfs-actions.pod:5519 ../fish/guestfish-actions.pod:4271
13835 msgid ""
13836 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
13837 "securely wipe the device).  It should be sufficient to remove any partition "
13838 "tables, filesystem superblocks and so on."
13839 msgstr ""
13840
13841 # type: textblock
13842 #: ../src/guestfs-actions.pod:5523
13843 msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
13844 msgstr ""
13845
13846 # type: =head2
13847 #: ../src/guestfs-actions.pod:5532
13848 msgid "guestfs_zero_device"
13849 msgstr ""
13850
13851 # type: verbatim
13852 #: ../src/guestfs-actions.pod:5534
13853 #, no-wrap
13854 msgid ""
13855 " int guestfs_zero_device (guestfs_h *g,\n"
13856 "\t\tconst char *device);\n"
13857 "\n"
13858 msgstr ""
13859
13860 # type: textblock
13861 #: ../src/guestfs-actions.pod:5537
13862 msgid ""
13863 "This command writes zeroes over the entire C<device>.  Compare with "
13864 "C<guestfs_zero> which just zeroes the first few blocks of a device."
13865 msgstr ""
13866
13867 # type: =head2
13868 #: ../src/guestfs-actions.pod:5551
13869 msgid "guestfs_zerofree"
13870 msgstr ""
13871
13872 # type: verbatim
13873 #: ../src/guestfs-actions.pod:5553
13874 #, no-wrap
13875 msgid ""
13876 " int guestfs_zerofree (guestfs_h *g,\n"
13877 "\t\tconst char *device);\n"
13878 "\n"
13879 msgstr ""
13880
13881 # type: textblock
13882 #: ../src/guestfs-actions.pod:5556 ../fish/guestfish-actions.pod:4292
13883 msgid ""
13884 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
13885 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
13886 "possible to compress the filesystem more effectively."
13887 msgstr ""
13888
13889 # type: textblock
13890 #: ../src/guestfs-actions.pod:5561 ../fish/guestfish-actions.pod:4297
13891 msgid "You should B<not> run this program if the filesystem is mounted."
13892 msgstr ""
13893
13894 # type: textblock
13895 #: ../src/guestfs-actions.pod:5564 ../fish/guestfish-actions.pod:4300
13896 msgid ""
13897 "It is possible that using this program can damage the filesystem or data on "
13898 "the filesystem."
13899 msgstr ""
13900
13901 # type: =head2
13902 #: ../src/guestfs-actions.pod:5569
13903 msgid "guestfs_zfgrep"
13904 msgstr ""
13905
13906 # type: verbatim
13907 #: ../src/guestfs-actions.pod:5571
13908 #, no-wrap
13909 msgid ""
13910 " char **guestfs_zfgrep (guestfs_h *g,\n"
13911 "\t\tconst char *pattern,\n"
13912 "\t\tconst char *path);\n"
13913 "\n"
13914 msgstr ""
13915
13916 # type: textblock
13917 #: ../src/guestfs-actions.pod:5575 ../fish/guestfish-actions.pod:4307
13918 msgid ""
13919 "This calls the external C<zfgrep> program and returns the matching lines."
13920 msgstr ""
13921
13922 # type: =head2
13923 #: ../src/guestfs-actions.pod:5585
13924 msgid "guestfs_zfgrepi"
13925 msgstr ""
13926
13927 # type: verbatim
13928 #: ../src/guestfs-actions.pod:5587
13929 #, no-wrap
13930 msgid ""
13931 " char **guestfs_zfgrepi (guestfs_h *g,\n"
13932 "\t\tconst char *pattern,\n"
13933 "\t\tconst char *path);\n"
13934 "\n"
13935 msgstr ""
13936
13937 # type: textblock
13938 #: ../src/guestfs-actions.pod:5591 ../fish/guestfish-actions.pod:4317
13939 msgid ""
13940 "This calls the external C<zfgrep -i> program and returns the matching lines."
13941 msgstr ""
13942
13943 # type: =head2
13944 #: ../src/guestfs-actions.pod:5601
13945 msgid "guestfs_zfile"
13946 msgstr ""
13947
13948 # type: verbatim
13949 #: ../src/guestfs-actions.pod:5603
13950 #, no-wrap
13951 msgid ""
13952 " char *guestfs_zfile (guestfs_h *g,\n"
13953 "\t\tconst char *meth,\n"
13954 "\t\tconst char *path);\n"
13955 "\n"
13956 msgstr ""
13957
13958 # type: textblock
13959 #: ../src/guestfs-actions.pod:5607 ../fish/guestfish-actions.pod:4327
13960 msgid ""
13961 "This command runs C<file> after first decompressing C<path> using C<method>."
13962 msgstr ""
13963
13964 # type: textblock
13965 #: ../src/guestfs-actions.pod:5610 ../fish/guestfish-actions.pod:4330
13966 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
13967 msgstr ""
13968
13969 # type: textblock
13970 #: ../src/guestfs-actions.pod:5612
13971 msgid ""
13972 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
13973 "files."
13974 msgstr ""
13975
13976 # type: textblock
13977 #: ../src/guestfs-actions.pod:5618 ../fish/guestfish-actions.pod:4335
13978 msgid ""
13979 "This function is deprecated.  In new code, use the C<file> call instead."
13980 msgstr ""
13981
13982 # type: =head2
13983 #: ../src/guestfs-actions.pod:5625
13984 msgid "guestfs_zgrep"
13985 msgstr ""
13986
13987 # type: verbatim
13988 #: ../src/guestfs-actions.pod:5627
13989 #, no-wrap
13990 msgid ""
13991 " char **guestfs_zgrep (guestfs_h *g,\n"
13992 "\t\tconst char *regex,\n"
13993 "\t\tconst char *path);\n"
13994 "\n"
13995 msgstr ""
13996
13997 # type: textblock
13998 #: ../src/guestfs-actions.pod:5631 ../fish/guestfish-actions.pod:4346
13999 msgid ""
14000 "This calls the external C<zgrep> program and returns the matching lines."
14001 msgstr ""
14002
14003 # type: =head2
14004 #: ../src/guestfs-actions.pod:5641
14005 msgid "guestfs_zgrepi"
14006 msgstr ""
14007
14008 # type: verbatim
14009 #: ../src/guestfs-actions.pod:5643
14010 #, no-wrap
14011 msgid ""
14012 " char **guestfs_zgrepi (guestfs_h *g,\n"
14013 "\t\tconst char *regex,\n"
14014 "\t\tconst char *path);\n"
14015 "\n"
14016 msgstr ""
14017
14018 # type: textblock
14019 #: ../src/guestfs-actions.pod:5647 ../fish/guestfish-actions.pod:4356
14020 msgid ""
14021 "This calls the external C<zgrep -i> program and returns the matching lines."
14022 msgstr ""
14023
14024 # type: =item
14025 #: ../src/guestfs-availability.pod:3
14026 msgid "B<augeas>"
14027 msgstr ""
14028
14029 # type: textblock
14030 #: ../src/guestfs-availability.pod:5
14031 msgid ""
14032 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
14033 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
14034 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
14035 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
14036 "L</guestfs_aug_save> L</guestfs_aug_set>"
14037 msgstr ""
14038
14039 # type: =item
14040 #: ../src/guestfs-availability.pod:21
14041 msgid "B<inotify>"
14042 msgstr ""
14043
14044 # type: textblock
14045 #: ../src/guestfs-availability.pod:23
14046 msgid ""
14047 "The following functions: L</guestfs_inotify_add_watch> L</"
14048 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
14049 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
14050 msgstr ""
14051
14052 # type: =item
14053 #: ../src/guestfs-availability.pod:31
14054 msgid "B<linuxfsuuid>"
14055 msgstr ""
14056
14057 # type: textblock
14058 #: ../src/guestfs-availability.pod:33
14059 msgid ""
14060 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
14061 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
14062 msgstr ""
14063
14064 # type: =item
14065 #: ../src/guestfs-availability.pod:40
14066 msgid "B<linuxmodules>"
14067 msgstr ""
14068
14069 # type: textblock
14070 #: ../src/guestfs-availability.pod:42
14071 msgid "The following functions: L</guestfs_modprobe>"
14072 msgstr ""
14073
14074 # type: =item
14075 #: ../src/guestfs-availability.pod:45
14076 msgid "B<linuxxattrs>"
14077 msgstr ""
14078
14079 # type: textblock
14080 #: ../src/guestfs-availability.pod:47
14081 msgid ""
14082 "The following functions: L</guestfs_getxattrs> L</guestfs_lgetxattrs> L</"
14083 "guestfs_lremovexattr> L</guestfs_lsetxattr> L</guestfs_lxattrlist> L</"
14084 "guestfs_removexattr> L</guestfs_setxattr>"
14085 msgstr ""
14086
14087 # type: =item
14088 #: ../src/guestfs-availability.pod:56
14089 msgid "B<luks>"
14090 msgstr ""
14091
14092 # type: textblock
14093 #: ../src/guestfs-availability.pod:58
14094 msgid ""
14095 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
14096 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
14097 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
14098 msgstr ""
14099
14100 # type: =item
14101 #: ../src/guestfs-availability.pod:67
14102 msgid "B<lvm2>"
14103 msgstr ""
14104
14105 # type: textblock
14106 #: ../src/guestfs-availability.pod:69
14107 msgid ""
14108 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
14109 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
14110 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
14111 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
14112 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
14113 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
14114 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
14115 msgstr ""
14116
14117 # type: =item
14118 #: ../src/guestfs-availability.pod:92
14119 msgid "B<mknod>"
14120 msgstr ""
14121
14122 # type: textblock
14123 #: ../src/guestfs-availability.pod:94
14124 msgid ""
14125 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
14126 "guestfs_mknod_b> L</guestfs_mknod_c>"
14127 msgstr ""
14128
14129 # type: =item
14130 #: ../src/guestfs-availability.pod:100
14131 msgid "B<ntfs3g>"
14132 msgstr ""
14133
14134 # type: textblock
14135 #: ../src/guestfs-availability.pod:102
14136 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
14137 msgstr ""
14138
14139 # type: =item
14140 #: ../src/guestfs-availability.pod:105
14141 msgid "B<ntfsprogs>"
14142 msgstr ""
14143
14144 # type: textblock
14145 #: ../src/guestfs-availability.pod:107
14146 msgid ""
14147 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_size>"
14148 msgstr ""
14149
14150 # type: =item
14151 #: ../src/guestfs-availability.pod:111
14152 msgid "B<realpath>"
14153 msgstr ""
14154
14155 # type: textblock
14156 #: ../src/guestfs-availability.pod:113
14157 msgid "The following functions: L</guestfs_realpath>"
14158 msgstr ""
14159
14160 # type: =item
14161 #: ../src/guestfs-availability.pod:116
14162 msgid "B<scrub>"
14163 msgstr ""
14164
14165 # type: textblock
14166 #: ../src/guestfs-availability.pod:118
14167 msgid ""
14168 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
14169 "guestfs_scrub_freespace>"
14170 msgstr ""
14171
14172 # type: =item
14173 #: ../src/guestfs-availability.pod:123
14174 msgid "B<selinux>"
14175 msgstr ""
14176
14177 # type: textblock
14178 #: ../src/guestfs-availability.pod:125
14179 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
14180 msgstr ""
14181
14182 # type: =item
14183 #: ../src/guestfs-availability.pod:129
14184 msgid "B<xz>"
14185 msgstr ""
14186
14187 # type: textblock
14188 #: ../src/guestfs-availability.pod:131
14189 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
14190 msgstr ""
14191
14192 # type: =item
14193 #: ../src/guestfs-availability.pod:135
14194 msgid "B<zerofree>"
14195 msgstr ""
14196
14197 # type: textblock
14198 #: ../src/guestfs-availability.pod:137
14199 msgid "The following functions: L</guestfs_zerofree>"
14200 msgstr ""
14201
14202 # type: =head2
14203 #: ../src/guestfs-structs.pod:1
14204 msgid "guestfs_int_bool"
14205 msgstr ""
14206
14207 # type: verbatim
14208 #: ../src/guestfs-structs.pod:3
14209 #, no-wrap
14210 msgid ""
14211 " struct guestfs_int_bool {\n"
14212 "   int32_t i;\n"
14213 "   int32_t b;\n"
14214 " };\n"
14215 " \n"
14216 msgstr ""
14217
14218 # type: verbatim
14219 #: ../src/guestfs-structs.pod:8
14220 #, no-wrap
14221 msgid ""
14222 " struct guestfs_int_bool_list {\n"
14223 "   uint32_t len; /* Number of elements in list. */\n"
14224 "   struct guestfs_int_bool *val; /* Elements. */\n"
14225 " };\n"
14226 " \n"
14227 msgstr ""
14228
14229 # type: verbatim
14230 #: ../src/guestfs-structs.pod:13
14231 #, no-wrap
14232 msgid ""
14233 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
14234 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
14235 "\n"
14236 msgstr ""
14237
14238 # type: =head2
14239 #: ../src/guestfs-structs.pod:16
14240 msgid "guestfs_lvm_pv"
14241 msgstr ""
14242
14243 # type: verbatim
14244 #: ../src/guestfs-structs.pod:18
14245 #, no-wrap
14246 msgid ""
14247 " struct guestfs_lvm_pv {\n"
14248 "   char *pv_name;\n"
14249 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14250 "   char pv_uuid[32];\n"
14251 "   char *pv_fmt;\n"
14252 "   uint64_t pv_size;\n"
14253 "   uint64_t dev_size;\n"
14254 "   uint64_t pv_free;\n"
14255 "   uint64_t pv_used;\n"
14256 "   char *pv_attr;\n"
14257 "   int64_t pv_pe_count;\n"
14258 "   int64_t pv_pe_alloc_count;\n"
14259 "   char *pv_tags;\n"
14260 "   uint64_t pe_start;\n"
14261 "   int64_t pv_mda_count;\n"
14262 "   uint64_t pv_mda_free;\n"
14263 " };\n"
14264 " \n"
14265 msgstr ""
14266
14267 # type: verbatim
14268 #: ../src/guestfs-structs.pod:36
14269 #, no-wrap
14270 msgid ""
14271 " struct guestfs_lvm_pv_list {\n"
14272 "   uint32_t len; /* Number of elements in list. */\n"
14273 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
14274 " };\n"
14275 " \n"
14276 msgstr ""
14277
14278 # type: verbatim
14279 #: ../src/guestfs-structs.pod:41
14280 #, no-wrap
14281 msgid ""
14282 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
14283 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
14284 "\n"
14285 msgstr ""
14286
14287 # type: =head2
14288 #: ../src/guestfs-structs.pod:44
14289 msgid "guestfs_lvm_vg"
14290 msgstr ""
14291
14292 # type: verbatim
14293 #: ../src/guestfs-structs.pod:46
14294 #, no-wrap
14295 msgid ""
14296 " struct guestfs_lvm_vg {\n"
14297 "   char *vg_name;\n"
14298 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14299 "   char vg_uuid[32];\n"
14300 "   char *vg_fmt;\n"
14301 "   char *vg_attr;\n"
14302 "   uint64_t vg_size;\n"
14303 "   uint64_t vg_free;\n"
14304 "   char *vg_sysid;\n"
14305 "   uint64_t vg_extent_size;\n"
14306 "   int64_t vg_extent_count;\n"
14307 "   int64_t vg_free_count;\n"
14308 "   int64_t max_lv;\n"
14309 "   int64_t max_pv;\n"
14310 "   int64_t pv_count;\n"
14311 "   int64_t lv_count;\n"
14312 "   int64_t snap_count;\n"
14313 "   int64_t vg_seqno;\n"
14314 "   char *vg_tags;\n"
14315 "   int64_t vg_mda_count;\n"
14316 "   uint64_t vg_mda_free;\n"
14317 " };\n"
14318 " \n"
14319 msgstr ""
14320
14321 # type: verbatim
14322 #: ../src/guestfs-structs.pod:69
14323 #, no-wrap
14324 msgid ""
14325 " struct guestfs_lvm_vg_list {\n"
14326 "   uint32_t len; /* Number of elements in list. */\n"
14327 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
14328 " };\n"
14329 " \n"
14330 msgstr ""
14331
14332 # type: verbatim
14333 #: ../src/guestfs-structs.pod:74
14334 #, no-wrap
14335 msgid ""
14336 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
14337 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
14338 "\n"
14339 msgstr ""
14340
14341 # type: =head2
14342 #: ../src/guestfs-structs.pod:77
14343 msgid "guestfs_lvm_lv"
14344 msgstr ""
14345
14346 # type: verbatim
14347 #: ../src/guestfs-structs.pod:79
14348 #, no-wrap
14349 msgid ""
14350 " struct guestfs_lvm_lv {\n"
14351 "   char *lv_name;\n"
14352 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14353 "   char lv_uuid[32];\n"
14354 "   char *lv_attr;\n"
14355 "   int64_t lv_major;\n"
14356 "   int64_t lv_minor;\n"
14357 "   int64_t lv_kernel_major;\n"
14358 "   int64_t lv_kernel_minor;\n"
14359 "   uint64_t lv_size;\n"
14360 "   int64_t seg_count;\n"
14361 "   char *origin;\n"
14362 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14363 "   float snap_percent;\n"
14364 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14365 "   float copy_percent;\n"
14366 "   char *move_pv;\n"
14367 "   char *lv_tags;\n"
14368 "   char *mirror_log;\n"
14369 "   char *modules;\n"
14370 " };\n"
14371 " \n"
14372 msgstr ""
14373
14374 # type: verbatim
14375 #: ../src/guestfs-structs.pod:101
14376 #, no-wrap
14377 msgid ""
14378 " struct guestfs_lvm_lv_list {\n"
14379 "   uint32_t len; /* Number of elements in list. */\n"
14380 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
14381 " };\n"
14382 " \n"
14383 msgstr ""
14384
14385 # type: verbatim
14386 #: ../src/guestfs-structs.pod:106
14387 #, no-wrap
14388 msgid ""
14389 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
14390 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
14391 "\n"
14392 msgstr ""
14393
14394 # type: verbatim
14395 #: ../src/guestfs-structs.pod:111
14396 #, no-wrap
14397 msgid ""
14398 " struct guestfs_stat {\n"
14399 "   int64_t dev;\n"
14400 "   int64_t ino;\n"
14401 "   int64_t mode;\n"
14402 "   int64_t nlink;\n"
14403 "   int64_t uid;\n"
14404 "   int64_t gid;\n"
14405 "   int64_t rdev;\n"
14406 "   int64_t size;\n"
14407 "   int64_t blksize;\n"
14408 "   int64_t blocks;\n"
14409 "   int64_t atime;\n"
14410 "   int64_t mtime;\n"
14411 "   int64_t ctime;\n"
14412 " };\n"
14413 " \n"
14414 msgstr ""
14415
14416 # type: verbatim
14417 #: ../src/guestfs-structs.pod:127
14418 #, no-wrap
14419 msgid ""
14420 " struct guestfs_stat_list {\n"
14421 "   uint32_t len; /* Number of elements in list. */\n"
14422 "   struct guestfs_stat *val; /* Elements. */\n"
14423 " };\n"
14424 " \n"
14425 msgstr ""
14426
14427 # type: verbatim
14428 #: ../src/guestfs-structs.pod:132
14429 #, no-wrap
14430 msgid ""
14431 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
14432 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
14433 "\n"
14434 msgstr ""
14435
14436 # type: verbatim
14437 #: ../src/guestfs-structs.pod:137
14438 #, no-wrap
14439 msgid ""
14440 " struct guestfs_statvfs {\n"
14441 "   int64_t bsize;\n"
14442 "   int64_t frsize;\n"
14443 "   int64_t blocks;\n"
14444 "   int64_t bfree;\n"
14445 "   int64_t bavail;\n"
14446 "   int64_t files;\n"
14447 "   int64_t ffree;\n"
14448 "   int64_t favail;\n"
14449 "   int64_t fsid;\n"
14450 "   int64_t flag;\n"
14451 "   int64_t namemax;\n"
14452 " };\n"
14453 " \n"
14454 msgstr ""
14455
14456 # type: verbatim
14457 #: ../src/guestfs-structs.pod:151
14458 #, no-wrap
14459 msgid ""
14460 " struct guestfs_statvfs_list {\n"
14461 "   uint32_t len; /* Number of elements in list. */\n"
14462 "   struct guestfs_statvfs *val; /* Elements. */\n"
14463 " };\n"
14464 " \n"
14465 msgstr ""
14466
14467 # type: verbatim
14468 #: ../src/guestfs-structs.pod:156
14469 #, no-wrap
14470 msgid ""
14471 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
14472 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
14473 "\n"
14474 msgstr ""
14475
14476 # type: =head2
14477 #: ../src/guestfs-structs.pod:159
14478 msgid "guestfs_dirent"
14479 msgstr ""
14480
14481 # type: verbatim
14482 #: ../src/guestfs-structs.pod:161
14483 #, no-wrap
14484 msgid ""
14485 " struct guestfs_dirent {\n"
14486 "   int64_t ino;\n"
14487 "   char ftyp;\n"
14488 "   char *name;\n"
14489 " };\n"
14490 " \n"
14491 msgstr ""
14492
14493 # type: verbatim
14494 #: ../src/guestfs-structs.pod:167
14495 #, no-wrap
14496 msgid ""
14497 " struct guestfs_dirent_list {\n"
14498 "   uint32_t len; /* Number of elements in list. */\n"
14499 "   struct guestfs_dirent *val; /* Elements. */\n"
14500 " };\n"
14501 " \n"
14502 msgstr ""
14503
14504 # type: verbatim
14505 #: ../src/guestfs-structs.pod:172
14506 #, no-wrap
14507 msgid ""
14508 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
14509 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
14510 "\n"
14511 msgstr ""
14512
14513 # type: verbatim
14514 #: ../src/guestfs-structs.pod:177
14515 #, no-wrap
14516 msgid ""
14517 " struct guestfs_version {\n"
14518 "   int64_t major;\n"
14519 "   int64_t minor;\n"
14520 "   int64_t release;\n"
14521 "   char *extra;\n"
14522 " };\n"
14523 " \n"
14524 msgstr ""
14525
14526 # type: verbatim
14527 #: ../src/guestfs-structs.pod:184
14528 #, no-wrap
14529 msgid ""
14530 " struct guestfs_version_list {\n"
14531 "   uint32_t len; /* Number of elements in list. */\n"
14532 "   struct guestfs_version *val; /* Elements. */\n"
14533 " };\n"
14534 " \n"
14535 msgstr ""
14536
14537 # type: verbatim
14538 #: ../src/guestfs-structs.pod:189
14539 #, no-wrap
14540 msgid ""
14541 " void guestfs_free_version (struct guestfs_free_version *);\n"
14542 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
14543 "\n"
14544 msgstr ""
14545
14546 # type: =head2
14547 #: ../src/guestfs-structs.pod:192
14548 msgid "guestfs_xattr"
14549 msgstr ""
14550
14551 # type: verbatim
14552 #: ../src/guestfs-structs.pod:194
14553 #, no-wrap
14554 msgid ""
14555 " struct guestfs_xattr {\n"
14556 "   char *attrname;\n"
14557 "   /* The next two fields describe a byte array. */\n"
14558 "   uint32_t attrval_len;\n"
14559 "   char *attrval;\n"
14560 " };\n"
14561 " \n"
14562 msgstr ""
14563
14564 # type: verbatim
14565 #: ../src/guestfs-structs.pod:201
14566 #, no-wrap
14567 msgid ""
14568 " struct guestfs_xattr_list {\n"
14569 "   uint32_t len; /* Number of elements in list. */\n"
14570 "   struct guestfs_xattr *val; /* Elements. */\n"
14571 " };\n"
14572 " \n"
14573 msgstr ""
14574
14575 # type: verbatim
14576 #: ../src/guestfs-structs.pod:206
14577 #, no-wrap
14578 msgid ""
14579 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
14580 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
14581 "\n"
14582 msgstr ""
14583
14584 # type: =head2
14585 #: ../src/guestfs-structs.pod:209
14586 msgid "guestfs_inotify_event"
14587 msgstr ""
14588
14589 # type: verbatim
14590 #: ../src/guestfs-structs.pod:211
14591 #, no-wrap
14592 msgid ""
14593 " struct guestfs_inotify_event {\n"
14594 "   int64_t in_wd;\n"
14595 "   uint32_t in_mask;\n"
14596 "   uint32_t in_cookie;\n"
14597 "   char *in_name;\n"
14598 " };\n"
14599 " \n"
14600 msgstr ""
14601
14602 # type: verbatim
14603 #: ../src/guestfs-structs.pod:218
14604 #, no-wrap
14605 msgid ""
14606 " struct guestfs_inotify_event_list {\n"
14607 "   uint32_t len; /* Number of elements in list. */\n"
14608 "   struct guestfs_inotify_event *val; /* Elements. */\n"
14609 " };\n"
14610 " \n"
14611 msgstr ""
14612
14613 # type: verbatim
14614 #: ../src/guestfs-structs.pod:223
14615 #, no-wrap
14616 msgid ""
14617 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
14618 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
14619 "\n"
14620 msgstr ""
14621
14622 # type: =head2
14623 #: ../src/guestfs-structs.pod:226
14624 msgid "guestfs_partition"
14625 msgstr ""
14626
14627 # type: verbatim
14628 #: ../src/guestfs-structs.pod:228
14629 #, no-wrap
14630 msgid ""
14631 " struct guestfs_partition {\n"
14632 "   int32_t part_num;\n"
14633 "   uint64_t part_start;\n"
14634 "   uint64_t part_end;\n"
14635 "   uint64_t part_size;\n"
14636 " };\n"
14637 " \n"
14638 msgstr ""
14639
14640 # type: verbatim
14641 #: ../src/guestfs-structs.pod:235
14642 #, no-wrap
14643 msgid ""
14644 " struct guestfs_partition_list {\n"
14645 "   uint32_t len; /* Number of elements in list. */\n"
14646 "   struct guestfs_partition *val; /* Elements. */\n"
14647 " };\n"
14648 " \n"
14649 msgstr ""
14650
14651 # type: verbatim
14652 #: ../src/guestfs-structs.pod:240
14653 #, no-wrap
14654 msgid ""
14655 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
14656 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
14657 "\n"
14658 msgstr ""
14659
14660 # type: textblock
14661 #: ../fish/guestfish.pod:5
14662 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
14663 msgstr ""
14664
14665 # type: verbatim
14666 #: ../fish/guestfish.pod:9
14667 #, no-wrap
14668 msgid ""
14669 " guestfish [--options] [commands]\n"
14670 "\n"
14671 msgstr ""
14672
14673 # type: verbatim
14674 #: ../fish/guestfish.pod:11
14675 #, no-wrap
14676 msgid ""
14677 " guestfish\n"
14678 "\n"
14679 msgstr ""
14680
14681 # type: verbatim
14682 #: ../fish/guestfish.pod:13
14683 #, no-wrap
14684 msgid ""
14685 " guestfish -a disk.img\n"
14686 "\n"
14687 msgstr ""
14688
14689 # type: verbatim
14690 #: ../fish/guestfish.pod:15
14691 #, no-wrap
14692 msgid ""
14693 " guestfish -a disk.img -m dev[:mountpoint]\n"
14694 "\n"
14695 msgstr ""
14696
14697 # type: verbatim
14698 #: ../fish/guestfish.pod:17
14699 #, no-wrap
14700 msgid ""
14701 " guestfish -d libvirt-domain\n"
14702 "\n"
14703 msgstr ""
14704
14705 # type: verbatim
14706 #: ../fish/guestfish.pod:19
14707 #, no-wrap
14708 msgid ""
14709 " guestfish -a disk.img -i\n"
14710 "\n"
14711 msgstr ""
14712
14713 # type: verbatim
14714 #: ../fish/guestfish.pod:21
14715 #, no-wrap
14716 msgid ""
14717 " guestfish -d libvirt-domain -i\n"
14718 "\n"
14719 msgstr ""
14720
14721 # type: =head1
14722 #: ../fish/guestfish.pod:23 ../fuse/guestmount.pod:11 ../tools/virt-edit.pl:45
14723 #: ../tools/virt-win-reg.pl:52 ../tools/virt-tar.pl:60
14724 #: ../tools/virt-rescue.pl:41
14725 msgid "WARNING"
14726 msgstr ""
14727
14728 # type: textblock
14729 #: ../fish/guestfish.pod:25
14730 msgid ""
14731 "Using guestfish in read/write mode on live virtual machines can be "
14732 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
14733 "option to use guestfish safely if the disk image or virtual machine might be "
14734 "live."
14735 msgstr ""
14736
14737 # type: textblock
14738 #: ../fish/guestfish.pod:32
14739 msgid ""
14740 "Guestfish is a shell and command-line tool for examining and modifying "
14741 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
14742 "functionality of the guestfs API, see L<guestfs(3)>."
14743 msgstr ""
14744
14745 # type: textblock
14746 #: ../fish/guestfish.pod:36
14747 msgid ""
14748 "Guestfish gives you structured access to the libguestfs API, from shell "
14749 "scripts or the command line or interactively.  If you want to rescue a "
14750 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
14751 "command."
14752 msgstr ""
14753
14754 # type: =head1
14755 #: ../fish/guestfish.pod:41 ../fish/guestfish.pod:759
14756 #: ../fuse/guestmount.pod:35 ../tools/virt-edit.pl:59
14757 #: ../tools/virt-resize.pl:66 ../tools/virt-cat.pl:51 ../tools/virt-tar.pl:46
14758 msgid "EXAMPLES"
14759 msgstr ""
14760
14761 # type: =head2
14762 #: ../fish/guestfish.pod:43
14763 msgid "As an interactive shell"
14764 msgstr ""
14765
14766 # type: verbatim
14767 #: ../fish/guestfish.pod:45
14768 #, no-wrap
14769 msgid ""
14770 " $ guestfish\n"
14771 " \n"
14772 msgstr ""
14773
14774 # type: verbatim
14775 #: ../fish/guestfish.pod:47
14776 #, no-wrap
14777 msgid ""
14778 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
14779 " editing virtual machine filesystems.\n"
14780 " \n"
14781 msgstr ""
14782
14783 # type: verbatim
14784 #: ../fish/guestfish.pod:50
14785 #, no-wrap
14786 msgid ""
14787 " Type: 'help' for a list of commands\n"
14788 "       'man' to read the manual\n"
14789 "       'quit' to quit the shell\n"
14790 " \n"
14791 msgstr ""
14792
14793 # type: verbatim
14794 #: ../fish/guestfish.pod:54
14795 #, no-wrap
14796 msgid ""
14797 " ><fs> add-ro disk.img\n"
14798 " ><fs> run\n"
14799 " ><fs> list-filesystems\n"
14800 " /dev/sda1: ext4\n"
14801 " /dev/vg_guest/lv_root: ext4\n"
14802 " /dev/vg_guest/lv_swap: swap\n"
14803 " ><fs> mount /dev/vg_guest/lv_root /\n"
14804 " ><fs> cat /etc/fstab\n"
14805 " # /etc/fstab\n"
14806 " # Created by anaconda\n"
14807 " [...]\n"
14808 " ><fs> exit\n"
14809 "\n"
14810 msgstr ""
14811
14812 # type: =head2
14813 #: ../fish/guestfish.pod:67
14814 msgid "From shell scripts"
14815 msgstr ""
14816
14817 # type: textblock
14818 #: ../fish/guestfish.pod:69
14819 msgid "Create a new C</etc/motd> file in a guest or disk image:"
14820 msgstr ""
14821
14822 # type: verbatim
14823 #: ../fish/guestfish.pod:71
14824 #, no-wrap
14825 msgid ""
14826 " guestfish <<_EOF_\n"
14827 " add disk.img\n"
14828 " run\n"
14829 " mount /dev/vg_guest/lv_root /\n"
14830 " write /etc/motd \"Welcome, new users\"\n"
14831 " _EOF_\n"
14832 "\n"
14833 msgstr ""
14834
14835 # type: textblock
14836 #: ../fish/guestfish.pod:78
14837 msgid "List the LVM logical volumes in a disk image:"
14838 msgstr ""
14839
14840 # type: verbatim
14841 #: ../fish/guestfish.pod:80
14842 #, no-wrap
14843 msgid ""
14844 " guestfish -a disk.img --ro <<_EOF_\n"
14845 " run\n"
14846 " lvs\n"
14847 " _EOF_\n"
14848 "\n"
14849 msgstr ""
14850
14851 # type: textblock
14852 #: ../fish/guestfish.pod:85
14853 msgid "List all the filesystems in a disk image:"
14854 msgstr ""
14855
14856 # type: verbatim
14857 #: ../fish/guestfish.pod:87
14858 #, no-wrap
14859 msgid ""
14860 " guestfish -a disk.img --ro <<_EOF_\n"
14861 " run\n"
14862 " list-filesystems\n"
14863 " _EOF_\n"
14864 "\n"
14865 msgstr ""
14866
14867 # type: =head2
14868 #: ../fish/guestfish.pod:92
14869 msgid "On one command line"
14870 msgstr ""
14871
14872 # type: textblock
14873 #: ../fish/guestfish.pod:94
14874 msgid "Update C</etc/resolv.conf> in a guest:"
14875 msgstr ""
14876
14877 # type: verbatim
14878 #: ../fish/guestfish.pod:96
14879 #, no-wrap
14880 msgid ""
14881 " guestfish \\\n"
14882 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
14883 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
14884 "\n"
14885 msgstr ""
14886
14887 # type: textblock
14888 #: ../fish/guestfish.pod:100
14889 msgid "Edit C</boot/grub/grub.conf> interactively:"
14890 msgstr ""
14891
14892 # type: verbatim
14893 #: ../fish/guestfish.pod:102
14894 #, no-wrap
14895 msgid ""
14896 " guestfish --add disk.img \\\n"
14897 "   --mount /dev/vg_guest/lv_root \\\n"
14898 "   --mount /dev/sda1:/boot \\\n"
14899 "   edit /boot/grub/grub.conf\n"
14900 "\n"
14901 msgstr ""
14902
14903 # type: =head2
14904 #: ../fish/guestfish.pod:107
14905 msgid "Mount disks automatically"
14906 msgstr ""
14907
14908 # type: textblock
14909 #: ../fish/guestfish.pod:109
14910 msgid ""
14911 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
14912 msgstr ""
14913
14914 # type: verbatim
14915 #: ../fish/guestfish.pod:112
14916 #, no-wrap
14917 msgid ""
14918 " guestfish --ro -a disk.img -i cat /etc/group\n"
14919 "\n"
14920 msgstr ""
14921
14922 # type: verbatim
14923 #: ../fish/guestfish.pod:114
14924 #, no-wrap
14925 msgid ""
14926 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
14927 "\n"
14928 msgstr ""
14929
14930 # type: textblock
14931 #: ../fish/guestfish.pod:116
14932 msgid "Another way to edit C</boot/grub/grub.conf> interactively is:"
14933 msgstr ""
14934
14935 # type: verbatim
14936 #: ../fish/guestfish.pod:118
14937 #, no-wrap
14938 msgid ""
14939 " guestfish -a disk.img -i edit /boot/grub/grub.conf\n"
14940 "\n"
14941 msgstr ""
14942
14943 # type: =head2
14944 #: ../fish/guestfish.pod:120
14945 msgid "As a script interpreter"
14946 msgstr ""
14947
14948 # type: textblock
14949 #: ../fish/guestfish.pod:122
14950 msgid "Create a 100MB disk containing an ext2-formatted partition:"
14951 msgstr ""
14952
14953 # type: verbatim
14954 #: ../fish/guestfish.pod:124
14955 #, no-wrap
14956 msgid ""
14957 " #!/usr/bin/guestfish -f\n"
14958 " sparse test1.img 100M\n"
14959 " run\n"
14960 " part-disk /dev/sda mbr\n"
14961 " mkfs ext2 /dev/sda1\n"
14962 "\n"
14963 msgstr ""
14964
14965 # type: =head2
14966 #: ../fish/guestfish.pod:130
14967 msgid "Start with a prepared disk"
14968 msgstr ""
14969
14970 # type: textblock
14971 #: ../fish/guestfish.pod:132
14972 msgid ""
14973 "An alternate way to create a 100MB disk called C<test1.img> containing a "
14974 "single ext2-formatted partition:"
14975 msgstr ""
14976
14977 # type: verbatim
14978 #: ../fish/guestfish.pod:135
14979 #, no-wrap
14980 msgid ""
14981 " guestfish -N fs\n"
14982 "\n"
14983 msgstr ""
14984
14985 # type: textblock
14986 #: ../fish/guestfish.pod:137
14987 msgid "To list what is available do:"
14988 msgstr ""
14989
14990 # type: verbatim
14991 #: ../fish/guestfish.pod:139 ../fish/guestfish.pod:750
14992 #, no-wrap
14993 msgid ""
14994 " guestfish -N help | less\n"
14995 "\n"
14996 msgstr ""
14997
14998 # type: =head2
14999 #: ../fish/guestfish.pod:141
15000 msgid "Remote control"
15001 msgstr ""
15002
15003 # type: verbatim
15004 #: ../fish/guestfish.pod:143
15005 #, no-wrap
15006 msgid ""
15007 " eval `guestfish --listen`\n"
15008 " guestfish --remote add-ro disk.img\n"
15009 " guestfish --remote run\n"
15010 " guestfish --remote lvs\n"
15011 "\n"
15012 msgstr ""
15013
15014 # type: =head1
15015 #: ../fish/guestfish.pod:148 ../test-tool/libguestfs-test-tool.pod:37
15016 #: ../fuse/guestmount.pod:70 ../inspector/virt-inspector.pl:75
15017 #: ../tools/virt-edit.pl:73 ../tools/virt-win-reg.pl:172
15018 #: ../tools/virt-df.pl:71 ../tools/virt-ls.pl:79 ../tools/virt-resize.pl:233
15019 #: ../tools/virt-list-filesystems.pl:50 ../tools/virt-cat.pl:80
15020 #: ../tools/virt-tar.pl:99 ../tools/virt-rescue.pl:103
15021 #: ../tools/virt-make-fs.pl:153 ../tools/virt-list-partitions.pl:51
15022 msgid "OPTIONS"
15023 msgstr ""
15024
15025 # type: =item
15026 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:94
15027 #: ../inspector/virt-inspector.pl:83 ../tools/virt-edit.pl:81
15028 #: ../tools/virt-win-reg.pl:180 ../tools/virt-df.pl:79 ../tools/virt-ls.pl:87
15029 #: ../tools/virt-resize.pl:241 ../tools/virt-list-filesystems.pl:58
15030 #: ../tools/virt-cat.pl:88 ../tools/virt-tar.pl:107
15031 #: ../tools/virt-rescue.pl:111 ../tools/virt-make-fs.pl:161
15032 #: ../tools/virt-list-partitions.pl:59
15033 msgid "B<--help>"
15034 msgstr ""
15035
15036 # type: textblock
15037 #: ../fish/guestfish.pod:154
15038 msgid "Displays general help on options."
15039 msgstr ""
15040
15041 # type: =item
15042 #: ../fish/guestfish.pod:156
15043 msgid "B<-h> | B<--cmd-help>"
15044 msgstr ""
15045
15046 # type: textblock
15047 #: ../fish/guestfish.pod:158
15048 msgid "Lists all available guestfish commands."
15049 msgstr ""
15050
15051 # type: =item
15052 #: ../fish/guestfish.pod:160
15053 msgid "B<-h cmd> | B<--cmd-help cmd>"
15054 msgstr ""
15055
15056 # type: textblock
15057 #: ../fish/guestfish.pod:162
15058 msgid "Displays detailed help on a single command C<cmd>."
15059 msgstr ""
15060
15061 # type: =item
15062 #: ../fish/guestfish.pod:164 ../fuse/guestmount.pod:74
15063 msgid "B<-a image> | B<--add image>"
15064 msgstr ""
15065
15066 # type: textblock
15067 #: ../fish/guestfish.pod:166
15068 msgid "Add a block device or virtual machine image to the shell."
15069 msgstr ""
15070
15071 # type: =item
15072 #: ../fish/guestfish.pod:168
15073 msgid "B<-c URI> | B<--connect URI>"
15074 msgstr ""
15075
15076 # type: textblock
15077 #: ../fish/guestfish.pod:170
15078 msgid ""
15079 "When used in conjunction with the I<-d> option, this specifies the libvirt "
15080 "URI to use.  The default is to use the default libvirt connection."
15081 msgstr ""
15082
15083 # type: =item
15084 #: ../fish/guestfish.pod:174
15085 msgid "B<-d libvirt-domain> | B<--domain libvirt-domain>"
15086 msgstr ""
15087
15088 # type: textblock
15089 #: ../fish/guestfish.pod:176
15090 msgid ""
15091 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
15092 "used, then any libvirt domain can be used.  However in write mode, only "
15093 "libvirt domains which are shut down can be named here."
15094 msgstr ""
15095
15096 # type: =item
15097 #: ../fish/guestfish.pod:180
15098 msgid "B<-D> | B<--no-dest-paths>"
15099 msgstr ""
15100
15101 # type: textblock
15102 #: ../fish/guestfish.pod:182
15103 msgid ""
15104 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
15105 "to hit the tab key to complete paths on the guest filesystem, but this "
15106 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
15107 "allow this feature to be disabled."
15108 msgstr ""
15109
15110 # type: =item
15111 #: ../fish/guestfish.pod:187
15112 msgid "B<--echo-keys>"
15113 msgstr ""
15114
15115 # type: textblock
15116 #: ../fish/guestfish.pod:189
15117 msgid ""
15118 "When prompting for keys and passphrases, guestfish normally turns echoing "
15119 "off so you cannot see what you are typing.  If you are not worried about "
15120 "Tempest attacks and there is no one else in the room you can specify this "
15121 "flag to see what you are typing."
15122 msgstr ""
15123
15124 # type: =item
15125 #: ../fish/guestfish.pod:194
15126 msgid "B<-f file> | B<--file file>"
15127 msgstr ""
15128
15129 # type: textblock
15130 #: ../fish/guestfish.pod:196
15131 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
15132 msgstr ""
15133
15134 # type: verbatim
15135 #: ../fish/guestfish.pod:199
15136 #, no-wrap
15137 msgid ""
15138 " #!/usr/bin/guestfish -f\n"
15139 "\n"
15140 msgstr ""
15141
15142 # type: =item
15143 #: ../fish/guestfish.pod:201
15144 msgid "B<-i> | B<--inspector>"
15145 msgstr ""
15146
15147 # type: textblock
15148 #: ../fish/guestfish.pod:203
15149 msgid ""
15150 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
15151 "system and mount filesystems as they would be mounted on the real virtual "
15152 "machine."
15153 msgstr ""
15154
15155 # type: textblock
15156 #: ../fish/guestfish.pod:207
15157 msgid "Typical usage is either:"
15158 msgstr ""
15159
15160 # type: verbatim
15161 #: ../fish/guestfish.pod:209
15162 #, no-wrap
15163 msgid ""
15164 " guestfish -d myguest -i\n"
15165 "\n"
15166 msgstr ""
15167
15168 # type: textblock
15169 #: ../fish/guestfish.pod:211
15170 msgid "(for an inactive libvirt domain called I<myguest>), or:"
15171 msgstr ""
15172
15173 # type: verbatim
15174 #: ../fish/guestfish.pod:213
15175 #, no-wrap
15176 msgid ""
15177 " guestfish --ro -d myguest -i\n"
15178 "\n"
15179 msgstr ""
15180
15181 # type: textblock
15182 #: ../fish/guestfish.pod:215
15183 msgid "(for active domains, readonly), or specify the block device directly:"
15184 msgstr ""
15185
15186 # type: verbatim
15187 #: ../fish/guestfish.pod:217
15188 #, no-wrap
15189 msgid ""
15190 " guestfish -a /dev/Guests/MyGuest -i\n"
15191 "\n"
15192 msgstr ""
15193
15194 # type: textblock
15195 #: ../fish/guestfish.pod:219
15196 msgid ""
15197 "Note that the command line syntax changed slightly over older versions of "
15198 "guestfish.  You can still use the old syntax:"
15199 msgstr ""
15200
15201 # type: verbatim
15202 #: ../fish/guestfish.pod:222
15203 #, no-wrap
15204 msgid ""
15205 " guestfish [--ro] -i disk.img\n"
15206 "\n"
15207 msgstr ""
15208
15209 # type: verbatim
15210 #: ../fish/guestfish.pod:224
15211 #, no-wrap
15212 msgid ""
15213 " guestfish [--ro] -i libvirt-domain\n"
15214 "\n"
15215 msgstr ""
15216
15217 # type: =item
15218 #: ../fish/guestfish.pod:226
15219 msgid "B<--keys-from-stdin>"
15220 msgstr ""
15221
15222 # type: textblock
15223 #: ../fish/guestfish.pod:228
15224 msgid ""
15225 "Read key or passphrase parameters from stdin.  The default is to try to read "
15226 "passphrases from the user by opening C</dev/tty>."
15227 msgstr ""
15228
15229 # type: =item
15230 #: ../fish/guestfish.pod:231
15231 msgid "B<--listen>"
15232 msgstr ""
15233
15234 # type: textblock
15235 #: ../fish/guestfish.pod:233
15236 msgid ""
15237 "Fork into the background and listen for remote commands.  See section L</"
15238 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
15239 msgstr ""
15240
15241 # type: =item
15242 #: ../fish/guestfish.pod:236
15243 msgid "B<-m dev[:mountpoint]> | B<--mount dev[:mountpoint]>"
15244 msgstr ""
15245
15246 # type: textblock
15247 #: ../fish/guestfish.pod:238
15248 msgid "Mount the named partition or logical volume on the given mountpoint."
15249 msgstr ""
15250
15251 # type: textblock
15252 #: ../fish/guestfish.pod:240
15253 msgid "If the mountpoint is omitted, it defaults to C</>."
15254 msgstr ""
15255
15256 # type: textblock
15257 #: ../fish/guestfish.pod:242
15258 msgid "You have to mount something on C</> before most commands will work."
15259 msgstr ""
15260
15261 # type: textblock
15262 #: ../fish/guestfish.pod:244
15263 msgid ""
15264 "If any I<-m> or I<--mount> options are given, the guest is automatically "
15265 "launched."
15266 msgstr ""
15267
15268 # type: textblock
15269 #: ../fish/guestfish.pod:247
15270 msgid ""
15271 "If you don't know what filesystems a disk image contains, you can either run "
15272 "guestfish without this option, then list the partitions and LVs available "
15273 "(see L</list-partitions> and L</lvs> commands), or you can use the L<virt-"
15274 "list-filesystems(1)> program."
15275 msgstr ""
15276
15277 # type: =item
15278 #: ../fish/guestfish.pod:252 ../fuse/guestmount.pod:106
15279 msgid "B<-n> | B<--no-sync>"
15280 msgstr ""
15281
15282 # type: textblock
15283 #: ../fish/guestfish.pod:254
15284 msgid ""
15285 "Disable autosync.  This is enabled by default.  See the discussion of "
15286 "autosync in the L<guestfs(3)> manpage."
15287 msgstr ""
15288
15289 # type: =item
15290 #: ../fish/guestfish.pod:257
15291 msgid "B<-N type> | B<--new type> | B<-N help>"
15292 msgstr ""
15293
15294 # type: textblock
15295 #: ../fish/guestfish.pod:259
15296 msgid ""
15297 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
15298 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
15299 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
15300 "IMAGES> below."
15301 msgstr ""
15302
15303 # type: =item
15304 #: ../fish/guestfish.pod:264
15305 msgid "B<--progress-bars>"
15306 msgstr ""
15307
15308 # type: textblock
15309 #: ../fish/guestfish.pod:266
15310 msgid "Enable progress bars, even when guestfish is used non-interactively."
15311 msgstr ""
15312
15313 # type: textblock
15314 #: ../fish/guestfish.pod:268
15315 msgid ""
15316 "Progress bars are enabled by default when guestfish is used as an "
15317 "interactive shell."
15318 msgstr ""
15319
15320 # type: =item
15321 #: ../fish/guestfish.pod:271
15322 msgid "B<--no-progress-bars>"
15323 msgstr ""
15324
15325 # type: textblock
15326 #: ../fish/guestfish.pod:273
15327 msgid "Disable progress bars."
15328 msgstr ""
15329
15330 # type: =item
15331 #: ../fish/guestfish.pod:275
15332 msgid "B<--remote[=pid]>"
15333 msgstr ""
15334
15335 # type: textblock
15336 #: ../fish/guestfish.pod:277
15337 msgid ""
15338 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
15339 "CONTROL GUESTFISH OVER A SOCKET> below."
15340 msgstr ""
15341
15342 # type: =item
15343 #: ../fish/guestfish.pod:280 ../fuse/guestmount.pod:148
15344 msgid "B<-r> | B<--ro>"
15345 msgstr ""
15346
15347 # type: textblock
15348 #: ../fish/guestfish.pod:282
15349 msgid ""
15350 "This changes the I<-a> and I<-m> options so that disks are added and mounts "
15351 "are done read-only (see L<guestfs(3)/guestfs_mount_ro>)."
15352 msgstr ""
15353
15354 # type: textblock
15355 #: ../fish/guestfish.pod:285 ../tools/virt-rescue.pl:162
15356 msgid ""
15357 "The option must always be used if the disk image or virtual machine might be "
15358 "running, and is generally recommended in cases where you don't need write "
15359 "access to the disk."
15360 msgstr ""
15361
15362 # type: textblock
15363 #: ../fish/guestfish.pod:289
15364 msgid ""
15365 "Note that prepared disk images created with I<-N> are not affected by the "
15366 "I<--ro> option."
15367 msgstr ""
15368
15369 # type: =item
15370 #: ../fish/guestfish.pod:292 ../fuse/guestmount.pod:158
15371 #: ../tools/virt-rescue.pl:170
15372 msgid "B<--selinux>"
15373 msgstr ""
15374
15375 # type: textblock
15376 #: ../fish/guestfish.pod:294
15377 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
15378 msgstr ""
15379
15380 # type: =item
15381 #: ../fish/guestfish.pod:296 ../fuse/guestmount.pod:168
15382 msgid "B<-v> | B<--verbose>"
15383 msgstr ""
15384
15385 # type: textblock
15386 #: ../fish/guestfish.pod:298
15387 msgid ""
15388 "Enable very verbose messages.  This is particularly useful if you find a bug."
15389 msgstr ""
15390
15391 # type: =item
15392 #: ../fish/guestfish.pod:301 ../fuse/guestmount.pod:172
15393 msgid "B<-V> | B<--version>"
15394 msgstr ""
15395
15396 # type: textblock
15397 #: ../fish/guestfish.pod:303
15398 msgid "Display the guestfish / libguestfs version number and exit."
15399 msgstr ""
15400
15401 # type: =item
15402 #: ../fish/guestfish.pod:305
15403 msgid "B<-x>"
15404 msgstr ""
15405
15406 # type: textblock
15407 #: ../fish/guestfish.pod:307
15408 msgid "Echo each command before executing it."
15409 msgstr ""
15410
15411 # type: =head1
15412 #: ../fish/guestfish.pod:311
15413 msgid "COMMANDS ON COMMAND LINE"
15414 msgstr ""
15415
15416 # type: textblock
15417 #: ../fish/guestfish.pod:313
15418 msgid ""
15419 "Any additional (non-option) arguments are treated as commands to execute."
15420 msgstr ""
15421
15422 # type: textblock
15423 #: ../fish/guestfish.pod:316
15424 msgid ""
15425 "Commands to execute should be separated by a colon (C<:>), where the colon "
15426 "is a separate parameter.  Thus:"
15427 msgstr ""
15428
15429 # type: verbatim
15430 #: ../fish/guestfish.pod:319
15431 #, no-wrap
15432 msgid ""
15433 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
15434 "\n"
15435 msgstr ""
15436
15437 # type: textblock
15438 #: ../fish/guestfish.pod:321
15439 msgid ""
15440 "If there are no additional arguments, then we enter a shell, either an "
15441 "interactive shell with a prompt (if the input is a terminal) or a non-"
15442 "interactive shell."
15443 msgstr ""
15444
15445 # type: textblock
15446 #: ../fish/guestfish.pod:325
15447 msgid ""
15448 "In either command line mode or non-interactive shell, the first command that "
15449 "gives an error causes the whole shell to exit.  In interactive mode (with a "
15450 "prompt) if a command fails, you can continue to enter commands."
15451 msgstr ""
15452
15453 # type: =head1
15454 #: ../fish/guestfish.pod:330
15455 msgid "USING launch (OR run)"
15456 msgstr ""
15457
15458 # type: textblock
15459 #: ../fish/guestfish.pod:332
15460 msgid ""
15461 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
15462 "then launch it, then mount any disks you need, and finally issue actions/"
15463 "commands.  So the general order of the day is:"
15464 msgstr ""
15465
15466 # type: textblock
15467 #: ../fish/guestfish.pod:340
15468 msgid "add or -a/--add"
15469 msgstr ""
15470
15471 # type: textblock
15472 #: ../fish/guestfish.pod:344
15473 msgid "launch (aka run)"
15474 msgstr ""
15475
15476 # type: textblock
15477 #: ../fish/guestfish.pod:348
15478 msgid "mount or -m/--mount"
15479 msgstr ""
15480
15481 # type: textblock
15482 #: ../fish/guestfish.pod:352
15483 msgid "any other commands"
15484 msgstr ""
15485
15486 # type: textblock
15487 #: ../fish/guestfish.pod:356
15488 msgid ""
15489 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
15490 "guest before mounting or performing any other commands."
15491 msgstr ""
15492
15493 # type: textblock
15494 #: ../fish/guestfish.pod:359
15495 msgid ""
15496 "The only exception is that if any of the I<-i>, I<-m>, I<--mount>, I<-N> or "
15497 "I<--new> options were given then C<run> is done automatically, simply "
15498 "because guestfish can't perform the action you asked for without doing this."
15499 msgstr ""
15500
15501 # type: =head1
15502 #: ../fish/guestfish.pod:364
15503 msgid "QUOTING"
15504 msgstr ""
15505
15506 # type: textblock
15507 #: ../fish/guestfish.pod:366
15508 msgid ""
15509 "You can quote ordinary parameters using either single or double quotes.  For "
15510 "example:"
15511 msgstr ""
15512
15513 # type: verbatim
15514 #: ../fish/guestfish.pod:369
15515 #, no-wrap
15516 msgid ""
15517 " add \"file with a space.img\"\n"
15518 "\n"
15519 msgstr ""
15520
15521 # type: verbatim
15522 #: ../fish/guestfish.pod:371
15523 #, no-wrap
15524 msgid ""
15525 " rm '/file name'\n"
15526 "\n"
15527 msgstr ""
15528
15529 # type: verbatim
15530 #: ../fish/guestfish.pod:373
15531 #, no-wrap
15532 msgid ""
15533 " rm '/\"'\n"
15534 "\n"
15535 msgstr ""
15536
15537 # type: textblock
15538 #: ../fish/guestfish.pod:375
15539 msgid ""
15540 "A few commands require a list of strings to be passed.  For these, use a "
15541 "whitespace-separated list, enclosed in quotes.  Strings containing "
15542 "whitespace to be passed through must be enclosed in single quotes.  A "
15543 "literal single quote must be escaped with a backslash."
15544 msgstr ""
15545
15546 # type: verbatim
15547 #: ../fish/guestfish.pod:380
15548 #, no-wrap
15549 msgid ""
15550 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
15551 " command \"/bin/echo 'foo      bar'\"\n"
15552 " command \"/bin/echo \\'foo\\'\"\n"
15553 "\n"
15554 msgstr ""
15555
15556 # type: =head1
15557 #: ../fish/guestfish.pod:384
15558 msgid "NUMBERS"
15559 msgstr ""
15560
15561 # type: textblock
15562 #: ../fish/guestfish.pod:386
15563 msgid ""
15564 "This section applies to all commands which can take integers as parameters."
15565 msgstr ""
15566
15567 # type: =head2
15568 #: ../fish/guestfish.pod:389
15569 msgid "SIZE SUFFIX"
15570 msgstr ""
15571
15572 # type: textblock
15573 #: ../fish/guestfish.pod:391
15574 msgid ""
15575 "When the command takes a parameter measured in bytes, you can use one of the "
15576 "following suffixes to specify kilobytes, megabytes and larger sizes:"
15577 msgstr ""
15578
15579 # type: =item
15580 #: ../fish/guestfish.pod:397
15581 msgid "B<k> or B<K> or B<KiB>"
15582 msgstr ""
15583
15584 # type: textblock
15585 #: ../fish/guestfish.pod:399
15586 msgid "The size in kilobytes (multiplied by 1024)."
15587 msgstr ""
15588
15589 # type: =item
15590 #: ../fish/guestfish.pod:401
15591 msgid "B<KB>"
15592 msgstr ""
15593
15594 # type: textblock
15595 #: ../fish/guestfish.pod:403
15596 msgid "The size in SI 1000 byte units."
15597 msgstr ""
15598
15599 # type: =item
15600 #: ../fish/guestfish.pod:405
15601 msgid "B<M> or B<MiB>"
15602 msgstr ""
15603
15604 # type: textblock
15605 #: ../fish/guestfish.pod:407
15606 msgid "The size in megabytes (multiplied by 1048576)."
15607 msgstr ""
15608
15609 # type: =item
15610 #: ../fish/guestfish.pod:409
15611 msgid "B<MB>"
15612 msgstr ""
15613
15614 # type: textblock
15615 #: ../fish/guestfish.pod:411
15616 msgid "The size in SI 1000000 byte units."
15617 msgstr ""
15618
15619 # type: =item
15620 #: ../fish/guestfish.pod:413
15621 msgid "B<G> or B<GiB>"
15622 msgstr ""
15623
15624 # type: textblock
15625 #: ../fish/guestfish.pod:415
15626 msgid "The size in gigabytes (multiplied by 2**30)."
15627 msgstr ""
15628
15629 # type: =item
15630 #: ../fish/guestfish.pod:417
15631 msgid "B<GB>"
15632 msgstr ""
15633
15634 # type: textblock
15635 #: ../fish/guestfish.pod:419
15636 msgid "The size in SI 10**9 byte units."
15637 msgstr ""
15638
15639 # type: =item
15640 #: ../fish/guestfish.pod:421
15641 msgid "B<T> or B<TiB>"
15642 msgstr ""
15643
15644 # type: textblock
15645 #: ../fish/guestfish.pod:423
15646 msgid "The size in terabytes (multiplied by 2**40)."
15647 msgstr ""
15648
15649 # type: =item
15650 #: ../fish/guestfish.pod:425
15651 msgid "B<TB>"
15652 msgstr ""
15653
15654 # type: textblock
15655 #: ../fish/guestfish.pod:427
15656 msgid "The size in SI 10**12 byte units."
15657 msgstr ""
15658
15659 # type: =item
15660 #: ../fish/guestfish.pod:429
15661 msgid "B<P> or B<PiB>"
15662 msgstr ""
15663
15664 # type: textblock
15665 #: ../fish/guestfish.pod:431
15666 msgid "The size in petabytes (multiplied by 2**50)."
15667 msgstr ""
15668
15669 # type: =item
15670 #: ../fish/guestfish.pod:433
15671 msgid "B<PB>"
15672 msgstr ""
15673
15674 # type: textblock
15675 #: ../fish/guestfish.pod:435
15676 msgid "The size in SI 10**15 byte units."
15677 msgstr ""
15678
15679 # type: =item
15680 #: ../fish/guestfish.pod:437
15681 msgid "B<E> or B<EiB>"
15682 msgstr ""
15683
15684 # type: textblock
15685 #: ../fish/guestfish.pod:439
15686 msgid "The size in exabytes (multiplied by 2**60)."
15687 msgstr ""
15688
15689 # type: =item
15690 #: ../fish/guestfish.pod:441
15691 msgid "B<EB>"
15692 msgstr ""
15693
15694 # type: textblock
15695 #: ../fish/guestfish.pod:443
15696 msgid "The size in SI 10**18 byte units."
15697 msgstr ""
15698
15699 # type: =item
15700 #: ../fish/guestfish.pod:445
15701 msgid "B<Z> or B<ZiB>"
15702 msgstr ""
15703
15704 # type: textblock
15705 #: ../fish/guestfish.pod:447
15706 msgid "The size in zettabytes (multiplied by 2**70)."
15707 msgstr ""
15708
15709 # type: =item
15710 #: ../fish/guestfish.pod:449
15711 msgid "B<ZB>"
15712 msgstr ""
15713
15714 # type: textblock
15715 #: ../fish/guestfish.pod:451
15716 msgid "The size in SI 10**21 byte units."
15717 msgstr ""
15718
15719 # type: =item
15720 #: ../fish/guestfish.pod:453
15721 msgid "B<Y> or B<YiB>"
15722 msgstr ""
15723
15724 # type: textblock
15725 #: ../fish/guestfish.pod:455
15726 msgid "The size in yottabytes (multiplied by 2**80)."
15727 msgstr ""
15728
15729 # type: =item
15730 #: ../fish/guestfish.pod:457
15731 msgid "B<YB>"
15732 msgstr ""
15733
15734 # type: textblock
15735 #: ../fish/guestfish.pod:459
15736 msgid "The size in SI 10**24 byte units."
15737 msgstr ""
15738
15739 # type: textblock
15740 #: ../fish/guestfish.pod:463
15741 msgid "For example:"
15742 msgstr ""
15743
15744 # type: verbatim
15745 #: ../fish/guestfish.pod:465
15746 #, no-wrap
15747 msgid ""
15748 " truncate-size /file 1G\n"
15749 "\n"
15750 msgstr ""
15751
15752 # type: textblock
15753 #: ../fish/guestfish.pod:467
15754 msgid "would truncate the file to 1 gigabyte."
15755 msgstr ""
15756
15757 # type: textblock
15758 #: ../fish/guestfish.pod:469
15759 msgid ""
15760 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
15761 "the parameter to L</memsize> is specified in megabytes already).  Adding a "
15762 "suffix will probably not do what you expect."
15763 msgstr ""
15764
15765 # type: =head2
15766 #: ../fish/guestfish.pod:473
15767 msgid "OCTAL AND HEXADECIMAL NUMBERS"
15768 msgstr ""
15769
15770 # type: textblock
15771 #: ../fish/guestfish.pod:475
15772 msgid ""
15773 "For specifying the radix (base) use the C convention: C<0> to prefix an "
15774 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
15775 msgstr ""
15776
15777 # type: verbatim
15778 #: ../fish/guestfish.pod:478
15779 #, no-wrap
15780 msgid ""
15781 " 1234      decimal number 1234\n"
15782 " 02322     octal number, equivalent to decimal 1234\n"
15783 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
15784 "\n"
15785 msgstr ""
15786
15787 # type: textblock
15788 #: ../fish/guestfish.pod:482
15789 msgid ""
15790 "When using the C<chmod> command, you almost always want to specify an octal "
15791 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
15792 "L<chmod(1)> program):"
15793 msgstr ""
15794
15795 # type: verbatim
15796 #: ../fish/guestfish.pod:486
15797 #, no-wrap
15798 msgid ""
15799 " chmod 0777 /public  # OK\n"
15800 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
15801 "\n"
15802 msgstr ""
15803
15804 # type: textblock
15805 #: ../fish/guestfish.pod:489
15806 msgid ""
15807 "Commands that return numbers usually print them in decimal, but some "
15808 "commands print numbers in other radices (eg. C<umask> prints the mode in "
15809 "octal, preceeded by C<0>)."
15810 msgstr ""
15811
15812 # type: =head1
15813 #: ../fish/guestfish.pod:493
15814 msgid "WILDCARDS AND GLOBBING"
15815 msgstr ""
15816
15817 # type: textblock
15818 #: ../fish/guestfish.pod:495
15819 msgid ""
15820 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
15821 "(globbing) by default.  So for example the following will not do what you "
15822 "expect:"
15823 msgstr ""
15824
15825 # type: verbatim
15826 #: ../fish/guestfish.pod:499
15827 #, no-wrap
15828 msgid ""
15829 " rm-rf /home/*\n"
15830 "\n"
15831 msgstr ""
15832
15833 # type: textblock
15834 #: ../fish/guestfish.pod:501
15835 msgid ""
15836 "Assuming you don't have a directory called literally C</home/*> then the "
15837 "above command will return an error."
15838 msgstr ""
15839
15840 # type: textblock
15841 #: ../fish/guestfish.pod:504
15842 msgid "To perform wildcard expansion, use the C<glob> command."
15843 msgstr ""
15844
15845 # type: verbatim
15846 #: ../fish/guestfish.pod:506
15847 #, no-wrap
15848 msgid ""
15849 " glob rm-rf /home/*\n"
15850 "\n"
15851 msgstr ""
15852
15853 # type: textblock
15854 #: ../fish/guestfish.pod:508
15855 msgid ""
15856 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
15857 "many times), equivalent to:"
15858 msgstr ""
15859
15860 # type: verbatim
15861 #: ../fish/guestfish.pod:511
15862 #, no-wrap
15863 msgid ""
15864 " rm-rf /home/jim\n"
15865 " rm-rf /home/joe\n"
15866 " rm-rf /home/mary\n"
15867 "\n"
15868 msgstr ""
15869
15870 # type: textblock
15871 #: ../fish/guestfish.pod:515
15872 msgid "C<glob> only works on simple guest paths and not on device names."
15873 msgstr ""
15874
15875 # type: textblock
15876 #: ../fish/guestfish.pod:517
15877 msgid ""
15878 "If you have several parameters, each containing a wildcard, then glob will "
15879 "perform a Cartesian product."
15880 msgstr ""
15881
15882 # type: =head1
15883 #: ../fish/guestfish.pod:520
15884 msgid "COMMENTS"
15885 msgstr ""
15886
15887 # type: textblock
15888 #: ../fish/guestfish.pod:522
15889 msgid ""
15890 "Any line which starts with a I<#> character is treated as a comment and "
15891 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
15892 "a command.  For example:"
15893 msgstr ""
15894
15895 # type: verbatim
15896 #: ../fish/guestfish.pod:526
15897 #, no-wrap
15898 msgid ""
15899 " # this is a comment\n"
15900 "         # this is a comment\n"
15901 " foo # NOT a comment\n"
15902 "\n"
15903 msgstr ""
15904
15905 # type: textblock
15906 #: ../fish/guestfish.pod:530
15907 msgid "Blank lines are also ignored."
15908 msgstr ""
15909
15910 # type: =head1
15911 #: ../fish/guestfish.pod:532
15912 msgid "RUNNING COMMANDS LOCALLY"
15913 msgstr ""
15914
15915 # type: textblock
15916 #: ../fish/guestfish.pod:534
15917 msgid ""
15918 "Any line which starts with a I<!> character is treated as a command sent to "
15919 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
15920 msgstr ""
15921
15922 # type: verbatim
15923 #: ../fish/guestfish.pod:538
15924 #, no-wrap
15925 msgid ""
15926 " !mkdir local\n"
15927 " tgz-out /remote local/remote-data.tar.gz\n"
15928 "\n"
15929 msgstr ""
15930
15931 # type: textblock
15932 #: ../fish/guestfish.pod:541
15933 msgid ""
15934 "will create a directory C<local> on the host, and then export the contents "
15935 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
15936 "(See C<tgz-out>)."
15937 msgstr ""
15938
15939 # type: textblock
15940 #: ../fish/guestfish.pod:545
15941 msgid ""
15942 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
15943 "effect, due to the way that subprocesses work in Unix."
15944 msgstr ""
15945
15946 # type: =head1
15947 #: ../fish/guestfish.pod:548
15948 msgid "PIPES"
15949 msgstr ""
15950
15951 # type: textblock
15952 #: ../fish/guestfish.pod:550
15953 msgid ""
15954 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
15955 "command (a guestfish command) to the second command (any host command).  For "
15956 "example:"
15957 msgstr ""
15958
15959 # type: verbatim
15960 #: ../fish/guestfish.pod:554
15961 #, no-wrap
15962 msgid ""
15963 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
15964 "\n"
15965 msgstr ""
15966
15967 # type: textblock
15968 #: ../fish/guestfish.pod:556
15969 msgid ""
15970 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
15971 "program).  The above command would list all accounts in the guest filesystem "
15972 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
15973 msgstr ""
15974
15975 # type: verbatim
15976 #: ../fish/guestfish.pod:561
15977 #, no-wrap
15978 msgid ""
15979 " hexdump /bin/ls | head\n"
15980 " list-devices | tail -1\n"
15981 " tgz-out / - | tar ztf -\n"
15982 "\n"
15983 msgstr ""
15984
15985 # type: textblock
15986 #: ../fish/guestfish.pod:565
15987 msgid ""
15988 "The space before the pipe symbol is required, any space after the pipe "
15989 "symbol is optional.  Everything after the pipe symbol is just passed "
15990 "straight to the host shell, so it can contain redirections, globs and "
15991 "anything else that makes sense on the host side."
15992 msgstr ""
15993
15994 # type: textblock
15995 #: ../fish/guestfish.pod:570
15996 msgid ""
15997 "To use a literal argument which begins with a pipe symbol, you have to quote "
15998 "it, eg:"
15999 msgstr ""
16000
16001 # type: verbatim
16002 #: ../fish/guestfish.pod:573
16003 #, no-wrap
16004 msgid ""
16005 " echo \"|\"\n"
16006 "\n"
16007 msgstr ""
16008
16009 # type: =head1
16010 #: ../fish/guestfish.pod:575
16011 msgid "HOME DIRECTORIES"
16012 msgstr ""
16013
16014 # type: textblock
16015 #: ../fish/guestfish.pod:577
16016 msgid ""
16017 "If a parameter starts with the character C<~> then the tilde may be expanded "
16018 "as a home directory path (either C<~> for the current user's home directory, "
16019 "or C<~user> for another user)."
16020 msgstr ""
16021
16022 # type: textblock
16023 #: ../fish/guestfish.pod:581
16024 msgid ""
16025 "Note that home directory expansion happens for users known I<on the host>, "
16026 "not in the guest filesystem."
16027 msgstr ""
16028
16029 # type: textblock
16030 #: ../fish/guestfish.pod:584
16031 msgid ""
16032 "To use a literal argument which begins with a tilde, you have to quote it, "
16033 "eg:"
16034 msgstr ""
16035
16036 # type: verbatim
16037 #: ../fish/guestfish.pod:587
16038 #, no-wrap
16039 msgid ""
16040 " echo \"~\"\n"
16041 "\n"
16042 msgstr ""
16043
16044 # type: textblock
16045 #: ../fish/guestfish.pod:591
16046 msgid ""
16047 "Libguestfs has some support for Linux guests encrypted according to the "
16048 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
16049 "disk encryption systems used by modern Linux guests.  Currently only LVM-on-"
16050 "LUKS is supported."
16051 msgstr ""
16052
16053 # type: textblock
16054 #: ../fish/guestfish.pod:596
16055 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
16056 msgstr ""
16057
16058 # type: verbatim
16059 #: ../fish/guestfish.pod:598
16060 #, no-wrap
16061 msgid ""
16062 " ><fs> vfs-type /dev/sda2\n"
16063 " crypto_LUKS\n"
16064 "\n"
16065 msgstr ""
16066
16067 # type: textblock
16068 #: ../fish/guestfish.pod:601
16069 msgid ""
16070 "Then open those devices using L</luks-open>.  This creates a device-mapper "
16071 "device called C</dev/mapper/luksdev>."
16072 msgstr ""
16073
16074 # type: verbatim
16075 #: ../fish/guestfish.pod:604
16076 #, no-wrap
16077 msgid ""
16078 " ><fs> luks-open /dev/sda2 luksdev\n"
16079 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
16080 "\n"
16081 msgstr ""
16082
16083 # type: textblock
16084 #: ../fish/guestfish.pod:607
16085 msgid ""
16086 "Finally you have to tell LVM to scan for volume groups on the newly created "
16087 "mapper device:"
16088 msgstr ""
16089
16090 # type: verbatim
16091 #: ../fish/guestfish.pod:610
16092 #, no-wrap
16093 msgid ""
16094 " vgscan\n"
16095 " vg-activate-all true\n"
16096 "\n"
16097 msgstr ""
16098
16099 # type: textblock
16100 #: ../fish/guestfish.pod:613
16101 msgid "The logical volume(s) can now be mounted in the usual way."
16102 msgstr ""
16103
16104 # type: textblock
16105 #: ../fish/guestfish.pod:615
16106 msgid ""
16107 "Before closing a LUKS device you must unmount any logical volumes on it and "
16108 "deactivate the volume groups by calling C<vg-activate false VG> on each "
16109 "one.  Then you can close the mapper device:"
16110 msgstr ""
16111
16112 # type: verbatim
16113 #: ../fish/guestfish.pod:619
16114 #, no-wrap
16115 msgid ""
16116 " vg-activate false /dev/VG\n"
16117 " luks-close /dev/mapper/luksdev\n"
16118 "\n"
16119 msgstr ""
16120
16121 # type: =head1
16122 #: ../fish/guestfish.pod:622
16123 msgid "WINDOWS PATHS"
16124 msgstr ""
16125
16126 # type: textblock
16127 #: ../fish/guestfish.pod:624
16128 msgid ""
16129 "If a path is prefixed with C<win:> then you can use Windows-style paths "
16130 "(with some limitations).  The following commands are equivalent:"
16131 msgstr ""
16132
16133 # type: verbatim
16134 #: ../fish/guestfish.pod:627
16135 #, no-wrap
16136 msgid ""
16137 " file /WINDOWS/system32/config/system.LOG\n"
16138 "\n"
16139 msgstr ""
16140
16141 # type: verbatim
16142 #: ../fish/guestfish.pod:629
16143 #, no-wrap
16144 msgid ""
16145 " file win:/windows/system32/config/system.log\n"
16146 "\n"
16147 msgstr ""
16148
16149 # type: verbatim
16150 #: ../fish/guestfish.pod:631
16151 #, no-wrap
16152 msgid ""
16153 " file win:\\windows\\system32\\config\\system.log\n"
16154 "\n"
16155 msgstr ""
16156
16157 # type: verbatim
16158 #: ../fish/guestfish.pod:633
16159 #, no-wrap
16160 msgid ""
16161 " file WIN:C:\\Windows\\SYSTEM32\\conFIG\\SYSTEM.LOG\n"
16162 "\n"
16163 msgstr ""
16164
16165 # type: textblock
16166 #: ../fish/guestfish.pod:635
16167 msgid ""
16168 "This syntax implicitly calls C<case-sensitive-path> (q.v.) so it also "
16169 "handles case insensitivity like Windows would.  This only works in argument "
16170 "positions that expect a path."
16171 msgstr ""
16172
16173 # type: =head1
16174 #: ../fish/guestfish.pod:639
16175 msgid "UPLOADING AND DOWNLOADING FILES"
16176 msgstr ""
16177
16178 # type: textblock
16179 #: ../fish/guestfish.pod:641
16180 msgid ""
16181 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
16182 "others which upload from or download to a local file, you can use the "
16183 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
16184 msgstr ""
16185
16186 # type: verbatim
16187 #: ../fish/guestfish.pod:645
16188 #, no-wrap
16189 msgid ""
16190 " upload - /foo\n"
16191 "\n"
16192 msgstr ""
16193
16194 # type: textblock
16195 #: ../fish/guestfish.pod:647
16196 msgid ""
16197 "reads stdin and creates from that a file C</foo> in the disk image, and:"
16198 msgstr ""
16199
16200 # type: verbatim
16201 #: ../fish/guestfish.pod:650
16202 #, no-wrap
16203 msgid ""
16204 " tar-out /etc - | tar tf -\n"
16205 "\n"
16206 msgstr ""
16207
16208 # type: textblock
16209 #: ../fish/guestfish.pod:652
16210 msgid ""
16211 "writes the tarball to stdout and then pipes that into the external \"tar\" "
16212 "command (see L</PIPES>)."
16213 msgstr ""
16214
16215 # type: textblock
16216 #: ../fish/guestfish.pod:655
16217 msgid ""
16218 "When using C<-> to read from stdin, the input is read up to the end of "
16219 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
16220 "some arbitrary end marker:"
16221 msgstr ""
16222
16223 # type: verbatim
16224 #: ../fish/guestfish.pod:659
16225 #, no-wrap
16226 msgid ""
16227 " upload -<<END /foo\n"
16228 " input line 1\n"
16229 " input line 2\n"
16230 " input line 3\n"
16231 " END\n"
16232 "\n"
16233 msgstr ""
16234
16235 # type: textblock
16236 #: ../fish/guestfish.pod:665
16237 msgid ""
16238 "Any string of characters can be used instead of C<END>.  The end marker must "
16239 "appear on a line of its own, without any preceeding or following characters "
16240 "(not even spaces)."
16241 msgstr ""
16242
16243 # type: textblock
16244 #: ../fish/guestfish.pod:669
16245 msgid ""
16246 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
16247 "upload local files (so-called \"FileIn\" parameters in the generator)."
16248 msgstr ""
16249
16250 # type: =head1
16251 #: ../fish/guestfish.pod:672
16252 msgid "EXIT ON ERROR BEHAVIOUR"
16253 msgstr ""
16254
16255 # type: textblock
16256 #: ../fish/guestfish.pod:674
16257 msgid ""
16258 "By default, guestfish will ignore any errors when in interactive mode (ie. "
16259 "taking commands from a human over a tty), and will exit on the first error "
16260 "in non-interactive mode (scripts, commands given on the command line)."
16261 msgstr ""
16262
16263 # type: textblock
16264 #: ../fish/guestfish.pod:679
16265 msgid ""
16266 "If you prefix a command with a I<-> character, then that command will not "
16267 "cause guestfish to exit, even if that (one) command returns an error."
16268 msgstr ""
16269
16270 # type: =head1
16271 #: ../fish/guestfish.pod:683
16272 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
16273 msgstr ""
16274
16275 # type: textblock
16276 #: ../fish/guestfish.pod:685
16277 msgid ""
16278 "Guestfish can be remote-controlled over a socket.  This is useful "
16279 "particularly in shell scripts where you want to make several different "
16280 "changes to a filesystem, but you don't want the overhead of starting up a "
16281 "guestfish process each time."
16282 msgstr ""
16283
16284 # type: textblock
16285 #: ../fish/guestfish.pod:690
16286 msgid "Start a guestfish server process using:"
16287 msgstr ""
16288
16289 # type: verbatim
16290 #: ../fish/guestfish.pod:692
16291 #, no-wrap
16292 msgid ""
16293 " eval `guestfish --listen`\n"
16294 "\n"
16295 msgstr ""
16296
16297 # type: textblock
16298 #: ../fish/guestfish.pod:694
16299 msgid "and then send it commands by doing:"
16300 msgstr ""
16301
16302 # type: verbatim
16303 #: ../fish/guestfish.pod:696
16304 #, no-wrap
16305 msgid ""
16306 " guestfish --remote cmd [...]\n"
16307 "\n"
16308 msgstr ""
16309
16310 # type: textblock
16311 #: ../fish/guestfish.pod:698
16312 msgid "To cause the server to exit, send it the exit command:"
16313 msgstr ""
16314
16315 # type: verbatim
16316 #: ../fish/guestfish.pod:700
16317 #, no-wrap
16318 msgid ""
16319 " guestfish --remote exit\n"
16320 "\n"
16321 msgstr ""
16322
16323 # type: textblock
16324 #: ../fish/guestfish.pod:702
16325 msgid ""
16326 "Note that the server will normally exit if there is an error in a command.  "
16327 "You can change this in the usual way.  See section L</EXIT ON ERROR "
16328 "BEHAVIOUR>."
16329 msgstr ""
16330
16331 # type: =head2
16332 #: ../fish/guestfish.pod:706
16333 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
16334 msgstr ""
16335
16336 # type: textblock
16337 #: ../fish/guestfish.pod:708
16338 msgid ""
16339 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
16340 "is how the I<--remote> option knows where to send the commands.  You can "
16341 "have several guestfish listener processes running using:"
16342 msgstr ""
16343
16344 # type: verbatim
16345 #: ../fish/guestfish.pod:712
16346 #, no-wrap
16347 msgid ""
16348 " eval `guestfish --listen`\n"
16349 " pid1=$GUESTFISH_PID\n"
16350 " eval `guestfish --listen`\n"
16351 " pid2=$GUESTFISH_PID\n"
16352 " ...\n"
16353 " guestfish --remote=$pid1 cmd\n"
16354 " guestfish --remote=$pid2 cmd\n"
16355 "\n"
16356 msgstr ""
16357
16358 # type: =head2
16359 #: ../fish/guestfish.pod:720
16360 msgid "REMOTE CONTROL DETAILS"
16361 msgstr ""
16362
16363 # type: textblock
16364 #: ../fish/guestfish.pod:722
16365 msgid ""
16366 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
16367 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
16368 "and C<$PID> is the process ID of the server."
16369 msgstr ""
16370
16371 # type: textblock
16372 #: ../fish/guestfish.pod:726
16373 msgid "Guestfish client and server versions must match exactly."
16374 msgstr ""
16375
16376 # type: =head1
16377 #: ../fish/guestfish.pod:728
16378 msgid "PREPARED DISK IMAGES"
16379 msgstr ""
16380
16381 # type: textblock
16382 #: ../fish/guestfish.pod:730
16383 msgid ""
16384 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
16385 "preformatted disk images that guestfish can make for you to save typing.  "
16386 "This is particularly useful for testing purposes.  This option is used "
16387 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
16388 "can be mixed with I<-a>)."
16389 msgstr ""
16390
16391 # type: textblock
16392 #: ../fish/guestfish.pod:736
16393 msgid ""
16394 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
16395 "the second and so on.  Existing files in the current directory are "
16396 "I<overwritten>."
16397 msgstr ""
16398
16399 # type: textblock
16400 #: ../fish/guestfish.pod:740
16401 msgid ""
16402 "The type briefly describes how the disk should be sized, partitioned, how "
16403 "filesystem(s) should be created, and how content should be added.  "
16404 "Optionally the type can be followed by extra parameters, separated by C<:> "
16405 "(colon) characters.  For example, I<-N fs> creates a default 100MB, sparsely-"
16406 "allocated disk, containing a single partition, with the partition formatted "
16407 "as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
16408 "disk instead."
16409 msgstr ""
16410
16411 # type: textblock
16412 #: ../fish/guestfish.pod:748
16413 msgid "To list the available types and any extra parameters they take, run:"
16414 msgstr ""
16415
16416 # type: textblock
16417 #: ../fish/guestfish.pod:752
16418 msgid ""
16419 "Note that the prepared filesystem is not mounted.  You would usually have to "
16420 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
16421 msgstr ""
16422
16423 # type: textblock
16424 #: ../fish/guestfish.pod:756
16425 msgid ""
16426 "If any I<-N> or I<--new> options are given, the guest is automatically "
16427 "launched."
16428 msgstr ""
16429
16430 # type: textblock
16431 #: ../fish/guestfish.pod:761
16432 msgid "Create a 100MB disk with an ext4-formatted partition:"
16433 msgstr ""
16434
16435 # type: verbatim
16436 #: ../fish/guestfish.pod:763
16437 #, no-wrap
16438 msgid ""
16439 " guestfish -N fs:ext4\n"
16440 "\n"
16441 msgstr ""
16442
16443 # type: textblock
16444 #: ../fish/guestfish.pod:765
16445 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
16446 msgstr ""
16447
16448 # type: verbatim
16449 #: ../fish/guestfish.pod:767
16450 #, no-wrap
16451 msgid ""
16452 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
16453 "\n"
16454 msgstr ""
16455
16456 # type: textblock
16457 #: ../fish/guestfish.pod:769
16458 msgid "Create a blank 200MB disk:"
16459 msgstr ""
16460
16461 # type: verbatim
16462 #: ../fish/guestfish.pod:771
16463 #, no-wrap
16464 msgid ""
16465 " guestfish -N disk:200M\n"
16466 "\n"
16467 msgstr ""
16468
16469 # type: =head1
16470 #: ../fish/guestfish.pod:773
16471 msgid "PROGRESS BARS"
16472 msgstr ""
16473
16474 # type: textblock
16475 #: ../fish/guestfish.pod:775
16476 msgid ""
16477 "Some (not all) long-running commands send progress notification messages as "
16478 "they are running.  Guestfish turns these messages into progress bars."
16479 msgstr ""
16480
16481 # type: textblock
16482 #: ../fish/guestfish.pod:779
16483 msgid ""
16484 "When a command that supports progress bars takes longer than two seconds to "
16485 "run, and if progress bars are enabled, then you will see one appearing below "
16486 "the command:"
16487 msgstr ""
16488
16489 # type: verbatim
16490 #: ../fish/guestfish.pod:783
16491 #, no-wrap
16492 msgid ""
16493 " ><fs> copy-size /large-file /another-file 2048M\n"
16494 " / 10% [#####-----------------------------------------] 00:30\n"
16495 "\n"
16496 msgstr ""
16497
16498 # type: textblock
16499 #: ../fish/guestfish.pod:786
16500 msgid ""
16501 "The spinner on the left hand side moves round once for every progress "
16502 "notification received from the backend.  This is a (reasonably) golden "
16503 "assurance that the command is \"doing something\" even if the progress bar "
16504 "is not moving, because the command is able to send the progress "
16505 "notifications.  When the bar reaches 100% and the command finishes, the "
16506 "spinner disappears."
16507 msgstr ""
16508
16509 # type: textblock
16510 #: ../fish/guestfish.pod:793
16511 msgid ""
16512 "Progress bars are enabled by default when guestfish is used interactively.  "
16513 "You can enable them even for non-interactive modes using I<--progress-bars>, "
16514 "and you can disable them completely using I<--no-progress-bars>."
16515 msgstr ""
16516
16517 # type: =head1
16518 #: ../fish/guestfish.pod:798
16519 msgid "GUESTFISH COMMANDS"
16520 msgstr ""
16521
16522 # type: textblock
16523 #: ../fish/guestfish.pod:800
16524 msgid ""
16525 "The commands in this section are guestfish convenience commands, in other "
16526 "words, they are not part of the L<guestfs(3)> API."
16527 msgstr ""
16528
16529 # type: =head2
16530 #: ../fish/guestfish.pod:803
16531 msgid "help"
16532 msgstr ""
16533
16534 # type: verbatim
16535 #: ../fish/guestfish.pod:805
16536 #, no-wrap
16537 msgid ""
16538 " help\n"
16539 " help cmd\n"
16540 "\n"
16541 msgstr ""
16542
16543 # type: textblock
16544 #: ../fish/guestfish.pod:808
16545 msgid ""
16546 "Without any parameter, this lists all commands.  With a C<cmd> parameter, "
16547 "this displays detailed help for a command."
16548 msgstr ""
16549
16550 # type: =head2
16551 #: ../fish/guestfish.pod:811
16552 msgid "quit | exit"
16553 msgstr ""
16554
16555 # type: textblock
16556 #: ../fish/guestfish.pod:813
16557 msgid "This exits guestfish.  You can also use C<^D> key."
16558 msgstr ""
16559
16560 # type: textblock
16561 #: ../fish/guestfish.pod:815
16562 msgid "@FISH_COMMANDS@"
16563 msgstr ""
16564
16565 # type: =head1
16566 #: ../fish/guestfish.pod:817
16567 msgid "COMMANDS"
16568 msgstr ""
16569
16570 # type: =head1
16571 #: ../fish/guestfish.pod:821 ../test-tool/libguestfs-test-tool.pod:83
16572 msgid "EXIT CODE"
16573 msgstr ""
16574
16575 # type: textblock
16576 #: ../fish/guestfish.pod:823
16577 msgid ""
16578 "guestfish returns 0 if the commands completed without error, or 1 if there "
16579 "was an error."
16580 msgstr ""
16581
16582 # type: =item
16583 #: ../fish/guestfish.pod:830
16584 msgid "EDITOR"
16585 msgstr ""
16586
16587 # type: textblock
16588 #: ../fish/guestfish.pod:832
16589 msgid ""
16590 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
16591 "C<vi>."
16592 msgstr ""
16593
16594 # type: =item
16595 #: ../fish/guestfish.pod:835
16596 msgid "GUESTFISH_PID"
16597 msgstr ""
16598
16599 # type: textblock
16600 #: ../fish/guestfish.pod:837
16601 msgid ""
16602 "Used with the I<--remote> option to specify the remote guestfish process to "
16603 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
16604 msgstr ""
16605
16606 # type: =item
16607 #: ../fish/guestfish.pod:841
16608 msgid "HEXEDITOR"
16609 msgstr ""
16610
16611 # type: textblock
16612 #: ../fish/guestfish.pod:843
16613 msgid ""
16614 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor.  If "
16615 "not specified, the external L<hexedit(1)> program is used."
16616 msgstr ""
16617
16618 # type: =item
16619 #: ../fish/guestfish.pod:847
16620 msgid "HOME"
16621 msgstr ""
16622
16623 # type: textblock
16624 #: ../fish/guestfish.pod:849
16625 msgid ""
16626 "If compiled with GNU readline support, various files in the home directory "
16627 "can be used.  See L</FILES>."
16628 msgstr ""
16629
16630 # type: textblock
16631 #: ../fish/guestfish.pod:858
16632 msgid ""
16633 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
16634 "effect as using the B<-v> option."
16635 msgstr ""
16636
16637 # type: textblock
16638 #: ../fish/guestfish.pod:870
16639 msgid ""
16640 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
16641 "the discussion of paths in L<guestfs(3)>."
16642 msgstr ""
16643
16644 # type: textblock
16645 #: ../fish/guestfish.pod:881
16646 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
16647 msgstr ""
16648
16649 # type: =item
16650 #: ../fish/guestfish.pod:883
16651 msgid "PAGER"
16652 msgstr ""
16653
16654 # type: textblock
16655 #: ../fish/guestfish.pod:885
16656 msgid ""
16657 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
16658 "C<more>."
16659 msgstr ""
16660
16661 # type: =head1
16662 #: ../fish/guestfish.pod:900 ../test-tool/libguestfs-test-tool.pod:88
16663 msgid "FILES"
16664 msgstr ""
16665
16666 # type: =item
16667 #: ../fish/guestfish.pod:904
16668 msgid "$HOME/.guestfish"
16669 msgstr ""
16670
16671 # type: textblock
16672 #: ../fish/guestfish.pod:906
16673 msgid ""
16674 "If compiled with GNU readline support, then the command history is saved in "
16675 "this file."
16676 msgstr ""
16677
16678 # type: =item
16679 #: ../fish/guestfish.pod:909
16680 msgid "$HOME/.inputrc"
16681 msgstr ""
16682
16683 # type: =item
16684 #: ../fish/guestfish.pod:911
16685 msgid "/etc/inputrc"
16686 msgstr ""
16687
16688 # type: textblock
16689 #: ../fish/guestfish.pod:913
16690 msgid ""
16691 "If compiled with GNU readline support, then these files can be used to "
16692 "configure readline.  For further information, please see L<readline(3)/"
16693 "INITIALIZATION FILE>."
16694 msgstr ""
16695
16696 # type: textblock
16697 #: ../fish/guestfish.pod:917
16698 msgid "To write rules which only apply to guestfish, use:"
16699 msgstr ""
16700
16701 # type: verbatim
16702 #: ../fish/guestfish.pod:919
16703 #, no-wrap
16704 msgid ""
16705 " $if guestfish\n"
16706 " ...\n"
16707 " $endif\n"
16708 "\n"
16709 msgstr ""
16710
16711 # type: textblock
16712 #: ../fish/guestfish.pod:923
16713 msgid ""
16714 "Variables that you can set in inputrc that change the behaviour of guestfish "
16715 "in useful ways include:"
16716 msgstr ""
16717
16718 # type: =item
16719 #: ../fish/guestfish.pod:928
16720 msgid "completion-ignore-case (default: on)"
16721 msgstr ""
16722
16723 # type: textblock
16724 #: ../fish/guestfish.pod:930
16725 msgid ""
16726 "By default, guestfish will ignore case when tab-completing paths on the "
16727 "disk.  Use:"
16728 msgstr ""
16729
16730 # type: verbatim
16731 #: ../fish/guestfish.pod:933
16732 #, no-wrap
16733 msgid ""
16734 " set completion-ignore-case off\n"
16735 "\n"
16736 msgstr ""
16737
16738 # type: textblock
16739 #: ../fish/guestfish.pod:935
16740 msgid "to make guestfish case sensitive."
16741 msgstr ""
16742
16743 # type: =item
16744 #: ../fish/guestfish.pod:939
16745 msgid "test1.img"
16746 msgstr ""
16747
16748 # type: =item
16749 #: ../fish/guestfish.pod:941
16750 msgid "test2.img (etc)"
16751 msgstr ""
16752
16753 # type: textblock
16754 #: ../fish/guestfish.pod:943
16755 msgid ""
16756 "When using the C<-N> or C<--new> option, the prepared disk or filesystem "
16757 "will be created in the file C<test1.img> in the current directory.  The "
16758 "second use of C<-N> will use C<test2.img> and so on.  Any existing file with "
16759 "the same name will be overwritten."
16760 msgstr ""
16761
16762 # type: textblock
16763 #: ../fish/guestfish.pod:952
16764 msgid ""
16765 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-df(1)>, "
16766 "L<virt-edit(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, "
16767 "L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, "
16768 "L<virt-tar(1)>, L<virt-win-reg(1)>, L<hexedit(1)>."
16769 msgstr ""
16770
16771 # type: textblock
16772 #: ../fish/guestfish.pod:976 ../test-tool/libguestfs-test-tool.pod:124
16773 #: ../fuse/guestmount.pod:198 ../inspector/virt-inspector.pl:865
16774 #: ../tools/virt-edit.pl:345 ../tools/virt-win-reg.pl:495
16775 #: ../tools/virt-df.pl:553 ../tools/virt-ls.pl:229
16776 #: ../tools/virt-resize.pl:1415 ../tools/virt-list-filesystems.pl:211
16777 #: ../tools/virt-cat.pl:181 ../tools/virt-tar.pl:276
16778 #: ../tools/virt-rescue.pl:249 ../tools/virt-make-fs.pl:560
16779 #: ../tools/virt-list-partitions.pl:248
16780 msgid ""
16781 "This program is free software; you can redistribute it and/or modify it "
16782 "under the terms of the GNU General Public License as published by the Free "
16783 "Software Foundation; either version 2 of the License, or (at your option) "
16784 "any later version."
16785 msgstr ""
16786
16787 # type: textblock
16788 #: ../fish/guestfish.pod:981 ../test-tool/libguestfs-test-tool.pod:129
16789 #: ../fuse/guestmount.pod:203 ../inspector/virt-inspector.pl:870
16790 #: ../tools/virt-edit.pl:350 ../tools/virt-win-reg.pl:500
16791 #: ../tools/virt-df.pl:558 ../tools/virt-ls.pl:234
16792 #: ../tools/virt-resize.pl:1420 ../tools/virt-list-filesystems.pl:216
16793 #: ../tools/virt-cat.pl:186 ../tools/virt-tar.pl:281
16794 #: ../tools/virt-rescue.pl:254 ../tools/virt-make-fs.pl:565
16795 #: ../tools/virt-list-partitions.pl:253
16796 msgid ""
16797 "This program is distributed in the hope that it will be useful, but WITHOUT "
16798 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
16799 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
16800 "more details."
16801 msgstr ""
16802
16803 # type: textblock
16804 #: ../fish/guestfish.pod:986 ../test-tool/libguestfs-test-tool.pod:134
16805 #: ../fuse/guestmount.pod:208 ../inspector/virt-inspector.pl:875
16806 #: ../tools/virt-edit.pl:355 ../tools/virt-win-reg.pl:505
16807 #: ../tools/virt-df.pl:563 ../tools/virt-ls.pl:239
16808 #: ../tools/virt-resize.pl:1425 ../tools/virt-list-filesystems.pl:221
16809 #: ../tools/virt-cat.pl:191 ../tools/virt-tar.pl:286
16810 #: ../tools/virt-rescue.pl:259 ../tools/virt-make-fs.pl:570
16811 #: ../tools/virt-list-partitions.pl:258
16812 msgid ""
16813 "You should have received a copy of the GNU General Public License along with "
16814 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
16815 "Ave, Cambridge, MA 02139, USA."
16816 msgstr ""
16817
16818 # type: =head2
16819 #: ../fish/guestfish-actions.pod:1
16820 msgid "add-cdrom"
16821 msgstr ""
16822
16823 # type: =head2
16824 #: ../fish/guestfish-actions.pod:3
16825 msgid "cdrom"
16826 msgstr ""
16827
16828 # type: verbatim
16829 #: ../fish/guestfish-actions.pod:5
16830 #, no-wrap
16831 msgid ""
16832 " add-cdrom filename\n"
16833 "\n"
16834 msgstr ""
16835
16836 # type: textblock
16837 #: ../fish/guestfish-actions.pod:17
16838 msgid ""
16839 "This call checks for the existence of C<filename>.  This stops you from "
16840 "specifying other types of drive which are supported by qemu such as C<nbd:> "
16841 "and C<http:> URLs.  To specify those, use the general L</config> call "
16842 "instead."
16843 msgstr ""
16844
16845 # type: textblock
16846 #: ../fish/guestfish-actions.pod:24
16847 msgid ""
16848 "If you just want to add an ISO file (often you use this as an efficient way "
16849 "to transfer large files into the guest), then you should probably use L</add-"
16850 "drive-ro> instead."
16851 msgstr ""
16852
16853 # type: =head2
16854 #: ../fish/guestfish-actions.pod:30
16855 msgid "add-drive"
16856 msgstr ""
16857
16858 # type: =head2
16859 #: ../fish/guestfish-actions.pod:32
16860 msgid "add"
16861 msgstr ""
16862
16863 # type: verbatim
16864 #: ../fish/guestfish-actions.pod:34
16865 #, no-wrap
16866 msgid ""
16867 " add-drive filename\n"
16868 "\n"
16869 msgstr ""
16870
16871 # type: textblock
16872 #: ../fish/guestfish-actions.pod:53 ../fish/guestfish-actions.pod:81
16873 msgid ""
16874 "C<if=...> is set at compile time by the configuration option C<./configure --"
16875 "with-drive-if=...>.  In the rare case where you might need to change this at "
16876 "run time, use L</add-drive-with-if> or L</add-drive-ro-with-if>."
16877 msgstr ""
16878
16879 # type: textblock
16880 #: ../fish/guestfish-actions.pod:58 ../fish/guestfish-actions.pod:86
16881 msgid ""
16882 "Note that this call checks for the existence of C<filename>.  This stops you "
16883 "from specifying other types of drive which are supported by qemu such as "
16884 "C<nbd:> and C<http:> URLs.  To specify those, use the general L</config> "
16885 "call instead."
16886 msgstr ""
16887
16888 # type: =head2
16889 #: ../fish/guestfish-actions.pod:63
16890 msgid "add-drive-ro"
16891 msgstr ""
16892
16893 # type: =head2
16894 #: ../fish/guestfish-actions.pod:65
16895 msgid "add-ro"
16896 msgstr ""
16897
16898 # type: verbatim
16899 #: ../fish/guestfish-actions.pod:67
16900 #, no-wrap
16901 msgid ""
16902 " add-drive-ro filename\n"
16903 "\n"
16904 msgstr ""
16905
16906 # type: =head2
16907 #: ../fish/guestfish-actions.pod:91
16908 msgid "add-drive-ro-with-if"
16909 msgstr ""
16910
16911 # type: verbatim
16912 #: ../fish/guestfish-actions.pod:93
16913 #, no-wrap
16914 msgid ""
16915 " add-drive-ro-with-if filename iface\n"
16916 "\n"
16917 msgstr ""
16918
16919 # type: textblock
16920 #: ../fish/guestfish-actions.pod:95
16921 msgid ""
16922 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
16923 "interface emulation to use at run time."
16924 msgstr ""
16925
16926 # type: =head2
16927 #: ../fish/guestfish-actions.pod:98
16928 msgid "add-drive-with-if"
16929 msgstr ""
16930
16931 # type: verbatim
16932 #: ../fish/guestfish-actions.pod:100
16933 #, no-wrap
16934 msgid ""
16935 " add-drive-with-if filename iface\n"
16936 "\n"
16937 msgstr ""
16938
16939 # type: textblock
16940 #: ../fish/guestfish-actions.pod:102
16941 msgid ""
16942 "This is the same as L</add-drive> but it allows you to specify the QEMU "
16943 "interface emulation to use at run time."
16944 msgstr ""
16945
16946 # type: =head2
16947 #: ../fish/guestfish-actions.pod:105
16948 msgid "aug-clear"
16949 msgstr ""
16950
16951 # type: verbatim
16952 #: ../fish/guestfish-actions.pod:107
16953 #, no-wrap
16954 msgid ""
16955 " aug-clear augpath\n"
16956 "\n"
16957 msgstr ""
16958
16959 # type: =head2
16960 #: ../fish/guestfish-actions.pod:112
16961 msgid "aug-close"
16962 msgstr ""
16963
16964 # type: verbatim
16965 #: ../fish/guestfish-actions.pod:114
16966 #, no-wrap
16967 msgid ""
16968 " aug-close\n"
16969 "\n"
16970 msgstr ""
16971
16972 # type: textblock
16973 #: ../fish/guestfish-actions.pod:116
16974 msgid ""
16975 "Close the current Augeas handle and free up any resources used by it.  After "
16976 "calling this, you have to call L</aug-init> again before you can use any "
16977 "other Augeas functions."
16978 msgstr ""
16979
16980 # type: =head2
16981 #: ../fish/guestfish-actions.pod:121
16982 msgid "aug-defnode"
16983 msgstr ""
16984
16985 # type: verbatim
16986 #: ../fish/guestfish-actions.pod:123
16987 #, no-wrap
16988 msgid ""
16989 " aug-defnode name expr val\n"
16990 "\n"
16991 msgstr ""
16992
16993 # type: textblock
16994 #: ../fish/guestfish-actions.pod:128
16995 msgid ""
16996 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
16997 "calling L</aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
16998 "containing that single node."
16999 msgstr ""
17000
17001 # type: =head2
17002 #: ../fish/guestfish-actions.pod:136
17003 msgid "aug-defvar"
17004 msgstr ""
17005
17006 # type: verbatim
17007 #: ../fish/guestfish-actions.pod:138
17008 #, no-wrap
17009 msgid ""
17010 " aug-defvar name expr\n"
17011 "\n"
17012 msgstr ""
17013
17014 # type: =head2
17015 #: ../fish/guestfish-actions.pod:147
17016 msgid "aug-get"
17017 msgstr ""
17018
17019 # type: verbatim
17020 #: ../fish/guestfish-actions.pod:149
17021 #, no-wrap
17022 msgid ""
17023 " aug-get augpath\n"
17024 "\n"
17025 msgstr ""
17026
17027 # type: =head2
17028 #: ../fish/guestfish-actions.pod:154
17029 msgid "aug-init"
17030 msgstr ""
17031
17032 # type: verbatim
17033 #: ../fish/guestfish-actions.pod:156
17034 #, no-wrap
17035 msgid ""
17036 " aug-init root flags\n"
17037 "\n"
17038 msgstr ""
17039
17040 # type: textblock
17041 #: ../fish/guestfish-actions.pod:162
17042 msgid "You must call this before using any other L</aug-*> commands."
17043 msgstr ""
17044
17045 # type: textblock
17046 #: ../fish/guestfish-actions.pod:197
17047 msgid "Do not load the tree in L</aug-init>."
17048 msgstr ""
17049
17050 # type: textblock
17051 #: ../fish/guestfish-actions.pod:201
17052 msgid "To close the handle, you can call L</aug-close>."
17053 msgstr ""
17054
17055 # type: =head2
17056 #: ../fish/guestfish-actions.pod:205
17057 msgid "aug-insert"
17058 msgstr ""
17059
17060 # type: verbatim
17061 #: ../fish/guestfish-actions.pod:207
17062 #, no-wrap
17063 msgid ""
17064 " aug-insert augpath label true|false\n"
17065 "\n"
17066 msgstr ""
17067
17068 # type: =head2
17069 #: ../fish/guestfish-actions.pod:217
17070 msgid "aug-load"
17071 msgstr ""
17072
17073 # type: verbatim
17074 #: ../fish/guestfish-actions.pod:219
17075 #, no-wrap
17076 msgid ""
17077 " aug-load\n"
17078 "\n"
17079 msgstr ""
17080
17081 # type: =head2
17082 #: ../fish/guestfish-actions.pod:226
17083 msgid "aug-ls"
17084 msgstr ""
17085
17086 # type: verbatim
17087 #: ../fish/guestfish-actions.pod:228
17088 #, no-wrap
17089 msgid ""
17090 " aug-ls augpath\n"
17091 "\n"
17092 msgstr ""
17093
17094 # type: textblock
17095 #: ../fish/guestfish-actions.pod:230
17096 msgid ""
17097 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
17098 "resulting nodes into alphabetical order."
17099 msgstr ""
17100
17101 # type: =head2
17102 #: ../fish/guestfish-actions.pod:233
17103 msgid "aug-match"
17104 msgstr ""
17105
17106 # type: verbatim
17107 #: ../fish/guestfish-actions.pod:235
17108 #, no-wrap
17109 msgid ""
17110 " aug-match augpath\n"
17111 "\n"
17112 msgstr ""
17113
17114 # type: =head2
17115 #: ../fish/guestfish-actions.pod:241
17116 msgid "aug-mv"
17117 msgstr ""
17118
17119 # type: verbatim
17120 #: ../fish/guestfish-actions.pod:243
17121 #, no-wrap
17122 msgid ""
17123 " aug-mv src dest\n"
17124 "\n"
17125 msgstr ""
17126
17127 # type: =head2
17128 #: ../fish/guestfish-actions.pod:248
17129 msgid "aug-rm"
17130 msgstr ""
17131
17132 # type: verbatim
17133 #: ../fish/guestfish-actions.pod:250
17134 #, no-wrap
17135 msgid ""
17136 " aug-rm augpath\n"
17137 "\n"
17138 msgstr ""
17139
17140 # type: =head2
17141 #: ../fish/guestfish-actions.pod:256
17142 msgid "aug-save"
17143 msgstr ""
17144
17145 # type: verbatim
17146 #: ../fish/guestfish-actions.pod:258
17147 #, no-wrap
17148 msgid ""
17149 " aug-save\n"
17150 "\n"
17151 msgstr ""
17152
17153 # type: textblock
17154 #: ../fish/guestfish-actions.pod:262
17155 msgid ""
17156 "The flags which were passed to L</aug-init> affect exactly how files are "
17157 "saved."
17158 msgstr ""
17159
17160 # type: =head2
17161 #: ../fish/guestfish-actions.pod:265
17162 msgid "aug-set"
17163 msgstr ""
17164
17165 # type: verbatim
17166 #: ../fish/guestfish-actions.pod:267
17167 #, no-wrap
17168 msgid ""
17169 " aug-set augpath val\n"
17170 "\n"
17171 msgstr ""
17172
17173 # type: textblock
17174 #: ../fish/guestfish-actions.pod:271
17175 msgid ""
17176 "In the Augeas API, it is possible to clear a node by setting the value to "
17177 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
17178 "this call.  Instead you must use the L</aug-clear> call."
17179 msgstr ""
17180
17181 # type: =head2
17182 #: ../fish/guestfish-actions.pod:276
17183 msgid "available"
17184 msgstr ""
17185
17186 # type: verbatim
17187 #: ../fish/guestfish-actions.pod:278
17188 #, no-wrap
17189 msgid ""
17190 " available 'groups ...'\n"
17191 "\n"
17192 msgstr ""
17193
17194 # type: textblock
17195 #: ../fish/guestfish-actions.pod:284
17196 msgid ""
17197 "The libguestfs groups, and the functions that those groups correspond to, "
17198 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
17199 "runtime by calling L</available-all-groups>."
17200 msgstr ""
17201
17202 # type: textblock
17203 #: ../fish/guestfish-actions.pod:308
17204 msgid "You must call L</launch> before calling this function."
17205 msgstr ""
17206
17207 # type: textblock
17208 #: ../fish/guestfish-actions.pod:330
17209 msgid ""
17210 "This call was added in version C<1.0.80>.  In previous versions of "
17211 "libguestfs all you could do would be to speculatively execute a command to "
17212 "find out if the daemon implemented it.  See also L</version>."
17213 msgstr ""
17214
17215 # type: =head2
17216 #: ../fish/guestfish-actions.pod:337
17217 msgid "available-all-groups"
17218 msgstr ""
17219
17220 # type: verbatim
17221 #: ../fish/guestfish-actions.pod:339
17222 #, no-wrap
17223 msgid ""
17224 " available-all-groups\n"
17225 "\n"
17226 msgstr ""
17227
17228 # type: textblock
17229 #: ../fish/guestfish-actions.pod:341
17230 msgid ""
17231 "This command returns a list of all optional groups that this daemon knows "
17232 "about.  Note this returns both supported and unsupported groups.  To find "
17233 "out which ones the daemon can actually support you have to call L</"
17234 "available> on each member of the returned list."
17235 msgstr ""
17236
17237 # type: textblock
17238 #: ../fish/guestfish-actions.pod:347
17239 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
17240 msgstr ""
17241
17242 # type: =head2
17243 #: ../fish/guestfish-actions.pod:349
17244 msgid "base64-in"
17245 msgstr ""
17246
17247 # type: verbatim
17248 #: ../fish/guestfish-actions.pod:351
17249 #, no-wrap
17250 msgid ""
17251 " base64-in (base64file|-) filename\n"
17252 "\n"
17253 msgstr ""
17254
17255 # type: textblock
17256 #: ../fish/guestfish-actions.pod:356 ../fish/guestfish-actions.pod:365
17257 #: ../fish/guestfish-actions.pod:589 ../fish/guestfish-actions.pod:736
17258 #: ../fish/guestfish-actions.pod:783 ../fish/guestfish-actions.pod:802
17259 #: ../fish/guestfish-actions.pod:1179 ../fish/guestfish-actions.pod:3820
17260 #: ../fish/guestfish-actions.pod:3832 ../fish/guestfish-actions.pod:3843
17261 #: ../fish/guestfish-actions.pod:3854 ../fish/guestfish-actions.pod:3906
17262 #: ../fish/guestfish-actions.pod:3915 ../fish/guestfish-actions.pod:3969
17263 #: ../fish/guestfish-actions.pod:3992
17264 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
17265 msgstr ""
17266
17267 # type: =head2
17268 #: ../fish/guestfish-actions.pod:358
17269 msgid "base64-out"
17270 msgstr ""
17271
17272 # type: verbatim
17273 #: ../fish/guestfish-actions.pod:360
17274 #, no-wrap
17275 msgid ""
17276 " base64-out filename (base64file|-)\n"
17277 "\n"
17278 msgstr ""
17279
17280 # type: =head2
17281 #: ../fish/guestfish-actions.pod:367
17282 msgid "blockdev-flushbufs"
17283 msgstr ""
17284
17285 # type: verbatim
17286 #: ../fish/guestfish-actions.pod:369
17287 #, no-wrap
17288 msgid ""
17289 " blockdev-flushbufs device\n"
17290 "\n"
17291 msgstr ""
17292
17293 # type: =head2
17294 #: ../fish/guestfish-actions.pod:376
17295 msgid "blockdev-getbsz"
17296 msgstr ""
17297
17298 # type: verbatim
17299 #: ../fish/guestfish-actions.pod:378
17300 #, no-wrap
17301 msgid ""
17302 " blockdev-getbsz device\n"
17303 "\n"
17304 msgstr ""
17305
17306 # type: =head2
17307 #: ../fish/guestfish-actions.pod:387
17308 msgid "blockdev-getro"
17309 msgstr ""
17310
17311 # type: verbatim
17312 #: ../fish/guestfish-actions.pod:389
17313 #, no-wrap
17314 msgid ""
17315 " blockdev-getro device\n"
17316 "\n"
17317 msgstr ""
17318
17319 # type: =head2
17320 #: ../fish/guestfish-actions.pod:396
17321 msgid "blockdev-getsize64"
17322 msgstr ""
17323
17324 # type: verbatim
17325 #: ../fish/guestfish-actions.pod:398
17326 #, no-wrap
17327 msgid ""
17328 " blockdev-getsize64 device\n"
17329 "\n"
17330 msgstr ""
17331
17332 # type: textblock
17333 #: ../fish/guestfish-actions.pod:402
17334 msgid "See also L</blockdev-getsz>."
17335 msgstr ""
17336
17337 # type: =head2
17338 #: ../fish/guestfish-actions.pod:406
17339 msgid "blockdev-getss"
17340 msgstr ""
17341
17342 # type: verbatim
17343 #: ../fish/guestfish-actions.pod:408
17344 #, no-wrap
17345 msgid ""
17346 " blockdev-getss device\n"
17347 "\n"
17348 msgstr ""
17349
17350 # type: textblock
17351 #: ../fish/guestfish-actions.pod:413
17352 msgid ""
17353 "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
17354 msgstr ""
17355
17356 # type: =head2
17357 #: ../fish/guestfish-actions.pod:418
17358 msgid "blockdev-getsz"
17359 msgstr ""
17360
17361 # type: verbatim
17362 #: ../fish/guestfish-actions.pod:420
17363 #, no-wrap
17364 msgid ""
17365 " blockdev-getsz device\n"
17366 "\n"
17367 msgstr ""
17368
17369 # type: textblock
17370 #: ../fish/guestfish-actions.pod:425
17371 msgid ""
17372 "See also L</blockdev-getss> for the real sector size of the device, and L</"
17373 "blockdev-getsize64> for the more useful I<size in bytes>."
17374 msgstr ""
17375
17376 # type: =head2
17377 #: ../fish/guestfish-actions.pod:431
17378 msgid "blockdev-rereadpt"
17379 msgstr ""
17380
17381 # type: verbatim
17382 #: ../fish/guestfish-actions.pod:433
17383 #, no-wrap
17384 msgid ""
17385 " blockdev-rereadpt device\n"
17386 "\n"
17387 msgstr ""
17388
17389 # type: =head2
17390 #: ../fish/guestfish-actions.pod:439
17391 msgid "blockdev-setbsz"
17392 msgstr ""
17393
17394 # type: verbatim
17395 #: ../fish/guestfish-actions.pod:441
17396 #, no-wrap
17397 msgid ""
17398 " blockdev-setbsz device blocksize\n"
17399 "\n"
17400 msgstr ""
17401
17402 # type: =head2
17403 #: ../fish/guestfish-actions.pod:450
17404 msgid "blockdev-setro"
17405 msgstr ""
17406
17407 # type: verbatim
17408 #: ../fish/guestfish-actions.pod:452
17409 #, no-wrap
17410 msgid ""
17411 " blockdev-setro device\n"
17412 "\n"
17413 msgstr ""
17414
17415 # type: =head2
17416 #: ../fish/guestfish-actions.pod:458
17417 msgid "blockdev-setrw"
17418 msgstr ""
17419
17420 # type: verbatim
17421 #: ../fish/guestfish-actions.pod:460
17422 #, no-wrap
17423 msgid ""
17424 " blockdev-setrw device\n"
17425 "\n"
17426 msgstr ""
17427
17428 # type: =head2
17429 #: ../fish/guestfish-actions.pod:466
17430 msgid "case-sensitive-path"
17431 msgstr ""
17432
17433 # type: verbatim
17434 #: ../fish/guestfish-actions.pod:468
17435 #, no-wrap
17436 msgid ""
17437 " case-sensitive-path path\n"
17438 "\n"
17439 msgstr ""
17440
17441 # type: textblock
17442 #: ../fish/guestfish-actions.pod:492
17443 msgid ""
17444 "Thus L</case-sensitive-path> (\"/Windows/System32\")  might return C<\"/"
17445 "WINDOWS/system32\"> (the exact return value would depend on details of how "
17446 "the directories were originally created under Windows)."
17447 msgstr ""
17448
17449 # type: textblock
17450 #: ../fish/guestfish-actions.pod:500
17451 msgid "See also L</realpath>."
17452 msgstr ""
17453
17454 # type: =head2
17455 #: ../fish/guestfish-actions.pod:502
17456 msgid "cat"
17457 msgstr ""
17458
17459 # type: verbatim
17460 #: ../fish/guestfish-actions.pod:504
17461 #, no-wrap
17462 msgid ""
17463 " cat path\n"
17464 "\n"
17465 msgstr ""
17466
17467 # type: textblock
17468 #: ../fish/guestfish-actions.pod:508
17469 msgid ""
17470 "Note that this function cannot correctly handle binary files (specifically, "
17471 "files containing C<\\0> character which is treated as end of string).  For "
17472 "those you need to use the L</read-file> or L</download> functions which have "
17473 "a more complex interface."
17474 msgstr ""
17475
17476 # type: =head2
17477 #: ../fish/guestfish-actions.pod:516
17478 msgid "checksum"
17479 msgstr ""
17480
17481 # type: verbatim
17482 #: ../fish/guestfish-actions.pod:518
17483 #, no-wrap
17484 msgid ""
17485 " checksum csumtype path\n"
17486 "\n"
17487 msgstr ""
17488
17489 # type: textblock
17490 #: ../fish/guestfish-actions.pod:561
17491 msgid "To get the checksum for a device, use L</checksum-device>."
17492 msgstr ""
17493
17494 # type: textblock
17495 #: ../fish/guestfish-actions.pod:563
17496 msgid "To get the checksums for many files, use L</checksums-out>."
17497 msgstr ""
17498
17499 # type: =head2
17500 #: ../fish/guestfish-actions.pod:565
17501 msgid "checksum-device"
17502 msgstr ""
17503
17504 # type: verbatim
17505 #: ../fish/guestfish-actions.pod:567
17506 #, no-wrap
17507 msgid ""
17508 " checksum-device csumtype device\n"
17509 "\n"
17510 msgstr ""
17511
17512 # type: textblock
17513 #: ../fish/guestfish-actions.pod:569
17514 msgid ""
17515 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
17516 "device named C<device>.  For the types of checksums supported see the L</"
17517 "checksum> command."
17518 msgstr ""
17519
17520 # type: =head2
17521 #: ../fish/guestfish-actions.pod:573
17522 msgid "checksums-out"
17523 msgstr ""
17524
17525 # type: verbatim
17526 #: ../fish/guestfish-actions.pod:575
17527 #, no-wrap
17528 msgid ""
17529 " checksums-out csumtype directory (sumsfile|-)\n"
17530 "\n"
17531 msgstr ""
17532
17533 # type: =head2
17534 #: ../fish/guestfish-actions.pod:591
17535 msgid "chmod"
17536 msgstr ""
17537
17538 # type: verbatim
17539 #: ../fish/guestfish-actions.pod:593
17540 #, no-wrap
17541 msgid ""
17542 " chmod mode path\n"
17543 "\n"
17544 msgstr ""
17545
17546 # type: =head2
17547 #: ../fish/guestfish-actions.pod:604
17548 msgid "chown"
17549 msgstr ""
17550
17551 # type: verbatim
17552 #: ../fish/guestfish-actions.pod:606
17553 #, no-wrap
17554 msgid ""
17555 " chown owner group path\n"
17556 "\n"
17557 msgstr ""
17558
17559 # type: =head2
17560 #: ../fish/guestfish-actions.pod:614
17561 msgid "command"
17562 msgstr ""
17563
17564 # type: verbatim
17565 #: ../fish/guestfish-actions.pod:616
17566 #, no-wrap
17567 msgid ""
17568 " command 'arguments ...'\n"
17569 "\n"
17570 msgstr ""
17571
17572 # type: textblock
17573 #: ../fish/guestfish-actions.pod:623
17574 msgid ""
17575 "The single parameter is an argv-style list of arguments.  The first element "
17576 "is the name of the program to run.  Subsequent elements are parameters.  The "
17577 "list must be non-empty (ie. must contain a program name).  Note that the "
17578 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
17579 msgstr ""
17580
17581 # type: =head2
17582 #: ../fish/guestfish-actions.pod:651
17583 msgid "command-lines"
17584 msgstr ""
17585
17586 # type: verbatim
17587 #: ../fish/guestfish-actions.pod:653
17588 #, no-wrap
17589 msgid ""
17590 " command-lines 'arguments ...'\n"
17591 "\n"
17592 msgstr ""
17593
17594 # type: textblock
17595 #: ../fish/guestfish-actions.pod:655
17596 msgid ""
17597 "This is the same as L</command>, but splits the result into a list of lines."
17598 msgstr ""
17599
17600 # type: textblock
17601 #: ../fish/guestfish-actions.pod:658
17602 msgid "See also: L</sh-lines>"
17603 msgstr ""
17604
17605 # type: =head2
17606 #: ../fish/guestfish-actions.pod:663
17607 msgid "config"
17608 msgstr ""
17609
17610 # type: verbatim
17611 #: ../fish/guestfish-actions.pod:665
17612 #, no-wrap
17613 msgid ""
17614 " config qemuparam qemuvalue\n"
17615 "\n"
17616 msgstr ""
17617
17618 # type: =head2
17619 #: ../fish/guestfish-actions.pod:676
17620 msgid "copy-size"
17621 msgstr ""
17622
17623 # type: verbatim
17624 #: ../fish/guestfish-actions.pod:678
17625 #, no-wrap
17626 msgid ""
17627 " copy-size src dest size\n"
17628 "\n"
17629 msgstr ""
17630
17631 # type: =head2
17632 #: ../fish/guestfish-actions.pod:686
17633 msgid "cp"
17634 msgstr ""
17635
17636 # type: verbatim
17637 #: ../fish/guestfish-actions.pod:688
17638 #, no-wrap
17639 msgid ""
17640 " cp src dest\n"
17641 "\n"
17642 msgstr ""
17643
17644 # type: =head2
17645 #: ../fish/guestfish-actions.pod:693
17646 msgid "cp-a"
17647 msgstr ""
17648
17649 # type: verbatim
17650 #: ../fish/guestfish-actions.pod:695
17651 #, no-wrap
17652 msgid ""
17653 " cp-a src dest\n"
17654 "\n"
17655 msgstr ""
17656
17657 # type: =head2
17658 #: ../fish/guestfish-actions.pod:700
17659 msgid "dd"
17660 msgstr ""
17661
17662 # type: verbatim
17663 #: ../fish/guestfish-actions.pod:702
17664 #, no-wrap
17665 msgid ""
17666 " dd src dest\n"
17667 "\n"
17668 msgstr ""
17669
17670 # type: textblock
17671 #: ../fish/guestfish-actions.pod:709
17672 msgid ""
17673 "If the destination is a device, it must be as large or larger than the "
17674 "source file or device, otherwise the copy will fail.  This command cannot do "
17675 "partial copies (see L</copy-size>)."
17676 msgstr ""
17677
17678 # type: =head2
17679 #: ../fish/guestfish-actions.pod:713
17680 msgid "debug"
17681 msgstr ""
17682
17683 # type: verbatim
17684 #: ../fish/guestfish-actions.pod:715
17685 #, no-wrap
17686 msgid ""
17687 " debug subcmd 'extraargs ...'\n"
17688 "\n"
17689 msgstr ""
17690
17691 # type: textblock
17692 #: ../fish/guestfish-actions.pod:717
17693 msgid ""
17694 "The L</debug> command exposes some internals of C<guestfsd> (the guestfs "
17695 "daemon) that runs inside the qemu subprocess."
17696 msgstr ""
17697
17698 # type: =head2
17699 #: ../fish/guestfish-actions.pod:725
17700 msgid "debug-upload"
17701 msgstr ""
17702
17703 # type: verbatim
17704 #: ../fish/guestfish-actions.pod:727
17705 #, no-wrap
17706 msgid ""
17707 " debug-upload (filename|-) tmpname mode\n"
17708 "\n"
17709 msgstr ""
17710
17711 # type: textblock
17712 #: ../fish/guestfish-actions.pod:729
17713 msgid ""
17714 "The L</debug-upload> command uploads a file to the libguestfs appliance."
17715 msgstr ""
17716
17717 # type: =head2
17718 #: ../fish/guestfish-actions.pod:738
17719 msgid "df"
17720 msgstr ""
17721
17722 # type: verbatim
17723 #: ../fish/guestfish-actions.pod:740
17724 #, no-wrap
17725 msgid ""
17726 " df\n"
17727 "\n"
17728 msgstr ""
17729
17730 # type: =head2
17731 #: ../fish/guestfish-actions.pod:748
17732 msgid "df-h"
17733 msgstr ""
17734
17735 # type: verbatim
17736 #: ../fish/guestfish-actions.pod:750
17737 #, no-wrap
17738 msgid ""
17739 " df-h\n"
17740 "\n"
17741 msgstr ""
17742
17743 # type: =head2
17744 #: ../fish/guestfish-actions.pod:759
17745 msgid "dmesg"
17746 msgstr ""
17747
17748 # type: verbatim
17749 #: ../fish/guestfish-actions.pod:761
17750 #, no-wrap
17751 msgid ""
17752 " dmesg\n"
17753 "\n"
17754 msgstr ""
17755
17756 # type: textblock
17757 #: ../fish/guestfish-actions.pod:767
17758 msgid ""
17759 "Another way to get the same information is to enable verbose messages with "
17760 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
17761 "before running the program."
17762 msgstr ""
17763
17764 # type: =head2
17765 #: ../fish/guestfish-actions.pod:772
17766 msgid "download"
17767 msgstr ""
17768
17769 # type: verbatim
17770 #: ../fish/guestfish-actions.pod:774
17771 #, no-wrap
17772 msgid ""
17773 " download remotefilename (filename|-)\n"
17774 "\n"
17775 msgstr ""
17776
17777 # type: textblock
17778 #: ../fish/guestfish-actions.pod:781
17779 msgid "See also L</upload>, L</cat>."
17780 msgstr ""
17781
17782 # type: =head2
17783 #: ../fish/guestfish-actions.pod:785
17784 msgid "download-offset"
17785 msgstr ""
17786
17787 # type: verbatim
17788 #: ../fish/guestfish-actions.pod:787
17789 #, no-wrap
17790 msgid ""
17791 " download-offset remotefilename (filename|-) offset size\n"
17792 "\n"
17793 msgstr ""
17794
17795 # type: textblock
17796 #: ../fish/guestfish-actions.pod:795
17797 msgid ""
17798 "Note that there is no limit on the amount of data that can be downloaded "
17799 "with this call, unlike with L</pread>, and this call always reads the full "
17800 "amount unless an error occurs."
17801 msgstr ""
17802
17803 # type: textblock
17804 #: ../fish/guestfish-actions.pod:800
17805 msgid "See also L</download>, L</pread>."
17806 msgstr ""
17807
17808 # type: =head2
17809 #: ../fish/guestfish-actions.pod:804
17810 msgid "drop-caches"
17811 msgstr ""
17812
17813 # type: verbatim
17814 #: ../fish/guestfish-actions.pod:806
17815 #, no-wrap
17816 msgid ""
17817 " drop-caches whattodrop\n"
17818 "\n"
17819 msgstr ""
17820
17821 # type: =head2
17822 #: ../fish/guestfish-actions.pod:818
17823 msgid "du"
17824 msgstr ""
17825
17826 # type: verbatim
17827 #: ../fish/guestfish-actions.pod:820
17828 #, no-wrap
17829 msgid ""
17830 " du path\n"
17831 "\n"
17832 msgstr ""
17833
17834 # type: =head2
17835 #: ../fish/guestfish-actions.pod:832
17836 msgid "e2fsck-f"
17837 msgstr ""
17838
17839 # type: verbatim
17840 #: ../fish/guestfish-actions.pod:834
17841 #, no-wrap
17842 msgid ""
17843 " e2fsck-f device\n"
17844 "\n"
17845 msgstr ""
17846
17847 # type: textblock
17848 #: ../fish/guestfish-actions.pod:840
17849 msgid ""
17850 "This command is only needed because of L</resize2fs> (q.v.).  Normally you "
17851 "should use L</fsck>."
17852 msgstr ""
17853
17854 # type: =head2
17855 #: ../fish/guestfish-actions.pod:843
17856 msgid "echo-daemon"
17857 msgstr ""
17858
17859 # type: verbatim
17860 #: ../fish/guestfish-actions.pod:845
17861 #, no-wrap
17862 msgid ""
17863 " echo-daemon 'words ...'\n"
17864 "\n"
17865 msgstr ""
17866
17867 # type: textblock
17868 #: ../fish/guestfish-actions.pod:852
17869 msgid "See also L</ping-daemon>."
17870 msgstr ""
17871
17872 # type: =head2
17873 #: ../fish/guestfish-actions.pod:854
17874 msgid "egrep"
17875 msgstr ""
17876
17877 # type: verbatim
17878 #: ../fish/guestfish-actions.pod:856
17879 #, no-wrap
17880 msgid ""
17881 " egrep regex path\n"
17882 "\n"
17883 msgstr ""
17884
17885 # type: =head2
17886 #: ../fish/guestfish-actions.pod:864
17887 msgid "egrepi"
17888 msgstr ""
17889
17890 # type: verbatim
17891 #: ../fish/guestfish-actions.pod:866
17892 #, no-wrap
17893 msgid ""
17894 " egrepi regex path\n"
17895 "\n"
17896 msgstr ""
17897
17898 # type: =head2
17899 #: ../fish/guestfish-actions.pod:874
17900 msgid "equal"
17901 msgstr ""
17902
17903 # type: verbatim
17904 #: ../fish/guestfish-actions.pod:876
17905 #, no-wrap
17906 msgid ""
17907 " equal file1 file2\n"
17908 "\n"
17909 msgstr ""
17910
17911 # type: =head2
17912 #: ../fish/guestfish-actions.pod:883
17913 msgid "exists"
17914 msgstr ""
17915
17916 # type: verbatim
17917 #: ../fish/guestfish-actions.pod:885
17918 #, no-wrap
17919 msgid ""
17920 " exists path\n"
17921 "\n"
17922 msgstr ""
17923
17924 # type: textblock
17925 #: ../fish/guestfish-actions.pod:890
17926 msgid "See also L</is-file>, L</is-dir>, L</stat>."
17927 msgstr ""
17928
17929 # type: =head2
17930 #: ../fish/guestfish-actions.pod:892
17931 msgid "fallocate"
17932 msgstr ""
17933
17934 # type: verbatim
17935 #: ../fish/guestfish-actions.pod:894
17936 #, no-wrap
17937 msgid ""
17938 " fallocate path len\n"
17939 "\n"
17940 msgstr ""
17941
17942 # type: =head2
17943 #: ../fish/guestfish-actions.pod:911
17944 msgid "fallocate64"
17945 msgstr ""
17946
17947 # type: verbatim
17948 #: ../fish/guestfish-actions.pod:913
17949 #, no-wrap
17950 msgid ""
17951 " fallocate64 path len\n"
17952 "\n"
17953 msgstr ""
17954
17955 # type: textblock
17956 #: ../fish/guestfish-actions.pod:919
17957 msgid ""
17958 "Note that this call allocates disk blocks for the file.  To create a sparse "
17959 "file use L</truncate-size> instead."
17960 msgstr ""
17961
17962 # type: textblock
17963 #: ../fish/guestfish-actions.pod:922
17964 msgid ""
17965 "The deprecated call L</fallocate> does the same, but owing to an oversight "
17966 "it only allowed 30 bit lengths to be specified, effectively limiting the "
17967 "maximum size of files created through that call to 1GB."
17968 msgstr ""
17969
17970 # type: =head2
17971 #: ../fish/guestfish-actions.pod:931
17972 msgid "fgrep"
17973 msgstr ""
17974
17975 # type: verbatim
17976 #: ../fish/guestfish-actions.pod:933
17977 #, no-wrap
17978 msgid ""
17979 " fgrep pattern path\n"
17980 "\n"
17981 msgstr ""
17982
17983 # type: =head2
17984 #: ../fish/guestfish-actions.pod:941
17985 msgid "fgrepi"
17986 msgstr ""
17987
17988 # type: verbatim
17989 #: ../fish/guestfish-actions.pod:943
17990 #, no-wrap
17991 msgid ""
17992 " fgrepi pattern path\n"
17993 "\n"
17994 msgstr ""
17995
17996 # type: =head2
17997 #: ../fish/guestfish-actions.pod:951
17998 msgid "file"
17999 msgstr ""
18000
18001 # type: verbatim
18002 #: ../fish/guestfish-actions.pod:953
18003 #, no-wrap
18004 msgid ""
18005 " file path\n"
18006 "\n"
18007 msgstr ""
18008
18009 # type: textblock
18010 #: ../fish/guestfish-actions.pod:965
18011 msgid ""
18012 "This command can also be used on C</dev/> devices (and partitions, LV "
18013 "names).  You can for example use this to determine if a device contains a "
18014 "filesystem, although it's usually better to use L</vfs-type>."
18015 msgstr ""
18016
18017 # type: =head2
18018 #: ../fish/guestfish-actions.pod:975
18019 msgid "file-architecture"
18020 msgstr ""
18021
18022 # type: verbatim
18023 #: ../fish/guestfish-actions.pod:977
18024 #, no-wrap
18025 msgid ""
18026 " file-architecture filename\n"
18027 "\n"
18028 msgstr ""
18029
18030 # type: =head2
18031 #: ../fish/guestfish-actions.pod:1080
18032 msgid "filesize"
18033 msgstr ""
18034
18035 # type: verbatim
18036 #: ../fish/guestfish-actions.pod:1082
18037 #, no-wrap
18038 msgid ""
18039 " filesize file\n"
18040 "\n"
18041 msgstr ""
18042
18043 # type: textblock
18044 #: ../fish/guestfish-actions.pod:1086
18045 msgid ""
18046 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, L</is-"
18047 "file> etc.  To get the size of block devices, use L</blockdev-getsize64>."
18048 msgstr ""
18049
18050 # type: =head2
18051 #: ../fish/guestfish-actions.pod:1090
18052 msgid "fill"
18053 msgstr ""
18054
18055 # type: verbatim
18056 #: ../fish/guestfish-actions.pod:1092
18057 #, no-wrap
18058 msgid ""
18059 " fill c len path\n"
18060 "\n"
18061 msgstr ""
18062
18063 # type: textblock
18064 #: ../fish/guestfish-actions.pod:1098
18065 msgid ""
18066 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
18067 "L</truncate-size>.  To create a file with a pattern of repeating bytes use "
18068 "L</fill-pattern>."
18069 msgstr ""
18070
18071 # type: =head2
18072 #: ../fish/guestfish-actions.pod:1103
18073 msgid "fill-pattern"
18074 msgstr ""
18075
18076 # type: verbatim
18077 #: ../fish/guestfish-actions.pod:1105
18078 #, no-wrap
18079 msgid ""
18080 " fill-pattern pattern len path\n"
18081 "\n"
18082 msgstr ""
18083
18084 # type: textblock
18085 #: ../fish/guestfish-actions.pod:1107
18086 msgid ""
18087 "This function is like L</fill> except that it creates a new file of length "
18088 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
18089 "is truncated if necessary to ensure the length of the file is exactly C<len> "
18090 "bytes."
18091 msgstr ""
18092
18093 # type: =head2
18094 #: ../fish/guestfish-actions.pod:1112
18095 msgid "find"
18096 msgstr ""
18097
18098 # type: verbatim
18099 #: ../fish/guestfish-actions.pod:1114
18100 #, no-wrap
18101 msgid ""
18102 " find directory\n"
18103 "\n"
18104 msgstr ""
18105
18106 # type: textblock
18107 #: ../fish/guestfish-actions.pod:1128
18108 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
18109 msgstr ""
18110
18111 # type: textblock
18112 #: ../fish/guestfish-actions.pod:1141
18113 msgid "See also L</find0>."
18114 msgstr ""
18115
18116 # type: =head2
18117 #: ../fish/guestfish-actions.pod:1146
18118 msgid "find0"
18119 msgstr ""
18120
18121 # type: verbatim
18122 #: ../fish/guestfish-actions.pod:1148
18123 #, no-wrap
18124 msgid ""
18125 " find0 directory (files|-)\n"
18126 "\n"
18127 msgstr ""
18128
18129 # type: textblock
18130 #: ../fish/guestfish-actions.pod:1154
18131 msgid ""
18132 "This command works the same way as L</find> with the following exceptions:"
18133 msgstr ""
18134
18135 # type: =head2
18136 #: ../fish/guestfish-actions.pod:1181
18137 msgid "findfs-label"
18138 msgstr ""
18139
18140 # type: verbatim
18141 #: ../fish/guestfish-actions.pod:1183
18142 #, no-wrap
18143 msgid ""
18144 " findfs-label label\n"
18145 "\n"
18146 msgstr ""
18147
18148 # type: textblock
18149 #: ../fish/guestfish-actions.pod:1189
18150 msgid "To find the label of a filesystem, use L</vfs-label>."
18151 msgstr ""
18152
18153 # type: =head2
18154 #: ../fish/guestfish-actions.pod:1191
18155 msgid "findfs-uuid"
18156 msgstr ""
18157
18158 # type: verbatim
18159 #: ../fish/guestfish-actions.pod:1193
18160 #, no-wrap
18161 msgid ""
18162 " findfs-uuid uuid\n"
18163 "\n"
18164 msgstr ""
18165
18166 # type: textblock
18167 #: ../fish/guestfish-actions.pod:1199
18168 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
18169 msgstr ""
18170
18171 # type: =head2
18172 #: ../fish/guestfish-actions.pod:1201
18173 msgid "fsck"
18174 msgstr ""
18175
18176 # type: verbatim
18177 #: ../fish/guestfish-actions.pod:1203
18178 #, no-wrap
18179 msgid ""
18180 " fsck fstype device\n"
18181 "\n"
18182 msgstr ""
18183
18184 # type: =head2
18185 #: ../fish/guestfish-actions.pod:1233
18186 msgid "get-append"
18187 msgstr ""
18188
18189 # type: verbatim
18190 #: ../fish/guestfish-actions.pod:1235
18191 #, no-wrap
18192 msgid ""
18193 " get-append\n"
18194 "\n"
18195 msgstr ""
18196
18197 # type: =head2
18198 #: ../fish/guestfish-actions.pod:1242
18199 msgid "get-autosync"
18200 msgstr ""
18201
18202 # type: verbatim
18203 #: ../fish/guestfish-actions.pod:1244
18204 #, no-wrap
18205 msgid ""
18206 " get-autosync\n"
18207 "\n"
18208 msgstr ""
18209
18210 # type: =head2
18211 #: ../fish/guestfish-actions.pod:1248
18212 msgid "get-direct"
18213 msgstr ""
18214
18215 # type: verbatim
18216 #: ../fish/guestfish-actions.pod:1250
18217 #, no-wrap
18218 msgid ""
18219 " get-direct\n"
18220 "\n"
18221 msgstr ""
18222
18223 # type: =head2
18224 #: ../fish/guestfish-actions.pod:1254
18225 msgid "get-e2label"
18226 msgstr ""
18227
18228 # type: verbatim
18229 #: ../fish/guestfish-actions.pod:1256
18230 #, no-wrap
18231 msgid ""
18232 " get-e2label device\n"
18233 "\n"
18234 msgstr ""
18235
18236 # type: =head2
18237 #: ../fish/guestfish-actions.pod:1268
18238 msgid "get-e2uuid"
18239 msgstr ""
18240
18241 # type: verbatim
18242 #: ../fish/guestfish-actions.pod:1270
18243 #, no-wrap
18244 msgid ""
18245 " get-e2uuid device\n"
18246 "\n"
18247 msgstr ""
18248
18249 # type: =head2
18250 #: ../fish/guestfish-actions.pod:1282
18251 msgid "get-memsize"
18252 msgstr ""
18253
18254 # type: verbatim
18255 #: ../fish/guestfish-actions.pod:1284
18256 #, no-wrap
18257 msgid ""
18258 " get-memsize\n"
18259 "\n"
18260 msgstr ""
18261
18262 # type: textblock
18263 #: ../fish/guestfish-actions.pod:1289
18264 msgid ""
18265 "If L</set-memsize> was not called on this handle, and if "
18266 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
18267 "value for memsize."
18268 msgstr ""
18269
18270 # type: =head2
18271 #: ../fish/guestfish-actions.pod:1296
18272 msgid "get-network"
18273 msgstr ""
18274
18275 # type: verbatim
18276 #: ../fish/guestfish-actions.pod:1298
18277 #, no-wrap
18278 msgid ""
18279 " get-network\n"
18280 "\n"
18281 msgstr ""
18282
18283 # type: =head2
18284 #: ../fish/guestfish-actions.pod:1302
18285 msgid "get-path"
18286 msgstr ""
18287
18288 # type: verbatim
18289 #: ../fish/guestfish-actions.pod:1304
18290 #, no-wrap
18291 msgid ""
18292 " get-path\n"
18293 "\n"
18294 msgstr ""
18295
18296 # type: =head2
18297 #: ../fish/guestfish-actions.pod:1311
18298 msgid "get-pid"
18299 msgstr ""
18300
18301 # type: =head2
18302 #: ../fish/guestfish-actions.pod:1313
18303 msgid "pid"
18304 msgstr ""
18305
18306 # type: verbatim
18307 #: ../fish/guestfish-actions.pod:1315
18308 #, no-wrap
18309 msgid ""
18310 " get-pid\n"
18311 "\n"
18312 msgstr ""
18313
18314 # type: =head2
18315 #: ../fish/guestfish-actions.pod:1322
18316 msgid "get-qemu"
18317 msgstr ""
18318
18319 # type: verbatim
18320 #: ../fish/guestfish-actions.pod:1324
18321 #, no-wrap
18322 msgid ""
18323 " get-qemu\n"
18324 "\n"
18325 msgstr ""
18326
18327 # type: =head2
18328 #: ../fish/guestfish-actions.pod:1331
18329 msgid "get-recovery-proc"
18330 msgstr ""
18331
18332 # type: verbatim
18333 #: ../fish/guestfish-actions.pod:1333
18334 #, no-wrap
18335 msgid ""
18336 " get-recovery-proc\n"
18337 "\n"
18338 msgstr ""
18339
18340 # type: =head2
18341 #: ../fish/guestfish-actions.pod:1337
18342 msgid "get-selinux"
18343 msgstr ""
18344
18345 # type: verbatim
18346 #: ../fish/guestfish-actions.pod:1339
18347 #, no-wrap
18348 msgid ""
18349 " get-selinux\n"
18350 "\n"
18351 msgstr ""
18352
18353 # type: textblock
18354 #: ../fish/guestfish-actions.pod:1341
18355 msgid ""
18356 "This returns the current setting of the selinux flag which is passed to the "
18357 "appliance at boot time.  See L</set-selinux>."
18358 msgstr ""
18359
18360 # type: =head2
18361 #: ../fish/guestfish-actions.pod:1347
18362 msgid "get-state"
18363 msgstr ""
18364
18365 # type: verbatim
18366 #: ../fish/guestfish-actions.pod:1349
18367 #, no-wrap
18368 msgid ""
18369 " get-state\n"
18370 "\n"
18371 msgstr ""
18372
18373 # type: =head2
18374 #: ../fish/guestfish-actions.pod:1356
18375 msgid "get-trace"
18376 msgstr ""
18377
18378 # type: verbatim
18379 #: ../fish/guestfish-actions.pod:1358
18380 #, no-wrap
18381 msgid ""
18382 " get-trace\n"
18383 "\n"
18384 msgstr ""
18385
18386 # type: =head2
18387 #: ../fish/guestfish-actions.pod:1362
18388 msgid "get-umask"
18389 msgstr ""
18390
18391 # type: verbatim
18392 #: ../fish/guestfish-actions.pod:1364
18393 #, no-wrap
18394 msgid ""
18395 " get-umask\n"
18396 "\n"
18397 msgstr ""
18398
18399 # type: textblock
18400 #: ../fish/guestfish-actions.pod:1366
18401 msgid ""
18402 "Return the current umask.  By default the umask is C<022> unless it has been "
18403 "set by calling L</umask>."
18404 msgstr ""
18405
18406 # type: =head2
18407 #: ../fish/guestfish-actions.pod:1369
18408 msgid "get-verbose"
18409 msgstr ""
18410
18411 # type: verbatim
18412 #: ../fish/guestfish-actions.pod:1371
18413 #, no-wrap
18414 msgid ""
18415 " get-verbose\n"
18416 "\n"
18417 msgstr ""
18418
18419 # type: =head2
18420 #: ../fish/guestfish-actions.pod:1375
18421 msgid "getcon"
18422 msgstr ""
18423
18424 # type: verbatim
18425 #: ../fish/guestfish-actions.pod:1377
18426 #, no-wrap
18427 msgid ""
18428 " getcon\n"
18429 "\n"
18430 msgstr ""
18431
18432 # type: textblock
18433 #: ../fish/guestfish-actions.pod:1381
18434 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
18435 msgstr ""
18436
18437 # type: =head2
18438 #: ../fish/guestfish-actions.pod:1384
18439 msgid "getxattrs"
18440 msgstr ""
18441
18442 # type: verbatim
18443 #: ../fish/guestfish-actions.pod:1386
18444 #, no-wrap
18445 msgid ""
18446 " getxattrs path\n"
18447 "\n"
18448 msgstr ""
18449
18450 # type: textblock
18451 #: ../fish/guestfish-actions.pod:1394
18452 msgid "See also: L</lgetxattrs>, L<attr(5)>."
18453 msgstr ""
18454
18455 # type: =head2
18456 #: ../fish/guestfish-actions.pod:1396
18457 msgid "glob-expand"
18458 msgstr ""
18459
18460 # type: verbatim
18461 #: ../fish/guestfish-actions.pod:1398
18462 #, no-wrap
18463 msgid ""
18464 " glob-expand pattern\n"
18465 "\n"
18466 msgstr ""
18467
18468 # type: =head2
18469 #: ../fish/guestfish-actions.pod:1411
18470 msgid "grep"
18471 msgstr ""
18472
18473 # type: verbatim
18474 #: ../fish/guestfish-actions.pod:1413
18475 #, no-wrap
18476 msgid ""
18477 " grep regex path\n"
18478 "\n"
18479 msgstr ""
18480
18481 # type: =head2
18482 #: ../fish/guestfish-actions.pod:1421
18483 msgid "grepi"
18484 msgstr ""
18485
18486 # type: verbatim
18487 #: ../fish/guestfish-actions.pod:1423
18488 #, no-wrap
18489 msgid ""
18490 " grepi regex path\n"
18491 "\n"
18492 msgstr ""
18493
18494 # type: =head2
18495 #: ../fish/guestfish-actions.pod:1431
18496 msgid "grub-install"
18497 msgstr ""
18498
18499 # type: verbatim
18500 #: ../fish/guestfish-actions.pod:1433
18501 #, no-wrap
18502 msgid ""
18503 " grub-install root device\n"
18504 "\n"
18505 msgstr ""
18506
18507 # type: =head2
18508 #: ../fish/guestfish-actions.pod:1449
18509 msgid "head"
18510 msgstr ""
18511
18512 # type: verbatim
18513 #: ../fish/guestfish-actions.pod:1451
18514 #, no-wrap
18515 msgid ""
18516 " head path\n"
18517 "\n"
18518 msgstr ""
18519
18520 # type: =head2
18521 #: ../fish/guestfish-actions.pod:1459
18522 msgid "head-n"
18523 msgstr ""
18524
18525 # type: verbatim
18526 #: ../fish/guestfish-actions.pod:1461
18527 #, no-wrap
18528 msgid ""
18529 " head-n nrlines path\n"
18530 "\n"
18531 msgstr ""
18532
18533 # type: =head2
18534 #: ../fish/guestfish-actions.pod:1474
18535 msgid "hexdump"
18536 msgstr ""
18537
18538 # type: verbatim
18539 #: ../fish/guestfish-actions.pod:1476
18540 #, no-wrap
18541 msgid ""
18542 " hexdump path\n"
18543 "\n"
18544 msgstr ""
18545
18546 # type: =head2
18547 #: ../fish/guestfish-actions.pod:1484
18548 msgid "initrd-cat"
18549 msgstr ""
18550
18551 # type: verbatim
18552 #: ../fish/guestfish-actions.pod:1486
18553 #, no-wrap
18554 msgid ""
18555 " initrd-cat initrdpath filename\n"
18556 "\n"
18557 msgstr ""
18558
18559 # type: textblock
18560 #: ../fish/guestfish-actions.pod:1498
18561 msgid "See also L</initrd-list>."
18562 msgstr ""
18563
18564 # type: =head2
18565 #: ../fish/guestfish-actions.pod:1503
18566 msgid "initrd-list"
18567 msgstr ""
18568
18569 # type: verbatim
18570 #: ../fish/guestfish-actions.pod:1505
18571 #, no-wrap
18572 msgid ""
18573 " initrd-list path\n"
18574 "\n"
18575 msgstr ""
18576
18577 # type: =head2
18578 #: ../fish/guestfish-actions.pod:1517
18579 msgid "inotify-add-watch"
18580 msgstr ""
18581
18582 # type: verbatim
18583 #: ../fish/guestfish-actions.pod:1519
18584 #, no-wrap
18585 msgid ""
18586 " inotify-add-watch path mask\n"
18587 "\n"
18588 msgstr ""
18589
18590 # type: =head2
18591 #: ../fish/guestfish-actions.pod:1531
18592 msgid "inotify-close"
18593 msgstr ""
18594
18595 # type: verbatim
18596 #: ../fish/guestfish-actions.pod:1533
18597 #, no-wrap
18598 msgid ""
18599 " inotify-close\n"
18600 "\n"
18601 msgstr ""
18602
18603 # type: =head2
18604 #: ../fish/guestfish-actions.pod:1539
18605 msgid "inotify-files"
18606 msgstr ""
18607
18608 # type: verbatim
18609 #: ../fish/guestfish-actions.pod:1541
18610 #, no-wrap
18611 msgid ""
18612 " inotify-files\n"
18613 "\n"
18614 msgstr ""
18615
18616 # type: textblock
18617 #: ../fish/guestfish-actions.pod:1543
18618 msgid ""
18619 "This function is a helpful wrapper around L</inotify-read> which just "
18620 "returns a list of pathnames of objects that were touched.  The returned "
18621 "pathnames are sorted and deduplicated."
18622 msgstr ""
18623
18624 # type: =head2
18625 #: ../fish/guestfish-actions.pod:1547
18626 msgid "inotify-init"
18627 msgstr ""
18628
18629 # type: verbatim
18630 #: ../fish/guestfish-actions.pod:1549
18631 #, no-wrap
18632 msgid ""
18633 " inotify-init maxevents\n"
18634 "\n"
18635 msgstr ""
18636
18637 # type: textblock
18638 #: ../fish/guestfish-actions.pod:1555
18639 msgid ""
18640 "C<maxevents> is the maximum number of events which will be queued up between "
18641 "calls to L</inotify-read> or L</inotify-files>.  If this is passed as C<0>, "
18642 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
18643 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
18644 "but records the fact that it threw them away by setting a flag "
18645 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
18646 msgstr ""
18647
18648 # type: textblock
18649 #: ../fish/guestfish-actions.pod:1565
18650 msgid ""
18651 "Before any events are generated, you have to add some watches to the "
18652 "internal watch list.  See: L</inotify-add-watch>, L</inotify-rm-watch> and "
18653 "L</inotify-watch-all>."
18654 msgstr ""
18655
18656 # type: textblock
18657 #: ../fish/guestfish-actions.pod:1571
18658 msgid ""
18659 "Queued up events should be read periodically by calling L</inotify-read> (or "
18660 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>).  "
18661 "If you don't read the events out often enough then you risk the internal "
18662 "queue overflowing."
18663 msgstr ""
18664
18665 # type: textblock
18666 #: ../fish/guestfish-actions.pod:1578
18667 msgid ""
18668 "The handle should be closed after use by calling L</inotify-close>.  This "
18669 "also removes any watches automatically."
18670 msgstr ""
18671
18672 # type: =head2
18673 #: ../fish/guestfish-actions.pod:1587
18674 msgid "inotify-read"
18675 msgstr ""
18676
18677 # type: verbatim
18678 #: ../fish/guestfish-actions.pod:1589
18679 #, no-wrap
18680 msgid ""
18681 " inotify-read\n"
18682 "\n"
18683 msgstr ""
18684
18685 # type: =head2
18686 #: ../fish/guestfish-actions.pod:1602
18687 msgid "inotify-rm-watch"
18688 msgstr ""
18689
18690 # type: verbatim
18691 #: ../fish/guestfish-actions.pod:1604
18692 #, no-wrap
18693 msgid ""
18694 " inotify-rm-watch wd\n"
18695 "\n"
18696 msgstr ""
18697
18698 # type: textblock
18699 #: ../fish/guestfish-actions.pod:1606
18700 msgid "Remove a previously defined inotify watch.  See L</inotify-add-watch>."
18701 msgstr ""
18702
18703 # type: =head2
18704 #: ../fish/guestfish-actions.pod:1609
18705 msgid "inspect-get-arch"
18706 msgstr ""
18707
18708 # type: verbatim
18709 #: ../fish/guestfish-actions.pod:1611
18710 #, no-wrap
18711 msgid ""
18712 " inspect-get-arch root\n"
18713 "\n"
18714 msgstr ""
18715
18716 # type: textblock
18717 #: ../fish/guestfish-actions.pod:1613 ../fish/guestfish-actions.pod:1629
18718 #: ../fish/guestfish-actions.pod:1675 ../fish/guestfish-actions.pod:1693
18719 #: ../fish/guestfish-actions.pod:1714 ../fish/guestfish-actions.pod:1729
18720 #: ../fish/guestfish-actions.pod:1752 ../fish/guestfish-actions.pod:1769
18721 msgid ""
18722 "This function should only be called with a root device string as returned by "
18723 "L</inspect-os>."
18724 msgstr ""
18725
18726 # type: textblock
18727 #: ../fish/guestfish-actions.pod:1616
18728 msgid ""
18729 "This returns the architecture of the inspected operating system.  The "
18730 "possible return values are listed under L</file-architecture>."
18731 msgstr ""
18732
18733 # type: =head2
18734 #: ../fish/guestfish-actions.pod:1625
18735 msgid "inspect-get-distro"
18736 msgstr ""
18737
18738 # type: verbatim
18739 #: ../fish/guestfish-actions.pod:1627
18740 #, no-wrap
18741 msgid ""
18742 " inspect-get-distro root\n"
18743 "\n"
18744 msgstr ""
18745
18746 # type: =head2
18747 #: ../fish/guestfish-actions.pod:1671
18748 msgid "inspect-get-filesystems"
18749 msgstr ""
18750
18751 # type: verbatim
18752 #: ../fish/guestfish-actions.pod:1673
18753 #, no-wrap
18754 msgid ""
18755 " inspect-get-filesystems root\n"
18756 "\n"
18757 msgstr ""
18758
18759 # type: textblock
18760 #: ../fish/guestfish-actions.pod:1686
18761 msgid ""
18762 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18763 "get-mountpoints>."
18764 msgstr ""
18765
18766 # type: =head2
18767 #: ../fish/guestfish-actions.pod:1689
18768 msgid "inspect-get-major-version"
18769 msgstr ""
18770
18771 # type: verbatim
18772 #: ../fish/guestfish-actions.pod:1691
18773 #, no-wrap
18774 msgid ""
18775 " inspect-get-major-version root\n"
18776 "\n"
18777 msgstr ""
18778
18779 # type: =head2
18780 #: ../fish/guestfish-actions.pod:1710
18781 msgid "inspect-get-minor-version"
18782 msgstr ""
18783
18784 # type: verbatim
18785 #: ../fish/guestfish-actions.pod:1712
18786 #, no-wrap
18787 msgid ""
18788 " inspect-get-minor-version root\n"
18789 "\n"
18790 msgstr ""
18791
18792 # type: textblock
18793 #: ../fish/guestfish-actions.pod:1722
18794 msgid ""
18795 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18796 "get-major-version>."
18797 msgstr ""
18798
18799 # type: =head2
18800 #: ../fish/guestfish-actions.pod:1725
18801 msgid "inspect-get-mountpoints"
18802 msgstr ""
18803
18804 # type: verbatim
18805 #: ../fish/guestfish-actions.pod:1727
18806 #, no-wrap
18807 msgid ""
18808 " inspect-get-mountpoints root\n"
18809 "\n"
18810 msgstr ""
18811
18812 # type: textblock
18813 #: ../fish/guestfish-actions.pod:1745
18814 msgid ""
18815 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18816 "get-filesystems>."
18817 msgstr ""
18818
18819 # type: =head2
18820 #: ../fish/guestfish-actions.pod:1748
18821 msgid "inspect-get-product-name"
18822 msgstr ""
18823
18824 # type: verbatim
18825 #: ../fish/guestfish-actions.pod:1750
18826 #, no-wrap
18827 msgid ""
18828 " inspect-get-product-name root\n"
18829 "\n"
18830 msgstr ""
18831
18832 # type: =head2
18833 #: ../fish/guestfish-actions.pod:1765
18834 msgid "inspect-get-type"
18835 msgstr ""
18836
18837 # type: verbatim
18838 #: ../fish/guestfish-actions.pod:1767
18839 #, no-wrap
18840 msgid ""
18841 " inspect-get-type root\n"
18842 "\n"
18843 msgstr ""
18844
18845 # type: =head2
18846 #: ../fish/guestfish-actions.pod:1796
18847 msgid "inspect-os"
18848 msgstr ""
18849
18850 # type: verbatim
18851 #: ../fish/guestfish-actions.pod:1798
18852 #, no-wrap
18853 msgid ""
18854 " inspect-os\n"
18855 "\n"
18856 msgstr ""
18857
18858 # type: textblock
18859 #: ../fish/guestfish-actions.pod:1813
18860 msgid ""
18861 "You can pass the root string(s) returned to other L</inspect-get-*> "
18862 "functions in order to query further information about each operating system, "
18863 "such as the name and version."
18864 msgstr ""
18865
18866 # type: textblock
18867 #: ../fish/guestfish-actions.pod:1818
18868 msgid ""
18869 "This function uses other libguestfs features such as L</mount-ro> and L</"
18870 "umount-all> in order to mount and unmount filesystems and look at the "
18871 "contents.  This should be called with no disks currently mounted.  The "
18872 "function may also use Augeas, so any existing Augeas handle will be closed."
18873 msgstr ""
18874
18875 # type: textblock
18876 #: ../fish/guestfish-actions.pod:1830 ../fish/guestfish-actions.pod:1986
18877 #: ../fish/guestfish-actions.pod:2032
18878 msgid "See also L</list-filesystems>."
18879 msgstr ""
18880
18881 # type: =head2
18882 #: ../fish/guestfish-actions.pod:1832
18883 msgid "is-blockdev"
18884 msgstr ""
18885
18886 # type: verbatim
18887 #: ../fish/guestfish-actions.pod:1834
18888 #, no-wrap
18889 msgid ""
18890 " is-blockdev path\n"
18891 "\n"
18892 msgstr ""
18893
18894 # type: textblock
18895 #: ../fish/guestfish-actions.pod:1839 ../fish/guestfish-actions.pod:1857
18896 #: ../fish/guestfish-actions.pod:1876 ../fish/guestfish-actions.pod:1885
18897 #: ../fish/guestfish-actions.pod:1895 ../fish/guestfish-actions.pod:1929
18898 #: ../fish/guestfish-actions.pod:1938
18899 msgid "See also L</stat>."
18900 msgstr ""
18901
18902 # type: =head2
18903 #: ../fish/guestfish-actions.pod:1841
18904 msgid "is-busy"
18905 msgstr ""
18906
18907 # type: verbatim
18908 #: ../fish/guestfish-actions.pod:1843
18909 #, no-wrap
18910 msgid ""
18911 " is-busy\n"
18912 "\n"
18913 msgstr ""
18914
18915 # type: =head2
18916 #: ../fish/guestfish-actions.pod:1850
18917 msgid "is-chardev"
18918 msgstr ""
18919
18920 # type: verbatim
18921 #: ../fish/guestfish-actions.pod:1852
18922 #, no-wrap
18923 msgid ""
18924 " is-chardev path\n"
18925 "\n"
18926 msgstr ""
18927
18928 # type: =head2
18929 #: ../fish/guestfish-actions.pod:1859
18930 msgid "is-config"
18931 msgstr ""
18932
18933 # type: verbatim
18934 #: ../fish/guestfish-actions.pod:1861
18935 #, no-wrap
18936 msgid ""
18937 " is-config\n"
18938 "\n"
18939 msgstr ""
18940
18941 # type: =head2
18942 #: ../fish/guestfish-actions.pod:1868
18943 msgid "is-dir"
18944 msgstr ""
18945
18946 # type: verbatim
18947 #: ../fish/guestfish-actions.pod:1870
18948 #, no-wrap
18949 msgid ""
18950 " is-dir path\n"
18951 "\n"
18952 msgstr ""
18953
18954 # type: =head2
18955 #: ../fish/guestfish-actions.pod:1878
18956 msgid "is-fifo"
18957 msgstr ""
18958
18959 # type: verbatim
18960 #: ../fish/guestfish-actions.pod:1880
18961 #, no-wrap
18962 msgid ""
18963 " is-fifo path\n"
18964 "\n"
18965 msgstr ""
18966
18967 # type: =head2
18968 #: ../fish/guestfish-actions.pod:1887
18969 msgid "is-file"
18970 msgstr ""
18971
18972 # type: verbatim
18973 #: ../fish/guestfish-actions.pod:1889
18974 #, no-wrap
18975 msgid ""
18976 " is-file path\n"
18977 "\n"
18978 msgstr ""
18979
18980 # type: =head2
18981 #: ../fish/guestfish-actions.pod:1897
18982 msgid "is-launching"
18983 msgstr ""
18984
18985 # type: verbatim
18986 #: ../fish/guestfish-actions.pod:1899
18987 #, no-wrap
18988 msgid ""
18989 " is-launching\n"
18990 "\n"
18991 msgstr ""
18992
18993 # type: =head2
18994 #: ../fish/guestfish-actions.pod:1906
18995 msgid "is-lv"
18996 msgstr ""
18997
18998 # type: verbatim
18999 #: ../fish/guestfish-actions.pod:1908
19000 #, no-wrap
19001 msgid ""
19002 " is-lv device\n"
19003 "\n"
19004 msgstr ""
19005
19006 # type: =head2
19007 #: ../fish/guestfish-actions.pod:1913
19008 msgid "is-ready"
19009 msgstr ""
19010
19011 # type: verbatim
19012 #: ../fish/guestfish-actions.pod:1915
19013 #, no-wrap
19014 msgid ""
19015 " is-ready\n"
19016 "\n"
19017 msgstr ""
19018
19019 # type: =head2
19020 #: ../fish/guestfish-actions.pod:1922
19021 msgid "is-socket"
19022 msgstr ""
19023
19024 # type: verbatim
19025 #: ../fish/guestfish-actions.pod:1924
19026 #, no-wrap
19027 msgid ""
19028 " is-socket path\n"
19029 "\n"
19030 msgstr ""
19031
19032 # type: =head2
19033 #: ../fish/guestfish-actions.pod:1931
19034 msgid "is-symlink"
19035 msgstr ""
19036
19037 # type: verbatim
19038 #: ../fish/guestfish-actions.pod:1933
19039 #, no-wrap
19040 msgid ""
19041 " is-symlink path\n"
19042 "\n"
19043 msgstr ""
19044
19045 # type: =head2
19046 #: ../fish/guestfish-actions.pod:1940
19047 msgid "kill-subprocess"
19048 msgstr ""
19049
19050 # type: verbatim
19051 #: ../fish/guestfish-actions.pod:1942
19052 #, no-wrap
19053 msgid ""
19054 " kill-subprocess\n"
19055 "\n"
19056 msgstr ""
19057
19058 # type: =head2
19059 #: ../fish/guestfish-actions.pod:1946
19060 msgid "launch"
19061 msgstr ""
19062
19063 # type: =head2
19064 #: ../fish/guestfish-actions.pod:1948
19065 msgid "run"
19066 msgstr ""
19067
19068 # type: verbatim
19069 #: ../fish/guestfish-actions.pod:1950
19070 #, no-wrap
19071 msgid ""
19072 " launch\n"
19073 "\n"
19074 msgstr ""
19075
19076 # type: =head2
19077 #: ../fish/guestfish-actions.pod:1958
19078 msgid "lchown"
19079 msgstr ""
19080
19081 # type: verbatim
19082 #: ../fish/guestfish-actions.pod:1960
19083 #, no-wrap
19084 msgid ""
19085 " lchown owner group path\n"
19086 "\n"
19087 msgstr ""
19088
19089 # type: textblock
19090 #: ../fish/guestfish-actions.pod:1962
19091 msgid ""
19092 "Change the file owner to C<owner> and group to C<group>.  This is like L</"
19093 "chown> but if C<path> is a symlink then the link itself is changed, not the "
19094 "target."
19095 msgstr ""
19096
19097 # type: =head2
19098 #: ../fish/guestfish-actions.pod:1970
19099 msgid "lgetxattrs"
19100 msgstr ""
19101
19102 # type: verbatim
19103 #: ../fish/guestfish-actions.pod:1972
19104 #, no-wrap
19105 msgid ""
19106 " lgetxattrs path\n"
19107 "\n"
19108 msgstr ""
19109
19110 # type: textblock
19111 #: ../fish/guestfish-actions.pod:1974
19112 msgid ""
19113 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
19114 "it returns the extended attributes of the link itself."
19115 msgstr ""
19116
19117 # type: =head2
19118 #: ../fish/guestfish-actions.pod:1978
19119 msgid "list-devices"
19120 msgstr ""
19121
19122 # type: verbatim
19123 #: ../fish/guestfish-actions.pod:1980
19124 #, no-wrap
19125 msgid ""
19126 " list-devices\n"
19127 "\n"
19128 msgstr ""
19129
19130 # type: =head2
19131 #: ../fish/guestfish-actions.pod:1988
19132 msgid "list-filesystems"
19133 msgstr ""
19134
19135 # type: verbatim
19136 #: ../fish/guestfish-actions.pod:1990
19137 #, no-wrap
19138 msgid ""
19139 " list-filesystems\n"
19140 "\n"
19141 msgstr ""
19142
19143 # type: textblock
19144 #: ../fish/guestfish-actions.pod:2009
19145 msgid ""
19146 "This command runs other libguestfs commands, which might include L</mount> "
19147 "and L</umount>, and therefore you should use this soon after launch and only "
19148 "when nothing is mounted."
19149 msgstr ""
19150
19151 # type: textblock
19152 #: ../fish/guestfish-actions.pod:2013
19153 msgid ""
19154 "Not all of the filesystems returned will be mountable.  In particular, swap "
19155 "partitions are returned in the list.  Also this command does not check that "
19156 "each filesystem found is valid and mountable, and some filesystems might be "
19157 "mountable but require special options.  Filesystems may not all belong to a "
19158 "single logical operating system (use L</inspect-os> to look for OSes)."
19159 msgstr ""
19160
19161 # type: =head2
19162 #: ../fish/guestfish-actions.pod:2021
19163 msgid "list-partitions"
19164 msgstr ""
19165
19166 # type: verbatim
19167 #: ../fish/guestfish-actions.pod:2023
19168 #, no-wrap
19169 msgid ""
19170 " list-partitions\n"
19171 "\n"
19172 msgstr ""
19173
19174 # type: textblock
19175 #: ../fish/guestfish-actions.pod:2029
19176 msgid ""
19177 "This does not return logical volumes.  For that you will need to call L</"
19178 "lvs>."
19179 msgstr ""
19180
19181 # type: =head2
19182 #: ../fish/guestfish-actions.pod:2034
19183 msgid "ll"
19184 msgstr ""
19185
19186 # type: verbatim
19187 #: ../fish/guestfish-actions.pod:2036
19188 #, no-wrap
19189 msgid ""
19190 " ll directory\n"
19191 "\n"
19192 msgstr ""
19193
19194 # type: =head2
19195 #: ../fish/guestfish-actions.pod:2044
19196 msgid "ln"
19197 msgstr ""
19198
19199 # type: verbatim
19200 #: ../fish/guestfish-actions.pod:2046
19201 #, no-wrap
19202 msgid ""
19203 " ln target linkname\n"
19204 "\n"
19205 msgstr ""
19206
19207 # type: =head2
19208 #: ../fish/guestfish-actions.pod:2050
19209 msgid "ln-f"
19210 msgstr ""
19211
19212 # type: verbatim
19213 #: ../fish/guestfish-actions.pod:2052
19214 #, no-wrap
19215 msgid ""
19216 " ln-f target linkname\n"
19217 "\n"
19218 msgstr ""
19219
19220 # type: =head2
19221 #: ../fish/guestfish-actions.pod:2057
19222 msgid "ln-s"
19223 msgstr ""
19224
19225 # type: verbatim
19226 #: ../fish/guestfish-actions.pod:2059
19227 #, no-wrap
19228 msgid ""
19229 " ln-s target linkname\n"
19230 "\n"
19231 msgstr ""
19232
19233 # type: =head2
19234 #: ../fish/guestfish-actions.pod:2063
19235 msgid "ln-sf"
19236 msgstr ""
19237
19238 # type: verbatim
19239 #: ../fish/guestfish-actions.pod:2065
19240 #, no-wrap
19241 msgid ""
19242 " ln-sf target linkname\n"
19243 "\n"
19244 msgstr ""
19245
19246 # type: =head2
19247 #: ../fish/guestfish-actions.pod:2070
19248 msgid "lremovexattr"
19249 msgstr ""
19250
19251 # type: verbatim
19252 #: ../fish/guestfish-actions.pod:2072
19253 #, no-wrap
19254 msgid ""
19255 " lremovexattr xattr path\n"
19256 "\n"
19257 msgstr ""
19258
19259 # type: textblock
19260 #: ../fish/guestfish-actions.pod:2074
19261 msgid ""
19262 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
19263 "it removes an extended attribute of the link itself."
19264 msgstr ""
19265
19266 # type: =head2
19267 #: ../fish/guestfish-actions.pod:2078
19268 msgid "ls"
19269 msgstr ""
19270
19271 # type: verbatim
19272 #: ../fish/guestfish-actions.pod:2080
19273 #, no-wrap
19274 msgid ""
19275 " ls directory\n"
19276 "\n"
19277 msgstr ""
19278
19279 # type: textblock
19280 #: ../fish/guestfish-actions.pod:2086
19281 msgid ""
19282 "This command is mostly useful for interactive sessions.  Programs should "
19283 "probably use L</readdir> instead."
19284 msgstr ""
19285
19286 # type: =head2
19287 #: ../fish/guestfish-actions.pod:2089
19288 msgid "lsetxattr"
19289 msgstr ""
19290
19291 # type: verbatim
19292 #: ../fish/guestfish-actions.pod:2091
19293 #, no-wrap
19294 msgid ""
19295 " lsetxattr xattr val vallen path\n"
19296 "\n"
19297 msgstr ""
19298
19299 # type: textblock
19300 #: ../fish/guestfish-actions.pod:2093
19301 msgid ""
19302 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
19303 "sets an extended attribute of the link itself."
19304 msgstr ""
19305
19306 # type: =head2
19307 #: ../fish/guestfish-actions.pod:2097
19308 msgid "lstat"
19309 msgstr ""
19310
19311 # type: verbatim
19312 #: ../fish/guestfish-actions.pod:2099
19313 #, no-wrap
19314 msgid ""
19315 " lstat path\n"
19316 "\n"
19317 msgstr ""
19318
19319 # type: textblock
19320 #: ../fish/guestfish-actions.pod:2103
19321 msgid ""
19322 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
19323 "the link is stat-ed, not the file it refers to."
19324 msgstr ""
19325
19326 # type: =head2
19327 #: ../fish/guestfish-actions.pod:2109
19328 msgid "lstatlist"
19329 msgstr ""
19330
19331 # type: verbatim
19332 #: ../fish/guestfish-actions.pod:2111
19333 #, no-wrap
19334 msgid ""
19335 " lstatlist path 'names ...'\n"
19336 "\n"
19337 msgstr ""
19338
19339 # type: textblock
19340 #: ../fish/guestfish-actions.pod:2113
19341 msgid ""
19342 "This call allows you to perform the L</lstat> operation on multiple files, "
19343 "where all files are in the directory C<path>.  C<names> is the list of files "
19344 "from this directory."
19345 msgstr ""
19346
19347 # type: textblock
19348 #: ../fish/guestfish-actions.pod:2122
19349 msgid ""
19350 "This call is intended for programs that want to efficiently list a directory "
19351 "contents without making many round-trips.  See also L</lxattrlist> for a "
19352 "similarly efficient call for getting extended attributes.  Very long "
19353 "directory listings might cause the protocol message size to be exceeded, "
19354 "causing this call to fail.  The caller must split up such requests into "
19355 "smaller groups of names."
19356 msgstr ""
19357
19358 # type: =head2
19359 #: ../fish/guestfish-actions.pod:2130
19360 msgid "luks-add-key"
19361 msgstr ""
19362
19363 # type: verbatim
19364 #: ../fish/guestfish-actions.pod:2132
19365 #, no-wrap
19366 msgid ""
19367 " luks-add-key device keyslot\n"
19368 "\n"
19369 msgstr ""
19370
19371 # type: textblock
19372 #: ../fish/guestfish-actions.pod:2139
19373 msgid ""
19374 "Note that if C<keyslot> already contains a key, then this command will "
19375 "fail.  You have to use L</luks-kill-slot> first to remove that key."
19376 msgstr ""
19377
19378 # type: textblock
19379 #: ../fish/guestfish-actions.pod:2143 ../fish/guestfish-actions.pod:2165
19380 #: ../fish/guestfish-actions.pod:2178 ../fish/guestfish-actions.pod:2192
19381 #: ../fish/guestfish-actions.pod:2215 ../fish/guestfish-actions.pod:2225
19382 msgid ""
19383 "This command has one or more key or passphrase parameters.  Guestfish will "
19384 "prompt for these separately."
19385 msgstr ""
19386
19387 # type: =head2
19388 #: ../fish/guestfish-actions.pod:2146
19389 msgid "luks-close"
19390 msgstr ""
19391
19392 # type: verbatim
19393 #: ../fish/guestfish-actions.pod:2148
19394 #, no-wrap
19395 msgid ""
19396 " luks-close device\n"
19397 "\n"
19398 msgstr ""
19399
19400 # type: textblock
19401 #: ../fish/guestfish-actions.pod:2150
19402 msgid ""
19403 "This closes a LUKS device that was created earlier by L</luks-open> or L</"
19404 "luks-open-ro>.  The C<device> parameter must be the name of the LUKS mapping "
19405 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
19406 "block device."
19407 msgstr ""
19408
19409 # type: =head2
19410 #: ../fish/guestfish-actions.pod:2156
19411 msgid "luks-format"
19412 msgstr ""
19413
19414 # type: verbatim
19415 #: ../fish/guestfish-actions.pod:2158
19416 #, no-wrap
19417 msgid ""
19418 " luks-format device keyslot\n"
19419 "\n"
19420 msgstr ""
19421
19422 # type: =head2
19423 #: ../fish/guestfish-actions.pod:2171
19424 msgid "luks-format-cipher"
19425 msgstr ""
19426
19427 # type: verbatim
19428 #: ../fish/guestfish-actions.pod:2173
19429 #, no-wrap
19430 msgid ""
19431 " luks-format-cipher device keyslot cipher\n"
19432 "\n"
19433 msgstr ""
19434
19435 # type: textblock
19436 #: ../fish/guestfish-actions.pod:2175
19437 msgid ""
19438 "This command is the same as L</luks-format> but it also allows you to set "
19439 "the C<cipher> used."
19440 msgstr ""
19441
19442 # type: =head2
19443 #: ../fish/guestfish-actions.pod:2184
19444 msgid "luks-kill-slot"
19445 msgstr ""
19446
19447 # type: verbatim
19448 #: ../fish/guestfish-actions.pod:2186
19449 #, no-wrap
19450 msgid ""
19451 " luks-kill-slot device keyslot\n"
19452 "\n"
19453 msgstr ""
19454
19455 # type: =head2
19456 #: ../fish/guestfish-actions.pod:2195
19457 msgid "luks-open"
19458 msgstr ""
19459
19460 # type: verbatim
19461 #: ../fish/guestfish-actions.pod:2197
19462 #, no-wrap
19463 msgid ""
19464 " luks-open device mapname\n"
19465 "\n"
19466 msgstr ""
19467
19468 # type: textblock
19469 #: ../fish/guestfish-actions.pod:2211
19470 msgid ""
19471 "If this block device contains LVM volume groups, then calling L</vgscan> "
19472 "followed by L</vg-activate-all> will make them visible."
19473 msgstr ""
19474
19475 # type: =head2
19476 #: ../fish/guestfish-actions.pod:2218
19477 msgid "luks-open-ro"
19478 msgstr ""
19479
19480 # type: verbatim
19481 #: ../fish/guestfish-actions.pod:2220
19482 #, no-wrap
19483 msgid ""
19484 " luks-open-ro device mapname\n"
19485 "\n"
19486 msgstr ""
19487
19488 # type: textblock
19489 #: ../fish/guestfish-actions.pod:2222
19490 msgid ""
19491 "This is the same as L</luks-open> except that a read-only mapping is created."
19492 msgstr ""
19493
19494 # type: =head2
19495 #: ../fish/guestfish-actions.pod:2228
19496 msgid "lvcreate"
19497 msgstr ""
19498
19499 # type: verbatim
19500 #: ../fish/guestfish-actions.pod:2230
19501 #, no-wrap
19502 msgid ""
19503 " lvcreate logvol volgroup mbytes\n"
19504 "\n"
19505 msgstr ""
19506
19507 # type: =head2
19508 #: ../fish/guestfish-actions.pod:2235
19509 msgid "lvm-clear-filter"
19510 msgstr ""
19511
19512 # type: verbatim
19513 #: ../fish/guestfish-actions.pod:2237
19514 #, no-wrap
19515 msgid ""
19516 " lvm-clear-filter\n"
19517 "\n"
19518 msgstr ""
19519
19520 # type: textblock
19521 #: ../fish/guestfish-actions.pod:2239
19522 msgid ""
19523 "This undoes the effect of L</lvm-set-filter>.  LVM will be able to see every "
19524 "block device."
19525 msgstr ""
19526
19527 # type: =head2
19528 #: ../fish/guestfish-actions.pod:2245
19529 msgid "lvm-remove-all"
19530 msgstr ""
19531
19532 # type: verbatim
19533 #: ../fish/guestfish-actions.pod:2247
19534 #, no-wrap
19535 msgid ""
19536 " lvm-remove-all\n"
19537 "\n"
19538 msgstr ""
19539
19540 # type: =head2
19541 #: ../fish/guestfish-actions.pod:2255
19542 msgid "lvm-set-filter"
19543 msgstr ""
19544
19545 # type: verbatim
19546 #: ../fish/guestfish-actions.pod:2257
19547 #, no-wrap
19548 msgid ""
19549 " lvm-set-filter 'devices ...'\n"
19550 "\n"
19551 msgstr ""
19552
19553 # type: =head2
19554 #: ../fish/guestfish-actions.pod:2282
19555 msgid "lvremove"
19556 msgstr ""
19557
19558 # type: verbatim
19559 #: ../fish/guestfish-actions.pod:2284
19560 #, no-wrap
19561 msgid ""
19562 " lvremove device\n"
19563 "\n"
19564 msgstr ""
19565
19566 # type: =head2
19567 #: ../fish/guestfish-actions.pod:2292
19568 msgid "lvrename"
19569 msgstr ""
19570
19571 # type: verbatim
19572 #: ../fish/guestfish-actions.pod:2294
19573 #, no-wrap
19574 msgid ""
19575 " lvrename logvol newlogvol\n"
19576 "\n"
19577 msgstr ""
19578
19579 # type: =head2
19580 #: ../fish/guestfish-actions.pod:2298
19581 msgid "lvresize"
19582 msgstr ""
19583
19584 # type: verbatim
19585 #: ../fish/guestfish-actions.pod:2300
19586 #, no-wrap
19587 msgid ""
19588 " lvresize device mbytes\n"
19589 "\n"
19590 msgstr ""
19591
19592 # type: =head2
19593 #: ../fish/guestfish-actions.pod:2306
19594 msgid "lvresize-free"
19595 msgstr ""
19596
19597 # type: verbatim
19598 #: ../fish/guestfish-actions.pod:2308
19599 #, no-wrap
19600 msgid ""
19601 " lvresize-free lv percent\n"
19602 "\n"
19603 msgstr ""
19604
19605 # type: =head2
19606 #: ../fish/guestfish-actions.pod:2316
19607 msgid "lvs"
19608 msgstr ""
19609
19610 # type: verbatim
19611 #: ../fish/guestfish-actions.pod:2318
19612 #, no-wrap
19613 msgid ""
19614 " lvs\n"
19615 "\n"
19616 msgstr ""
19617
19618 # type: textblock
19619 #: ../fish/guestfish-actions.pod:2326
19620 msgid "See also L</lvs-full>, L</list-filesystems>."
19621 msgstr ""
19622
19623 # type: =head2
19624 #: ../fish/guestfish-actions.pod:2328
19625 msgid "lvs-full"
19626 msgstr ""
19627
19628 # type: verbatim
19629 #: ../fish/guestfish-actions.pod:2330
19630 #, no-wrap
19631 msgid ""
19632 " lvs-full\n"
19633 "\n"
19634 msgstr ""
19635
19636 # type: =head2
19637 #: ../fish/guestfish-actions.pod:2335
19638 msgid "lvuuid"
19639 msgstr ""
19640
19641 # type: verbatim
19642 #: ../fish/guestfish-actions.pod:2337
19643 #, no-wrap
19644 msgid ""
19645 " lvuuid device\n"
19646 "\n"
19647 msgstr ""
19648
19649 # type: =head2
19650 #: ../fish/guestfish-actions.pod:2341
19651 msgid "lxattrlist"
19652 msgstr ""
19653
19654 # type: verbatim
19655 #: ../fish/guestfish-actions.pod:2343
19656 #, no-wrap
19657 msgid ""
19658 " lxattrlist path 'names ...'\n"
19659 "\n"
19660 msgstr ""
19661
19662 # type: textblock
19663 #: ../fish/guestfish-actions.pod:2359
19664 msgid ""
19665 "This call is intended for programs that want to efficiently list a directory "
19666 "contents without making many round-trips.  See also L</lstatlist> for a "
19667 "similarly efficient call for getting standard stats.  Very long directory "
19668 "listings might cause the protocol message size to be exceeded, causing this "
19669 "call to fail.  The caller must split up such requests into smaller groups of "
19670 "names."
19671 msgstr ""
19672
19673 # type: =head2
19674 #: ../fish/guestfish-actions.pod:2367
19675 msgid "mkdir"
19676 msgstr ""
19677
19678 # type: verbatim
19679 #: ../fish/guestfish-actions.pod:2369
19680 #, no-wrap
19681 msgid ""
19682 " mkdir path\n"
19683 "\n"
19684 msgstr ""
19685
19686 # type: =head2
19687 #: ../fish/guestfish-actions.pod:2373
19688 msgid "mkdir-mode"
19689 msgstr ""
19690
19691 # type: verbatim
19692 #: ../fish/guestfish-actions.pod:2375
19693 #, no-wrap
19694 msgid ""
19695 " mkdir-mode path mode\n"
19696 "\n"
19697 msgstr ""
19698
19699 # type: textblock
19700 #: ../fish/guestfish-actions.pod:2384
19701 msgid "See also L</mkdir>, L</umask>"
19702 msgstr ""
19703
19704 # type: =head2
19705 #: ../fish/guestfish-actions.pod:2386
19706 msgid "mkdir-p"
19707 msgstr ""
19708
19709 # type: verbatim
19710 #: ../fish/guestfish-actions.pod:2388
19711 #, no-wrap
19712 msgid ""
19713 " mkdir-p path\n"
19714 "\n"
19715 msgstr ""
19716
19717 # type: =head2
19718 #: ../fish/guestfish-actions.pod:2393
19719 msgid "mkdtemp"
19720 msgstr ""
19721
19722 # type: verbatim
19723 #: ../fish/guestfish-actions.pod:2395
19724 #, no-wrap
19725 msgid ""
19726 " mkdtemp template\n"
19727 "\n"
19728 msgstr ""
19729
19730 # type: =head2
19731 #: ../fish/guestfish-actions.pod:2416
19732 msgid "mke2fs-J"
19733 msgstr ""
19734
19735 # type: verbatim
19736 #: ../fish/guestfish-actions.pod:2418
19737 #, no-wrap
19738 msgid ""
19739 " mke2fs-J fstype blocksize device journal\n"
19740 "\n"
19741 msgstr ""
19742
19743 # type: textblock
19744 #: ../fish/guestfish-actions.pod:2426
19745 msgid "See also L</mke2journal>."
19746 msgstr ""
19747
19748 # type: =head2
19749 #: ../fish/guestfish-actions.pod:2428
19750 msgid "mke2fs-JL"
19751 msgstr ""
19752
19753 # type: verbatim
19754 #: ../fish/guestfish-actions.pod:2430
19755 #, no-wrap
19756 msgid ""
19757 " mke2fs-JL fstype blocksize device label\n"
19758 "\n"
19759 msgstr ""
19760
19761 # type: textblock
19762 #: ../fish/guestfish-actions.pod:2435
19763 msgid "See also L</mke2journal-L>."
19764 msgstr ""
19765
19766 # type: =head2
19767 #: ../fish/guestfish-actions.pod:2437
19768 msgid "mke2fs-JU"
19769 msgstr ""
19770
19771 # type: verbatim
19772 #: ../fish/guestfish-actions.pod:2439
19773 #, no-wrap
19774 msgid ""
19775 " mke2fs-JU fstype blocksize device uuid\n"
19776 "\n"
19777 msgstr ""
19778
19779 # type: textblock
19780 #: ../fish/guestfish-actions.pod:2444
19781 msgid "See also L</mke2journal-U>."
19782 msgstr ""
19783
19784 # type: =head2
19785 #: ../fish/guestfish-actions.pod:2446
19786 msgid "mke2journal"
19787 msgstr ""
19788
19789 # type: verbatim
19790 #: ../fish/guestfish-actions.pod:2448
19791 #, no-wrap
19792 msgid ""
19793 " mke2journal blocksize device\n"
19794 "\n"
19795 msgstr ""
19796
19797 # type: =head2
19798 #: ../fish/guestfish-actions.pod:2455
19799 msgid "mke2journal-L"
19800 msgstr ""
19801
19802 # type: verbatim
19803 #: ../fish/guestfish-actions.pod:2457
19804 #, no-wrap
19805 msgid ""
19806 " mke2journal-L blocksize label device\n"
19807 "\n"
19808 msgstr ""
19809
19810 # type: =head2
19811 #: ../fish/guestfish-actions.pod:2461
19812 msgid "mke2journal-U"
19813 msgstr ""
19814
19815 # type: verbatim
19816 #: ../fish/guestfish-actions.pod:2463
19817 #, no-wrap
19818 msgid ""
19819 " mke2journal-U blocksize uuid device\n"
19820 "\n"
19821 msgstr ""
19822
19823 # type: =head2
19824 #: ../fish/guestfish-actions.pod:2467
19825 msgid "mkfifo"
19826 msgstr ""
19827
19828 # type: verbatim
19829 #: ../fish/guestfish-actions.pod:2469
19830 #, no-wrap
19831 msgid ""
19832 " mkfifo mode path\n"
19833 "\n"
19834 msgstr ""
19835
19836 # type: textblock
19837 #: ../fish/guestfish-actions.pod:2471
19838 msgid ""
19839 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
19840 "is just a convenient wrapper around L</mknod>."
19841 msgstr ""
19842
19843 # type: =head2
19844 #: ../fish/guestfish-actions.pod:2477
19845 msgid "mkfs"
19846 msgstr ""
19847
19848 # type: verbatim
19849 #: ../fish/guestfish-actions.pod:2479
19850 #, no-wrap
19851 msgid ""
19852 " mkfs fstype device\n"
19853 "\n"
19854 msgstr ""
19855
19856 # type: =head2
19857 #: ../fish/guestfish-actions.pod:2485
19858 msgid "mkfs-b"
19859 msgstr ""
19860
19861 # type: verbatim
19862 #: ../fish/guestfish-actions.pod:2487
19863 #, no-wrap
19864 msgid ""
19865 " mkfs-b fstype blocksize device\n"
19866 "\n"
19867 msgstr ""
19868
19869 # type: textblock
19870 #: ../fish/guestfish-actions.pod:2489
19871 msgid ""
19872 "This call is similar to L</mkfs>, but it allows you to control the block "
19873 "size of the resulting filesystem.  Supported block sizes depend on the "
19874 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
19875 msgstr ""
19876
19877 # type: =head2
19878 #: ../fish/guestfish-actions.pod:2497
19879 msgid "mkmountpoint"
19880 msgstr ""
19881
19882 # type: verbatim
19883 #: ../fish/guestfish-actions.pod:2499
19884 #, no-wrap
19885 msgid ""
19886 " mkmountpoint exemptpath\n"
19887 "\n"
19888 msgstr ""
19889
19890 # type: textblock
19891 #: ../fish/guestfish-actions.pod:2501
19892 msgid ""
19893 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
19894 "to create extra mountpoints before mounting the first filesystem."
19895 msgstr ""
19896
19897 # type: =head2
19898 #: ../fish/guestfish-actions.pod:2525
19899 msgid "mknod"
19900 msgstr ""
19901
19902 # type: verbatim
19903 #: ../fish/guestfish-actions.pod:2527
19904 #, no-wrap
19905 msgid ""
19906 " mknod mode devmajor devminor path\n"
19907 "\n"
19908 msgstr ""
19909
19910 # type: textblock
19911 #: ../fish/guestfish-actions.pod:2537
19912 msgid ""
19913 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
19914 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
19915 "regular file).  These constants are available in the standard Linux header "
19916 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
19917 "wrappers around this command which bitwise OR in the appropriate constant "
19918 "for you."
19919 msgstr ""
19920
19921 # type: =head2
19922 #: ../fish/guestfish-actions.pod:2547
19923 msgid "mknod-b"
19924 msgstr ""
19925
19926 # type: verbatim
19927 #: ../fish/guestfish-actions.pod:2549
19928 #, no-wrap
19929 msgid ""
19930 " mknod-b mode devmajor devminor path\n"
19931 "\n"
19932 msgstr ""
19933
19934 # type: textblock
19935 #: ../fish/guestfish-actions.pod:2551
19936 msgid ""
19937 "This call creates a block device node called C<path> with mode C<mode> and "
19938 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19939 "wrapper around L</mknod>."
19940 msgstr ""
19941
19942 # type: =head2
19943 #: ../fish/guestfish-actions.pod:2557
19944 msgid "mknod-c"
19945 msgstr ""
19946
19947 # type: verbatim
19948 #: ../fish/guestfish-actions.pod:2559
19949 #, no-wrap
19950 msgid ""
19951 " mknod-c mode devmajor devminor path\n"
19952 "\n"
19953 msgstr ""
19954
19955 # type: textblock
19956 #: ../fish/guestfish-actions.pod:2561
19957 msgid ""
19958 "This call creates a char device node called C<path> with mode C<mode> and "
19959 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19960 "wrapper around L</mknod>."
19961 msgstr ""
19962
19963 # type: =head2
19964 #: ../fish/guestfish-actions.pod:2567
19965 msgid "mkswap"
19966 msgstr ""
19967
19968 # type: verbatim
19969 #: ../fish/guestfish-actions.pod:2569
19970 #, no-wrap
19971 msgid ""
19972 " mkswap device\n"
19973 "\n"
19974 msgstr ""
19975
19976 # type: =head2
19977 #: ../fish/guestfish-actions.pod:2573
19978 msgid "mkswap-L"
19979 msgstr ""
19980
19981 # type: verbatim
19982 #: ../fish/guestfish-actions.pod:2575
19983 #, no-wrap
19984 msgid ""
19985 " mkswap-L label device\n"
19986 "\n"
19987 msgstr ""
19988
19989 # type: =head2
19990 #: ../fish/guestfish-actions.pod:2583
19991 msgid "mkswap-U"
19992 msgstr ""
19993
19994 # type: verbatim
19995 #: ../fish/guestfish-actions.pod:2585
19996 #, no-wrap
19997 msgid ""
19998 " mkswap-U uuid device\n"
19999 "\n"
20000 msgstr ""
20001
20002 # type: =head2
20003 #: ../fish/guestfish-actions.pod:2589
20004 msgid "mkswap-file"
20005 msgstr ""
20006
20007 # type: verbatim
20008 #: ../fish/guestfish-actions.pod:2591
20009 #, no-wrap
20010 msgid ""
20011 " mkswap-file path\n"
20012 "\n"
20013 msgstr ""
20014
20015 # type: textblock
20016 #: ../fish/guestfish-actions.pod:2595
20017 msgid ""
20018 "This command just writes a swap file signature to an existing file.  To "
20019 "create the file itself, use something like L</fallocate>."
20020 msgstr ""
20021
20022 # type: =head2
20023 #: ../fish/guestfish-actions.pod:2598
20024 msgid "modprobe"
20025 msgstr ""
20026
20027 # type: verbatim
20028 #: ../fish/guestfish-actions.pod:2600
20029 #, no-wrap
20030 msgid ""
20031 " modprobe modulename\n"
20032 "\n"
20033 msgstr ""
20034
20035 # type: =head2
20036 #: ../fish/guestfish-actions.pod:2607
20037 msgid "mount"
20038 msgstr ""
20039
20040 # type: verbatim
20041 #: ../fish/guestfish-actions.pod:2609
20042 #, no-wrap
20043 msgid ""
20044 " mount device mountpoint\n"
20045 "\n"
20046 msgstr ""
20047
20048 # type: textblock
20049 #: ../fish/guestfish-actions.pod:2625
20050 msgid ""
20051 "B<Important note:> When you use this call, the filesystem options C<sync> "
20052 "and C<noatime> are set implicitly.  This was originally done because we "
20053 "thought it would improve reliability, but it turns out that I<-o sync> has a "
20054 "very large negative performance impact and negligible effect on "
20055 "reliability.  Therefore we recommend that you avoid using L</mount> in any "
20056 "code that needs performance, and instead use L</mount-options> (use an empty "
20057 "string for the first parameter if you don't want any options)."
20058 msgstr ""
20059
20060 # type: =head2
20061 #: ../fish/guestfish-actions.pod:2635
20062 msgid "mount-loop"
20063 msgstr ""
20064
20065 # type: verbatim
20066 #: ../fish/guestfish-actions.pod:2637
20067 #, no-wrap
20068 msgid ""
20069 " mount-loop file mountpoint\n"
20070 "\n"
20071 msgstr ""
20072
20073 # type: =head2
20074 #: ../fish/guestfish-actions.pod:2643
20075 msgid "mount-options"
20076 msgstr ""
20077
20078 # type: verbatim
20079 #: ../fish/guestfish-actions.pod:2645
20080 #, no-wrap
20081 msgid ""
20082 " mount-options options device mountpoint\n"
20083 "\n"
20084 msgstr ""
20085
20086 # type: textblock
20087 #: ../fish/guestfish-actions.pod:2647
20088 msgid ""
20089 "This is the same as the L</mount> command, but it allows you to set the "
20090 "mount options as for the L<mount(8)> I<-o> flag."
20091 msgstr ""
20092
20093 # type: =head2
20094 #: ../fish/guestfish-actions.pod:2655
20095 msgid "mount-ro"
20096 msgstr ""
20097
20098 # type: verbatim
20099 #: ../fish/guestfish-actions.pod:2657
20100 #, no-wrap
20101 msgid ""
20102 " mount-ro device mountpoint\n"
20103 "\n"
20104 msgstr ""
20105
20106 # type: textblock
20107 #: ../fish/guestfish-actions.pod:2659
20108 msgid ""
20109 "This is the same as the L</mount> command, but it mounts the filesystem with "
20110 "the read-only (I<-o ro>) flag."
20111 msgstr ""
20112
20113 # type: =head2
20114 #: ../fish/guestfish-actions.pod:2662
20115 msgid "mount-vfs"
20116 msgstr ""
20117
20118 # type: verbatim
20119 #: ../fish/guestfish-actions.pod:2664
20120 #, no-wrap
20121 msgid ""
20122 " mount-vfs options vfstype device mountpoint\n"
20123 "\n"
20124 msgstr ""
20125
20126 # type: textblock
20127 #: ../fish/guestfish-actions.pod:2666
20128 msgid ""
20129 "This is the same as the L</mount> command, but it allows you to set both the "
20130 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
20131 msgstr ""
20132
20133 # type: =head2
20134 #: ../fish/guestfish-actions.pod:2670
20135 msgid "mountpoints"
20136 msgstr ""
20137
20138 # type: verbatim
20139 #: ../fish/guestfish-actions.pod:2672
20140 #, no-wrap
20141 msgid ""
20142 " mountpoints\n"
20143 "\n"
20144 msgstr ""
20145
20146 # type: textblock
20147 #: ../fish/guestfish-actions.pod:2674
20148 msgid ""
20149 "This call is similar to L</mounts>.  That call returns a list of devices.  "
20150 "This one returns a hash table (map) of device name to directory where the "
20151 "device is mounted."
20152 msgstr ""
20153
20154 # type: =head2
20155 #: ../fish/guestfish-actions.pod:2678
20156 msgid "mounts"
20157 msgstr ""
20158
20159 # type: verbatim
20160 #: ../fish/guestfish-actions.pod:2680
20161 #, no-wrap
20162 msgid ""
20163 " mounts\n"
20164 "\n"
20165 msgstr ""
20166
20167 # type: textblock
20168 #: ../fish/guestfish-actions.pod:2687
20169 msgid "See also: L</mountpoints>"
20170 msgstr ""
20171
20172 # type: =head2
20173 #: ../fish/guestfish-actions.pod:2689
20174 msgid "mv"
20175 msgstr ""
20176
20177 # type: verbatim
20178 #: ../fish/guestfish-actions.pod:2691
20179 #, no-wrap
20180 msgid ""
20181 " mv src dest\n"
20182 "\n"
20183 msgstr ""
20184
20185 # type: =head2
20186 #: ../fish/guestfish-actions.pod:2696
20187 msgid "ntfs-3g-probe"
20188 msgstr ""
20189
20190 # type: verbatim
20191 #: ../fish/guestfish-actions.pod:2698
20192 #, no-wrap
20193 msgid ""
20194 " ntfs-3g-probe true|false device\n"
20195 "\n"
20196 msgstr ""
20197
20198 # type: =head2
20199 #: ../fish/guestfish-actions.pod:2712
20200 msgid "ntfsresize"
20201 msgstr ""
20202
20203 # type: verbatim
20204 #: ../fish/guestfish-actions.pod:2714
20205 #, no-wrap
20206 msgid ""
20207 " ntfsresize device\n"
20208 "\n"
20209 msgstr ""
20210
20211 # type: =head2
20212 #: ../fish/guestfish-actions.pod:2720
20213 msgid "ntfsresize-size"
20214 msgstr ""
20215
20216 # type: verbatim
20217 #: ../fish/guestfish-actions.pod:2722
20218 #, no-wrap
20219 msgid ""
20220 " ntfsresize-size device size\n"
20221 "\n"
20222 msgstr ""
20223
20224 # type: textblock
20225 #: ../fish/guestfish-actions.pod:2724
20226 msgid ""
20227 "This command is the same as L</ntfsresize> except that it allows you to "
20228 "specify the new size (in bytes) explicitly."
20229 msgstr ""
20230
20231 # type: =head2
20232 #: ../fish/guestfish-actions.pod:2727
20233 msgid "part-add"
20234 msgstr ""
20235
20236 # type: verbatim
20237 #: ../fish/guestfish-actions.pod:2729
20238 #, no-wrap
20239 msgid ""
20240 " part-add device prlogex startsect endsect\n"
20241 "\n"
20242 msgstr ""
20243
20244 # type: textblock
20245 #: ../fish/guestfish-actions.pod:2731
20246 msgid ""
20247 "This command adds a partition to C<device>.  If there is no partition table "
20248 "on the device, call L</part-init> first."
20249 msgstr ""
20250
20251 # type: textblock
20252 #: ../fish/guestfish-actions.pod:2743
20253 msgid ""
20254 "Creating a partition which covers the whole disk is not so easy.  Use L</"
20255 "part-disk> to do that."
20256 msgstr ""
20257
20258 # type: =head2
20259 #: ../fish/guestfish-actions.pod:2746
20260 msgid "part-del"
20261 msgstr ""
20262
20263 # type: verbatim
20264 #: ../fish/guestfish-actions.pod:2748
20265 #, no-wrap
20266 msgid ""
20267 " part-del device partnum\n"
20268 "\n"
20269 msgstr ""
20270
20271 # type: =head2
20272 #: ../fish/guestfish-actions.pod:2756
20273 msgid "part-disk"
20274 msgstr ""
20275
20276 # type: verbatim
20277 #: ../fish/guestfish-actions.pod:2758
20278 #, no-wrap
20279 msgid ""
20280 " part-disk device parttype\n"
20281 "\n"
20282 msgstr ""
20283
20284 # type: textblock
20285 #: ../fish/guestfish-actions.pod:2760
20286 msgid ""
20287 "This command is simply a combination of L</part-init> followed by L</part-"
20288 "add> to create a single primary partition covering the whole disk."
20289 msgstr ""
20290
20291 # type: textblock
20292 #: ../fish/guestfish-actions.pod:2764
20293 msgid ""
20294 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
20295 "possible values are described in L</part-init>."
20296 msgstr ""
20297
20298 # type: =head2
20299 #: ../fish/guestfish-actions.pod:2770
20300 msgid "part-get-bootable"
20301 msgstr ""
20302
20303 # type: verbatim
20304 #: ../fish/guestfish-actions.pod:2772
20305 #, no-wrap
20306 msgid ""
20307 " part-get-bootable device partnum\n"
20308 "\n"
20309 msgstr ""
20310
20311 # type: textblock
20312 #: ../fish/guestfish-actions.pod:2777
20313 msgid "See also L</part-set-bootable>."
20314 msgstr ""
20315
20316 # type: =head2
20317 #: ../fish/guestfish-actions.pod:2779
20318 msgid "part-get-mbr-id"
20319 msgstr ""
20320
20321 # type: verbatim
20322 #: ../fish/guestfish-actions.pod:2781
20323 #, no-wrap
20324 msgid ""
20325 " part-get-mbr-id device partnum\n"
20326 "\n"
20327 msgstr ""
20328
20329 # type: textblock
20330 #: ../fish/guestfish-actions.pod:2786 ../fish/guestfish-actions.pod:2924
20331 msgid ""
20332 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
20333 "undefined results for other partition table types (see L</part-get-"
20334 "parttype>)."
20335 msgstr ""
20336
20337 # type: =head2
20338 #: ../fish/guestfish-actions.pod:2790
20339 msgid "part-get-parttype"
20340 msgstr ""
20341
20342 # type: verbatim
20343 #: ../fish/guestfish-actions.pod:2792
20344 #, no-wrap
20345 msgid ""
20346 " part-get-parttype device\n"
20347 "\n"
20348 msgstr ""
20349
20350 # type: textblock
20351 #: ../fish/guestfish-actions.pod:2797
20352 msgid ""
20353 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
20354 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
20355 "possible, although unusual.  See L</part-init> for a full list."
20356 msgstr ""
20357
20358 # type: =head2
20359 #: ../fish/guestfish-actions.pod:2802
20360 msgid "part-init"
20361 msgstr ""
20362
20363 # type: verbatim
20364 #: ../fish/guestfish-actions.pod:2804
20365 #, no-wrap
20366 msgid ""
20367 " part-init device parttype\n"
20368 "\n"
20369 msgstr ""
20370
20371 # type: textblock
20372 #: ../fish/guestfish-actions.pod:2810
20373 msgid ""
20374 "Initially there are no partitions.  Following this, you should call L</part-"
20375 "add> for each partition required."
20376 msgstr ""
20377
20378 # type: =head2
20379 #: ../fish/guestfish-actions.pod:2873
20380 msgid "part-list"
20381 msgstr ""
20382
20383 # type: verbatim
20384 #: ../fish/guestfish-actions.pod:2875
20385 #, no-wrap
20386 msgid ""
20387 " part-list device\n"
20388 "\n"
20389 msgstr ""
20390
20391 # type: textblock
20392 #: ../fish/guestfish-actions.pod:2890
20393 msgid ""
20394 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
20395 "the device's sector size, see L</blockdev-getss>."
20396 msgstr ""
20397
20398 # type: =head2
20399 #: ../fish/guestfish-actions.pod:2903
20400 msgid "part-set-bootable"
20401 msgstr ""
20402
20403 # type: verbatim
20404 #: ../fish/guestfish-actions.pod:2905
20405 #, no-wrap
20406 msgid ""
20407 " part-set-bootable device partnum true|false\n"
20408 "\n"
20409 msgstr ""
20410
20411 # type: =head2
20412 #: ../fish/guestfish-actions.pod:2914
20413 msgid "part-set-mbr-id"
20414 msgstr ""
20415
20416 # type: verbatim
20417 #: ../fish/guestfish-actions.pod:2916
20418 #, no-wrap
20419 msgid ""
20420 " part-set-mbr-id device partnum idbyte\n"
20421 "\n"
20422 msgstr ""
20423
20424 # type: =head2
20425 #: ../fish/guestfish-actions.pod:2928
20426 msgid "part-set-name"
20427 msgstr ""
20428
20429 # type: verbatim
20430 #: ../fish/guestfish-actions.pod:2930
20431 #, no-wrap
20432 msgid ""
20433 " part-set-name device partnum name\n"
20434 "\n"
20435 msgstr ""
20436
20437 # type: =head2
20438 #: ../fish/guestfish-actions.pod:2938
20439 msgid "part-to-dev"
20440 msgstr ""
20441
20442 # type: verbatim
20443 #: ../fish/guestfish-actions.pod:2940
20444 #, no-wrap
20445 msgid ""
20446 " part-to-dev partition\n"
20447 "\n"
20448 msgstr ""
20449
20450 # type: textblock
20451 #: ../fish/guestfish-actions.pod:2946
20452 msgid ""
20453 "The named partition must exist, for example as a string returned from L</"
20454 "list-partitions>."
20455 msgstr ""
20456
20457 # type: =head2
20458 #: ../fish/guestfish-actions.pod:2949
20459 msgid "ping-daemon"
20460 msgstr ""
20461
20462 # type: verbatim
20463 #: ../fish/guestfish-actions.pod:2951
20464 #, no-wrap
20465 msgid ""
20466 " ping-daemon\n"
20467 "\n"
20468 msgstr ""
20469
20470 # type: =head2
20471 #: ../fish/guestfish-actions.pod:2958
20472 msgid "pread"
20473 msgstr ""
20474
20475 # type: verbatim
20476 #: ../fish/guestfish-actions.pod:2960
20477 #, no-wrap
20478 msgid ""
20479 " pread path count offset\n"
20480 "\n"
20481 msgstr ""
20482
20483 # type: textblock
20484 #: ../fish/guestfish-actions.pod:2968 ../fish/guestfish-actions.pod:3061
20485 msgid "See also L</pwrite>."
20486 msgstr ""
20487
20488 # type: =head2
20489 #: ../fish/guestfish-actions.pod:2973
20490 msgid "pvcreate"
20491 msgstr ""
20492
20493 # type: verbatim
20494 #: ../fish/guestfish-actions.pod:2975
20495 #, no-wrap
20496 msgid ""
20497 " pvcreate device\n"
20498 "\n"
20499 msgstr ""
20500
20501 # type: =head2
20502 #: ../fish/guestfish-actions.pod:2981
20503 msgid "pvremove"
20504 msgstr ""
20505
20506 # type: verbatim
20507 #: ../fish/guestfish-actions.pod:2983
20508 #, no-wrap
20509 msgid ""
20510 " pvremove device\n"
20511 "\n"
20512 msgstr ""
20513
20514 # type: =head2
20515 #: ../fish/guestfish-actions.pod:2992
20516 msgid "pvresize"
20517 msgstr ""
20518
20519 # type: verbatim
20520 #: ../fish/guestfish-actions.pod:2994
20521 #, no-wrap
20522 msgid ""
20523 " pvresize device\n"
20524 "\n"
20525 msgstr ""
20526
20527 # type: =head2
20528 #: ../fish/guestfish-actions.pod:2999
20529 msgid "pvresize-size"
20530 msgstr ""
20531
20532 # type: verbatim
20533 #: ../fish/guestfish-actions.pod:3001
20534 #, no-wrap
20535 msgid ""
20536 " pvresize-size device size\n"
20537 "\n"
20538 msgstr ""
20539
20540 # type: textblock
20541 #: ../fish/guestfish-actions.pod:3003
20542 msgid ""
20543 "This command is the same as L</pvresize> except that it allows you to "
20544 "specify the new size (in bytes) explicitly."
20545 msgstr ""
20546
20547 # type: =head2
20548 #: ../fish/guestfish-actions.pod:3006
20549 msgid "pvs"
20550 msgstr ""
20551
20552 # type: verbatim
20553 #: ../fish/guestfish-actions.pod:3008
20554 #, no-wrap
20555 msgid ""
20556 " pvs\n"
20557 "\n"
20558 msgstr ""
20559
20560 # type: textblock
20561 #: ../fish/guestfish-actions.pod:3016
20562 msgid "See also L</pvs-full>."
20563 msgstr ""
20564
20565 # type: =head2
20566 #: ../fish/guestfish-actions.pod:3018
20567 msgid "pvs-full"
20568 msgstr ""
20569
20570 # type: verbatim
20571 #: ../fish/guestfish-actions.pod:3020
20572 #, no-wrap
20573 msgid ""
20574 " pvs-full\n"
20575 "\n"
20576 msgstr ""
20577
20578 # type: =head2
20579 #: ../fish/guestfish-actions.pod:3025
20580 msgid "pvuuid"
20581 msgstr ""
20582
20583 # type: verbatim
20584 #: ../fish/guestfish-actions.pod:3027
20585 #, no-wrap
20586 msgid ""
20587 " pvuuid device\n"
20588 "\n"
20589 msgstr ""
20590
20591 # type: =head2
20592 #: ../fish/guestfish-actions.pod:3031
20593 msgid "pwrite"
20594 msgstr ""
20595
20596 # type: verbatim
20597 #: ../fish/guestfish-actions.pod:3033
20598 #, no-wrap
20599 msgid ""
20600 " pwrite path content offset\n"
20601 "\n"
20602 msgstr ""
20603
20604 # type: textblock
20605 #: ../fish/guestfish-actions.pod:3044
20606 msgid "See also L</pread>, L</pwrite-device>."
20607 msgstr ""
20608
20609 # type: =head2
20610 #: ../fish/guestfish-actions.pod:3049
20611 msgid "pwrite-device"
20612 msgstr ""
20613
20614 # type: verbatim
20615 #: ../fish/guestfish-actions.pod:3051
20616 #, no-wrap
20617 msgid ""
20618 " pwrite-device device content offset\n"
20619 "\n"
20620 msgstr ""
20621
20622 # type: =head2
20623 #: ../fish/guestfish-actions.pod:3066
20624 msgid "read-file"
20625 msgstr ""
20626
20627 # type: verbatim
20628 #: ../fish/guestfish-actions.pod:3068
20629 #, no-wrap
20630 msgid ""
20631 " read-file path\n"
20632 "\n"
20633 msgstr ""
20634
20635 # type: textblock
20636 #: ../fish/guestfish-actions.pod:3073
20637 msgid ""
20638 "Unlike L</cat>, this function can correctly handle files that contain "
20639 "embedded ASCII NUL characters.  However unlike L</download>, this function "
20640 "is limited in the total size of file that can be handled."
20641 msgstr ""
20642
20643 # type: =head2
20644 #: ../fish/guestfish-actions.pod:3081
20645 msgid "read-lines"
20646 msgstr ""
20647
20648 # type: verbatim
20649 #: ../fish/guestfish-actions.pod:3083
20650 #, no-wrap
20651 msgid ""
20652 " read-lines path\n"
20653 "\n"
20654 msgstr ""
20655
20656 # type: textblock
20657 #: ../fish/guestfish-actions.pod:3090
20658 msgid ""
20659 "Note that this function cannot correctly handle binary files (specifically, "
20660 "files containing C<\\0> character which is treated as end of line).  For "
20661 "those you need to use the L</read-file> function which has a more complex "
20662 "interface."
20663 msgstr ""
20664
20665 # type: =head2
20666 #: ../fish/guestfish-actions.pod:3095
20667 msgid "readdir"
20668 msgstr ""
20669
20670 # type: verbatim
20671 #: ../fish/guestfish-actions.pod:3097
20672 #, no-wrap
20673 msgid ""
20674 " readdir dir\n"
20675 "\n"
20676 msgstr ""
20677
20678 # type: textblock
20679 #: ../fish/guestfish-actions.pod:3149
20680 msgid ""
20681 "This function is primarily intended for use by programs.  To get a simple "
20682 "list of names, use L</ls>.  To get a printable directory for human "
20683 "consumption, use L</ll>."
20684 msgstr ""
20685
20686 # type: =head2
20687 #: ../fish/guestfish-actions.pod:3153
20688 msgid "readlink"
20689 msgstr ""
20690
20691 # type: verbatim
20692 #: ../fish/guestfish-actions.pod:3155
20693 #, no-wrap
20694 msgid ""
20695 " readlink path\n"
20696 "\n"
20697 msgstr ""
20698
20699 # type: =head2
20700 #: ../fish/guestfish-actions.pod:3159
20701 msgid "readlinklist"
20702 msgstr ""
20703
20704 # type: verbatim
20705 #: ../fish/guestfish-actions.pod:3161
20706 #, no-wrap
20707 msgid ""
20708 " readlinklist path 'names ...'\n"
20709 "\n"
20710 msgstr ""
20711
20712 # type: =head2
20713 #: ../fish/guestfish-actions.pod:3185
20714 msgid "realpath"
20715 msgstr ""
20716
20717 # type: verbatim
20718 #: ../fish/guestfish-actions.pod:3187
20719 #, no-wrap
20720 msgid ""
20721 " realpath path\n"
20722 "\n"
20723 msgstr ""
20724
20725 # type: =head2
20726 #: ../fish/guestfish-actions.pod:3192
20727 msgid "removexattr"
20728 msgstr ""
20729
20730 # type: verbatim
20731 #: ../fish/guestfish-actions.pod:3194
20732 #, no-wrap
20733 msgid ""
20734 " removexattr xattr path\n"
20735 "\n"
20736 msgstr ""
20737
20738 # type: textblock
20739 #: ../fish/guestfish-actions.pod:3199
20740 msgid "See also: L</lremovexattr>, L<attr(5)>."
20741 msgstr ""
20742
20743 # type: =head2
20744 #: ../fish/guestfish-actions.pod:3201
20745 msgid "resize2fs"
20746 msgstr ""
20747
20748 # type: verbatim
20749 #: ../fish/guestfish-actions.pod:3203
20750 #, no-wrap
20751 msgid ""
20752 " resize2fs device\n"
20753 "\n"
20754 msgstr ""
20755
20756 # type: textblock
20757 #: ../fish/guestfish-actions.pod:3208
20758 msgid ""
20759 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
20760 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
20761 "gives an error about this and sometimes not.  In any case, it is always safe "
20762 "to call L</e2fsck-f> before calling this function."
20763 msgstr ""
20764
20765 # type: =head2
20766 #: ../fish/guestfish-actions.pod:3214
20767 msgid "resize2fs-size"
20768 msgstr ""
20769
20770 # type: verbatim
20771 #: ../fish/guestfish-actions.pod:3216
20772 #, no-wrap
20773 msgid ""
20774 " resize2fs-size device size\n"
20775 "\n"
20776 msgstr ""
20777
20778 # type: textblock
20779 #: ../fish/guestfish-actions.pod:3218
20780 msgid ""
20781 "This command is the same as L</resize2fs> except that it allows you to "
20782 "specify the new size (in bytes) explicitly."
20783 msgstr ""
20784
20785 # type: =head2
20786 #: ../fish/guestfish-actions.pod:3221
20787 msgid "rm"
20788 msgstr ""
20789
20790 # type: verbatim
20791 #: ../fish/guestfish-actions.pod:3223
20792 #, no-wrap
20793 msgid ""
20794 " rm path\n"
20795 "\n"
20796 msgstr ""
20797
20798 # type: =head2
20799 #: ../fish/guestfish-actions.pod:3227
20800 msgid "rm-rf"
20801 msgstr ""
20802
20803 # type: verbatim
20804 #: ../fish/guestfish-actions.pod:3229
20805 #, no-wrap
20806 msgid ""
20807 " rm-rf path\n"
20808 "\n"
20809 msgstr ""
20810
20811 # type: =head2
20812 #: ../fish/guestfish-actions.pod:3235
20813 msgid "rmdir"
20814 msgstr ""
20815
20816 # type: verbatim
20817 #: ../fish/guestfish-actions.pod:3237
20818 #, no-wrap
20819 msgid ""
20820 " rmdir path\n"
20821 "\n"
20822 msgstr ""
20823
20824 # type: =head2
20825 #: ../fish/guestfish-actions.pod:3241
20826 msgid "rmmountpoint"
20827 msgstr ""
20828
20829 # type: verbatim
20830 #: ../fish/guestfish-actions.pod:3243
20831 #, no-wrap
20832 msgid ""
20833 " rmmountpoint exemptpath\n"
20834 "\n"
20835 msgstr ""
20836
20837 # type: textblock
20838 #: ../fish/guestfish-actions.pod:3245
20839 msgid ""
20840 "This calls removes a mountpoint that was previously created with L</"
20841 "mkmountpoint>.  See L</mkmountpoint> for full details."
20842 msgstr ""
20843
20844 # type: =head2
20845 #: ../fish/guestfish-actions.pod:3249
20846 msgid "scrub-device"
20847 msgstr ""
20848
20849 # type: verbatim
20850 #: ../fish/guestfish-actions.pod:3251
20851 #, no-wrap
20852 msgid ""
20853 " scrub-device device\n"
20854 "\n"
20855 msgstr ""
20856
20857 # type: =head2
20858 #: ../fish/guestfish-actions.pod:3262
20859 msgid "scrub-file"
20860 msgstr ""
20861
20862 # type: verbatim
20863 #: ../fish/guestfish-actions.pod:3264
20864 #, no-wrap
20865 msgid ""
20866 " scrub-file file\n"
20867 "\n"
20868 msgstr ""
20869
20870 # type: =head2
20871 #: ../fish/guestfish-actions.pod:3274
20872 msgid "scrub-freespace"
20873 msgstr ""
20874
20875 # type: verbatim
20876 #: ../fish/guestfish-actions.pod:3276
20877 #, no-wrap
20878 msgid ""
20879 " scrub-freespace dir\n"
20880 "\n"
20881 msgstr ""
20882
20883 # type: textblock
20884 #: ../fish/guestfish-actions.pod:3278
20885 msgid ""
20886 "This command creates the directory C<dir> and then fills it with files until "
20887 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
20888 "deletes them.  The intention is to scrub any free space on the partition "
20889 "containing C<dir>."
20890 msgstr ""
20891
20892 # type: =head2
20893 #: ../fish/guestfish-actions.pod:3287
20894 msgid "set-append"
20895 msgstr ""
20896
20897 # type: =head2
20898 #: ../fish/guestfish-actions.pod:3289
20899 msgid "append"
20900 msgstr ""
20901
20902 # type: verbatim
20903 #: ../fish/guestfish-actions.pod:3291
20904 #, no-wrap
20905 msgid ""
20906 " set-append append\n"
20907 "\n"
20908 msgstr ""
20909
20910 # type: =head2
20911 #: ../fish/guestfish-actions.pod:3302
20912 msgid "set-autosync"
20913 msgstr ""
20914
20915 # type: =head2
20916 #: ../fish/guestfish-actions.pod:3304
20917 msgid "autosync"
20918 msgstr ""
20919
20920 # type: verbatim
20921 #: ../fish/guestfish-actions.pod:3306
20922 #, no-wrap
20923 msgid ""
20924 " set-autosync true|false\n"
20925 "\n"
20926 msgstr ""
20927
20928 # type: textblock
20929 #: ../fish/guestfish-actions.pod:3308
20930 msgid ""
20931 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
20932 "effort attempt to run L</umount-all> followed by L</sync> when the handle is "
20933 "closed (also if the program exits without closing handles)."
20934 msgstr ""
20935
20936 # type: =head2
20937 #: ../fish/guestfish-actions.pod:3316
20938 msgid "set-direct"
20939 msgstr ""
20940
20941 # type: =head2
20942 #: ../fish/guestfish-actions.pod:3318
20943 msgid "direct"
20944 msgstr ""
20945
20946 # type: verbatim
20947 #: ../fish/guestfish-actions.pod:3320
20948 #, no-wrap
20949 msgid ""
20950 " set-direct true|false\n"
20951 "\n"
20952 msgstr ""
20953
20954 # type: textblock
20955 #: ../fish/guestfish-actions.pod:3326
20956 msgid ""
20957 "One consequence of this is that log messages aren't caught by the library "
20958 "and handled by L</set-log-message-callback>, but go straight to stdout."
20959 msgstr ""
20960
20961 # type: =head2
20962 #: ../fish/guestfish-actions.pod:3335
20963 msgid "set-e2label"
20964 msgstr ""
20965
20966 # type: verbatim
20967 #: ../fish/guestfish-actions.pod:3337
20968 #, no-wrap
20969 msgid ""
20970 " set-e2label device label\n"
20971 "\n"
20972 msgstr ""
20973
20974 # type: textblock
20975 #: ../fish/guestfish-actions.pod:3343
20976 msgid ""
20977 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
20978 "label on a filesystem."
20979 msgstr ""
20980
20981 # type: =head2
20982 #: ../fish/guestfish-actions.pod:3346
20983 msgid "set-e2uuid"
20984 msgstr ""
20985
20986 # type: verbatim
20987 #: ../fish/guestfish-actions.pod:3348
20988 #, no-wrap
20989 msgid ""
20990 " set-e2uuid device uuid\n"
20991 "\n"
20992 msgstr ""
20993
20994 # type: textblock
20995 #: ../fish/guestfish-actions.pod:3355
20996 msgid ""
20997 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
20998 "UUID of a filesystem."
20999 msgstr ""
21000
21001 # type: =head2
21002 #: ../fish/guestfish-actions.pod:3358
21003 msgid "set-memsize"
21004 msgstr ""
21005
21006 # type: =head2
21007 #: ../fish/guestfish-actions.pod:3360
21008 msgid "memsize"
21009 msgstr ""
21010
21011 # type: verbatim
21012 #: ../fish/guestfish-actions.pod:3362
21013 #, no-wrap
21014 msgid ""
21015 " set-memsize memsize\n"
21016 "\n"
21017 msgstr ""
21018
21019 # type: textblock
21020 #: ../fish/guestfish-actions.pod:3364
21021 msgid ""
21022 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
21023 "This only has any effect if called before L</launch>."
21024 msgstr ""
21025
21026 # type: =head2
21027 #: ../fish/guestfish-actions.pod:3375
21028 msgid "set-network"
21029 msgstr ""
21030
21031 # type: =head2
21032 #: ../fish/guestfish-actions.pod:3377
21033 msgid "network"
21034 msgstr ""
21035
21036 # type: verbatim
21037 #: ../fish/guestfish-actions.pod:3379
21038 #, no-wrap
21039 msgid ""
21040 " set-network true|false\n"
21041 "\n"
21042 msgstr ""
21043
21044 # type: textblock
21045 #: ../fish/guestfish-actions.pod:3387
21046 msgid ""
21047 "You must call this before calling L</launch>, otherwise it has no effect."
21048 msgstr ""
21049
21050 # type: =head2
21051 #: ../fish/guestfish-actions.pod:3390
21052 msgid "set-path"
21053 msgstr ""
21054
21055 # type: =head2
21056 #: ../fish/guestfish-actions.pod:3392
21057 msgid "path"
21058 msgstr ""
21059
21060 # type: verbatim
21061 #: ../fish/guestfish-actions.pod:3394
21062 #, no-wrap
21063 msgid ""
21064 " set-path searchpath\n"
21065 "\n"
21066 msgstr ""
21067
21068 # type: =head2
21069 #: ../fish/guestfish-actions.pod:3403
21070 msgid "set-qemu"
21071 msgstr ""
21072
21073 # type: =head2
21074 #: ../fish/guestfish-actions.pod:3405
21075 msgid "qemu"
21076 msgstr ""
21077
21078 # type: verbatim
21079 #: ../fish/guestfish-actions.pod:3407
21080 #, no-wrap
21081 msgid ""
21082 " set-qemu qemu\n"
21083 "\n"
21084 msgstr ""
21085
21086 # type: =head2
21087 #: ../fish/guestfish-actions.pod:3427
21088 msgid "set-recovery-proc"
21089 msgstr ""
21090
21091 # type: =head2
21092 #: ../fish/guestfish-actions.pod:3429
21093 msgid "recovery-proc"
21094 msgstr ""
21095
21096 # type: verbatim
21097 #: ../fish/guestfish-actions.pod:3431
21098 #, no-wrap
21099 msgid ""
21100 " set-recovery-proc true|false\n"
21101 "\n"
21102 msgstr ""
21103
21104 # type: textblock
21105 #: ../fish/guestfish-actions.pod:3433
21106 msgid ""
21107 "If this is called with the parameter C<false> then L</launch> does not "
21108 "create a recovery process.  The purpose of the recovery process is to stop "
21109 "runaway qemu processes in the case where the main program aborts abruptly."
21110 msgstr ""
21111
21112 # type: textblock
21113 #: ../fish/guestfish-actions.pod:3438
21114 msgid ""
21115 "This only has any effect if called before L</launch>, and the default is "
21116 "true."
21117 msgstr ""
21118
21119 # type: =head2
21120 #: ../fish/guestfish-actions.pod:3447
21121 msgid "set-selinux"
21122 msgstr ""
21123
21124 # type: =head2
21125 #: ../fish/guestfish-actions.pod:3449
21126 msgid "selinux"
21127 msgstr ""
21128
21129 # type: verbatim
21130 #: ../fish/guestfish-actions.pod:3451
21131 #, no-wrap
21132 msgid ""
21133 " set-selinux true|false\n"
21134 "\n"
21135 msgstr ""
21136
21137 # type: =head2
21138 #: ../fish/guestfish-actions.pod:3462
21139 msgid "set-trace"
21140 msgstr ""
21141
21142 # type: =head2
21143 #: ../fish/guestfish-actions.pod:3464
21144 msgid "trace"
21145 msgstr ""
21146
21147 # type: verbatim
21148 #: ../fish/guestfish-actions.pod:3466
21149 #, no-wrap
21150 msgid ""
21151 " set-trace true|false\n"
21152 "\n"
21153 msgstr ""
21154
21155 # type: =head2
21156 #: ../fish/guestfish-actions.pod:3482
21157 msgid "set-verbose"
21158 msgstr ""
21159
21160 # type: =head2
21161 #: ../fish/guestfish-actions.pod:3484
21162 msgid "verbose"
21163 msgstr ""
21164
21165 # type: verbatim
21166 #: ../fish/guestfish-actions.pod:3486
21167 #, no-wrap
21168 msgid ""
21169 " set-verbose true|false\n"
21170 "\n"
21171 msgstr ""
21172
21173 # type: =head2
21174 #: ../fish/guestfish-actions.pod:3493
21175 msgid "setcon"
21176 msgstr ""
21177
21178 # type: verbatim
21179 #: ../fish/guestfish-actions.pod:3495
21180 #, no-wrap
21181 msgid ""
21182 " setcon context\n"
21183 "\n"
21184 msgstr ""
21185
21186 # type: =head2
21187 #: ../fish/guestfish-actions.pod:3502
21188 msgid "setxattr"
21189 msgstr ""
21190
21191 # type: verbatim
21192 #: ../fish/guestfish-actions.pod:3504
21193 #, no-wrap
21194 msgid ""
21195 " setxattr xattr val vallen path\n"
21196 "\n"
21197 msgstr ""
21198
21199 # type: textblock
21200 #: ../fish/guestfish-actions.pod:3510
21201 msgid "See also: L</lsetxattr>, L<attr(5)>."
21202 msgstr ""
21203
21204 # type: =head2
21205 #: ../fish/guestfish-actions.pod:3512
21206 msgid "sfdisk"
21207 msgstr ""
21208
21209 # type: verbatim
21210 #: ../fish/guestfish-actions.pod:3514
21211 #, no-wrap
21212 msgid ""
21213 " sfdisk device cyls heads sectors 'lines ...'\n"
21214 "\n"
21215 msgstr ""
21216
21217 # type: textblock
21218 #: ../fish/guestfish-actions.pod:3536
21219 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
21220 msgstr ""
21221
21222 # type: =head2
21223 #: ../fish/guestfish-actions.pod:3542
21224 msgid "sfdiskM"
21225 msgstr ""
21226
21227 # type: verbatim
21228 #: ../fish/guestfish-actions.pod:3544
21229 #, no-wrap
21230 msgid ""
21231 " sfdiskM device 'lines ...'\n"
21232 "\n"
21233 msgstr ""
21234
21235 # type: textblock
21236 #: ../fish/guestfish-actions.pod:3546
21237 msgid ""
21238 "This is a simplified interface to the L</sfdisk> command, where partition "
21239 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
21240 "you don't need to specify the cyls, heads and sectors parameters which were "
21241 "rarely if ever used anyway."
21242 msgstr ""
21243
21244 # type: textblock
21245 #: ../fish/guestfish-actions.pod:3552
21246 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
21247 msgstr ""
21248
21249 # type: =head2
21250 #: ../fish/guestfish-actions.pod:3558
21251 msgid "sfdisk-N"
21252 msgstr ""
21253
21254 # type: verbatim
21255 #: ../fish/guestfish-actions.pod:3560
21256 #, no-wrap
21257 msgid ""
21258 " sfdisk-N device partnum cyls heads sectors line\n"
21259 "\n"
21260 msgstr ""
21261
21262 # type: textblock
21263 #: ../fish/guestfish-actions.pod:3565
21264 msgid ""
21265 "For other parameters, see L</sfdisk>.  You should usually pass C<0> for the "
21266 "cyls/heads/sectors parameters."
21267 msgstr ""
21268
21269 # type: textblock
21270 #: ../fish/guestfish-actions.pod:3568
21271 msgid "See also: L</part-add>"
21272 msgstr ""
21273
21274 # type: =head2
21275 #: ../fish/guestfish-actions.pod:3573
21276 msgid "sfdisk-disk-geometry"
21277 msgstr ""
21278
21279 # type: verbatim
21280 #: ../fish/guestfish-actions.pod:3575
21281 #, no-wrap
21282 msgid ""
21283 " sfdisk-disk-geometry device\n"
21284 "\n"
21285 msgstr ""
21286
21287 # type: textblock
21288 #: ../fish/guestfish-actions.pod:3577
21289 msgid ""
21290 "This displays the disk geometry of C<device> read from the partition table.  "
21291 "Especially in the case where the underlying block device has been resized, "
21292 "this can be different from the kernel's idea of the geometry (see L</sfdisk-"
21293 "kernel-geometry>)."
21294 msgstr ""
21295
21296 # type: =head2
21297 #: ../fish/guestfish-actions.pod:3585
21298 msgid "sfdisk-kernel-geometry"
21299 msgstr ""
21300
21301 # type: verbatim
21302 #: ../fish/guestfish-actions.pod:3587
21303 #, no-wrap
21304 msgid ""
21305 " sfdisk-kernel-geometry device\n"
21306 "\n"
21307 msgstr ""
21308
21309 # type: =head2
21310 #: ../fish/guestfish-actions.pod:3594
21311 msgid "sfdisk-l"
21312 msgstr ""
21313
21314 # type: verbatim
21315 #: ../fish/guestfish-actions.pod:3596
21316 #, no-wrap
21317 msgid ""
21318 " sfdisk-l device\n"
21319 "\n"
21320 msgstr ""
21321
21322 # type: textblock
21323 #: ../fish/guestfish-actions.pod:3602
21324 msgid "See also: L</part-list>"
21325 msgstr ""
21326
21327 # type: =head2
21328 #: ../fish/guestfish-actions.pod:3604
21329 msgid "sh"
21330 msgstr ""
21331
21332 # type: verbatim
21333 #: ../fish/guestfish-actions.pod:3606
21334 #, no-wrap
21335 msgid ""
21336 " sh command\n"
21337 "\n"
21338 msgstr ""
21339
21340 # type: textblock
21341 #: ../fish/guestfish-actions.pod:3611
21342 msgid "This is like L</command>, but passes the command to:"
21343 msgstr ""
21344
21345 # type: textblock
21346 #: ../fish/guestfish-actions.pod:3619
21347 msgid "All the provisos about L</command> apply to this call."
21348 msgstr ""
21349
21350 # type: =head2
21351 #: ../fish/guestfish-actions.pod:3621
21352 msgid "sh-lines"
21353 msgstr ""
21354
21355 # type: verbatim
21356 #: ../fish/guestfish-actions.pod:3623
21357 #, no-wrap
21358 msgid ""
21359 " sh-lines command\n"
21360 "\n"
21361 msgstr ""
21362
21363 # type: textblock
21364 #: ../fish/guestfish-actions.pod:3625
21365 msgid "This is the same as L</sh>, but splits the result into a list of lines."
21366 msgstr ""
21367
21368 # type: textblock
21369 #: ../fish/guestfish-actions.pod:3628
21370 msgid "See also: L</command-lines>"
21371 msgstr ""
21372
21373 # type: =head2
21374 #: ../fish/guestfish-actions.pod:3630
21375 msgid "sleep"
21376 msgstr ""
21377
21378 # type: verbatim
21379 #: ../fish/guestfish-actions.pod:3632
21380 #, no-wrap
21381 msgid ""
21382 " sleep secs\n"
21383 "\n"
21384 msgstr ""
21385
21386 # type: =head2
21387 #: ../fish/guestfish-actions.pod:3636
21388 msgid "stat"
21389 msgstr ""
21390
21391 # type: verbatim
21392 #: ../fish/guestfish-actions.pod:3638
21393 #, no-wrap
21394 msgid ""
21395 " stat path\n"
21396 "\n"
21397 msgstr ""
21398
21399 # type: =head2
21400 #: ../fish/guestfish-actions.pod:3644
21401 msgid "statvfs"
21402 msgstr ""
21403
21404 # type: verbatim
21405 #: ../fish/guestfish-actions.pod:3646
21406 #, no-wrap
21407 msgid ""
21408 " statvfs path\n"
21409 "\n"
21410 msgstr ""
21411
21412 # type: =head2
21413 #: ../fish/guestfish-actions.pod:3654
21414 msgid "strings"
21415 msgstr ""
21416
21417 # type: verbatim
21418 #: ../fish/guestfish-actions.pod:3656
21419 #, no-wrap
21420 msgid ""
21421 " strings path\n"
21422 "\n"
21423 msgstr ""
21424
21425 # type: =head2
21426 #: ../fish/guestfish-actions.pod:3664
21427 msgid "strings-e"
21428 msgstr ""
21429
21430 # type: verbatim
21431 #: ../fish/guestfish-actions.pod:3666
21432 #, no-wrap
21433 msgid ""
21434 " strings-e encoding path\n"
21435 "\n"
21436 msgstr ""
21437
21438 # type: textblock
21439 #: ../fish/guestfish-actions.pod:3668
21440 msgid ""
21441 "This is like the L</strings> command, but allows you to specify the encoding "
21442 "of strings that are looked for in the source file C<path>."
21443 msgstr ""
21444
21445 # type: textblock
21446 #: ../fish/guestfish-actions.pod:3678
21447 msgid ""
21448 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
21449 "ISO-8859-X (this is what L</strings> uses)."
21450 msgstr ""
21451
21452 # type: =head2
21453 #: ../fish/guestfish-actions.pod:3710
21454 msgid "swapoff-device"
21455 msgstr ""
21456
21457 # type: verbatim
21458 #: ../fish/guestfish-actions.pod:3712
21459 #, no-wrap
21460 msgid ""
21461 " swapoff-device device\n"
21462 "\n"
21463 msgstr ""
21464
21465 # type: textblock
21466 #: ../fish/guestfish-actions.pod:3714
21467 msgid ""
21468 "This command disables the libguestfs appliance swap device or partition "
21469 "named C<device>.  See L</swapon-device>."
21470 msgstr ""
21471
21472 # type: =head2
21473 #: ../fish/guestfish-actions.pod:3718
21474 msgid "swapoff-file"
21475 msgstr ""
21476
21477 # type: verbatim
21478 #: ../fish/guestfish-actions.pod:3720
21479 #, no-wrap
21480 msgid ""
21481 " swapoff-file file\n"
21482 "\n"
21483 msgstr ""
21484
21485 # type: =head2
21486 #: ../fish/guestfish-actions.pod:3724
21487 msgid "swapoff-label"
21488 msgstr ""
21489
21490 # type: verbatim
21491 #: ../fish/guestfish-actions.pod:3726
21492 #, no-wrap
21493 msgid ""
21494 " swapoff-label label\n"
21495 "\n"
21496 msgstr ""
21497
21498 # type: =head2
21499 #: ../fish/guestfish-actions.pod:3731
21500 msgid "swapoff-uuid"
21501 msgstr ""
21502
21503 # type: verbatim
21504 #: ../fish/guestfish-actions.pod:3733
21505 #, no-wrap
21506 msgid ""
21507 " swapoff-uuid uuid\n"
21508 "\n"
21509 msgstr ""
21510
21511 # type: =head2
21512 #: ../fish/guestfish-actions.pod:3738
21513 msgid "swapon-device"
21514 msgstr ""
21515
21516 # type: verbatim
21517 #: ../fish/guestfish-actions.pod:3740
21518 #, no-wrap
21519 msgid ""
21520 " swapon-device device\n"
21521 "\n"
21522 msgstr ""
21523
21524 # type: textblock
21525 #: ../fish/guestfish-actions.pod:3742
21526 msgid ""
21527 "This command enables the libguestfs appliance to use the swap device or "
21528 "partition named C<device>.  The increased memory is made available for all "
21529 "commands, for example those run using L</command> or L</sh>."
21530 msgstr ""
21531
21532 # type: =head2
21533 #: ../fish/guestfish-actions.pod:3754
21534 msgid "swapon-file"
21535 msgstr ""
21536
21537 # type: verbatim
21538 #: ../fish/guestfish-actions.pod:3756
21539 #, no-wrap
21540 msgid ""
21541 " swapon-file file\n"
21542 "\n"
21543 msgstr ""
21544
21545 # type: textblock
21546 #: ../fish/guestfish-actions.pod:3758
21547 msgid ""
21548 "This command enables swap to a file.  See L</swapon-device> for other notes."
21549 msgstr ""
21550
21551 # type: =head2
21552 #: ../fish/guestfish-actions.pod:3761
21553 msgid "swapon-label"
21554 msgstr ""
21555
21556 # type: verbatim
21557 #: ../fish/guestfish-actions.pod:3763
21558 #, no-wrap
21559 msgid ""
21560 " swapon-label label\n"
21561 "\n"
21562 msgstr ""
21563
21564 # type: textblock
21565 #: ../fish/guestfish-actions.pod:3765
21566 msgid ""
21567 "This command enables swap to a labeled swap partition.  See L</swapon-"
21568 "device> for other notes."
21569 msgstr ""
21570
21571 # type: =head2
21572 #: ../fish/guestfish-actions.pod:3768
21573 msgid "swapon-uuid"
21574 msgstr ""
21575
21576 # type: verbatim
21577 #: ../fish/guestfish-actions.pod:3770
21578 #, no-wrap
21579 msgid ""
21580 " swapon-uuid uuid\n"
21581 "\n"
21582 msgstr ""
21583
21584 # type: textblock
21585 #: ../fish/guestfish-actions.pod:3772
21586 msgid ""
21587 "This command enables swap to a swap partition with the given UUID.  See L</"
21588 "swapon-device> for other notes."
21589 msgstr ""
21590
21591 # type: =head2
21592 #: ../fish/guestfish-actions.pod:3775
21593 msgid "sync"
21594 msgstr ""
21595
21596 # type: verbatim
21597 #: ../fish/guestfish-actions.pod:3777
21598 #, no-wrap
21599 msgid ""
21600 " sync\n"
21601 "\n"
21602 msgstr ""
21603
21604 # type: =head2
21605 #: ../fish/guestfish-actions.pod:3785
21606 msgid "tail"
21607 msgstr ""
21608
21609 # type: verbatim
21610 #: ../fish/guestfish-actions.pod:3787
21611 #, no-wrap
21612 msgid ""
21613 " tail path\n"
21614 "\n"
21615 msgstr ""
21616
21617 # type: =head2
21618 #: ../fish/guestfish-actions.pod:3795
21619 msgid "tail-n"
21620 msgstr ""
21621
21622 # type: verbatim
21623 #: ../fish/guestfish-actions.pod:3797
21624 #, no-wrap
21625 msgid ""
21626 " tail-n nrlines path\n"
21627 "\n"
21628 msgstr ""
21629
21630 # type: =head2
21631 #: ../fish/guestfish-actions.pod:3810
21632 msgid "tar-in"
21633 msgstr ""
21634
21635 # type: verbatim
21636 #: ../fish/guestfish-actions.pod:3812
21637 #, no-wrap
21638 msgid ""
21639 " tar-in (tarfile|-) directory\n"
21640 "\n"
21641 msgstr ""
21642
21643 # type: textblock
21644 #: ../fish/guestfish-actions.pod:3817
21645 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
21646 msgstr ""
21647
21648 # type: =head2
21649 #: ../fish/guestfish-actions.pod:3822
21650 msgid "tar-out"
21651 msgstr ""
21652
21653 # type: verbatim
21654 #: ../fish/guestfish-actions.pod:3824
21655 #, no-wrap
21656 msgid ""
21657 " tar-out directory (tarfile|-)\n"
21658 "\n"
21659 msgstr ""
21660
21661 # type: textblock
21662 #: ../fish/guestfish-actions.pod:3829
21663 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
21664 msgstr ""
21665
21666 # type: =head2
21667 #: ../fish/guestfish-actions.pod:3834
21668 msgid "tgz-in"
21669 msgstr ""
21670
21671 # type: verbatim
21672 #: ../fish/guestfish-actions.pod:3836
21673 #, no-wrap
21674 msgid ""
21675 " tgz-in (tarball|-) directory\n"
21676 "\n"
21677 msgstr ""
21678
21679 # type: textblock
21680 #: ../fish/guestfish-actions.pod:3841
21681 msgid "To upload an uncompressed tarball, use L</tar-in>."
21682 msgstr ""
21683
21684 # type: =head2
21685 #: ../fish/guestfish-actions.pod:3845
21686 msgid "tgz-out"
21687 msgstr ""
21688
21689 # type: verbatim
21690 #: ../fish/guestfish-actions.pod:3847
21691 #, no-wrap
21692 msgid ""
21693 " tgz-out directory (tarball|-)\n"
21694 "\n"
21695 msgstr ""
21696
21697 # type: textblock
21698 #: ../fish/guestfish-actions.pod:3852
21699 msgid "To download an uncompressed tarball, use L</tar-out>."
21700 msgstr ""
21701
21702 # type: =head2
21703 #: ../fish/guestfish-actions.pod:3856
21704 msgid "touch"
21705 msgstr ""
21706
21707 # type: verbatim
21708 #: ../fish/guestfish-actions.pod:3858
21709 #, no-wrap
21710 msgid ""
21711 " touch path\n"
21712 "\n"
21713 msgstr ""
21714
21715 # type: =head2
21716 #: ../fish/guestfish-actions.pod:3867
21717 msgid "truncate"
21718 msgstr ""
21719
21720 # type: verbatim
21721 #: ../fish/guestfish-actions.pod:3869
21722 #, no-wrap
21723 msgid ""
21724 " truncate path\n"
21725 "\n"
21726 msgstr ""
21727
21728 # type: =head2
21729 #: ../fish/guestfish-actions.pod:3874
21730 msgid "truncate-size"
21731 msgstr ""
21732
21733 # type: verbatim
21734 #: ../fish/guestfish-actions.pod:3876
21735 #, no-wrap
21736 msgid ""
21737 " truncate-size path size\n"
21738 "\n"
21739 msgstr ""
21740
21741 # type: textblock
21742 #: ../fish/guestfish-actions.pod:3881
21743 msgid ""
21744 "If the current file size is less than C<size> then the file is extended to "
21745 "the required size with zero bytes.  This creates a sparse file (ie. disk "
21746 "blocks are not allocated for the file until you write to it).  To create a "
21747 "non-sparse file of zeroes, use L</fallocate64> instead."
21748 msgstr ""
21749
21750 # type: =head2
21751 #: ../fish/guestfish-actions.pod:3887
21752 msgid "tune2fs-l"
21753 msgstr ""
21754
21755 # type: verbatim
21756 #: ../fish/guestfish-actions.pod:3889
21757 #, no-wrap
21758 msgid ""
21759 " tune2fs-l device\n"
21760 "\n"
21761 msgstr ""
21762
21763 # type: =head2
21764 #: ../fish/guestfish-actions.pod:3899
21765 msgid "txz-in"
21766 msgstr ""
21767
21768 # type: verbatim
21769 #: ../fish/guestfish-actions.pod:3901
21770 #, no-wrap
21771 msgid ""
21772 " txz-in (tarball|-) directory\n"
21773 "\n"
21774 msgstr ""
21775
21776 # type: =head2
21777 #: ../fish/guestfish-actions.pod:3908
21778 msgid "txz-out"
21779 msgstr ""
21780
21781 # type: verbatim
21782 #: ../fish/guestfish-actions.pod:3910
21783 #, no-wrap
21784 msgid ""
21785 " txz-out directory (tarball|-)\n"
21786 "\n"
21787 msgstr ""
21788
21789 # type: =head2
21790 #: ../fish/guestfish-actions.pod:3917
21791 msgid "umask"
21792 msgstr ""
21793
21794 # type: verbatim
21795 #: ../fish/guestfish-actions.pod:3919
21796 #, no-wrap
21797 msgid ""
21798 " umask mask\n"
21799 "\n"
21800 msgstr ""
21801
21802 # type: textblock
21803 #: ../fish/guestfish-actions.pod:3933
21804 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
21805 msgstr ""
21806
21807 # type: =head2
21808 #: ../fish/guestfish-actions.pod:3938
21809 msgid "umount"
21810 msgstr ""
21811
21812 # type: =head2
21813 #: ../fish/guestfish-actions.pod:3940
21814 msgid "unmount"
21815 msgstr ""
21816
21817 # type: verbatim
21818 #: ../fish/guestfish-actions.pod:3942
21819 #, no-wrap
21820 msgid ""
21821 " umount pathordevice\n"
21822 "\n"
21823 msgstr ""
21824
21825 # type: =head2
21826 #: ../fish/guestfish-actions.pod:3948
21827 msgid "umount-all"
21828 msgstr ""
21829
21830 # type: =head2
21831 #: ../fish/guestfish-actions.pod:3950
21832 msgid "unmount-all"
21833 msgstr ""
21834
21835 # type: verbatim
21836 #: ../fish/guestfish-actions.pod:3952
21837 #, no-wrap
21838 msgid ""
21839 " umount-all\n"
21840 "\n"
21841 msgstr ""
21842
21843 # type: =head2
21844 #: ../fish/guestfish-actions.pod:3958
21845 msgid "upload"
21846 msgstr ""
21847
21848 # type: verbatim
21849 #: ../fish/guestfish-actions.pod:3960
21850 #, no-wrap
21851 msgid ""
21852 " upload (filename|-) remotefilename\n"
21853 "\n"
21854 msgstr ""
21855
21856 # type: textblock
21857 #: ../fish/guestfish-actions.pod:3967
21858 msgid "See also L</download>."
21859 msgstr ""
21860
21861 # type: =head2
21862 #: ../fish/guestfish-actions.pod:3971
21863 msgid "upload-offset"
21864 msgstr ""
21865
21866 # type: verbatim
21867 #: ../fish/guestfish-actions.pod:3973
21868 #, no-wrap
21869 msgid ""
21870 " upload-offset (filename|-) remotefilename offset\n"
21871 "\n"
21872 msgstr ""
21873
21874 # type: textblock
21875 #: ../fish/guestfish-actions.pod:3985
21876 msgid ""
21877 "Note that there is no limit on the amount of data that can be uploaded with "
21878 "this call, unlike with L</pwrite>, and this call always writes the full "
21879 "amount unless an error occurs."
21880 msgstr ""
21881
21882 # type: textblock
21883 #: ../fish/guestfish-actions.pod:3990
21884 msgid "See also L</upload>, L</pwrite>."
21885 msgstr ""
21886
21887 # type: =head2
21888 #: ../fish/guestfish-actions.pod:3994
21889 msgid "utimens"
21890 msgstr ""
21891
21892 # type: verbatim
21893 #: ../fish/guestfish-actions.pod:3996
21894 #, no-wrap
21895 msgid ""
21896 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
21897 "\n"
21898 msgstr ""
21899
21900 # type: =head2
21901 #: ../fish/guestfish-actions.pod:4015
21902 msgid "version"
21903 msgstr ""
21904
21905 # type: verbatim
21906 #: ../fish/guestfish-actions.pod:4017
21907 #, no-wrap
21908 msgid ""
21909 " version\n"
21910 "\n"
21911 msgstr ""
21912
21913 # type: textblock
21914 #: ../fish/guestfish-actions.pod:4044
21915 msgid ""
21916 "I<Note:> Don't use this call to test for availability of features.  In "
21917 "enterprise distributions we backport features from later versions into "
21918 "earlier versions, making this an unreliable way to test for features.  Use "
21919 "L</available> instead."
21920 msgstr ""
21921
21922 # type: =head2
21923 #: ../fish/guestfish-actions.pod:4050
21924 msgid "vfs-label"
21925 msgstr ""
21926
21927 # type: verbatim
21928 #: ../fish/guestfish-actions.pod:4052
21929 #, no-wrap
21930 msgid ""
21931 " vfs-label device\n"
21932 "\n"
21933 msgstr ""
21934
21935 # type: textblock
21936 #: ../fish/guestfish-actions.pod:4059
21937 msgid "To find a filesystem from the label, use L</findfs-label>."
21938 msgstr ""
21939
21940 # type: =head2
21941 #: ../fish/guestfish-actions.pod:4061
21942 msgid "vfs-type"
21943 msgstr ""
21944
21945 # type: verbatim
21946 #: ../fish/guestfish-actions.pod:4063
21947 #, no-wrap
21948 msgid ""
21949 " vfs-type device\n"
21950 "\n"
21951 msgstr ""
21952
21953 # type: =head2
21954 #: ../fish/guestfish-actions.pod:4073
21955 msgid "vfs-uuid"
21956 msgstr ""
21957
21958 # type: verbatim
21959 #: ../fish/guestfish-actions.pod:4075
21960 #, no-wrap
21961 msgid ""
21962 " vfs-uuid device\n"
21963 "\n"
21964 msgstr ""
21965
21966 # type: textblock
21967 #: ../fish/guestfish-actions.pod:4082
21968 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
21969 msgstr ""
21970
21971 # type: =head2
21972 #: ../fish/guestfish-actions.pod:4084
21973 msgid "vg-activate"
21974 msgstr ""
21975
21976 # type: verbatim
21977 #: ../fish/guestfish-actions.pod:4086
21978 #, no-wrap
21979 msgid ""
21980 " vg-activate true|false 'volgroups ...'\n"
21981 "\n"
21982 msgstr ""
21983
21984 # type: =head2
21985 #: ../fish/guestfish-actions.pod:4099
21986 msgid "vg-activate-all"
21987 msgstr ""
21988
21989 # type: verbatim
21990 #: ../fish/guestfish-actions.pod:4101
21991 #, no-wrap
21992 msgid ""
21993 " vg-activate-all true|false\n"
21994 "\n"
21995 msgstr ""
21996
21997 # type: =head2
21998 #: ../fish/guestfish-actions.pod:4111
21999 msgid "vgcreate"
22000 msgstr ""
22001
22002 # type: verbatim
22003 #: ../fish/guestfish-actions.pod:4113
22004 #, no-wrap
22005 msgid ""
22006 " vgcreate volgroup 'physvols ...'\n"
22007 "\n"
22008 msgstr ""
22009
22010 # type: =head2
22011 #: ../fish/guestfish-actions.pod:4118
22012 msgid "vglvuuids"
22013 msgstr ""
22014
22015 # type: verbatim
22016 #: ../fish/guestfish-actions.pod:4120
22017 #, no-wrap
22018 msgid ""
22019 " vglvuuids vgname\n"
22020 "\n"
22021 msgstr ""
22022
22023 # type: textblock
22024 #: ../fish/guestfish-actions.pod:4125
22025 msgid ""
22026 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
22027 "logical volumes and volume groups."
22028 msgstr ""
22029
22030 # type: textblock
22031 #: ../fish/guestfish-actions.pod:4128
22032 msgid "See also L</vgpvuuids>."
22033 msgstr ""
22034
22035 # type: =head2
22036 #: ../fish/guestfish-actions.pod:4130
22037 msgid "vgpvuuids"
22038 msgstr ""
22039
22040 # type: verbatim
22041 #: ../fish/guestfish-actions.pod:4132
22042 #, no-wrap
22043 msgid ""
22044 " vgpvuuids vgname\n"
22045 "\n"
22046 msgstr ""
22047
22048 # type: textblock
22049 #: ../fish/guestfish-actions.pod:4137
22050 msgid ""
22051 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
22052 "physical volumes and volume groups."
22053 msgstr ""
22054
22055 # type: textblock
22056 #: ../fish/guestfish-actions.pod:4140
22057 msgid "See also L</vglvuuids>."
22058 msgstr ""
22059
22060 # type: =head2
22061 #: ../fish/guestfish-actions.pod:4142
22062 msgid "vgremove"
22063 msgstr ""
22064
22065 # type: verbatim
22066 #: ../fish/guestfish-actions.pod:4144
22067 #, no-wrap
22068 msgid ""
22069 " vgremove vgname\n"
22070 "\n"
22071 msgstr ""
22072
22073 # type: =head2
22074 #: ../fish/guestfish-actions.pod:4151
22075 msgid "vgrename"
22076 msgstr ""
22077
22078 # type: verbatim
22079 #: ../fish/guestfish-actions.pod:4153
22080 #, no-wrap
22081 msgid ""
22082 " vgrename volgroup newvolgroup\n"
22083 "\n"
22084 msgstr ""
22085
22086 # type: =head2
22087 #: ../fish/guestfish-actions.pod:4157
22088 msgid "vgs"
22089 msgstr ""
22090
22091 # type: verbatim
22092 #: ../fish/guestfish-actions.pod:4159
22093 #, no-wrap
22094 msgid ""
22095 " vgs\n"
22096 "\n"
22097 msgstr ""
22098
22099 # type: textblock
22100 #: ../fish/guestfish-actions.pod:4167
22101 msgid "See also L</vgs-full>."
22102 msgstr ""
22103
22104 # type: =head2
22105 #: ../fish/guestfish-actions.pod:4169
22106 msgid "vgs-full"
22107 msgstr ""
22108
22109 # type: verbatim
22110 #: ../fish/guestfish-actions.pod:4171
22111 #, no-wrap
22112 msgid ""
22113 " vgs-full\n"
22114 "\n"
22115 msgstr ""
22116
22117 # type: =head2
22118 #: ../fish/guestfish-actions.pod:4176
22119 msgid "vgscan"
22120 msgstr ""
22121
22122 # type: verbatim
22123 #: ../fish/guestfish-actions.pod:4178
22124 #, no-wrap
22125 msgid ""
22126 " vgscan\n"
22127 "\n"
22128 msgstr ""
22129
22130 # type: =head2
22131 #: ../fish/guestfish-actions.pod:4183
22132 msgid "vguuid"
22133 msgstr ""
22134
22135 # type: verbatim
22136 #: ../fish/guestfish-actions.pod:4185
22137 #, no-wrap
22138 msgid ""
22139 " vguuid vgname\n"
22140 "\n"
22141 msgstr ""
22142
22143 # type: =head2
22144 #: ../fish/guestfish-actions.pod:4189
22145 msgid "wc-c"
22146 msgstr ""
22147
22148 # type: verbatim
22149 #: ../fish/guestfish-actions.pod:4191
22150 #, no-wrap
22151 msgid ""
22152 " wc-c path\n"
22153 "\n"
22154 msgstr ""
22155
22156 # type: =head2
22157 #: ../fish/guestfish-actions.pod:4196
22158 msgid "wc-l"
22159 msgstr ""
22160
22161 # type: verbatim
22162 #: ../fish/guestfish-actions.pod:4198
22163 #, no-wrap
22164 msgid ""
22165 " wc-l path\n"
22166 "\n"
22167 msgstr ""
22168
22169 # type: =head2
22170 #: ../fish/guestfish-actions.pod:4203
22171 msgid "wc-w"
22172 msgstr ""
22173
22174 # type: verbatim
22175 #: ../fish/guestfish-actions.pod:4205
22176 #, no-wrap
22177 msgid ""
22178 " wc-w path\n"
22179 "\n"
22180 msgstr ""
22181
22182 # type: =head2
22183 #: ../fish/guestfish-actions.pod:4210
22184 msgid "write"
22185 msgstr ""
22186
22187 # type: verbatim
22188 #: ../fish/guestfish-actions.pod:4212
22189 #, no-wrap
22190 msgid ""
22191 " write path content\n"
22192 "\n"
22193 msgstr ""
22194
22195 # type: =head2
22196 #: ../fish/guestfish-actions.pod:4220
22197 msgid "write-file"
22198 msgstr ""
22199
22200 # type: verbatim
22201 #: ../fish/guestfish-actions.pod:4222
22202 #, no-wrap
22203 msgid ""
22204 " write-file path content size\n"
22205 "\n"
22206 msgstr ""
22207
22208 # type: =head2
22209 #: ../fish/guestfish-actions.pod:4245
22210 msgid "zegrep"
22211 msgstr ""
22212
22213 # type: verbatim
22214 #: ../fish/guestfish-actions.pod:4247
22215 #, no-wrap
22216 msgid ""
22217 " zegrep regex path\n"
22218 "\n"
22219 msgstr ""
22220
22221 # type: =head2
22222 #: ../fish/guestfish-actions.pod:4255
22223 msgid "zegrepi"
22224 msgstr ""
22225
22226 # type: verbatim
22227 #: ../fish/guestfish-actions.pod:4257
22228 #, no-wrap
22229 msgid ""
22230 " zegrepi regex path\n"
22231 "\n"
22232 msgstr ""
22233
22234 # type: =head2
22235 #: ../fish/guestfish-actions.pod:4265
22236 msgid "zero"
22237 msgstr ""
22238
22239 # type: verbatim
22240 #: ../fish/guestfish-actions.pod:4267
22241 #, no-wrap
22242 msgid ""
22243 " zero device\n"
22244 "\n"
22245 msgstr ""
22246
22247 # type: textblock
22248 #: ../fish/guestfish-actions.pod:4275
22249 msgid "See also: L</zero-device>, L</scrub-device>."
22250 msgstr ""
22251
22252 # type: =head2
22253 #: ../fish/guestfish-actions.pod:4277
22254 msgid "zero-device"
22255 msgstr ""
22256
22257 # type: verbatim
22258 #: ../fish/guestfish-actions.pod:4279
22259 #, no-wrap
22260 msgid ""
22261 " zero-device device\n"
22262 "\n"
22263 msgstr ""
22264
22265 # type: textblock
22266 #: ../fish/guestfish-actions.pod:4281
22267 msgid ""
22268 "This command writes zeroes over the entire C<device>.  Compare with L</zero> "
22269 "which just zeroes the first few blocks of a device."
22270 msgstr ""
22271
22272 # type: =head2
22273 #: ../fish/guestfish-actions.pod:4288
22274 msgid "zerofree"
22275 msgstr ""
22276
22277 # type: verbatim
22278 #: ../fish/guestfish-actions.pod:4290
22279 #, no-wrap
22280 msgid ""
22281 " zerofree device\n"
22282 "\n"
22283 msgstr ""
22284
22285 # type: =head2
22286 #: ../fish/guestfish-actions.pod:4303
22287 msgid "zfgrep"
22288 msgstr ""
22289
22290 # type: verbatim
22291 #: ../fish/guestfish-actions.pod:4305
22292 #, no-wrap
22293 msgid ""
22294 " zfgrep pattern path\n"
22295 "\n"
22296 msgstr ""
22297
22298 # type: =head2
22299 #: ../fish/guestfish-actions.pod:4313
22300 msgid "zfgrepi"
22301 msgstr ""
22302
22303 # type: verbatim
22304 #: ../fish/guestfish-actions.pod:4315
22305 #, no-wrap
22306 msgid ""
22307 " zfgrepi pattern path\n"
22308 "\n"
22309 msgstr ""
22310
22311 # type: =head2
22312 #: ../fish/guestfish-actions.pod:4323
22313 msgid "zfile"
22314 msgstr ""
22315
22316 # type: verbatim
22317 #: ../fish/guestfish-actions.pod:4325
22318 #, no-wrap
22319 msgid ""
22320 " zfile meth path\n"
22321 "\n"
22322 msgstr ""
22323
22324 # type: textblock
22325 #: ../fish/guestfish-actions.pod:4332
22326 msgid ""
22327 "Since 1.0.63, use L</file> instead which can now process compressed files."
22328 msgstr ""
22329
22330 # type: =head2
22331 #: ../fish/guestfish-actions.pod:4342
22332 msgid "zgrep"
22333 msgstr ""
22334
22335 # type: verbatim
22336 #: ../fish/guestfish-actions.pod:4344
22337 #, no-wrap
22338 msgid ""
22339 " zgrep regex path\n"
22340 "\n"
22341 msgstr ""
22342
22343 # type: =head2
22344 #: ../fish/guestfish-actions.pod:4352
22345 msgid "zgrepi"
22346 msgstr ""
22347
22348 # type: verbatim
22349 #: ../fish/guestfish-actions.pod:4354
22350 #, no-wrap
22351 msgid ""
22352 " zgrepi regex path\n"
22353 "\n"
22354 msgstr ""
22355
22356 # type: =head2
22357 #: ../fish/guestfish-commands.pod:1
22358 msgid "alloc"
22359 msgstr ""
22360
22361 # type: =head2
22362 #: ../fish/guestfish-commands.pod:3
22363 msgid "allocate"
22364 msgstr ""
22365
22366 # type: verbatim
22367 #: ../fish/guestfish-commands.pod:5
22368 #, no-wrap
22369 msgid ""
22370 " alloc filename size\n"
22371 "\n"
22372 msgstr ""
22373
22374 # type: textblock
22375 #: ../fish/guestfish-commands.pod:7
22376 msgid ""
22377 "This creates an empty (zeroed) file of the given size, and then adds so it "
22378 "can be further examined."
22379 msgstr ""
22380
22381 # type: textblock
22382 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:168
22383 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
22384 msgstr ""
22385
22386 # type: textblock
22387 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:170
22388 msgid "Size can be specified using standard suffixes, eg. C<1M>."
22389 msgstr ""
22390
22391 # type: textblock
22392 #: ../fish/guestfish-commands.pod:14
22393 msgid ""
22394 "To create a sparse file, use L</sparse> instead.  To create a prepared disk "
22395 "image, see L</PREPARED DISK IMAGES>."
22396 msgstr ""
22397
22398 # type: =head2
22399 #: ../fish/guestfish-commands.pod:17
22400 msgid "copy-in"
22401 msgstr ""
22402
22403 # type: verbatim
22404 #: ../fish/guestfish-commands.pod:19
22405 #, no-wrap
22406 msgid ""
22407 " copy-in local [local ...] /remotedir\n"
22408 "\n"
22409 msgstr ""
22410
22411 # type: textblock
22412 #: ../fish/guestfish-commands.pod:21
22413 msgid ""
22414 "C<copy-in> copies local files or directories recursively into the disk "
22415 "image, placing them in the directory called C</remotedir> (which must "
22416 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and "
22417 "other commands as necessary."
22418 msgstr ""
22419
22420 # type: textblock
22421 #: ../fish/guestfish-commands.pod:26
22422 msgid ""
22423 "Multiple local files and directories can be specified, but the last "
22424 "parameter must always be a remote directory.  Wildcards cannot be used."
22425 msgstr ""
22426
22427 # type: =head2
22428 #: ../fish/guestfish-commands.pod:30
22429 msgid "copy-out"
22430 msgstr ""
22431
22432 # type: verbatim
22433 #: ../fish/guestfish-commands.pod:32
22434 #, no-wrap
22435 msgid ""
22436 " copy-out remote [remote ...] localdir\n"
22437 "\n"
22438 msgstr ""
22439
22440 # type: textblock
22441 #: ../fish/guestfish-commands.pod:34
22442 msgid ""
22443 "C<copy-out> copies remote files or directories recursively out of the disk "
22444 "image, placing them on the host disk in a local directory called C<localdir> "
22445 "(which must exist).  This guestfish meta-command turns into a sequence of L</"
22446 "download>, L</tar-out> and other commands as necessary."
22447 msgstr ""
22448
22449 # type: textblock
22450 #: ../fish/guestfish-commands.pod:40
22451 msgid ""
22452 "Multiple remote files and directories can be specified, but the last "
22453 "parameter must always be a local directory.  To download to the current "
22454 "directory, use C<.> as in:"
22455 msgstr ""
22456
22457 # type: verbatim
22458 #: ../fish/guestfish-commands.pod:44
22459 #, no-wrap
22460 msgid ""
22461 " copy-out /home .\n"
22462 "\n"
22463 msgstr ""
22464
22465 # type: textblock
22466 #: ../fish/guestfish-commands.pod:46
22467 msgid ""
22468 "Wildcards cannot be used in the ordinary command, but you can use them with "
22469 "the help of L</glob> like this:"
22470 msgstr ""
22471
22472 # type: verbatim
22473 #: ../fish/guestfish-commands.pod:49
22474 #, no-wrap
22475 msgid ""
22476 " glob copy-out /home/* .\n"
22477 "\n"
22478 msgstr ""
22479
22480 # type: =head2
22481 #: ../fish/guestfish-commands.pod:51
22482 msgid "echo"
22483 msgstr ""
22484
22485 # type: verbatim
22486 #: ../fish/guestfish-commands.pod:53
22487 #, no-wrap
22488 msgid ""
22489 " echo [params ...]\n"
22490 "\n"
22491 msgstr ""
22492
22493 # type: textblock
22494 #: ../fish/guestfish-commands.pod:55
22495 msgid "This echos the parameters to the terminal."
22496 msgstr ""
22497
22498 # type: =head2
22499 #: ../fish/guestfish-commands.pod:57
22500 msgid "edit"
22501 msgstr ""
22502
22503 # type: =head2
22504 #: ../fish/guestfish-commands.pod:59
22505 msgid "vi"
22506 msgstr ""
22507
22508 # type: =head2
22509 #: ../fish/guestfish-commands.pod:61
22510 msgid "emacs"
22511 msgstr ""
22512
22513 # type: verbatim
22514 #: ../fish/guestfish-commands.pod:63
22515 #, no-wrap
22516 msgid ""
22517 " edit filename\n"
22518 "\n"
22519 msgstr ""
22520
22521 # type: textblock
22522 #: ../fish/guestfish-commands.pod:65
22523 msgid ""
22524 "This is used to edit a file.  It downloads the file, edits it locally using "
22525 "your editor, then uploads the result."
22526 msgstr ""
22527
22528 # type: textblock
22529 #: ../fish/guestfish-commands.pod:68
22530 msgid ""
22531 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
22532 "or C<emacs> you will get those corresponding editors."
22533 msgstr ""
22534
22535 # type: =head2
22536 #: ../fish/guestfish-commands.pod:72
22537 msgid "glob"
22538 msgstr ""
22539
22540 # type: verbatim
22541 #: ../fish/guestfish-commands.pod:74
22542 #, no-wrap
22543 msgid ""
22544 " glob command args...\n"
22545 "\n"
22546 msgstr ""
22547
22548 # type: textblock
22549 #: ../fish/guestfish-commands.pod:76
22550 msgid ""
22551 "Expand wildcards in any paths in the args list, and run C<command> "
22552 "repeatedly on each matching path."
22553 msgstr ""
22554
22555 # type: textblock
22556 #: ../fish/guestfish-commands.pod:79
22557 msgid "See L</WILDCARDS AND GLOBBING>."
22558 msgstr ""
22559
22560 # type: =head2
22561 #: ../fish/guestfish-commands.pod:81
22562 msgid "hexedit"
22563 msgstr ""
22564
22565 # type: verbatim
22566 #: ../fish/guestfish-commands.pod:83
22567 #, no-wrap
22568 msgid ""
22569 " hexedit <filename|device>\n"
22570 " hexedit <filename|device> <max>\n"
22571 " hexedit <filename|device> <start> <max>\n"
22572 "\n"
22573 msgstr ""
22574
22575 # type: textblock
22576 #: ../fish/guestfish-commands.pod:87
22577 msgid ""
22578 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
22579 "device."
22580 msgstr ""
22581
22582 # type: textblock
22583 #: ../fish/guestfish-commands.pod:90
22584 msgid ""
22585 "This command works by downloading potentially the whole file or device, "
22586 "editing it locally, then uploading it.  If the file or device is large, you "
22587 "have to specify which part you wish to edit by using C<max> and/or C<start> "
22588 "C<max> parameters.  C<start> and C<max> are specified in bytes, with the "
22589 "usual modifiers allowed such as C<1M> (1 megabyte)."
22590 msgstr ""
22591
22592 # type: textblock
22593 #: ../fish/guestfish-commands.pod:97
22594 msgid "For example to edit the first few sectors of a disk you might do:"
22595 msgstr ""
22596
22597 # type: verbatim
22598 #: ../fish/guestfish-commands.pod:100
22599 #, no-wrap
22600 msgid ""
22601 " hexedit /dev/sda 1M\n"
22602 "\n"
22603 msgstr ""
22604
22605 # type: textblock
22606 #: ../fish/guestfish-commands.pod:102
22607 msgid ""
22608 "which would allow you to edit anywhere within the first megabyte of the disk."
22609 msgstr ""
22610
22611 # type: textblock
22612 #: ../fish/guestfish-commands.pod:105
22613 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
22614 msgstr ""
22615
22616 # type: verbatim
22617 #: ../fish/guestfish-commands.pod:107
22618 #, no-wrap
22619 msgid ""
22620 " hexedit /dev/sda1 0x400 0x400\n"
22621 "\n"
22622 msgstr ""
22623
22624 # type: textblock
22625 #: ../fish/guestfish-commands.pod:109
22626 msgid "(assuming the superblock is in the standard location)."
22627 msgstr ""
22628
22629 # type: textblock
22630 #: ../fish/guestfish-commands.pod:111
22631 msgid ""
22632 "This command requires the external L<hexedit(1)> program.  You can specify "
22633 "another program to use by setting the C<HEXEDITOR> environment variable."
22634 msgstr ""
22635
22636 # type: textblock
22637 #: ../fish/guestfish-commands.pod:115
22638 msgid "See also L</hexdump>."
22639 msgstr ""
22640
22641 # type: =head2
22642 #: ../fish/guestfish-commands.pod:117
22643 msgid "lcd"
22644 msgstr ""
22645
22646 # type: verbatim
22647 #: ../fish/guestfish-commands.pod:119
22648 #, no-wrap
22649 msgid ""
22650 " lcd directory\n"
22651 "\n"
22652 msgstr ""
22653
22654 # type: textblock
22655 #: ../fish/guestfish-commands.pod:121
22656 msgid ""
22657 "Change the local directory, ie. the current directory of guestfish itself."
22658 msgstr ""
22659
22660 # type: textblock
22661 #: ../fish/guestfish-commands.pod:124
22662 msgid "Note that C<!cd> won't do what you might expect."
22663 msgstr ""
22664
22665 # type: =head2
22666 #: ../fish/guestfish-commands.pod:126
22667 msgid "man"
22668 msgstr ""
22669
22670 # type: =head2
22671 #: ../fish/guestfish-commands.pod:128
22672 msgid "manual"
22673 msgstr ""
22674
22675 # type: verbatim
22676 #: ../fish/guestfish-commands.pod:130
22677 #, no-wrap
22678 msgid ""
22679 "  man\n"
22680 "\n"
22681 msgstr ""
22682
22683 # type: textblock
22684 #: ../fish/guestfish-commands.pod:132
22685 msgid "Opens the manual page for guestfish."
22686 msgstr ""
22687
22688 # type: =head2
22689 #: ../fish/guestfish-commands.pod:134
22690 msgid "more"
22691 msgstr ""
22692
22693 # type: =head2
22694 #: ../fish/guestfish-commands.pod:136
22695 msgid "less"
22696 msgstr ""
22697
22698 # type: verbatim
22699 #: ../fish/guestfish-commands.pod:138
22700 #, no-wrap
22701 msgid ""
22702 " more filename\n"
22703 "\n"
22704 msgstr ""
22705
22706 # type: verbatim
22707 #: ../fish/guestfish-commands.pod:140
22708 #, no-wrap
22709 msgid ""
22710 " less filename\n"
22711 "\n"
22712 msgstr ""
22713
22714 # type: textblock
22715 #: ../fish/guestfish-commands.pod:142
22716 msgid "This is used to view a file."
22717 msgstr ""
22718
22719 # type: textblock
22720 #: ../fish/guestfish-commands.pod:144
22721 msgid ""
22722 "The default viewer is C<$PAGER>.  However if you use the alternate command "
22723 "C<less> you will get the C<less> command specifically."
22724 msgstr ""
22725
22726 # type: =head2
22727 #: ../fish/guestfish-commands.pod:147
22728 msgid "reopen"
22729 msgstr ""
22730
22731 # type: verbatim
22732 #: ../fish/guestfish-commands.pod:149
22733 #, no-wrap
22734 msgid ""
22735 "  reopen\n"
22736 "\n"
22737 msgstr ""
22738
22739 # type: textblock
22740 #: ../fish/guestfish-commands.pod:151
22741 msgid ""
22742 "Close and reopen the libguestfs handle.  It is not necessary to use this "
22743 "normally, because the handle is closed properly when guestfish exits.  "
22744 "However this is occasionally useful for testing."
22745 msgstr ""
22746
22747 # type: =head2
22748 #: ../fish/guestfish-commands.pod:155
22749 msgid "sparse"
22750 msgstr ""
22751
22752 # type: verbatim
22753 #: ../fish/guestfish-commands.pod:157
22754 #, no-wrap
22755 msgid ""
22756 " sparse filename size\n"
22757 "\n"
22758 msgstr ""
22759
22760 # type: textblock
22761 #: ../fish/guestfish-commands.pod:159
22762 msgid ""
22763 "This creates an empty sparse file of the given size, and then adds so it can "
22764 "be further examined."
22765 msgstr ""
22766
22767 # type: textblock
22768 #: ../fish/guestfish-commands.pod:162
22769 msgid ""
22770 "In all respects it works the same as the L</alloc> command, except that the "
22771 "image file is allocated sparsely, which means that disk blocks are not "
22772 "assigned to the file until they are needed.  Sparse disk files only use "
22773 "space when written to, but they are slower and there is a danger you could "
22774 "run out of real disk space during a write operation."
22775 msgstr ""
22776
22777 # type: =head2
22778 #: ../fish/guestfish-commands.pod:172
22779 msgid "supported"
22780 msgstr ""
22781
22782 # type: verbatim
22783 #: ../fish/guestfish-commands.pod:174
22784 #, no-wrap
22785 msgid ""
22786 " supported\n"
22787 "\n"
22788 msgstr ""
22789
22790 # type: textblock
22791 #: ../fish/guestfish-commands.pod:176
22792 msgid ""
22793 "This command returns a list of the optional groups known to the daemon, and "
22794 "indicates which ones are supported by this build of the libguestfs appliance."
22795 msgstr ""
22796
22797 # type: textblock
22798 #: ../fish/guestfish-commands.pod:180
22799 msgid "See also L<guestfs(3)/AVAILABILITY>."
22800 msgstr ""
22801
22802 # type: =head2
22803 #: ../fish/guestfish-commands.pod:182
22804 msgid "time"
22805 msgstr ""
22806
22807 # type: verbatim
22808 #: ../fish/guestfish-commands.pod:184
22809 #, no-wrap
22810 msgid ""
22811 " time command args...\n"
22812 "\n"
22813 msgstr ""
22814
22815 # type: textblock
22816 #: ../fish/guestfish-commands.pod:186
22817 msgid ""
22818 "Run the command as usual, but print the elapsed time afterwards.  This can "
22819 "be useful for benchmarking operations."
22820 msgstr ""
22821
22822 # type: textblock
22823 #: ../test-tool/libguestfs-test-tool.pod:5
22824 msgid "libguestfs-test-tool - End user tests for libguestfs"
22825 msgstr ""
22826
22827 # type: verbatim
22828 #: ../test-tool/libguestfs-test-tool.pod:9
22829 #, no-wrap
22830 msgid ""
22831 " libguestfs-test-tool [--options]\n"
22832 "\n"
22833 msgstr ""
22834
22835 # type: textblock
22836 #: ../test-tool/libguestfs-test-tool.pod:13
22837 msgid ""
22838 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
22839 "and developers, to allow them to check basic libguestfs functionality is "
22840 "working.  This is needed because libguestfs occasionally breaks for reasons "
22841 "beyond our control: usually because of changes in the underlying qemu or "
22842 "kernel packages, or the host environment."
22843 msgstr ""
22844
22845 # type: textblock
22846 #: ../test-tool/libguestfs-test-tool.pod:20
22847 msgid "If you suspect a problem in libguestfs, then just run:"
22848 msgstr ""
22849
22850 # type: verbatim
22851 #: ../test-tool/libguestfs-test-tool.pod:22
22852 #, no-wrap
22853 msgid ""
22854 " libguestfs-test-tool\n"
22855 "\n"
22856 msgstr ""
22857
22858 # type: textblock
22859 #: ../test-tool/libguestfs-test-tool.pod:24
22860 msgid "It will print lots of diagnostic messages."
22861 msgstr ""
22862
22863 # type: textblock
22864 #: ../test-tool/libguestfs-test-tool.pod:26
22865 msgid "If it runs to completion successfully, you will see this near the end:"
22866 msgstr ""
22867
22868 # type: verbatim
22869 #: ../test-tool/libguestfs-test-tool.pod:28
22870 #, no-wrap
22871 msgid ""
22872 " ===== TEST FINISHED OK =====\n"
22873 "\n"
22874 msgstr ""
22875
22876 # type: textblock
22877 #: ../test-tool/libguestfs-test-tool.pod:30
22878 msgid "and the test tool will exit with code 0."
22879 msgstr ""
22880
22881 # type: textblock
22882 #: ../test-tool/libguestfs-test-tool.pod:32
22883 msgid ""
22884 "If it fails (and/or exits with non-zero error code), please paste the "
22885 "B<complete, unedited> output of the test tool into a bug report.  More "
22886 "information about reporting bugs can be found on the L<http://libguestfs.org/"
22887 "> website."
22888 msgstr ""
22889
22890 # type: =item
22891 #: ../test-tool/libguestfs-test-tool.pod:41
22892 msgid "I<--help>"
22893 msgstr ""
22894
22895 # type: textblock
22896 #: ../test-tool/libguestfs-test-tool.pod:43
22897 msgid "Display short usage information and exit."
22898 msgstr ""
22899
22900 # type: =item
22901 #: ../test-tool/libguestfs-test-tool.pod:45
22902 msgid "I<--helper /path/to/libguestfs-test-tool-helper>"
22903 msgstr ""
22904
22905 # type: textblock
22906 #: ../test-tool/libguestfs-test-tool.pod:47
22907 msgid ""
22908 "Pass an alternate name for the helper program.  libguestfs-test-tool will "
22909 "normally look in the C<$libexec> directory that was configured when the tool "
22910 "was built."
22911 msgstr ""
22912
22913 # type: =item
22914 #: ../test-tool/libguestfs-test-tool.pod:51
22915 msgid "I<--qemu qemu_binary>"
22916 msgstr ""
22917
22918 # type: textblock
22919 #: ../test-tool/libguestfs-test-tool.pod:53
22920 msgid ""
22921 "If you have downloaded another qemu binary, point this option at the full "
22922 "path of the binary to try it."
22923 msgstr ""
22924
22925 # type: =item
22926 #: ../test-tool/libguestfs-test-tool.pod:56
22927 msgid "I<--qemudir qemu_source_dir>"
22928 msgstr ""
22929
22930 # type: textblock
22931 #: ../test-tool/libguestfs-test-tool.pod:58
22932 msgid ""
22933 "If you have compiled qemu from source, point this option at the source "
22934 "directory to try it."
22935 msgstr ""
22936
22937 # type: =item
22938 #: ../test-tool/libguestfs-test-tool.pod:61
22939 msgid "I<--timeout N>"
22940 msgstr ""
22941
22942 # type: textblock
22943 #: ../test-tool/libguestfs-test-tool.pod:63
22944 msgid ""
22945 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
22946 "does not usually need to be adjusted unless your machine is very slow."
22947 msgstr ""
22948
22949 # type: =head1
22950 #: ../test-tool/libguestfs-test-tool.pod:69
22951 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
22952 msgstr ""
22953
22954 # type: textblock
22955 #: ../test-tool/libguestfs-test-tool.pod:71
22956 msgid ""
22957 "If you have compiled another version of qemu from source and would like to "
22958 "try that, then you can use the I<--qemudir> option to point to the qemu "
22959 "source directory."
22960 msgstr ""
22961
22962 # type: textblock
22963 #: ../test-tool/libguestfs-test-tool.pod:75
22964 msgid ""
22965 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
22966 "option to point to the binary."
22967 msgstr ""
22968
22969 # type: textblock
22970 #: ../test-tool/libguestfs-test-tool.pod:78
22971 msgid ""
22972 "When using an alternate qemu with libguestfs, usually you would need to "
22973 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in L<guestfs(3)"
22974 ">).  libguestfs-test-tool writes a temporary qemu wrapper script when you "
22975 "use either of the I<--qemudir> or I<--qemu> options."
22976 msgstr ""
22977
22978 # type: textblock
22979 #: ../test-tool/libguestfs-test-tool.pod:85
22980 msgid ""
22981 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
22982 "I<1> if there was an error."
22983 msgstr ""
22984
22985 # type: =item
22986 #: ../test-tool/libguestfs-test-tool.pod:92
22987 msgid "/usr/libexec/libguestfs-test-tool-helper"
22988 msgstr ""
22989
22990 # type: textblock
22991 #: ../test-tool/libguestfs-test-tool.pod:94
22992 msgid ""
22993 "This helper program is run inside the appliance and provides additional "
22994 "tests."
22995 msgstr ""
22996
22997 # type: =item
22998 #: ../test-tool/libguestfs-test-tool.pod:97
22999 msgid "/usr/bin/mkisofs"
23000 msgstr ""
23001
23002 # type: textblock
23003 #: ../test-tool/libguestfs-test-tool.pod:99
23004 msgid ""
23005 "The C<mkisofs> command is required in order to construct a CD-ROM ISO file "
23006 "which is used as part of the tests."
23007 msgstr ""
23008
23009 # type: textblock
23010 #: ../test-tool/libguestfs-test-tool.pod:106
23011 msgid ""
23012 "For the full list of environment variables which may affect libguestfs, "
23013 "please see the L<guestfs(3)> manual page."
23014 msgstr ""
23015
23016 # type: textblock
23017 #: ../test-tool/libguestfs-test-tool.pod:111
23018 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
23019 msgstr ""
23020
23021 # type: textblock
23022 #: ../test-tool/libguestfs-test-tool.pod:121 ../fuse/guestmount.pod:195
23023 msgid "Copyright (C) 2009 Red Hat Inc.  L<http://libguestfs.org/>"
23024 msgstr ""
23025
23026 # type: textblock
23027 #: ../fuse/guestmount.pod:5
23028 msgid ""
23029 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
23030 msgstr ""
23031
23032 # type: verbatim
23033 #: ../fuse/guestmount.pod:9
23034 #, no-wrap
23035 msgid ""
23036 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
23037 "\n"
23038 msgstr ""
23039
23040 # type: textblock
23041 #: ../fuse/guestmount.pod:13
23042 msgid ""
23043 "You must I<not> use C<guestmount> in read-write mode on live virtual "
23044 "machines.  If you do this, you risk disk corruption in the VM."
23045 msgstr ""
23046
23047 # type: textblock
23048 #: ../fuse/guestmount.pod:18
23049 msgid ""
23050 "The guestmount program can be used to mount virtual machine filesystems and "
23051 "other disk images on the host.  It uses libguestfs for access to the guest "
23052 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
23053 "a mountable device."
23054 msgstr ""
23055
23056 # type: textblock
23057 #: ../fuse/guestmount.pod:23
23058 msgid ""
23059 "Along with other options, you have to give at least one device (I<-a> "
23060 "option) and at least one mountpoint (I<-m> option).  How this works is "
23061 "better explained in the L<guestfish(1)> manual page, or you can use L<virt-"
23062 "inspector(1)> and/or the wrapper script C<guestmount-wrapper> to help you."
23063 msgstr ""
23064
23065 # type: textblock
23066 #: ../fuse/guestmount.pod:29
23067 msgid ""
23068 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
23069 "by you, and the filesystem will not be visible to any other users unless you "
23070 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
23071 "the filesystem, use the C<fusermount -u> command."
23072 msgstr ""
23073
23074 # type: textblock
23075 #: ../fuse/guestmount.pod:37
23076 msgid ""
23077 "For a typical Windows guest which has its main filesystem on the first "
23078 "partition:"
23079 msgstr ""
23080
23081 # type: verbatim
23082 #: ../fuse/guestmount.pod:40
23083 #, no-wrap
23084 msgid ""
23085 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
23086 "\n"
23087 msgstr ""
23088
23089 # type: textblock
23090 #: ../fuse/guestmount.pod:42
23091 msgid ""
23092 "For a typical Linux guest which has a /boot filesystem on the first "
23093 "partition, and the root filesystem on a logical volume:"
23094 msgstr ""
23095
23096 # type: verbatim
23097 #: ../fuse/guestmount.pod:45
23098 #, no-wrap
23099 msgid ""
23100 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
23101 "\n"
23102 msgstr ""
23103
23104 # type: textblock
23105 #: ../fuse/guestmount.pod:47
23106 msgid ""
23107 "To get L<virt-inspector(1)> to do the hard work of detecting guest "
23108 "mountpoints for you:"
23109 msgstr ""
23110
23111 # type: verbatim
23112 #: ../fuse/guestmount.pod:50
23113 #, no-wrap
23114 msgid ""
23115 " guestmount $(virt-inspector --ro-fish MyGuest) /mnt\n"
23116 "\n"
23117 msgstr ""
23118
23119 # type: textblock
23120 #: ../fuse/guestmount.pod:52
23121 msgid ""
23122 "(or use --fish if you don't want it to be a read only mount).  The option is "
23123 "called I<--ro-fish> or I<--fish> because these parameters are compatible "
23124 "with L<guestfish(1)>."
23125 msgstr ""
23126
23127 # type: textblock
23128 #: ../fuse/guestmount.pod:56
23129 msgid ""
23130 "If you don't know what filesystems are contained in a guest or disk image, "
23131 "use L<virt-list-filesystems(1)> first:"
23132 msgstr ""
23133
23134 # type: verbatim
23135 #: ../fuse/guestmount.pod:59
23136 #, no-wrap
23137 msgid ""
23138 " virt-list-filesystems MyGuest\n"
23139 "\n"
23140 msgstr ""
23141
23142 # type: textblock
23143 #: ../fuse/guestmount.pod:61
23144 msgid ""
23145 "If you want to trace the libguestfs calls but without excessive debugging, "
23146 "we recommend:"
23147 msgstr ""
23148
23149 # type: verbatim
23150 #: ../fuse/guestmount.pod:64
23151 #, no-wrap
23152 msgid ""
23153 " guestmount [-a ... -m ...] --trace /mnt\n"
23154 "\n"
23155 msgstr ""
23156
23157 # type: textblock
23158 #: ../fuse/guestmount.pod:66
23159 msgid "If you want to debug the program, we recommend:"
23160 msgstr ""
23161
23162 # type: verbatim
23163 #: ../fuse/guestmount.pod:68
23164 #, no-wrap
23165 msgid ""
23166 " guestmount [-a ... -m ...] --trace --verbose /mnt\n"
23167 "\n"
23168 msgstr ""
23169
23170 # type: textblock
23171 #: ../fuse/guestmount.pod:76
23172 msgid "Add a block device or virtual machine image."
23173 msgstr ""
23174
23175 # type: =item
23176 #: ../fuse/guestmount.pod:78
23177 msgid "B<--dir-cache-timeout N>"
23178 msgstr ""
23179
23180 # type: textblock
23181 #: ../fuse/guestmount.pod:80
23182 msgid ""
23183 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
23184 "seconds.  The readdir cache [actually, there are several semi-independent "
23185 "caches] is populated after a readdir(2) call with the stat and extended "
23186 "attributes of the files in the directory, in anticipation that they will be "
23187 "requested soon after."
23188 msgstr ""
23189
23190 # type: textblock
23191 #: ../fuse/guestmount.pod:86
23192 msgid ""
23193 "There is also a different attribute cache implemented by FUSE (see the FUSE "
23194 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
23195 "requests, only cache existing ones."
23196 msgstr ""
23197
23198 # type: =item
23199 #: ../fuse/guestmount.pod:90
23200 msgid "B<--fuse-help>"
23201 msgstr ""
23202
23203 # type: textblock
23204 #: ../fuse/guestmount.pod:92
23205 msgid "Display help on special FUSE options (see I<-o> below)."
23206 msgstr ""
23207
23208 # type: textblock
23209 #: ../fuse/guestmount.pod:96
23210 msgid "Display brief help and exit."
23211 msgstr ""
23212
23213 # type: =item
23214 #: ../fuse/guestmount.pod:98
23215 msgid "B<-m dev[:mnt]> | B<--mount dev[:mnt]>"
23216 msgstr ""
23217
23218 # type: textblock
23219 #: ../fuse/guestmount.pod:100
23220 msgid ""
23221 "Mount the named partition or logical volume on the given mountpoint B<in the "
23222 "guest> (this has nothing to do with mountpoints in the host)."
23223 msgstr ""
23224
23225 # type: textblock
23226 #: ../fuse/guestmount.pod:103
23227 msgid ""
23228 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
23229 "something on C</>."
23230 msgstr ""
23231
23232 # type: textblock
23233 #: ../fuse/guestmount.pod:108
23234 msgid ""
23235 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
23236 "unmounted.  If you specify this option, then we don't attempt to sync the "
23237 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
23238 msgstr ""
23239
23240 # type: =item
23241 #: ../fuse/guestmount.pod:113
23242 msgid "B<-o option> | B<--option option>"
23243 msgstr ""
23244
23245 # type: textblock
23246 #: ../fuse/guestmount.pod:115
23247 msgid "Pass extra options to FUSE."
23248 msgstr ""
23249
23250 # type: textblock
23251 #: ../fuse/guestmount.pod:117
23252 msgid ""
23253 "To get a list of all the extra options supported by FUSE, use the command "
23254 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
23255 "of them are a good idea."
23256 msgstr ""
23257
23258 # type: verbatim
23259 #: ../fuse/guestmount.pod:121
23260 #, no-wrap
23261 msgid ""
23262 " guestmount --fuse-help\n"
23263 "\n"
23264 msgstr ""
23265
23266 # type: textblock
23267 #: ../fuse/guestmount.pod:123
23268 msgid "Some potentially useful FUSE options:"
23269 msgstr ""
23270
23271 # type: =item
23272 #: ../fuse/guestmount.pod:127
23273 msgid "B<-o allow_other>"
23274 msgstr ""
23275
23276 # type: textblock
23277 #: ../fuse/guestmount.pod:129
23278 msgid "Allow other users to see the filesystem."
23279 msgstr ""
23280
23281 # type: =item
23282 #: ../fuse/guestmount.pod:131
23283 msgid "B<-o attr_timeout=N>"
23284 msgstr ""
23285
23286 # type: textblock
23287 #: ../fuse/guestmount.pod:133
23288 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
23289 msgstr ""
23290
23291 # type: =item
23292 #: ../fuse/guestmount.pod:135
23293 msgid "B<-o kernel_cache>"
23294 msgstr ""
23295
23296 # type: textblock
23297 #: ../fuse/guestmount.pod:137
23298 msgid ""
23299 "Allow the kernel to cache files (reduces the number of reads that have to go "
23300 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
23301 "afford the extra memory usage."
23302 msgstr ""
23303
23304 # type: =item
23305 #: ../fuse/guestmount.pod:141
23306 msgid "B<-o uid=N> B<-o gid=N>"
23307 msgstr ""
23308
23309 # type: textblock
23310 #: ../fuse/guestmount.pod:143
23311 msgid ""
23312 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
23313 "the chosen values."
23314 msgstr ""
23315
23316 # type: textblock
23317 #: ../fuse/guestmount.pod:150
23318 msgid ""
23319 "Add devices and mount everything read-only.  Also disallow writes and make "
23320 "the disk appear read-only to FUSE."
23321 msgstr ""
23322
23323 # type: textblock
23324 #: ../fuse/guestmount.pod:153
23325 msgid ""
23326 "This is highly recommended if you are not going to edit the guest disk.  If "
23327 "the guest is running and this option is I<not> supplied, then there is a "
23328 "strong risk of disk corruption in the guest.  We try to prevent this from "
23329 "happening, but it is not always possible."
23330 msgstr ""
23331
23332 # type: textblock
23333 #: ../fuse/guestmount.pod:160
23334 msgid "Enable SELinux support for the guest."
23335 msgstr ""
23336
23337 # type: =item
23338 #: ../fuse/guestmount.pod:162
23339 msgid "B<--trace>"
23340 msgstr ""
23341
23342 # type: textblock
23343 #: ../fuse/guestmount.pod:164
23344 msgid "Trace libguestfs calls (to stderr)."
23345 msgstr ""
23346
23347 # type: textblock
23348 #: ../fuse/guestmount.pod:166
23349 msgid "This also stops the daemon from forking into the background."
23350 msgstr ""
23351
23352 # type: textblock
23353 #: ../fuse/guestmount.pod:170
23354 msgid "Enable verbose messages from underlying libguestfs."
23355 msgstr ""
23356
23357 # type: textblock
23358 #: ../fuse/guestmount.pod:174
23359 msgid "Display the program version and exit."
23360 msgstr ""
23361
23362 # type: textblock
23363 #: ../fuse/guestmount.pod:180
23364 msgid ""
23365 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
23366 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
23367 "net/>."
23368 msgstr ""
23369
23370 # type: textblock
23371 #: ../inspector/virt-inspector.pl:40
23372 msgid ""
23373 "virt-inspector - Display OS version, kernel, drivers, mount points, "
23374 "applications, etc. in a virtual machine"
23375 msgstr ""
23376
23377 # type: verbatim
23378 #: ../inspector/virt-inspector.pl:44
23379 #, no-wrap
23380 msgid ""
23381 " virt-inspector [--connect URI] domname\n"
23382 "\n"
23383 msgstr ""
23384
23385 # type: verbatim
23386 #: ../inspector/virt-inspector.pl:46
23387 #, no-wrap
23388 msgid ""
23389 " virt-inspector guest.img [guest.img ...]\n"
23390 "\n"
23391 msgstr ""
23392
23393 # type: textblock
23394 #: ../inspector/virt-inspector.pl:50
23395 msgid ""
23396 "B<virt-inspector> examines a virtual machine and tries to determine the "
23397 "version of the OS, the kernel version, what drivers are installed, whether "
23398 "the virtual machine is fully virtualized (FV) or para-virtualized (PV), what "
23399 "applications are installed and more."
23400 msgstr ""
23401
23402 # type: textblock
23403 #: ../inspector/virt-inspector.pl:55
23404 msgid ""
23405 "Virt-inspector can produce output in several formats, including a readable "
23406 "text report, and XML for feeding into other programs."
23407 msgstr ""
23408
23409 # type: textblock
23410 #: ../inspector/virt-inspector.pl:58
23411 msgid ""
23412 "In the normal usage, use C<virt-inspector domname> where C<domname> is the "
23413 "libvirt domain (see: C<virsh list --all>)."
23414 msgstr ""
23415
23416 # type: textblock
23417 #: ../inspector/virt-inspector.pl:61
23418 msgid ""
23419 "You can also run virt-inspector directly on disk images from a single "
23420 "virtual machine.  Use C<virt-inspector guest.img>.  In rare cases a domain "
23421 "has several block devices, in which case you should list them one after "
23422 "another, with the first corresponding to the guest's C</dev/sda>, the second "
23423 "to the guest's C</dev/sdb> and so on."
23424 msgstr ""
23425
23426 # type: textblock
23427 #: ../inspector/virt-inspector.pl:67
23428 msgid ""
23429 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
23430 "inspect several virtual machines, you have to run virt-inspector several "
23431 "times (for example, from a shell script for-loop)."
23432 msgstr ""
23433
23434 # type: textblock
23435 #: ../inspector/virt-inspector.pl:72
23436 msgid ""
23437 "Because virt-inspector needs direct access to guest images, it won't "
23438 "normally work over remote libvirt connections."
23439 msgstr ""
23440
23441 # type: textblock
23442 #: ../inspector/virt-inspector.pl:85 ../tools/virt-edit.pl:83
23443 #: ../tools/virt-win-reg.pl:182 ../tools/virt-df.pl:81 ../tools/virt-ls.pl:89
23444 #: ../tools/virt-list-filesystems.pl:60 ../tools/virt-cat.pl:90
23445 #: ../tools/virt-tar.pl:109 ../tools/virt-rescue.pl:113
23446 #: ../tools/virt-make-fs.pl:163 ../tools/virt-list-partitions.pl:61
23447 msgid "Display brief help."
23448 msgstr ""
23449
23450 # type: =item
23451 #: ../inspector/virt-inspector.pl:91 ../tools/virt-edit.pl:89
23452 #: ../tools/virt-win-reg.pl:188 ../tools/virt-df.pl:87 ../tools/virt-ls.pl:95
23453 #: ../tools/virt-resize.pl:249 ../tools/virt-list-filesystems.pl:66
23454 #: ../tools/virt-cat.pl:96 ../tools/virt-tar.pl:115
23455 #: ../tools/virt-rescue.pl:119 ../tools/virt-make-fs.pl:169
23456 #: ../tools/virt-list-partitions.pl:67
23457 msgid "B<--version>"
23458 msgstr ""
23459
23460 # type: textblock
23461 #: ../inspector/virt-inspector.pl:93 ../tools/virt-edit.pl:91
23462 #: ../tools/virt-win-reg.pl:190 ../tools/virt-df.pl:89 ../tools/virt-ls.pl:97
23463 #: ../tools/virt-resize.pl:251 ../tools/virt-list-filesystems.pl:68
23464 #: ../tools/virt-cat.pl:98 ../tools/virt-tar.pl:117
23465 #: ../tools/virt-rescue.pl:121 ../tools/virt-make-fs.pl:171
23466 #: ../tools/virt-list-partitions.pl:69
23467 msgid "Display version number and exit."
23468 msgstr ""
23469
23470 # type: =item
23471 #: ../inspector/virt-inspector.pl:99 ../tools/virt-edit.pl:113
23472 #: ../tools/virt-win-reg.pl:204 ../tools/virt-df.pl:95 ../tools/virt-ls.pl:103
23473 #: ../tools/virt-list-filesystems.pl:74 ../tools/virt-cat.pl:104
23474 #: ../tools/virt-tar.pl:123 ../tools/virt-rescue.pl:135
23475 #: ../tools/virt-list-partitions.pl:75
23476 msgid "B<--connect URI> | B<-c URI>"
23477 msgstr ""
23478
23479 # type: textblock
23480 #: ../inspector/virt-inspector.pl:101 ../tools/virt-edit.pl:115
23481 #: ../tools/virt-win-reg.pl:206 ../tools/virt-df.pl:97 ../tools/virt-ls.pl:105
23482 #: ../tools/virt-list-filesystems.pl:76 ../tools/virt-cat.pl:106
23483 #: ../tools/virt-tar.pl:125 ../tools/virt-rescue.pl:137
23484 #: ../tools/virt-list-partitions.pl:77
23485 msgid ""
23486 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
23487 "to the default libvirt hypervisor."
23488 msgstr ""
23489
23490 # type: textblock
23491 #: ../inspector/virt-inspector.pl:104
23492 msgid ""
23493 "Libvirt is only used if you specify a C<domname> on the command line.  If "
23494 "you specify guest block devices directly, then libvirt is not used at all."
23495 msgstr ""
23496
23497 # type: textblock
23498 #: ../inspector/virt-inspector.pl:114
23499 msgid ""
23500 "The following options select the output format.  Use only one of them.  The "
23501 "default is a readable text report."
23502 msgstr ""
23503
23504 # type: =item
23505 #: ../inspector/virt-inspector.pl:119
23506 msgid "B<--text> (default)"
23507 msgstr ""
23508
23509 # type: textblock
23510 #: ../inspector/virt-inspector.pl:121
23511 msgid "Plain text report."
23512 msgstr ""
23513
23514 # type: =item
23515 #: ../inspector/virt-inspector.pl:123
23516 msgid "B<--none>"
23517 msgstr ""
23518
23519 # type: textblock
23520 #: ../inspector/virt-inspector.pl:125
23521 msgid "Produce no output at all."
23522 msgstr ""
23523
23524 # type: =item
23525 #: ../inspector/virt-inspector.pl:127
23526 msgid "B<--xml>"
23527 msgstr ""
23528
23529 # type: textblock
23530 #: ../inspector/virt-inspector.pl:129
23531 msgid ""
23532 "If you select I<--xml> then you get XML output which can be fed to other "
23533 "programs."
23534 msgstr ""
23535
23536 # type: =item
23537 #: ../inspector/virt-inspector.pl:132
23538 msgid "B<--yaml>"
23539 msgstr ""
23540
23541 # type: textblock
23542 #: ../inspector/virt-inspector.pl:134
23543 msgid ""
23544 "If you select I<--yaml> then you get YAML output which can be fed to other "
23545 "programs."
23546 msgstr ""
23547
23548 # type: =item
23549 #: ../inspector/virt-inspector.pl:137
23550 msgid "B<--perl>"
23551 msgstr ""
23552
23553 # type: textblock
23554 #: ../inspector/virt-inspector.pl:139
23555 msgid ""
23556 "If you select I<--perl> then you get Perl structures output which can be "
23557 "used directly in another Perl program."
23558 msgstr ""
23559
23560 # type: =item
23561 #: ../inspector/virt-inspector.pl:142
23562 msgid "B<--fish>"
23563 msgstr ""
23564
23565 # type: =item
23566 #: ../inspector/virt-inspector.pl:144
23567 msgid "B<--ro-fish>"
23568 msgstr ""
23569
23570 # type: textblock
23571 #: ../inspector/virt-inspector.pl:146
23572 msgid ""
23573 "If you select I<--fish> then we print a L<guestfish(1)> command line which "
23574 "will automatically mount up the filesystems on the correct mount points.  "
23575 "Try this for example:"
23576 msgstr ""
23577
23578 # type: verbatim
23579 #: ../inspector/virt-inspector.pl:150
23580 #, no-wrap
23581 msgid ""
23582 " guestfish $(virt-inspector --fish guest.img)\n"
23583 "\n"
23584 msgstr ""
23585
23586 # type: textblock
23587 #: ../inspector/virt-inspector.pl:152
23588 msgid ""
23589 "I<--ro-fish> is the same, but the I<--ro> option is passed to guestfish so "
23590 "that the filesystems are mounted read-only."
23591 msgstr ""
23592
23593 # type: =item
23594 #: ../inspector/virt-inspector.pl:155
23595 msgid "B<--query>"
23596 msgstr ""
23597
23598 # type: textblock
23599 #: ../inspector/virt-inspector.pl:157
23600 msgid ""
23601 "In \"query mode\" we answer common questions about the guest, such as "
23602 "whether it is fullvirt or needs a Xen hypervisor to run."
23603 msgstr ""
23604
23605 # type: textblock
23606 #: ../inspector/virt-inspector.pl:160
23607 msgid "See section I<QUERY MODE> below."
23608 msgstr ""
23609
23610 # type: =item
23611 #: ../inspector/virt-inspector.pl:166
23612 msgid "B<--windows-registry>"
23613 msgstr ""
23614
23615 # type: textblock
23616 #: ../inspector/virt-inspector.pl:168
23617 msgid ""
23618 "This flag is ignored for compatibility with earlier releases of the software."
23619 msgstr ""
23620
23621 # type: textblock
23622 #: ../inspector/virt-inspector.pl:171
23623 msgid ""
23624 "In this version, if L<Win::Hivex(3)> is available, then we attempt to parse "
23625 "information out of the Registry for any Windows guest."
23626 msgstr ""
23627
23628 # type: =head1
23629 #: ../inspector/virt-inspector.pl:218
23630 msgid "OUTPUT FORMAT"
23631 msgstr ""
23632
23633 # type: verbatim
23634 #: ../inspector/virt-inspector.pl:220
23635 #, no-wrap
23636 msgid ""
23637 " Operating system(s)\n"
23638 " -------------------\n"
23639 " Linux (distro + version)\n"
23640 " Windows (version)\n"
23641 "    |\n"
23642 "    |\n"
23643 "    +--- Filesystems ---------- Installed apps --- Kernel & drivers\n"
23644 "         -----------            --------------     ----------------\n"
23645 "         mount point => device  List of apps       Extra information\n"
23646 "         mount point => device  and versions       about kernel(s)\n"
23647 "              ...                                  and drivers\n"
23648 "         swap => swap device\n"
23649 "         (plus lots of extra information\n"
23650 "         about each filesystem)\n"
23651 "\n"
23652 msgstr ""
23653
23654 # type: textblock
23655 #: ../inspector/virt-inspector.pl:235
23656 msgid "The output of virt-inspector is a complex two-level data structure."
23657 msgstr ""
23658
23659 # type: textblock
23660 #: ../inspector/virt-inspector.pl:237
23661 msgid ""
23662 "At the top level is a list of the operating systems installed on the guest.  "
23663 "(For the vast majority of guests, only a single OS is installed.)  The data "
23664 "returned for the OS includes the name (Linux, Windows), the distribution and "
23665 "version."
23666 msgstr ""
23667
23668 # type: textblock
23669 #: ../inspector/virt-inspector.pl:242
23670 msgid "The diagram above shows what we return for each OS."
23671 msgstr ""
23672
23673 # type: textblock
23674 #: ../inspector/virt-inspector.pl:244
23675 msgid ""
23676 "With the I<--xml> option the output is mapped into an XML document.  There "
23677 "is a RELAX-NG schema for this XML in the file I<virt-inspector.rng> which "
23678 "normally ships with virt-inspector, or can be found in the source."
23679 msgstr ""
23680
23681 # type: textblock
23682 #: ../inspector/virt-inspector.pl:249
23683 msgid ""
23684 "With the I<--fish> or I<--ro-fish> option the mount points are mapped to "
23685 "L<guestfish(1)> command line parameters, so that you can go in afterwards "
23686 "and inspect the guest with everything mounted in the right place.  For "
23687 "example:"
23688 msgstr ""
23689
23690 # type: verbatim
23691 #: ../inspector/virt-inspector.pl:254
23692 #, no-wrap
23693 msgid ""
23694 " guestfish $(virt-inspector --ro-fish guest.img)\n"
23695 " ==> guestfish --ro -a guest.img -m /dev/VG/LV:/ -m /dev/sda1:/boot\n"
23696 "\n"
23697 msgstr ""
23698
23699 # type: =head1
23700 #: ../inspector/virt-inspector.pl:589
23701 msgid "QUERY MODE"
23702 msgstr ""
23703
23704 # type: textblock
23705 #: ../inspector/virt-inspector.pl:591
23706 msgid ""
23707 "When you use C<virt-inspector --query>, the output is a series of lines of "
23708 "the form:"
23709 msgstr ""
23710
23711 # type: verbatim
23712 #: ../inspector/virt-inspector.pl:594
23713 #, no-wrap
23714 msgid ""
23715 " windows=no\n"
23716 " linux=yes\n"
23717 " fullvirt=yes\n"
23718 " xen_pv_drivers=no\n"
23719 "\n"
23720 msgstr ""
23721
23722 # type: textblock
23723 #: ../inspector/virt-inspector.pl:599
23724 msgid ""
23725 "(each answer is usually C<yes> or C<no>, or the line is completely missing "
23726 "if we could not determine the answer at all)."
23727 msgstr ""
23728
23729 # type: textblock
23730 #: ../inspector/virt-inspector.pl:602
23731 msgid ""
23732 "If the guest is multiboot, you can get apparently conflicting answers (eg. "
23733 "C<windows=yes> and C<linux=yes>, or a guest which is both fullvirt and has a "
23734 "Xen PV kernel).  This is normal, and just means that the guest can do both "
23735 "things, although it might require operator intervention such as selecting a "
23736 "boot option when the guest is booting."
23737 msgstr ""
23738
23739 # type: textblock
23740 #: ../inspector/virt-inspector.pl:609
23741 msgid "This section describes the full range of answers possible."
23742 msgstr ""
23743
23744 # type: =item
23745 #: ../inspector/virt-inspector.pl:630
23746 msgid "windows=(yes|no)"
23747 msgstr ""
23748
23749 # type: textblock
23750 #: ../inspector/virt-inspector.pl:632
23751 msgid "Answer C<yes> if Microsoft Windows is installed in the guest."
23752 msgstr ""
23753
23754 # type: =item
23755 #: ../inspector/virt-inspector.pl:645
23756 msgid "linux=(yes|no)"
23757 msgstr ""
23758
23759 # type: textblock
23760 #: ../inspector/virt-inspector.pl:647
23761 msgid "Answer C<yes> if a Linux kernel is installed in the guest."
23762 msgstr ""
23763
23764 # type: =item
23765 #: ../inspector/virt-inspector.pl:660
23766 msgid "rhel=(yes|no)"
23767 msgstr ""
23768
23769 # type: textblock
23770 #: ../inspector/virt-inspector.pl:662
23771 msgid "Answer C<yes> if the guest contains Red Hat Enterprise Linux."
23772 msgstr ""
23773
23774 # type: =item
23775 #: ../inspector/virt-inspector.pl:676
23776 msgid "fedora=(yes|no)"
23777 msgstr ""
23778
23779 # type: textblock
23780 #: ../inspector/virt-inspector.pl:678
23781 msgid "Answer C<yes> if the guest contains the Fedora Linux distribution."
23782 msgstr ""
23783
23784 # type: =item
23785 #: ../inspector/virt-inspector.pl:691
23786 msgid "debian=(yes|no)"
23787 msgstr ""
23788
23789 # type: textblock
23790 #: ../inspector/virt-inspector.pl:693
23791 msgid "Answer C<yes> if the guest contains the Debian Linux distribution."
23792 msgstr ""
23793
23794 # type: =item
23795 #: ../inspector/virt-inspector.pl:706
23796 msgid "fullvirt=(yes|no)"
23797 msgstr ""
23798
23799 # type: textblock
23800 #: ../inspector/virt-inspector.pl:708
23801 msgid ""
23802 "Answer C<yes> if there is at least one operating system kernel installed in "
23803 "the guest which runs fully virtualized.  Such a guest would require a "
23804 "hypervisor which supports full system virtualization."
23805 msgstr ""
23806
23807 # type: =item
23808 #: ../inspector/virt-inspector.pl:731
23809 msgid "xen_domU_kernel=(yes|no)"
23810 msgstr ""
23811
23812 # type: textblock
23813 #: ../inspector/virt-inspector.pl:733
23814 msgid ""
23815 "Answer C<yes> if there is at least one Linux kernel installed in the guest "
23816 "which is compiled as a Xen DomU (a Xen paravirtualized guest)."
23817 msgstr ""
23818
23819 # type: =item
23820 #: ../inspector/virt-inspector.pl:753
23821 msgid "xen_pv_drivers=(yes|no)"
23822 msgstr ""
23823
23824 # type: textblock
23825 #: ../inspector/virt-inspector.pl:755
23826 msgid ""
23827 "Answer C<yes> if the guest has Xen paravirtualized drivers installed "
23828 "(usually the kernel itself will be fully virtualized, but the PV drivers "
23829 "have been installed by the administrator for performance reasons)."
23830 msgstr ""
23831
23832 # type: =item
23833 #: ../inspector/virt-inspector.pl:777
23834 msgid "virtio_drivers=(yes|no)"
23835 msgstr ""
23836
23837 # type: textblock
23838 #: ../inspector/virt-inspector.pl:779
23839 msgid ""
23840 "Answer C<yes> if the guest has virtio paravirtualized drivers installed.  "
23841 "Virtio drivers are commonly used to improve the performance of KVM."
23842 msgstr ""
23843
23844 # type: =item
23845 #: ../inspector/virt-inspector.pl:800
23846 msgid "userspace_arch=(x86_64|...)"
23847 msgstr ""
23848
23849 # type: textblock
23850 #: ../inspector/virt-inspector.pl:802
23851 msgid "Print the architecture of userspace."
23852 msgstr ""
23853
23854 # type: textblock
23855 #: ../inspector/virt-inspector.pl:804 ../inspector/virt-inspector.pl:825
23856 msgid "NB. For multi-boot VMs this can print several lines."
23857 msgstr ""
23858
23859 # type: =item
23860 #: ../inspector/virt-inspector.pl:821
23861 msgid "kernel_arch=(x86_64|...)"
23862 msgstr ""
23863
23864 # type: textblock
23865 #: ../inspector/virt-inspector.pl:823
23866 msgid "Print the architecture of the kernel."
23867 msgstr ""
23868
23869 # type: textblock
23870 #: ../inspector/virt-inspector.pl:848 ../tools/virt-df.pl:538
23871 msgid ""
23872 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
23873 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23874 msgstr ""
23875
23876 # type: textblock
23877 #: ../inspector/virt-inspector.pl:857 ../tools/virt-edit.pl:339
23878 #: ../tools/virt-win-reg.pl:489 ../tools/virt-df.pl:547
23879 #: ../tools/virt-ls.pl:223 ../tools/virt-resize.pl:1409
23880 #: ../tools/virt-list-filesystems.pl:205 ../tools/virt-cat.pl:175
23881 #: ../tools/virt-tar.pl:270 ../tools/virt-rescue.pl:243
23882 #: ../tools/virt-make-fs.pl:554 ../tools/virt-list-partitions.pl:242
23883 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
23884 msgstr ""
23885
23886 # type: textblock
23887 #: ../inspector/virt-inspector.pl:859
23888 msgid "Matthew Booth L<mbooth@redhat.com>"
23889 msgstr ""
23890
23891 # type: textblock
23892 #: ../inspector/virt-inspector.pl:863 ../tools/virt-ls.pl:227
23893 #: ../tools/virt-list-filesystems.pl:209 ../tools/virt-cat.pl:179
23894 #: ../tools/virt-tar.pl:274
23895 msgid "Copyright (C) 2009 Red Hat Inc."
23896 msgstr ""
23897
23898 # type: textblock
23899 #: ../tools/virt-edit.pl:35
23900 msgid "virt-edit - Edit a file in a virtual machine"
23901 msgstr ""
23902
23903 # type: verbatim
23904 #: ../tools/virt-edit.pl:39
23905 #, no-wrap
23906 msgid ""
23907 " virt-edit [--options] domname file\n"
23908 "\n"
23909 msgstr ""
23910
23911 # type: verbatim
23912 #: ../tools/virt-edit.pl:41
23913 #, no-wrap
23914 msgid ""
23915 " virt-edit [--options] disk.img [disk.img ...] file\n"
23916 "\n"
23917 msgstr ""
23918
23919 # type: verbatim
23920 #: ../tools/virt-edit.pl:43
23921 #, no-wrap
23922 msgid ""
23923 " virt-edit [domname|disk.img] file -e 'expr'\n"
23924 "\n"
23925 msgstr ""
23926
23927 # type: textblock
23928 #: ../tools/virt-edit.pl:47
23929 msgid ""
23930 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
23931 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
23932 "doing this, but doesn't catch all cases."
23933 msgstr ""
23934
23935 # type: textblock
23936 #: ../tools/virt-edit.pl:53
23937 msgid ""
23938 "C<virt-edit> is a command line tool to edit C<file> where C<file> exists in "
23939 "the named virtual machine (or disk image)."
23940 msgstr ""
23941
23942 # type: textblock
23943 #: ../tools/virt-edit.pl:56
23944 msgid ""
23945 "If you want to just view a file, use L<virt-cat(1)>.  For more complex cases "
23946 "you should look at the L<guestfish(1)> tool."
23947 msgstr ""
23948
23949 # type: textblock
23950 #: ../tools/virt-edit.pl:61
23951 msgid "Edit the named files interactively:"
23952 msgstr ""
23953
23954 # type: verbatim
23955 #: ../tools/virt-edit.pl:63
23956 #, no-wrap
23957 msgid ""
23958 " virt-edit mydomain /boot/grub/grub.conf\n"
23959 "\n"
23960 msgstr ""
23961
23962 # type: verbatim
23963 #: ../tools/virt-edit.pl:65
23964 #, no-wrap
23965 msgid ""
23966 " virt-edit mydomain /etc/passwd\n"
23967 "\n"
23968 msgstr ""
23969
23970 # type: textblock
23971 #: ../tools/virt-edit.pl:67
23972 msgid ""
23973 "You can also edit files non-interactively (see L</NON-INTERACTIVE EDITING> "
23974 "below).  To change the init default level to 5:"
23975 msgstr ""
23976
23977 # type: verbatim
23978 #: ../tools/virt-edit.pl:71
23979 #, no-wrap
23980 msgid ""
23981 " virt-edit mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
23982 "\n"
23983 msgstr ""
23984
23985 # type: =item
23986 #: ../tools/virt-edit.pl:97
23987 msgid "B<--backup extension> | B<-b extension>"
23988 msgstr ""
23989
23990 # type: textblock
23991 #: ../tools/virt-edit.pl:99
23992 msgid ""
23993 "Create a backup of the original file I<in the guest disk image>.  The backup "
23994 "has the original filename with C<extension> added."
23995 msgstr ""
23996
23997 # type: textblock
23998 #: ../tools/virt-edit.pl:102
23999 msgid ""
24000 "Usually the first character of C<extension> would be a dot C<.> so you would "
24001 "write:"
24002 msgstr ""
24003
24004 # type: verbatim
24005 #: ../tools/virt-edit.pl:105
24006 #, no-wrap
24007 msgid ""
24008 " virt-edit -b .orig [etc]\n"
24009 "\n"
24010 msgstr ""
24011
24012 # type: textblock
24013 #: ../tools/virt-edit.pl:107
24014 msgid "By default, no backup file is made."
24015 msgstr ""
24016
24017 # type: textblock
24018 #: ../tools/virt-edit.pl:118 ../tools/virt-win-reg.pl:209
24019 #: ../tools/virt-df.pl:100 ../tools/virt-ls.pl:108
24020 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-cat.pl:109
24021 #: ../tools/virt-tar.pl:128 ../tools/virt-rescue.pl:140
24022 #: ../tools/virt-list-partitions.pl:80
24023 msgid ""
24024 "If you specify guest block devices directly, then libvirt is not used at all."
24025 msgstr ""
24026
24027 # type: =item
24028 #: ../tools/virt-edit.pl:125
24029 msgid "B<--expr EXPR> | B<-e EXPR>"
24030 msgstr ""
24031
24032 # type: textblock
24033 #: ../tools/virt-edit.pl:127
24034 msgid ""
24035 "Instead of launching the external editor, non-interactively apply the Perl "
24036 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
24037 "EDITING> below."
24038 msgstr ""
24039
24040 # type: textblock
24041 #: ../tools/virt-edit.pl:131
24042 msgid ""
24043 "Be careful to properly quote the expression to prevent it from being altered "
24044 "by the shell."
24045 msgstr ""
24046
24047 # type: =head1
24048 #: ../tools/virt-edit.pl:250
24049 msgid "NON-INTERACTIVE EDITING"
24050 msgstr ""
24051
24052 # type: textblock
24053 #: ../tools/virt-edit.pl:252
24054 msgid ""
24055 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
24056 "administrator can interactively edit the file."
24057 msgstr ""
24058
24059 # type: textblock
24060 #: ../tools/virt-edit.pl:255
24061 msgid ""
24062 "There are two ways also to use C<virt-edit> from scripts in order to make "
24063 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
24064 "like this, it's less error-prone to write scripts directly using the "
24065 "libguestfs API and Augeas for configuration file editing.)"
24066 msgstr ""
24067
24068 # type: textblock
24069 #: ../tools/virt-edit.pl:261
24070 msgid ""
24071 "The first method is to temporarily set C<$EDITOR> to any script or program "
24072 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
24073 "update C<tmpfile> in place however it likes."
24074 msgstr ""
24075
24076 # type: textblock
24077 #: ../tools/virt-edit.pl:265
24078 msgid ""
24079 "The second method is to use the C<-e> parameter of C<virt-edit> to run a "
24080 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
24081 "instances of C<foo> with C<bar> in a file:"
24082 msgstr ""
24083
24084 # type: verbatim
24085 #: ../tools/virt-edit.pl:269
24086 #, no-wrap
24087 msgid ""
24088 " virt-edit domname filename -e 's/foo/bar/'\n"
24089 "\n"
24090 msgstr ""
24091
24092 # type: textblock
24093 #: ../tools/virt-edit.pl:271
24094 msgid ""
24095 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
24096 "For example to delete root's password you could do:"
24097 msgstr ""
24098
24099 # type: verbatim
24100 #: ../tools/virt-edit.pl:274
24101 #, no-wrap
24102 msgid ""
24103 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
24104 "\n"
24105 msgstr ""
24106
24107 # type: textblock
24108 #: ../tools/virt-edit.pl:276
24109 msgid ""
24110 "What really happens is that the snippet is evaluated as a Perl expression "
24111 "for each line of the file.  The line, including the final C<\\n>, is passed "
24112 "in C<$_> and the expression should update C<$_> or leave it unchanged."
24113 msgstr ""
24114
24115 # type: textblock
24116 #: ../tools/virt-edit.pl:281
24117 msgid ""
24118 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
24119 "C<apache> user account from the password file you can do:"
24120 msgstr ""
24121
24122 # type: verbatim
24123 #: ../tools/virt-edit.pl:284
24124 #, no-wrap
24125 msgid ""
24126 " virt-edit mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
24127 "\n"
24128 msgstr ""
24129
24130 # type: textblock
24131 #: ../tools/virt-edit.pl:286
24132 msgid ""
24133 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
24134 "the end of the file is rather difficult this way since there is no concept "
24135 "of \"last line of the file\" - your expression just doesn't get called "
24136 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
24137 "want to do this."
24138 msgstr ""
24139
24140 # type: textblock
24141 #: ../tools/virt-edit.pl:292
24142 msgid ""
24143 "The variable C<$lineno> contains the current line number.  As is "
24144 "traditional, the first line in the file is number C<1>."
24145 msgstr ""
24146
24147 # type: textblock
24148 #: ../tools/virt-edit.pl:295
24149 msgid ""
24150 "The return value from the expression is ignored, but the expression may call "
24151 "C<die> in order to abort the whole program, leaving the original file "
24152 "untouched."
24153 msgstr ""
24154
24155 # type: textblock
24156 #: ../tools/virt-edit.pl:299
24157 msgid ""
24158 "Remember when matching the end of a line that C<$_> may contain the final C<"
24159 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
24160 "newline then neither of these.  Thus to match or substitute some text at the "
24161 "end of a line, use this regular expression:"
24162 msgstr ""
24163
24164 # type: verbatim
24165 #: ../tools/virt-edit.pl:304
24166 #, no-wrap
24167 msgid ""
24168 " /some text(\\r?\\n)?$/\n"
24169 "\n"
24170 msgstr ""
24171
24172 # type: textblock
24173 #: ../tools/virt-edit.pl:306
24174 msgid ""
24175 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
24176 "$_> itself (since that would remove all newlines from the file):"
24177 msgstr ""
24178
24179 # type: verbatim
24180 #: ../tools/virt-edit.pl:310
24181 #, no-wrap
24182 msgid ""
24183 " my $m = $_; chomp $m; $m =~ /some text$/\n"
24184 "\n"
24185 msgstr ""
24186
24187 # type: =item
24188 #: ../tools/virt-edit.pl:316
24189 msgid "C<EDITOR>"
24190 msgstr ""
24191
24192 # type: textblock
24193 #: ../tools/virt-edit.pl:318
24194 msgid ""
24195 "If set, this string is used as the editor.  It may contain arguments, eg. C<"
24196 "\"emacs -nw\">"
24197 msgstr ""
24198
24199 # type: textblock
24200 #: ../tools/virt-edit.pl:321
24201 msgid "If not set, C<vi> is used."
24202 msgstr ""
24203
24204 # type: textblock
24205 #: ../tools/virt-edit.pl:327
24206 msgid ""
24207 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
24208 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>, L<perl(1)>, "
24209 "L<perlre(1)>."
24210 msgstr ""
24211
24212 # type: =head1
24213 #: ../tools/virt-edit.pl:337 ../tools/virt-win-reg.pl:487
24214 #: ../tools/virt-df.pl:545 ../tools/virt-ls.pl:221
24215 #: ../tools/virt-resize.pl:1407 ../tools/virt-list-filesystems.pl:203
24216 #: ../tools/virt-cat.pl:173 ../tools/virt-tar.pl:268
24217 #: ../tools/virt-rescue.pl:241 ../tools/virt-make-fs.pl:552
24218 #: ../tools/virt-list-partitions.pl:240
24219 msgid "AUTHOR"
24220 msgstr ""
24221
24222 # type: textblock
24223 #: ../tools/virt-edit.pl:343 ../tools/virt-df.pl:551
24224 #: ../tools/virt-rescue.pl:247 ../tools/virt-list-partitions.pl:246
24225 msgid "Copyright (C) 2009-2010 Red Hat Inc."
24226 msgstr ""
24227
24228 # type: textblock
24229 #: ../tools/virt-win-reg.pl:38
24230 msgid ""
24231 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
24232 msgstr ""
24233
24234 # type: verbatim
24235 #: ../tools/virt-win-reg.pl:42
24236 #, no-wrap
24237 msgid ""
24238 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
24239 "\n"
24240 msgstr ""
24241
24242 # type: verbatim
24243 #: ../tools/virt-win-reg.pl:44
24244 #, no-wrap
24245 msgid ""
24246 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
24247 "\n"
24248 msgstr ""
24249
24250 # type: verbatim
24251 #: ../tools/virt-win-reg.pl:46
24252 #, no-wrap
24253 msgid ""
24254 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
24255 "\n"
24256 msgstr ""
24257
24258 # type: verbatim
24259 #: ../tools/virt-win-reg.pl:48
24260 #, no-wrap
24261 msgid ""
24262 " virt-win-reg --merge domname [input.reg ...]\n"
24263 "\n"
24264 msgstr ""
24265
24266 # type: verbatim
24267 #: ../tools/virt-win-reg.pl:50
24268 #, no-wrap
24269 msgid ""
24270 " virt-win-reg [--options] disk.img ... # instead of domname\n"
24271 "\n"
24272 msgstr ""
24273
24274 # type: textblock
24275 #: ../tools/virt-win-reg.pl:54
24276 msgid ""
24277 "You must I<not> use C<virt-win-reg> with the C<--merge> option on live "
24278 "virtual machines.  If you do this, you I<will> get irreversible disk "
24279 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
24280 "but doesn't catch all cases."
24281 msgstr ""
24282
24283 # type: textblock
24284 #: ../tools/virt-win-reg.pl:59
24285 msgid ""
24286 "Modifying the Windows Registry is an inherently risky operation.  The format "
24287 "is deliberately obscure and undocumented, and Registry changes can leave the "
24288 "system unbootable.  Therefore when using the C<--merge> option, make sure "
24289 "you have a reliable backup first."
24290 msgstr ""
24291
24292 # type: textblock
24293 #: ../tools/virt-win-reg.pl:66
24294 msgid ""
24295 "This program can export and merge Windows Registry entries from a Windows "
24296 "guest."
24297 msgstr ""
24298
24299 # type: textblock
24300 #: ../tools/virt-win-reg.pl:69
24301 msgid ""
24302 "The first parameter is the libvirt guest name or the raw disk image of a "
24303 "Windows guest."
24304 msgstr ""
24305
24306 # type: textblock
24307 #: ../tools/virt-win-reg.pl:72
24308 msgid ""
24309 "If C<--merge> is I<not> specified, then the chosen registry key is displayed/"
24310 "exported (recursively).  For example:"
24311 msgstr ""
24312
24313 # type: verbatim
24314 #: ../tools/virt-win-reg.pl:75
24315 #, no-wrap
24316 msgid ""
24317 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
24318 "\n"
24319 msgstr ""
24320
24321 # type: textblock
24322 #: ../tools/virt-win-reg.pl:77
24323 msgid ""
24324 "You can also display single values from within registry keys, for example:"
24325 msgstr ""
24326
24327 # type: verbatim
24328 #: ../tools/virt-win-reg.pl:80
24329 #, no-wrap
24330 msgid ""
24331 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
24332 " $ virt-win-reg Windows7 $cvkey ProductName\n"
24333 " Windows 7 Enterprise\n"
24334 "\n"
24335 msgstr ""
24336
24337 # type: textblock
24338 #: ../tools/virt-win-reg.pl:84
24339 msgid ""
24340 "With C<--merge>, you can merge a textual regedit file into the Windows "
24341 "Registry:"
24342 msgstr ""
24343
24344 # type: verbatim
24345 #: ../tools/virt-win-reg.pl:87
24346 #, no-wrap
24347 msgid ""
24348 " $ virt-win-reg --merge Windows7 changes.reg\n"
24349 "\n"
24350 msgstr ""
24351
24352 # type: =head2
24353 #: ../tools/virt-win-reg.pl:89
24354 msgid "SUPPORTED SYSTEMS"
24355 msgstr ""
24356
24357 # type: textblock
24358 #: ../tools/virt-win-reg.pl:91
24359 msgid ""
24360 "The program currently supports Windows NT-derived guests starting with "
24361 "Windows XP through to at least Windows 7."
24362 msgstr ""
24363
24364 # type: textblock
24365 #: ../tools/virt-win-reg.pl:94
24366 msgid ""
24367 "Registry support is done for C<HKEY_LOCAL_MACHINE\\SAM>, C<HKEY_LOCAL_MACHINE"
24368 "\\SECURITY>, C<HKEY_LOCAL_MACHINE\\SOFTWARE>, C<HKEY_LOCAL_MACHINE\\SYSTEM> "
24369 "and C<HKEY_USERS\\.DEFAULT>."
24370 msgstr ""
24371
24372 # type: textblock
24373 #: ../tools/virt-win-reg.pl:98
24374 msgid ""
24375 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
24376 "C<HKEY_USERS>."
24377 msgstr ""
24378
24379 # type: textblock
24380 #: ../tools/virt-win-reg.pl:101
24381 msgid ""
24382 "C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are B<not> supported at this "
24383 "time."
24384 msgstr ""
24385
24386 # type: =head2
24387 #: ../tools/virt-win-reg.pl:104
24388 msgid "NOTE"
24389 msgstr ""
24390
24391 # type: textblock
24392 #: ../tools/virt-win-reg.pl:106
24393 msgid ""
24394 "This program is only meant for simple access to the registry.  If you want "
24395 "to do complicated things with the registry, we suggest you download the "
24396 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
24397 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
24398 "L<hivexregedit(1)>."
24399 msgstr ""
24400
24401 # type: =head2
24402 #: ../tools/virt-win-reg.pl:112
24403 msgid "ENCODING"
24404 msgstr ""
24405
24406 # type: textblock
24407 #: ../tools/virt-win-reg.pl:114
24408 msgid ""
24409 "C<virt-win-reg> expects that regedit files have already been reencoded in "
24410 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
24411 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
24412 "Windows-style line endings, you may need to reencode the whole file before "
24413 "or after processing."
24414 msgstr ""
24415
24416 # type: textblock
24417 #: ../tools/virt-win-reg.pl:120
24418 msgid ""
24419 "To reencode a file from Windows format to Linux (before processing it with "
24420 "the C<--merge> option), you would do something like this:"
24421 msgstr ""
24422
24423 # type: verbatim
24424 #: ../tools/virt-win-reg.pl:123
24425 #, no-wrap
24426 msgid ""
24427 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
24428 "\n"
24429 msgstr ""
24430
24431 # type: textblock
24432 #: ../tools/virt-win-reg.pl:125
24433 msgid ""
24434 "To go in the opposite direction, after exporting and before sending the file "
24435 "to a Windows user, do something like this:"
24436 msgstr ""
24437
24438 # type: verbatim
24439 #: ../tools/virt-win-reg.pl:128
24440 #, no-wrap
24441 msgid ""
24442 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
24443 "\n"
24444 msgstr ""
24445
24446 # type: textblock
24447 #: ../tools/virt-win-reg.pl:130
24448 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
24449 msgstr ""
24450
24451 # type: textblock
24452 #: ../tools/virt-win-reg.pl:132
24453 msgid ""
24454 "If you are unsure about the current encoding, use the L<file(1)> command.  "
24455 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
24456 "style (CRLF) line endings, like this:"
24457 msgstr ""
24458
24459 # type: verbatim
24460 #: ../tools/virt-win-reg.pl:136
24461 #, no-wrap
24462 msgid ""
24463 " $ file software.reg\n"
24464 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
24465 " with CRLF line terminators\n"
24466 "\n"
24467 msgstr ""
24468
24469 # type: textblock
24470 #: ../tools/virt-win-reg.pl:140
24471 msgid "This file would need conversion before you could C<--merge> it."
24472 msgstr ""
24473
24474 # type: =head2
24475 #: ../tools/virt-win-reg.pl:142
24476 msgid "SHELL QUOTING"
24477 msgstr ""
24478
24479 # type: textblock
24480 #: ../tools/virt-win-reg.pl:144
24481 msgid ""
24482 "Be careful when passing parameters containing C<\\> (backslash) in the "
24483 "shell.  Usually you will have to use 'single quotes' or double backslashes "
24484 "(but not both) to protect them from the shell."
24485 msgstr ""
24486
24487 # type: textblock
24488 #: ../tools/virt-win-reg.pl:148
24489 msgid "Paths and value names are case-insensitive."
24490 msgstr ""
24491
24492 # type: =head2
24493 #: ../tools/virt-win-reg.pl:150
24494 msgid "CurrentControlSet etc."
24495 msgstr ""
24496
24497 # type: textblock
24498 #: ../tools/virt-win-reg.pl:152
24499 msgid ""
24500 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
24501 "Registry at the level of the hive file, and therefore you cannot modify "
24502 "these."
24503 msgstr ""
24504
24505 # type: textblock
24506 #: ../tools/virt-win-reg.pl:156
24507 msgid ""
24508 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
24509 "circumstances it might refer to another control set.  The way to find out is "
24510 "to look at the C<HKLM\\SYSTEM\\Select> key:"
24511 msgstr ""
24512
24513 # type: verbatim
24514 #: ../tools/virt-win-reg.pl:160
24515 #, no-wrap
24516 msgid ""
24517 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
24518 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
24519 " \"Current\"=dword:00000001\n"
24520 " \"Default\"=dword:00000001\n"
24521 " \"Failed\"=dword:00000000\n"
24522 " \"LastKnownGood\"=dword:00000002\n"
24523 "\n"
24524 msgstr ""
24525
24526 # type: textblock
24527 #: ../tools/virt-win-reg.pl:167
24528 msgid "\"Default\" is the one which Windows will choose when it boots."
24529 msgstr ""
24530
24531 # type: textblock
24532 #: ../tools/virt-win-reg.pl:169
24533 msgid ""
24534 "Similarly, other C<Current...> keys in the path may need to be replaced."
24535 msgstr ""
24536
24537 # type: =item
24538 #: ../tools/virt-win-reg.pl:196 ../tools/virt-make-fs.pl:177
24539 msgid "B<--debug>"
24540 msgstr ""
24541
24542 # type: textblock
24543 #: ../tools/virt-win-reg.pl:198 ../tools/virt-resize.pl:477
24544 msgid "Enable debugging messages."
24545 msgstr ""
24546
24547 # type: =item
24548 #: ../tools/virt-win-reg.pl:216
24549 msgid "B<--merge>"
24550 msgstr ""
24551
24552 # type: textblock
24553 #: ../tools/virt-win-reg.pl:218
24554 msgid ""
24555 "In merge mode, this merges a textual regedit file into the Windows Registry "
24556 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
24557 "displays or exports Registry entries instead."
24558 msgstr ""
24559
24560 # type: textblock
24561 #: ../tools/virt-win-reg.pl:222
24562 msgid ""
24563 "Note that C<--merge> is I<unsafe> to use on live virtual machines, and will "
24564 "result in disk corruption.  However exporting (without this flag)  is always "
24565 "safe."
24566 msgstr ""
24567
24568 # type: =item
24569 #: ../tools/virt-win-reg.pl:230
24570 msgid "B<--encoding> UTF-16LE|ASCII"
24571 msgstr ""
24572
24573 # type: textblock
24574 #: ../tools/virt-win-reg.pl:232
24575 msgid ""
24576 "When merging (only), you may need to specify the encoding for strings to be "
24577 "used in the hive file.  This is explained in detail in L<Win::Hivex::Regedit"
24578 "(3)/ENCODING STRINGS>."
24579 msgstr ""
24580
24581 # type: textblock
24582 #: ../tools/virt-win-reg.pl:236
24583 msgid ""
24584 "The default is to use UTF-16LE, which should work with recent versions of "
24585 "Windows."
24586 msgstr ""
24587
24588 # type: textblock
24589 #: ../tools/virt-win-reg.pl:463
24590 msgid ""
24591 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
24592 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
24593 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
24594 msgstr ""
24595
24596 # type: textblock
24597 #: ../tools/virt-win-reg.pl:478 ../tools/virt-make-fs.pl:543
24598 msgid ""
24599 "When reporting bugs, please enable debugging and capture the I<complete> "
24600 "output:"
24601 msgstr ""
24602
24603 # type: verbatim
24604 #: ../tools/virt-win-reg.pl:481
24605 #, no-wrap
24606 msgid ""
24607 " export LIBGUESTFS_DEBUG=1\n"
24608 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
24609 "\n"
24610 msgstr ""
24611
24612 # type: textblock
24613 #: ../tools/virt-win-reg.pl:484
24614 msgid ""
24615 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
24616 "redhat.com/>"
24617 msgstr ""
24618
24619 # type: textblock
24620 #: ../tools/virt-win-reg.pl:493 ../tools/virt-resize.pl:1413
24621 #: ../tools/virt-make-fs.pl:558
24622 msgid "Copyright (C) 2010 Red Hat Inc."
24623 msgstr ""
24624
24625 # type: textblock
24626 #: ../tools/virt-df.pl:36
24627 msgid "virt-df - Display free space on virtual filesystems"
24628 msgstr ""
24629
24630 # type: verbatim
24631 #: ../tools/virt-df.pl:40
24632 #, no-wrap
24633 msgid ""
24634 " virt-df [--options]\n"
24635 "\n"
24636 msgstr ""
24637
24638 # type: verbatim
24639 #: ../tools/virt-df.pl:42
24640 #, no-wrap
24641 msgid ""
24642 " virt-df [--options] domname\n"
24643 "\n"
24644 msgstr ""
24645
24646 # type: verbatim
24647 #: ../tools/virt-df.pl:44
24648 #, no-wrap
24649 msgid ""
24650 " virt-df [--options] disk.img [disk.img ...]\n"
24651 "\n"
24652 msgstr ""
24653
24654 # type: textblock
24655 #: ../tools/virt-df.pl:48
24656 msgid ""
24657 "C<virt-df> is a command line tool to display free space on virtual machine "
24658 "filesystems.  Unlike other tools, it doesn't just display the amount of "
24659 "space allocated to a virtual machine, but can look inside the virtual "
24660 "machine to see how much space is really being used."
24661 msgstr ""
24662
24663 # type: textblock
24664 #: ../tools/virt-df.pl:53
24665 msgid ""
24666 "It is like the L<df(1)> command, but for virtual machines, except that it "
24667 "also works for Windows virtual machines."
24668 msgstr ""
24669
24670 # type: textblock
24671 #: ../tools/virt-df.pl:56
24672 msgid ""
24673 "If used without any arguments, C<virt-df> checks with libvirt to get a list "
24674 "of all active and inactive guests, and performs a C<df>-type operation on "
24675 "each one in turn, printing out the results."
24676 msgstr ""
24677
24678 # type: textblock
24679 #: ../tools/virt-df.pl:60
24680 msgid ""
24681 "If used with any argument(s), C<virt-df> performs a C<df>-type operation on "
24682 "either the single named libvirt domain, or on the disk image(s) listed on "
24683 "the command line (which must all belong to a single VM).  In this mode (with "
24684 "arguments), C<virt-df> will I<only work for a single guest>.  If you want to "
24685 "run on multiple guests, then you have to invoke C<virt-df> multiple times."
24686 msgstr ""
24687
24688 # type: textblock
24689 #: ../tools/virt-df.pl:67
24690 msgid ""
24691 "Use the C<--csv> option to get a format which can be easily parsed by other "
24692 "programs.  Other options are mostly similar to standard C<df> options.  See "
24693 "below for the complete list."
24694 msgstr ""
24695
24696 # type: =item
24697 #: ../tools/virt-df.pl:107
24698 msgid "B<--csv>"
24699 msgstr ""
24700
24701 # type: textblock
24702 #: ../tools/virt-df.pl:109
24703 msgid ""
24704 "Write out the results in CSV format (comma-separated values).  This format "
24705 "can be imported easily into databases and spreadsheets, but read L</NOTE "
24706 "ABOUT CSV FORMAT> below."
24707 msgstr ""
24708
24709 # type: =item
24710 #: ../tools/virt-df.pl:117
24711 msgid "B<--human-readable> | B<-h>"
24712 msgstr ""
24713
24714 # type: textblock
24715 #: ../tools/virt-df.pl:119
24716 msgid "Print sizes in human-readable format."
24717 msgstr ""
24718
24719 # type: textblock
24720 #: ../tools/virt-df.pl:121
24721 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
24722 msgstr ""
24723
24724 # type: =item
24725 #: ../tools/virt-df.pl:127
24726 msgid "B<--inodes> | B<-i>"
24727 msgstr ""
24728
24729 # type: textblock
24730 #: ../tools/virt-df.pl:129
24731 msgid "Print inodes instead of blocks."
24732 msgstr ""
24733
24734 # type: =item
24735 #: ../tools/virt-df.pl:135
24736 msgid "B<--one-per-guest>"
24737 msgstr ""
24738
24739 # type: textblock
24740 #: ../tools/virt-df.pl:137
24741 msgid ""
24742 "Run one libguestfs appliance per guest.  Normally C<virt-df> will add the "
24743 "disks from several guests to a single libguestfs appliance."
24744 msgstr ""
24745
24746 # type: textblock
24747 #: ../tools/virt-df.pl:140
24748 msgid "You might use this option in the following circumstances:"
24749 msgstr ""
24750
24751 # type: textblock
24752 #: ../tools/virt-df.pl:146
24753 msgid ""
24754 "If you think an untrusted guest might actively try to exploit the libguestfs "
24755 "appliance kernel, then this prevents one guest from interfering with the "
24756 "stats printed for another guest."
24757 msgstr ""
24758
24759 # type: textblock
24760 #: ../tools/virt-df.pl:152
24761 msgid ""
24762 "If the kernel has a bug which stops it from accessing a filesystem in one "
24763 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
24764 "and report stats for further guests."
24765 msgstr ""
24766
24767 # type: =head1
24768 #: ../tools/virt-df.pl:512
24769 msgid "NOTE ABOUT CSV FORMAT"
24770 msgstr ""
24771
24772 # type: textblock
24773 #: ../tools/virt-df.pl:514
24774 msgid ""
24775 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
24776 "should be easy to parse, but it is definitely not easy to parse."
24777 msgstr ""
24778
24779 # type: textblock
24780 #: ../tools/virt-df.pl:517
24781 msgid ""
24782 "Myth: Just split fields at commas.  Reality: This does I<not> work "
24783 "reliably.  This example has two columns:"
24784 msgstr ""
24785
24786 # type: verbatim
24787 #: ../tools/virt-df.pl:520
24788 #, no-wrap
24789 msgid ""
24790 " \"foo,bar\",baz\n"
24791 "\n"
24792 msgstr ""
24793
24794 # type: textblock
24795 #: ../tools/virt-df.pl:522
24796 msgid ""
24797 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
24798 "reliably.  This example has one row:"
24799 msgstr ""
24800
24801 # type: verbatim
24802 #: ../tools/virt-df.pl:525
24803 #, no-wrap
24804 msgid ""
24805 " \"foo\n"
24806 " bar\",baz\n"
24807 "\n"
24808 msgstr ""
24809
24810 # type: textblock
24811 #: ../tools/virt-df.pl:528
24812 msgid ""
24813 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
24814 "packaged in major Linux distributions)."
24815 msgstr ""
24816
24817 # type: textblock
24818 #: ../tools/virt-df.pl:531
24819 msgid ""
24820 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
24821 "or Python's built-in csv library)."
24822 msgstr ""
24823
24824 # type: textblock
24825 #: ../tools/virt-df.pl:534
24826 msgid "Most spreadsheets and databases can import CSV directly."
24827 msgstr ""
24828
24829 # type: textblock
24830 #: ../tools/virt-ls.pl:35
24831 msgid "virt-ls - List files in a virtual machine"
24832 msgstr ""
24833
24834 # type: verbatim
24835 #: ../tools/virt-ls.pl:39
24836 #, no-wrap
24837 msgid ""
24838 " virt-ls [--options] domname directory\n"
24839 "\n"
24840 msgstr ""
24841
24842 # type: verbatim
24843 #: ../tools/virt-ls.pl:41
24844 #, no-wrap
24845 msgid ""
24846 " virt-ls [--options] disk.img [disk.img ...] directory\n"
24847 "\n"
24848 msgstr ""
24849
24850 # type: textblock
24851 #: ../tools/virt-ls.pl:45
24852 msgid ""
24853 "C<virt-ls> is a command line tool to list the names of files in a directory "
24854 "inside a virtual machine or disk image."
24855 msgstr ""
24856
24857 # type: textblock
24858 #: ../tools/virt-ls.pl:48
24859 msgid ""
24860 "C<virt-ls> is just a simple wrapper around L<libguestfs(3)> functionality.  "
24861 "For more complex cases you should look at the L<guestfish(1)> tool."
24862 msgstr ""
24863
24864 # type: textblock
24865 #: ../tools/virt-ls.pl:52
24866 msgid ""
24867 "C<virt-ls> can be used in one of three modes: simple, long and recursive.  A "
24868 "simple listing is like the ordinary L<ls(1)> command:"
24869 msgstr ""
24870
24871 # type: verbatim
24872 #: ../tools/virt-ls.pl:55
24873 #, no-wrap
24874 msgid ""
24875 " $ virt-ls myguest /\n"
24876 " bin\n"
24877 " boot\n"
24878 " [etc.]\n"
24879 "\n"
24880 msgstr ""
24881
24882 # type: textblock
24883 #: ../tools/virt-ls.pl:60
24884 msgid "With the C<-l> (C<--long>) option, C<virt-ls> shows more detail:"
24885 msgstr ""
24886
24887 # type: verbatim
24888 #: ../tools/virt-ls.pl:62
24889 #, no-wrap
24890 msgid ""
24891 " $ virt-ls -l myguest /\n"
24892 " total 204\n"
24893 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
24894 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
24895 " [etc.]\n"
24896 "\n"
24897 msgstr ""
24898
24899 # type: textblock
24900 #: ../tools/virt-ls.pl:68
24901 msgid ""
24902 "With the C<-R> (C<--recursive>) option, C<virt-ls> lists the names of files "
24903 "and directories recursively:"
24904 msgstr ""
24905
24906 # type: verbatim
24907 #: ../tools/virt-ls.pl:71
24908 #, no-wrap
24909 msgid ""
24910 " $ virt-ls -R myguest /tmp\n"
24911 " foo\n"
24912 " foo/bar\n"
24913 " [etc.]\n"
24914 "\n"
24915 msgstr ""
24916
24917 # type: textblock
24918 #: ../tools/virt-ls.pl:76
24919 msgid ""
24920 "You I<cannot> combine these options.  To do more complicated things, use "
24921 "L<guestfish(1)>."
24922 msgstr ""
24923
24924 # type: =item
24925 #: ../tools/virt-ls.pl:115 ../tools/virt-list-filesystems.pl:86
24926 #: ../tools/virt-list-partitions.pl:95
24927 msgid "B<-l> | B<--long>"
24928 msgstr ""
24929
24930 # type: =item
24931 #: ../tools/virt-ls.pl:117
24932 msgid "B<-R> | B<--recursive>"
24933 msgstr ""
24934
24935 # type: textblock
24936 #: ../tools/virt-ls.pl:119
24937 msgid ""
24938 "Select the mode.  With neither of these options, C<virt-ls> produces a "
24939 "simple, flat list of the files in the named directory."
24940 msgstr ""
24941
24942 # type: textblock
24943 #: ../tools/virt-ls.pl:122
24944 msgid ""
24945 "C<virt-ls -l> produces a \"long listing\", which shows more detail (just "
24946 "like the plain C<ls -l> command)."
24947 msgstr ""
24948
24949 # type: textblock
24950 #: ../tools/virt-ls.pl:125
24951 msgid ""
24952 "C<virt-ls -R> produces a recursive list of files starting at the named "
24953 "directory.  See the documentation for the C<guestfs_find> command L<guestfs"
24954 "(3)> for precise details."
24955 msgstr ""
24956
24957 # type: textblock
24958 #: ../tools/virt-ls.pl:129
24959 msgid "You cannot combine these options."
24960 msgstr ""
24961
24962 # type: textblock
24963 #: ../tools/virt-ls.pl:212
24964 msgid ""
24965 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<Sys::"
24966 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
24967 "org/>."
24968 msgstr ""
24969
24970 # type: textblock
24971 #: ../tools/virt-resize.pl:42
24972 msgid "virt-resize - Resize a virtual machine disk"
24973 msgstr ""
24974
24975 # type: verbatim
24976 #: ../tools/virt-resize.pl:46
24977 #, no-wrap
24978 msgid ""
24979 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
24980 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
24981 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
24982 "\n"
24983 msgstr ""
24984
24985 # type: textblock
24986 #: ../tools/virt-resize.pl:52
24987 msgid ""
24988 "Virt-resize is a tool which can resize a virtual machine disk, making it "
24989 "larger or smaller overall, and resizing or deleting any partitions contained "
24990 "within."
24991 msgstr ""
24992
24993 # type: textblock
24994 #: ../tools/virt-resize.pl:56
24995 msgid ""
24996 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
24997 "not> be used on live virtual machines - for consistent results, shut the "
24998 "virtual machine down before resizing it."
24999 msgstr ""
25000
25001 # type: textblock
25002 #: ../tools/virt-resize.pl:60
25003 msgid ""
25004 "If you are not familiar with the associated tools: L<virt-list-partitions(1)"
25005 ">, L<virt-list-filesystems(1)> and L<virt-df(1)>, we recommend you go and "
25006 "read those manual pages first."
25007 msgstr ""
25008
25009 # type: textblock
25010 #: ../tools/virt-resize.pl:68
25011 msgid ""
25012 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
25013 "fill the extra 5GB of space."
25014 msgstr ""
25015
25016 # type: verbatim
25017 #: ../tools/virt-resize.pl:71
25018 #, no-wrap
25019 msgid ""
25020 " truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
25021 " virt-list-partitions -lht olddisk\n"
25022 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
25023 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
25024 "\n"
25025 msgstr ""
25026
25027 # type: textblock
25028 #: ../tools/virt-resize.pl:76
25029 msgid ""
25030 "As above, but make the /boot partition 200MB bigger, while giving the "
25031 "remaining space to /dev/sda2:"
25032 msgstr ""
25033
25034 # type: verbatim
25035 #: ../tools/virt-resize.pl:79
25036 #, no-wrap
25037 msgid ""
25038 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
25039 "\n"
25040 msgstr ""
25041
25042 # type: =head1
25043 #: ../tools/virt-resize.pl:81
25044 msgid "DETAILED USAGE"
25045 msgstr ""
25046
25047 # type: =head2
25048 #: ../tools/virt-resize.pl:83
25049 msgid "EXPANDING A VIRTUAL MACHINE DISK"
25050 msgstr ""
25051
25052 # type: =item
25053 #: ../tools/virt-resize.pl:87
25054 msgid "1. Shut down the virtual machine"
25055 msgstr ""
25056
25057 # type: =item
25058 #: ../tools/virt-resize.pl:89
25059 msgid "2. Locate input disk image"
25060 msgstr ""
25061
25062 # type: textblock
25063 #: ../tools/virt-resize.pl:91
25064 msgid ""
25065 "Locate the input disk image (ie. the file or device on the host containing "
25066 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
25067 "dumpxml> like this to find the disk image name:"
25068 msgstr ""
25069
25070 # type: verbatim
25071 #: ../tools/virt-resize.pl:95
25072 #, no-wrap
25073 msgid ""
25074 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
25075 " Found 1 nodes:\n"
25076 " -- NODE --\n"
25077 " <source dev=\"/dev/vg/lv_guest\" />\n"
25078 "\n"
25079 msgstr ""
25080
25081 # type: =item
25082 #: ../tools/virt-resize.pl:100
25083 msgid "3. Look at current sizing"
25084 msgstr ""
25085
25086 # type: textblock
25087 #: ../tools/virt-resize.pl:102
25088 msgid ""
25089 "Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
25090 msgstr ""
25091
25092 # type: verbatim
25093 #: ../tools/virt-resize.pl:105
25094 #, no-wrap
25095 msgid ""
25096 " # virt-list-partitions -lht /dev/vg/lv_guest\n"
25097 " /dev/sda1 ext3 101.9M\n"
25098 " /dev/sda2 pv 7.9G\n"
25099 " /dev/sda device 8.0G\n"
25100 "\n"
25101 msgstr ""
25102
25103 # type: textblock
25104 #: ../tools/virt-resize.pl:110
25105 msgid ""
25106 "(This example is a virtual machine with an 8 GB disk which we would like to "
25107 "expand up to 10 GB)."
25108 msgstr ""
25109
25110 # type: =item
25111 #: ../tools/virt-resize.pl:113
25112 msgid "4. Create output disk"
25113 msgstr ""
25114
25115 # type: textblock
25116 #: ../tools/virt-resize.pl:115
25117 msgid ""
25118 "Virt-resize cannot do in-place disk modifications.  You have to have space "
25119 "to store the resized output disk."
25120 msgstr ""
25121
25122 # type: textblock
25123 #: ../tools/virt-resize.pl:118
25124 msgid ""
25125 "To store the resized disk image in a file, create a file of a suitable size:"
25126 msgstr ""
25127
25128 # type: verbatim
25129 #: ../tools/virt-resize.pl:121
25130 #, no-wrap
25131 msgid ""
25132 " # rm -f outdisk\n"
25133 " # truncate -s 10G outdisk\n"
25134 "\n"
25135 msgstr ""
25136
25137 # type: textblock
25138 #: ../tools/virt-resize.pl:124
25139 msgid "Or use L<lvcreate(1)> to create a logical volume:"
25140 msgstr ""
25141
25142 # type: verbatim
25143 #: ../tools/virt-resize.pl:126
25144 #, no-wrap
25145 msgid ""
25146 " # lvcreate -L 10G -n lv_name vg_name\n"
25147 "\n"
25148 msgstr ""
25149
25150 # type: textblock
25151 #: ../tools/virt-resize.pl:128
25152 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
25153 msgstr ""
25154
25155 # type: verbatim
25156 #: ../tools/virt-resize.pl:130
25157 #, no-wrap
25158 msgid ""
25159 " # virsh pool-list\n"
25160 " # virsh vol-create-as poolname newvol 10G\n"
25161 "\n"
25162 msgstr ""
25163
25164 # type: =item
25165 #: ../tools/virt-resize.pl:133
25166 msgid "5. Resize"
25167 msgstr ""
25168
25169 # type: textblock
25170 #: ../tools/virt-resize.pl:135
25171 msgid ""
25172 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
25173 "file) and the output disk.  The output disk is the one created in the "
25174 "previous step."
25175 msgstr ""
25176
25177 # type: verbatim
25178 #: ../tools/virt-resize.pl:139
25179 #, no-wrap
25180 msgid ""
25181 " # virt-resize indisk outdisk\n"
25182 "\n"
25183 msgstr ""
25184
25185 # type: textblock
25186 #: ../tools/virt-resize.pl:141
25187 msgid ""
25188 "This command just copies disk image C<indisk> to disk image C<outdisk> "
25189 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
25190 "larger, then an extra, empty partition is created at the end of the disk "
25191 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
25192 "error."
25193 msgstr ""
25194
25195 # type: textblock
25196 #: ../tools/virt-resize.pl:147
25197 msgid ""
25198 "More realistically you'd want to expand existing partitions in the disk "
25199 "image by passing extra options (for the full list see the L</OPTIONS> "
25200 "section below)."
25201 msgstr ""
25202
25203 # type: textblock
25204 #: ../tools/virt-resize.pl:151
25205 msgid ""
25206 "L</--expand> is the most useful option.  It expands the named partition "
25207 "within the disk to fill any extra space:"
25208 msgstr ""
25209
25210 # type: verbatim
25211 #: ../tools/virt-resize.pl:154
25212 #, no-wrap
25213 msgid ""
25214 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
25215 "\n"
25216 msgstr ""
25217
25218 # type: textblock
25219 #: ../tools/virt-resize.pl:156
25220 msgid ""
25221 "(In this case, an extra partition is I<not> created at the end of the disk, "
25222 "because there will be no unused space)."
25223 msgstr ""
25224
25225 # type: textblock
25226 #: ../tools/virt-resize.pl:159
25227 msgid ""
25228 "L</--resize> is the other commonly used option.  The following would "
25229 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
25230 "rest of the available space:"
25231 msgstr ""
25232
25233 # type: verbatim
25234 #: ../tools/virt-resize.pl:163
25235 #, no-wrap
25236 msgid ""
25237 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
25238 "     indisk outdisk\n"
25239 "\n"
25240 msgstr ""
25241
25242 # type: textblock
25243 #: ../tools/virt-resize.pl:166
25244 msgid ""
25245 "If the expanded partition in the image contains a filesystem or LVM PV, then "
25246 "if virt-resize knows how, it will resize the contents, the equivalent of "
25247 "calling a command such as L<pvresize(8)>, L<resize2fs(8)> or L<ntfsresize(8)"
25248 ">.  However virt-resize does not know how to resize some filesystems, so you "
25249 "would have to online resize them after booting the guest.  And virt-resize "
25250 "also does not resize anything inside an LVM PV, it just resizes the PV "
25251 "itself and leaves the user to resize any LVs inside that PV as desired."
25252 msgstr ""
25253
25254 # type: textblock
25255 #: ../tools/virt-resize.pl:175
25256 msgid "Other options are covered below."
25257 msgstr ""
25258
25259 # type: =item
25260 #: ../tools/virt-resize.pl:177
25261 msgid "6. Test"
25262 msgstr ""
25263
25264 # type: textblock
25265 #: ../tools/virt-resize.pl:179
25266 msgid "Thoroughly test the new disk image I<before> discarding the old one."
25267 msgstr ""
25268
25269 # type: textblock
25270 #: ../tools/virt-resize.pl:181
25271 msgid "If you are using libvirt, edit the XML to point at the new disk:"
25272 msgstr ""
25273
25274 # type: verbatim
25275 #: ../tools/virt-resize.pl:183
25276 #, no-wrap
25277 msgid ""
25278 " # virsh edit guestname\n"
25279 "\n"
25280 msgstr ""
25281
25282 # type: textblock
25283 #: ../tools/virt-resize.pl:185
25284 msgid ""
25285 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
25286 "html#elementsDisks>"
25287 msgstr ""
25288
25289 # type: textblock
25290 #: ../tools/virt-resize.pl:188
25291 msgid "Then start up the domain with the new, resized disk:"
25292 msgstr ""
25293
25294 # type: verbatim
25295 #: ../tools/virt-resize.pl:190
25296 #, no-wrap
25297 msgid ""
25298 " # virsh start guestname\n"
25299 "\n"
25300 msgstr ""
25301
25302 # type: textblock
25303 #: ../tools/virt-resize.pl:192
25304 msgid ""
25305 "and check that it still works.  See also the L</NOTES> section below for "
25306 "additional information."
25307 msgstr ""
25308
25309 # type: =item
25310 #: ../tools/virt-resize.pl:195
25311 msgid "7. Resize LVs etc inside the guest"
25312 msgstr ""
25313
25314 # type: textblock
25315 #: ../tools/virt-resize.pl:197
25316 msgid "(This can also be done offline using L<guestfish(1)>)"
25317 msgstr ""
25318
25319 # type: textblock
25320 #: ../tools/virt-resize.pl:199
25321 msgid ""
25322 "Once the guest has booted you should see the new space available, at least "
25323 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
25324 "may need to resize LVs inside PVs, and also resize filesystem types that "
25325 "virt-resize does not know how to expand."
25326 msgstr ""
25327
25328 # type: =head2
25329 #: ../tools/virt-resize.pl:206
25330 msgid "SHRINKING A VIRTUAL MACHINE DISK"
25331 msgstr ""
25332
25333 # type: textblock
25334 #: ../tools/virt-resize.pl:208
25335 msgid ""
25336 "Shrinking is somewhat more complex than expanding, and only an overview is "
25337 "given here."
25338 msgstr ""
25339
25340 # type: textblock
25341 #: ../tools/virt-resize.pl:211
25342 msgid ""
25343 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
25344 "filesystems).  The user has to shrink content before passing the disk image "
25345 "to virt-resize, and virt-resize will check that the content has been shrunk "
25346 "properly."
25347 msgstr ""
25348
25349 # type: textblock
25350 #: ../tools/virt-resize.pl:216
25351 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
25352 msgstr ""
25353
25354 # type: textblock
25355 #: ../tools/virt-resize.pl:218
25356 msgid ""
25357 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
25358 "steps 3 and 4 above to allocate a new disk image."
25359 msgstr ""
25360
25361 # type: textblock
25362 #: ../tools/virt-resize.pl:221
25363 msgid ""
25364 "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
25365 msgstr ""
25366
25367 # type: =head2
25368 #: ../tools/virt-resize.pl:224
25369 msgid "IGNORING OR DELETING PARTITIONS"
25370 msgstr ""
25371
25372 # type: textblock
25373 #: ../tools/virt-resize.pl:226
25374 msgid ""
25375 "virt-resize also gives a convenient way to ignore or delete partitions when "
25376 "copying from the input disk to the output disk.  Ignoring a partition speeds "
25377 "up the copy where you don't care about the existing contents of a "
25378 "partition.  Deleting a partition removes it completely, but note that it "
25379 "also renumbers any partitions after the one which is deleted, which can "
25380 "leave some guests unbootable."
25381 msgstr ""
25382
25383 # type: textblock
25384 #: ../tools/virt-resize.pl:243
25385 msgid "Display help."
25386 msgstr ""
25387
25388 # type: =item
25389 #: ../tools/virt-resize.pl:257
25390 msgid "B<--resize part=size>"
25391 msgstr ""
25392
25393 # type: textblock
25394 #: ../tools/virt-resize.pl:259
25395 msgid ""
25396 "Resize the named partition (expanding or shrinking it) so that it has the "
25397 "given size."
25398 msgstr ""
25399
25400 # type: textblock
25401 #: ../tools/virt-resize.pl:262
25402 msgid ""
25403 "C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
25404 "mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
25405 "Exabytes; or as a percentage of the current size; or as a relative number or "
25406 "percentage.  For example:"
25407 msgstr ""
25408
25409 # type: verbatim
25410 #: ../tools/virt-resize.pl:267
25411 #, no-wrap
25412 msgid ""
25413 " --resize /dev/sda2=10G\n"
25414 "\n"
25415 msgstr ""
25416
25417 # type: verbatim
25418 #: ../tools/virt-resize.pl:269
25419 #, no-wrap
25420 msgid ""
25421 " --resize /dev/sda4=90%\n"
25422 "\n"
25423 msgstr ""
25424
25425 # type: verbatim
25426 #: ../tools/virt-resize.pl:271
25427 #, no-wrap
25428 msgid ""
25429 " --resize /dev/sda2=+1G\n"
25430 "\n"
25431 msgstr ""
25432
25433 # type: verbatim
25434 #: ../tools/virt-resize.pl:273
25435 #, no-wrap
25436 msgid ""
25437 " --resize /dev/sda2=-200M\n"
25438 "\n"
25439 msgstr ""
25440
25441 # type: verbatim
25442 #: ../tools/virt-resize.pl:275
25443 #, no-wrap
25444 msgid ""
25445 " --resize /dev/sda1=+128K\n"
25446 "\n"
25447 msgstr ""
25448
25449 # type: verbatim
25450 #: ../tools/virt-resize.pl:277
25451 #, no-wrap
25452 msgid ""
25453 " --resize /dev/sda1=+10%\n"
25454 "\n"
25455 msgstr ""
25456
25457 # type: verbatim
25458 #: ../tools/virt-resize.pl:279
25459 #, no-wrap
25460 msgid ""
25461 " --resize /dev/sda1=-10%\n"
25462 "\n"
25463 msgstr ""
25464
25465 # type: textblock
25466 #: ../tools/virt-resize.pl:281
25467 msgid ""
25468 "You can increase the size of any partition.  Virt-resize will expand the "
25469 "direct content of the partition if it knows how (see C<--expand> below)."
25470 msgstr ""
25471
25472 # type: textblock
25473 #: ../tools/virt-resize.pl:285
25474 msgid ""
25475 "You can only I<decrease> the size of partitions that contain filesystems or "
25476 "PVs which have already been shrunk.  Virt-resize will check this has been "
25477 "done before proceeding, or else will print an error (see also C<--resize-"
25478 "force>)."
25479 msgstr ""
25480
25481 # type: textblock
25482 #: ../tools/virt-resize.pl:290 ../tools/virt-resize.pl:382
25483 #: ../tools/virt-resize.pl:399
25484 msgid "You can give this option multiple times."
25485 msgstr ""
25486
25487 # type: =item
25488 #: ../tools/virt-resize.pl:296
25489 msgid "B<--resize-force part=size>"
25490 msgstr ""
25491
25492 # type: textblock
25493 #: ../tools/virt-resize.pl:298
25494 msgid ""
25495 "This is the same as C<--resize> except that it will let you decrease the "
25496 "size of any partition.  Generally this means you will lose any data which "
25497 "was at the end of the partition you shrink, but you may not care about that "
25498 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
25499 "as a swap partition)."
25500 msgstr ""
25501
25502 # type: textblock
25503 #: ../tools/virt-resize.pl:304
25504 msgid "See also the C<--ignore> option."
25505 msgstr ""
25506
25507 # type: =item
25508 #: ../tools/virt-resize.pl:310
25509 msgid "B<--expand part>"
25510 msgstr ""
25511
25512 # type: textblock
25513 #: ../tools/virt-resize.pl:312
25514 msgid ""
25515 "Expand the named partition so it uses up all extra space (space left over "
25516 "after any other resize changes that you request have been done)."
25517 msgstr ""
25518
25519 # type: textblock
25520 #: ../tools/virt-resize.pl:315
25521 msgid ""
25522 "If virt-resize knows how, it will expand the direct content of the "
25523 "partition.  For example, if the partition is an LVM PV, it will expand the "
25524 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
25525 "content it doesn't know about alone."
25526 msgstr ""
25527
25528 # type: textblock
25529 #: ../tools/virt-resize.pl:320
25530 msgid "Currently virt-resize can resize:"
25531 msgstr ""
25532
25533 # type: textblock
25534 #: ../tools/virt-resize.pl:326
25535 msgid ""
25536 "ext2, ext3 and ext4 filesystems when they are contained directly inside a "
25537 "partition."
25538 msgstr ""
25539
25540 # type: textblock
25541 #: ../tools/virt-resize.pl:331
25542 msgid ""
25543 "NTFS filesystems contained directly in a partition, if libguestfs was "
25544 "compiled with support for NTFS."
25545 msgstr ""
25546
25547 # type: textblock
25548 #: ../tools/virt-resize.pl:334
25549 msgid ""
25550 "The filesystem must have been shut down consistently last time it was used.  "
25551 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
25552 "consistency check, so at the first boot after resizing Windows will check "
25553 "the disk."
25554 msgstr ""
25555
25556 # type: textblock
25557 #: ../tools/virt-resize.pl:341
25558 msgid ""
25559 "LVM PVs (physical volumes).  However virt-resize does I<not> resize anything "
25560 "inside the PV.  The user will have to resize LVs as desired."
25561 msgstr ""
25562
25563 # type: textblock
25564 #: ../tools/virt-resize.pl:347 ../tools/virt-resize.pl:369
25565 msgid "Note that you cannot use C<--expand> and C<--shrink> together."
25566 msgstr ""
25567
25568 # type: =item
25569 #: ../tools/virt-resize.pl:353
25570 msgid "B<--shrink part>"
25571 msgstr ""
25572
25573 # type: textblock
25574 #: ../tools/virt-resize.pl:355
25575 msgid ""
25576 "Shrink the named partition until the overall disk image fits in the "
25577 "destination.  The named partition B<must> contain a filesystem or PV which "
25578 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
25579 "online tools).  Virt-resize will check this and give an error if it has not "
25580 "been done."
25581 msgstr ""
25582
25583 # type: textblock
25584 #: ../tools/virt-resize.pl:361
25585 msgid ""
25586 "The amount by which the overall disk must be shrunk (after carrying out all "
25587 "other operations requested by the user) is called the \"deficit\".  For "
25588 "example, a straight copy (assume no other operations)  from a 5GB disk image "
25589 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
25590 "would give an error unless the user specified a partition to shrink and that "
25591 "partition had more than a gigabyte of free space."
25592 msgstr ""
25593
25594 # type: =item
25595 #: ../tools/virt-resize.pl:375
25596 msgid "B<--ignore part>"
25597 msgstr ""
25598
25599 # type: textblock
25600 #: ../tools/virt-resize.pl:377
25601 msgid ""
25602 "Ignore the named partition.  Effectively this means the partition is "
25603 "allocated on the destination disk, but the content is not copied across from "
25604 "the source disk.  The content of the partition will be blank (all zero "
25605 "bytes)."
25606 msgstr ""
25607
25608 # type: =item
25609 #: ../tools/virt-resize.pl:388
25610 msgid "B<--delete part>"
25611 msgstr ""
25612
25613 # type: textblock
25614 #: ../tools/virt-resize.pl:390
25615 msgid ""
25616 "Delete the named partition.  It would be more accurate to describe this as "
25617 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
25618 "the original disk image is left intact."
25619 msgstr ""
25620
25621 # type: textblock
25622 #: ../tools/virt-resize.pl:394
25623 msgid ""
25624 "Note that when you delete a partition, then anything contained in the "
25625 "partition is also deleted.  Furthermore, this causes any partitions that "
25626 "come after to be I<renumbered>, which can easily make your guest unbootable."
25627 msgstr ""
25628
25629 # type: =item
25630 #: ../tools/virt-resize.pl:405
25631 msgid "B<--LV-expand logvol>"
25632 msgstr ""
25633
25634 # type: textblock
25635 #: ../tools/virt-resize.pl:407
25636 msgid ""
25637 "This takes the logical volume and, as a final step, expands it to fill all "
25638 "the space available in its volume group.  A typical usage, assuming a Linux "
25639 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
25640 "lv_root> would be:"
25641 msgstr ""
25642
25643 # type: verbatim
25644 #: ../tools/virt-resize.pl:412
25645 #, no-wrap
25646 msgid ""
25647 " virt-resize indisk outdisk \\\n"
25648 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
25649 "\n"
25650 msgstr ""
25651
25652 # type: textblock
25653 #: ../tools/virt-resize.pl:415
25654 msgid ""
25655 "This would first expand the partition (and PV), and then expand the root "
25656 "device to fill the extra space in the PV."
25657 msgstr ""
25658
25659 # type: textblock
25660 #: ../tools/virt-resize.pl:418
25661 msgid ""
25662 "The contents of the LV are also resized if virt-resize knows how to do "
25663 "that.  You can stop virt-resize from trying to expand the content by using "
25664 "the option C<--no-expand-content>."
25665 msgstr ""
25666
25667 # type: textblock
25668 #: ../tools/virt-resize.pl:422
25669 msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
25670 msgstr ""
25671
25672 # type: textblock
25673 #: ../tools/virt-resize.pl:425
25674 msgid ""
25675 "You can give this option multiple times, I<but> it doesn't make sense to do "
25676 "this unless the logical volumes you specify are all in different volume "
25677 "groups."
25678 msgstr ""
25679
25680 # type: =item
25681 #: ../tools/virt-resize.pl:433
25682 msgid "B<--no-copy-boot-loader>"
25683 msgstr ""
25684
25685 # type: textblock
25686 #: ../tools/virt-resize.pl:435
25687 msgid ""
25688 "By default, virt-resize copies over some sectors at the start of the disk "
25689 "(up to the beginning of the first partition).  Commonly these sectors "
25690 "contain the Master Boot Record (MBR) and the boot loader, and are required "
25691 "in order for the guest to boot correctly."
25692 msgstr ""
25693
25694 # type: textblock
25695 #: ../tools/virt-resize.pl:440
25696 msgid ""
25697 "If you specify this flag, then this initial copy is not done.  You may need "
25698 "to reinstall the boot loader in this case."
25699 msgstr ""
25700
25701 # type: =item
25702 #: ../tools/virt-resize.pl:448
25703 msgid "B<--no-extra-partition>"
25704 msgstr ""
25705
25706 # type: textblock
25707 #: ../tools/virt-resize.pl:450
25708 msgid ""
25709 "By default, virt-resize creates an extra partition if there is any extra, "
25710 "unused space after all resizing has happened.  Use this option to prevent "
25711 "the extra partition from being created.  If you do this then the extra space "
25712 "will be inaccessible until you run fdisk, parted, or some other partitioning "
25713 "tool in the guest."
25714 msgstr ""
25715
25716 # type: textblock
25717 #: ../tools/virt-resize.pl:456
25718 msgid ""
25719 "Note that if the surplus space is smaller than 10 MB, no extra partition "
25720 "will be created."
25721 msgstr ""
25722
25723 # type: =item
25724 #: ../tools/virt-resize.pl:463
25725 msgid "B<--no-expand-content>"
25726 msgstr ""
25727
25728 # type: textblock
25729 #: ../tools/virt-resize.pl:465
25730 msgid ""
25731 "By default, virt-resize will try to expand the direct contents of "
25732 "partitions, if it knows how (see C<--expand> option above)."
25733 msgstr ""
25734
25735 # type: textblock
25736 #: ../tools/virt-resize.pl:468
25737 msgid ""
25738 "If you give the C<--no-expand-content> option then virt-resize will not "
25739 "attempt this."
25740 msgstr ""
25741
25742 # type: =item
25743 #: ../tools/virt-resize.pl:475
25744 msgid "B<-d> | B<--debug>"
25745 msgstr ""
25746
25747 # type: =item
25748 #: ../tools/virt-resize.pl:483
25749 msgid "B<-n> | B<--dryrun>"
25750 msgstr ""
25751
25752 # type: textblock
25753 #: ../tools/virt-resize.pl:485
25754 msgid "Print a summary of what would be done, but don't do anything."
25755 msgstr ""
25756
25757 # type: =item
25758 #: ../tools/virt-resize.pl:491
25759 msgid "B<-q> | B<--quiet>"
25760 msgstr ""
25761
25762 # type: textblock
25763 #: ../tools/virt-resize.pl:493
25764 msgid "Don't print the summary."
25765 msgstr ""
25766
25767 # type: =head1
25768 #: ../tools/virt-resize.pl:1350 ../tools/virt-rescue.pl:90
25769 msgid "NOTES"
25770 msgstr ""
25771
25772 # type: =head2
25773 #: ../tools/virt-resize.pl:1352
25774 msgid "\"Partition 1 does not end on cylinder boundary.\""
25775 msgstr ""
25776
25777 # type: textblock
25778 #: ../tools/virt-resize.pl:1354
25779 msgid ""
25780 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
25781 "means the partitions will not be aligned to the ancient CHS geometry.  "
25782 "However CHS geometry is meaningless for disks manufactured since the early "
25783 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
25784 "cylinders is not required by any modern operating system."
25785 msgstr ""
25786
25787 # type: =head2
25788 #: ../tools/virt-resize.pl:1361
25789 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
25790 msgstr ""
25791
25792 # type: textblock
25793 #: ../tools/virt-resize.pl:1363
25794 msgid ""
25795 "In Windows Vista and later versions, Microsoft switched to using a separate "
25796 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
25797 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
25798 "the boot partition.  Doing so seems to break the guest completely.  However "
25799 "expanding the second partition (ie. C: drive) should work."
25800 msgstr ""
25801
25802 # type: textblock
25803 #: ../tools/virt-resize.pl:1370
25804 msgid ""
25805 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
25806 "NTFS partitions have been expanded.  This is just a safety check and (unless "
25807 "it find errors) is nothing to worry about."
25808 msgstr ""
25809
25810 # type: =head1
25811 #: ../tools/virt-resize.pl:1374
25812 msgid "ALTERNATIVE TOOLS"
25813 msgstr ""
25814
25815 # type: textblock
25816 #: ../tools/virt-resize.pl:1376
25817 msgid ""
25818 "There are several proprietary tools for resizing partitions.  We won't "
25819 "mention any here."
25820 msgstr ""
25821
25822 # type: textblock
25823 #: ../tools/virt-resize.pl:1379
25824 msgid ""
25825 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
25826 "operations on disk images.  They can resize and move partitions, but I don't "
25827 "think they can do anything with the contents, and they certainly don't "
25828 "understand LVM."
25829 msgstr ""
25830
25831 # type: textblock
25832 #: ../tools/virt-resize.pl:1384
25833 msgid ""
25834 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
25835 "but at a much lower level.  You will probably end up hand-calculating sector "
25836 "offsets, which is something that virt-resize was designed to avoid.  If you "
25837 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
25838 "C<--debug> flag."
25839 msgstr ""
25840
25841 # type: textblock
25842 #: ../tools/virt-resize.pl:1392
25843 msgid ""
25844 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)>, L<virt-df(1)>, "
25845 "L<guestfs(3)>, L<guestfish(1)>, L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, "
25846 "L<resize2fs(8)>, L<ntfsresize(8)>, L<virsh(1)>, L<parted(8)>, L<Sys::Guestfs"
25847 "(3)>, L<http://libguestfs.org/>."
25848 msgstr ""
25849
25850 # type: textblock
25851 #: ../tools/virt-list-filesystems.pl:32
25852 msgid ""
25853 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
25854 msgstr ""
25855
25856 # type: verbatim
25857 #: ../tools/virt-list-filesystems.pl:36
25858 #, no-wrap
25859 msgid ""
25860 " virt-list-filesystems [--options] domname\n"
25861 "\n"
25862 msgstr ""
25863
25864 # type: verbatim
25865 #: ../tools/virt-list-filesystems.pl:38
25866 #, no-wrap
25867 msgid ""
25868 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
25869 "\n"
25870 msgstr ""
25871
25872 # type: textblock
25873 #: ../tools/virt-list-filesystems.pl:42
25874 msgid ""
25875 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
25876 "are contained in a virtual machine or disk image."
25877 msgstr ""
25878
25879 # type: textblock
25880 #: ../tools/virt-list-filesystems.pl:46
25881 msgid ""
25882 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
25883 "functionality.  For more complex cases you should look at the L<guestfish(1)"
25884 "> tool."
25885 msgstr ""
25886
25887 # type: textblock
25888 #: ../tools/virt-list-filesystems.pl:88
25889 msgid ""
25890 "With this option, C<virt-list-filesystems> displays the type of each "
25891 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
25892 msgstr ""
25893
25894 # type: =item
25895 #: ../tools/virt-list-filesystems.pl:95
25896 msgid "B<-a> | B<--all>"
25897 msgstr ""
25898
25899 # type: textblock
25900 #: ../tools/virt-list-filesystems.pl:97
25901 msgid ""
25902 "Normally we only show mountable filesystems.  If this option is given then "
25903 "swap devices are shown too."
25904 msgstr ""
25905
25906 # type: textblock
25907 #: ../tools/virt-list-filesystems.pl:193
25908 msgid ""
25909 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-list-"
25910 "partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)"
25911 ">, L<http://libguestfs.org/>."
25912 msgstr ""
25913
25914 # type: textblock
25915 #: ../tools/virt-cat.pl:34
25916 msgid "virt-cat - Display a file in a virtual machine"
25917 msgstr ""
25918
25919 # type: verbatim
25920 #: ../tools/virt-cat.pl:38
25921 #, no-wrap
25922 msgid ""
25923 " virt-cat [--options] domname file\n"
25924 "\n"
25925 msgstr ""
25926
25927 # type: verbatim
25928 #: ../tools/virt-cat.pl:40
25929 #, no-wrap
25930 msgid ""
25931 " virt-cat [--options] disk.img [disk.img ...] file\n"
25932 "\n"
25933 msgstr ""
25934
25935 # type: textblock
25936 #: ../tools/virt-cat.pl:44
25937 msgid ""
25938 "C<virt-cat> is a command line tool to display the contents of C<file> where "
25939 "C<file> exists in the named virtual machine (or disk image)."
25940 msgstr ""
25941
25942 # type: textblock
25943 #: ../tools/virt-cat.pl:47
25944 msgid ""
25945 "C<virt-cat> can be used to quickly view a single file.  To edit a file, use "
25946 "C<virt-edit>.  For more complex cases you should look at the L<guestfish(1)> "
25947 "tool."
25948 msgstr ""
25949
25950 # type: textblock
25951 #: ../tools/virt-cat.pl:53
25952 msgid ""
25953 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
25954 msgstr ""
25955
25956 # type: verbatim
25957 #: ../tools/virt-cat.pl:56
25958 #, no-wrap
25959 msgid ""
25960 " virt-cat mydomain /etc/fstab\n"
25961 "\n"
25962 msgstr ""
25963
25964 # type: textblock
25965 #: ../tools/virt-cat.pl:58
25966 msgid "List syslog messages from a VM:"
25967 msgstr ""
25968
25969 # type: verbatim
25970 #: ../tools/virt-cat.pl:60
25971 #, no-wrap
25972 msgid ""
25973 " virt-cat mydomain /var/log/messages | tail\n"
25974 "\n"
25975 msgstr ""
25976
25977 # type: textblock
25978 #: ../tools/virt-cat.pl:62
25979 msgid "Find out what DHCP IP address a VM acquired:"
25980 msgstr ""
25981
25982 # type: verbatim
25983 #: ../tools/virt-cat.pl:64
25984 #, no-wrap
25985 msgid ""
25986 " virt-cat mydomain /var/log/messages | grep 'dhclient: bound to' | tail\n"
25987 "\n"
25988 msgstr ""
25989
25990 # type: textblock
25991 #: ../tools/virt-cat.pl:66
25992 msgid "Find out what packages were recently installed:"
25993 msgstr ""
25994
25995 # type: verbatim
25996 #: ../tools/virt-cat.pl:68
25997 #, no-wrap
25998 msgid ""
25999 " virt-cat mydomain /var/log/yum.log | tail\n"
26000 "\n"
26001 msgstr ""
26002
26003 # type: textblock
26004 #: ../tools/virt-cat.pl:70
26005 msgid "Find out who is logged on inside a virtual machine:"
26006 msgstr ""
26007
26008 # type: verbatim
26009 #: ../tools/virt-cat.pl:72
26010 #, no-wrap
26011 msgid ""
26012 " virt-cat mydomain /var/run/utmp > /tmp/utmp\n"
26013 " who /tmp/utmp\n"
26014 "\n"
26015 msgstr ""
26016
26017 # type: textblock
26018 #: ../tools/virt-cat.pl:75
26019 msgid "or who was logged on:"
26020 msgstr ""
26021
26022 # type: verbatim
26023 #: ../tools/virt-cat.pl:77
26024 #, no-wrap
26025 msgid ""
26026 " virt-cat mydomain /var/log/wtmp > /tmp/wtmp\n"
26027 " last -f /tmp/wtmp\n"
26028 "\n"
26029 msgstr ""
26030
26031 # type: textblock
26032 #: ../tools/virt-cat.pl:165
26033 msgid ""
26034 "L<guestfs(3)>, L<guestfish(1)>, L<virt-edit(1)>, L<Sys::Guestfs(3)>, L<Sys::"
26035 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26036 msgstr ""
26037
26038 # type: textblock
26039 #: ../tools/virt-tar.pl:34
26040 msgid "virt-tar - Extract or upload files to a virtual machine"
26041 msgstr ""
26042
26043 # type: verbatim
26044 #: ../tools/virt-tar.pl:38
26045 #, no-wrap
26046 msgid ""
26047 " virt-tar [--options] -x domname directory tarball\n"
26048 "\n"
26049 msgstr ""
26050
26051 # type: verbatim
26052 #: ../tools/virt-tar.pl:40
26053 #, no-wrap
26054 msgid ""
26055 " virt-tar [--options] -u domname tarball directory\n"
26056 "\n"
26057 msgstr ""
26058
26059 # type: verbatim
26060 #: ../tools/virt-tar.pl:42
26061 #, no-wrap
26062 msgid ""
26063 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
26064 "\n"
26065 msgstr ""
26066
26067 # type: verbatim
26068 #: ../tools/virt-tar.pl:44
26069 #, no-wrap
26070 msgid ""
26071 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
26072 "\n"
26073 msgstr ""
26074
26075 # type: textblock
26076 #: ../tools/virt-tar.pl:48
26077 msgid "Download C</home> from the VM into a local tarball:"
26078 msgstr ""
26079
26080 # type: verbatim
26081 #: ../tools/virt-tar.pl:50
26082 #, no-wrap
26083 msgid ""
26084 " virt-tar -x domname /home home.tar\n"
26085 "\n"
26086 msgstr ""
26087
26088 # type: verbatim
26089 #: ../tools/virt-tar.pl:52
26090 #, no-wrap
26091 msgid ""
26092 " virt-tar -zx domname /home home.tar.gz\n"
26093 "\n"
26094 msgstr ""
26095
26096 # type: textblock
26097 #: ../tools/virt-tar.pl:54
26098 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
26099 msgstr ""
26100
26101 # type: verbatim
26102 #: ../tools/virt-tar.pl:56
26103 #, no-wrap
26104 msgid ""
26105 " virt-tar -u domname uploadstuff.tar /tmp\n"
26106 "\n"
26107 msgstr ""
26108
26109 # type: verbatim
26110 #: ../tools/virt-tar.pl:58
26111 #, no-wrap
26112 msgid ""
26113 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
26114 "\n"
26115 msgstr ""
26116
26117 # type: textblock
26118 #: ../tools/virt-tar.pl:62
26119 msgid ""
26120 "You must I<not> use C<virt-tar> with the C<-u> option (upload) on live "
26121 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
26122 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
26123 msgstr ""
26124
26125 # type: textblock
26126 #: ../tools/virt-tar.pl:67
26127 msgid ""
26128 "You can use C<-x> (extract) on live virtual machines, but you might get "
26129 "inconsistent results or errors if there is filesystem activity inside the "
26130 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
26131 "work, but the only way to guarantee consistent results is if the virtual "
26132 "machine is shut down."
26133 msgstr ""
26134
26135 # type: textblock
26136 #: ../tools/virt-tar.pl:75
26137 msgid ""
26138 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
26139 "parts of a guest filesystem.  There are many possibilities: making backups, "
26140 "uploading data files, snooping on guest activity, fixing or customizing "
26141 "guests, etc."
26142 msgstr ""
26143
26144 # type: textblock
26145 #: ../tools/virt-tar.pl:80
26146 msgid ""
26147 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
26148 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
26149 "should look at the L<guestfish(1)> tool."
26150 msgstr ""
26151
26152 # type: textblock
26153 #: ../tools/virt-tar.pl:84
26154 msgid ""
26155 "There are two modes of operation: C<-x> (eXtract) downloads a directory and "
26156 "its contents (recursively) from the virtual machine into a local tarball.  "
26157 "C<-u> uploads from a local tarball, unpacking it into a directory inside the "
26158 "virtual machine.  You cannot use these two options together."
26159 msgstr ""
26160
26161 # type: textblock
26162 #: ../tools/virt-tar.pl:90
26163 msgid ""
26164 "In addition, you may need to use the C<-z> (gZip) option to enable "
26165 "compression.  When uploading, you have to specify C<-z> if the upload file "
26166 "is compressed because virt-tar won't detect this on its own."
26167 msgstr ""
26168
26169 # type: textblock
26170 #: ../tools/virt-tar.pl:94
26171 msgid ""
26172 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
26173 "example it cannot do PKZip files or bzip2 compression.  If you want that "
26174 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
26175 "the L<libguestfs(3)> API)."
26176 msgstr ""
26177
26178 # type: =item
26179 #: ../tools/virt-tar.pl:135
26180 msgid "B<-x> | B<--extract> | B<--download>"
26181 msgstr ""
26182
26183 # type: =item
26184 #: ../tools/virt-tar.pl:137
26185 msgid "B<-u> | B<--upload>"
26186 msgstr ""
26187
26188 # type: textblock
26189 #: ../tools/virt-tar.pl:139
26190 msgid ""
26191 "Use C<-x> to extract (download) a directory from a virtual machine to a "
26192 "local tarball."
26193 msgstr ""
26194
26195 # type: textblock
26196 #: ../tools/virt-tar.pl:142
26197 msgid ""
26198 "Use C<-u> to upload and unpack from a local tarball into a virtual machine.  "
26199 "Please read the L</WARNING> section above before using this option."
26200 msgstr ""
26201
26202 # type: textblock
26203 #: ../tools/virt-tar.pl:146
26204 msgid "You must specify exactly one of these options."
26205 msgstr ""
26206
26207 # type: =item
26208 #: ../tools/virt-tar.pl:152
26209 msgid "B<-z> | B<--gzip>"
26210 msgstr ""
26211
26212 # type: textblock
26213 #: ../tools/virt-tar.pl:154
26214 msgid "Specify that the input or output tarball is gzip-compressed."
26215 msgstr ""
26216
26217 # type: textblock
26218 #: ../tools/virt-tar.pl:259
26219 msgid ""
26220 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<Sys::"
26221 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
26222 "org/>."
26223 msgstr ""
26224
26225 # type: textblock
26226 #: ../tools/virt-rescue.pl:33
26227 msgid "virt-rescue - Run a rescue shell on a virtual machine"
26228 msgstr ""
26229
26230 # type: verbatim
26231 #: ../tools/virt-rescue.pl:37
26232 #, no-wrap
26233 msgid ""
26234 " virt-rescue [--options] domname\n"
26235 "\n"
26236 msgstr ""
26237
26238 # type: verbatim
26239 #: ../tools/virt-rescue.pl:39
26240 #, no-wrap
26241 msgid ""
26242 " virt-rescue [--options] disk.img [disk.img ...]\n"
26243 "\n"
26244 msgstr ""
26245
26246 # type: textblock
26247 #: ../tools/virt-rescue.pl:43
26248 msgid ""
26249 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
26250 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
26251 "you from doing this, but doesn't catch all cases."
26252 msgstr ""
26253
26254 # type: textblock
26255 #: ../tools/virt-rescue.pl:47
26256 msgid ""
26257 "However if you use the I<--ro> (read only) option, then you can attach a "
26258 "shell to a live virtual machine.  The results might be strange or "
26259 "inconsistent at times but you won't get disk corruption."
26260 msgstr ""
26261
26262 # type: textblock
26263 #: ../tools/virt-rescue.pl:53
26264 msgid ""
26265 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
26266 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
26267 "recovery tools which you can use to examine or rescue a virtual machine or "
26268 "disk image."
26269 msgstr ""
26270
26271 # type: textblock
26272 #: ../tools/virt-rescue.pl:58
26273 msgid ""
26274 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
26275 "on disk image(s):"
26276 msgstr ""
26277
26278 # type: verbatim
26279 #: ../tools/virt-rescue.pl:61
26280 #, no-wrap
26281 msgid ""
26282 " virt-rescue GuestName\n"
26283 "\n"
26284 msgstr ""
26285
26286 # type: verbatim
26287 #: ../tools/virt-rescue.pl:63
26288 #, no-wrap
26289 msgid ""
26290 " virt-rescue --ro /path/to/disk.img\n"
26291 "\n"
26292 msgstr ""
26293
26294 # type: verbatim
26295 #: ../tools/virt-rescue.pl:65
26296 #, no-wrap
26297 msgid ""
26298 " virt-rescue /dev/sdc\n"
26299 "\n"
26300 msgstr ""
26301
26302 # type: textblock
26303 #: ../tools/virt-rescue.pl:67
26304 msgid "For live VMs you I<must> use the --ro option."
26305 msgstr ""
26306
26307 # type: textblock
26308 #: ../tools/virt-rescue.pl:69
26309 msgid ""
26310 "When you run virt-rescue on a virtual machine or disk image, you are placed "
26311 "in an interactive bash shell where you can use many ordinary Linux "
26312 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
26313 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
26314 "is an empty directory called C</sysroot> where you can mount filesystems."
26315 msgstr ""
26316
26317 # type: textblock
26318 #: ../tools/virt-rescue.pl:76
26319 msgid ""
26320 "In the example below, we list logical volumes, then choose one to mount "
26321 "under C</sysroot>:"
26322 msgstr ""
26323
26324 # type: verbatim
26325 #: ../tools/virt-rescue.pl:79
26326 #, no-wrap
26327 msgid ""
26328 " ><rescue> lvs\n"
26329 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
26330 " lv_root vg_f11x64 -wi-a-   8.83G\n"
26331 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
26332 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
26333 " ><rescue> ls /sysroot\n"
26334 "\n"
26335 msgstr ""
26336
26337 # type: textblock
26338 #: ../tools/virt-rescue.pl:86
26339 msgid ""
26340 "If you don't know what filesystems are available on the virtual machine then "
26341 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
26342 msgstr ""
26343
26344 # type: textblock
26345 #: ../tools/virt-rescue.pl:92
26346 msgid ""
26347 "Virt-rescue can be used on I<any> disk image file or device, not just a "
26348 "virtual machine.  For example you can use it on a blank file if you want to "
26349 "partition that file (although we would recommend using L<guestfish(1)> "
26350 "instead as it is more suitable for this purpose).  You can even use virt-"
26351 "rescue on things like SD cards."
26352 msgstr ""
26353
26354 # type: textblock
26355 #: ../tools/virt-rescue.pl:98
26356 msgid ""
26357 "This tool is just designed for quick interactive hacking on a virtual "
26358 "machine.  For more structured access to a virtual machine disk image, you "
26359 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
26360 "make scripted changes to guests, use L<guestfish(1)>."
26361 msgstr ""
26362
26363 # type: =item
26364 #: ../tools/virt-rescue.pl:127
26365 msgid "B<--append kernelopts>"
26366 msgstr ""
26367
26368 # type: textblock
26369 #: ../tools/virt-rescue.pl:129
26370 msgid "Pass additional options to the rescue kernel."
26371 msgstr ""
26372
26373 # type: =item
26374 #: ../tools/virt-rescue.pl:147
26375 msgid "B<--memsize MB> | B<-m MB>"
26376 msgstr ""
26377
26378 # type: textblock
26379 #: ../tools/virt-rescue.pl:149
26380 msgid ""
26381 "Change the amount of memory allocated to the rescue system.  The default is "
26382 "set by libguestfs and is small but adequate for running system tools.  The "
26383 "occasional program might need more memory.  The parameter is specified in "
26384 "megabytes."
26385 msgstr ""
26386
26387 # type: =item
26388 #: ../tools/virt-rescue.pl:158
26389 msgid "B<--ro> | B<-r>"
26390 msgstr ""
26391
26392 # type: textblock
26393 #: ../tools/virt-rescue.pl:160
26394 msgid "Open the image read-only."
26395 msgstr ""
26396
26397 # type: textblock
26398 #: ../tools/virt-rescue.pl:172
26399 msgid ""
26400 "Enable SELinux in the rescue appliance.  You should read L<guestfs(3)/"
26401 "SELINUX> before using this option."
26402 msgstr ""
26403
26404 # type: textblock
26405 #: ../tools/virt-rescue.pl:228
26406 msgid ""
26407 "Several environment variables affect virt-rescue.  See L<guestfs(3)/"
26408 "ENVIRONMENT VARIABLES> for the complete list."
26409 msgstr ""
26410
26411 # type: textblock
26412 #: ../tools/virt-rescue.pl:233
26413 msgid ""
26414 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
26415 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26416 msgstr ""
26417
26418 # type: textblock
26419 #: ../tools/virt-make-fs.pl:37
26420 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
26421 msgstr ""
26422
26423 # type: verbatim
26424 #: ../tools/virt-make-fs.pl:41
26425 #, no-wrap
26426 msgid ""
26427 " virt-make-fs [--options] input.tar output.img\n"
26428 "\n"
26429 msgstr ""
26430
26431 # type: verbatim
26432 #: ../tools/virt-make-fs.pl:43
26433 #, no-wrap
26434 msgid ""
26435 " virt-make-fs [--options] input.tar.gz output.img\n"
26436 "\n"
26437 msgstr ""
26438
26439 # type: verbatim
26440 #: ../tools/virt-make-fs.pl:45
26441 #, no-wrap
26442 msgid ""
26443 " virt-make-fs [--options] directory output.img\n"
26444 "\n"
26445 msgstr ""
26446
26447 # type: textblock
26448 #: ../tools/virt-make-fs.pl:49
26449 msgid ""
26450 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
26451 "archive or some files in a directory.  It is similar to tools like L<mkisofs"
26452 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, it can "
26453 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
26454 "you want to attach these filesystems to existing virtual machines (eg. to "
26455 "import large amounts of read-only data to a VM)."
26456 msgstr ""
26457
26458 # type: textblock
26459 #: ../tools/virt-make-fs.pl:57
26460 msgid "Basic usage is:"
26461 msgstr ""
26462
26463 # type: verbatim
26464 #: ../tools/virt-make-fs.pl:59
26465 #, no-wrap
26466 msgid ""
26467 " virt-make-fs input output\n"
26468 "\n"
26469 msgstr ""
26470
26471 # type: textblock
26472 #: ../tools/virt-make-fs.pl:61
26473 msgid ""
26474 "where C<input> is either a directory containing files that you want to add, "
26475 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
26476 "C<output> is a disk image.  The input type is detected automatically.  The "
26477 "output disk image defaults to a raw ext2 image unless you specify extra "
26478 "flags (see L</OPTIONS> below)."
26479 msgstr ""
26480
26481 # type: =head2
26482 #: ../tools/virt-make-fs.pl:67
26483 msgid "EXTRA SPACE"
26484 msgstr ""
26485
26486 # type: textblock
26487 #: ../tools/virt-make-fs.pl:69
26488 msgid ""
26489 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
26490 "the files that it contains, but might have extra space.  Depending on how "
26491 "you are going to use the output, you might think this extra space is wasted "
26492 "and want to minimize it, or you might want to leave space so that more files "
26493 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
26494 "but you can use the C<--size> flag to leave space in the filesystem if you "
26495 "want it."
26496 msgstr ""
26497
26498 # type: textblock
26499 #: ../tools/virt-make-fs.pl:77
26500 msgid ""
26501 "An alternative way to leave extra space but not make the output image any "
26502 "bigger is to use an alternative disk image format (instead of the default "
26503 "\"raw\" format).  Using C<--format=qcow2> will use the native QEmu/KVM qcow2 "
26504 "image format (check your hypervisor supports this before using it).  This "
26505 "allows you to choose a large C<--size> but the extra space won't actually be "
26506 "allocated in the image until you try to store something in it."
26507 msgstr ""
26508
26509 # type: textblock
26510 #: ../tools/virt-make-fs.pl:85
26511 msgid ""
26512 "Don't forget that you can also use local commands including L<resize2fs(8)> "
26513 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-"
26514 "resize to build another image from scratch."
26515 msgstr ""
26516
26517 # type: =head3
26518 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123
26519 #: ../tools/virt-make-fs.pl:142
26520 msgid "EXAMPLE"
26521 msgstr ""
26522
26523 # type: verbatim
26524 #: ../tools/virt-make-fs.pl:91
26525 #, no-wrap
26526 msgid ""
26527 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
26528 "\n"
26529 msgstr ""
26530
26531 # type: =head2
26532 #: ../tools/virt-make-fs.pl:93
26533 msgid "FILESYSTEM TYPE"
26534 msgstr ""
26535
26536 # type: textblock
26537 #: ../tools/virt-make-fs.pl:95
26538 msgid ""
26539 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
26540 "libguestfs supports can be used (but I<not> read-only formats like "
26541 "ISO9660).  Here are some of the more common choices:"
26542 msgstr ""
26543
26544 # type: =item
26545 #: ../tools/virt-make-fs.pl:101
26546 msgid "I<ext3>"
26547 msgstr ""
26548
26549 # type: textblock
26550 #: ../tools/virt-make-fs.pl:103
26551 msgid ""
26552 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
26553 "you are not going to use the filesystem in a way that requires the journal, "
26554 "then this is just wasted overhead."
26555 msgstr ""
26556
26557 # type: =item
26558 #: ../tools/virt-make-fs.pl:107
26559 msgid "I<ntfs> or I<vfat>"
26560 msgstr ""
26561
26562 # type: textblock
26563 #: ../tools/virt-make-fs.pl:109
26564 msgid "Useful if exporting data to a Windows guest."
26565 msgstr ""
26566
26567 # type: textblock
26568 #: ../tools/virt-make-fs.pl:111
26569 msgid ""
26570 "I<Note for vfat>: The tar archive or local directory must only contain files "
26571 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
26572 "program running within libguestfs is unable to change the ownership of non-"
26573 "root files, since vfat itself does not support this."
26574 msgstr ""
26575
26576 # type: =item
26577 #: ../tools/virt-make-fs.pl:116
26578 msgid "I<minix>"
26579 msgstr ""
26580
26581 # type: textblock
26582 #: ../tools/virt-make-fs.pl:118
26583 msgid ""
26584 "Lower overhead than C<ext2>, but certain limitations on filename length and "
26585 "total filesystem size."
26586 msgstr ""
26587
26588 # type: verbatim
26589 #: ../tools/virt-make-fs.pl:125
26590 #, no-wrap
26591 msgid ""
26592 " virt-make-fs --type=minix input minixfs.img\n"
26593 "\n"
26594 msgstr ""
26595
26596 # type: =head2
26597 #: ../tools/virt-make-fs.pl:127
26598 msgid "TO PARTITION OR NOT TO PARTITION"
26599 msgstr ""
26600
26601 # type: textblock
26602 #: ../tools/virt-make-fs.pl:129
26603 msgid "Optionally virt-make-fs can add a partition table to the output disk."
26604 msgstr ""
26605
26606 # type: textblock
26607 #: ../tools/virt-make-fs.pl:131
26608 msgid ""
26609 "Adding a partition can make the disk image more compatible with certain "
26610 "virtualized operating systems which don't expect to see a filesystem "
26611 "directly located on a block device (Linux doesn't care and will happily "
26612 "handle both types)."
26613 msgstr ""
26614
26615 # type: textblock
26616 #: ../tools/virt-make-fs.pl:136
26617 msgid ""
26618 "On the other hand, if you have a partition table then the output image is no "
26619 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
26620 "directly on a partitioned disk image.  (However libguestfs tools such as "
26621 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
26622 msgstr ""
26623
26624 # type: textblock
26625 #: ../tools/virt-make-fs.pl:144
26626 msgid "Add an MBR partition:"
26627 msgstr ""
26628
26629 # type: verbatim
26630 #: ../tools/virt-make-fs.pl:146
26631 #, no-wrap
26632 msgid ""
26633 " virt-make-fs --partition -- input disk.img\n"
26634 "\n"
26635 msgstr ""
26636
26637 # type: textblock
26638 #: ../tools/virt-make-fs.pl:148
26639 msgid ""
26640 "If the output disk image could be terabyte-sized or larger, it's better to "
26641 "use an EFI/GPT-compatible partition table:"
26642 msgstr ""
26643
26644 # type: verbatim
26645 #: ../tools/virt-make-fs.pl:151
26646 #, no-wrap
26647 msgid ""
26648 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
26649 "\n"
26650 msgstr ""
26651
26652 # type: textblock
26653 #: ../tools/virt-make-fs.pl:179
26654 msgid "Enable debugging information."
26655 msgstr ""
26656
26657 # type: =item
26658 #: ../tools/virt-make-fs.pl:185
26659 msgid "B<--size=E<lt>NE<gt>>"
26660 msgstr ""
26661
26662 # type: =item
26663 #: ../tools/virt-make-fs.pl:187
26664 msgid "B<--size=+E<lt>NE<gt>>"
26665 msgstr ""
26666
26667 # type: =item
26668 #: ../tools/virt-make-fs.pl:189
26669 msgid "B<-s E<lt>NE<gt>>"
26670 msgstr ""
26671
26672 # type: =item
26673 #: ../tools/virt-make-fs.pl:191
26674 msgid "B<-s +E<lt>NE<gt>>"
26675 msgstr ""
26676
26677 # type: textblock
26678 #: ../tools/virt-make-fs.pl:193
26679 msgid ""
26680 "Use the C<--size> (or C<-s>) option to choose the size of the output image."
26681 msgstr ""
26682
26683 # type: textblock
26684 #: ../tools/virt-make-fs.pl:196
26685 msgid ""
26686 "If this option is I<not> given, then the output image will be just large "
26687 "enough to contain all the files, with not much wasted space."
26688 msgstr ""
26689
26690 # type: textblock
26691 #: ../tools/virt-make-fs.pl:199
26692 msgid ""
26693 "To choose a fixed size output disk, specify an absolute number followed by b/"
26694 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
26695 "Petabytes or Exabytes.  This must be large enough to contain all the input "
26696 "files, else you will get an error."
26697 msgstr ""
26698
26699 # type: textblock
26700 #: ../tools/virt-make-fs.pl:204
26701 msgid ""
26702 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
26703 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
26704 "Petabytes or Exabytes.  For example: C<--size=+200M> means enough space for "
26705 "the input files, and (approximately) an extra 200 MB free space."
26706 msgstr ""
26707
26708 # type: textblock
26709 #: ../tools/virt-make-fs.pl:210
26710 msgid ""
26711 "Note that virt-make-fs estimates free space, and therefore will not produce "
26712 "filesystems containing precisely the free space requested.  (It is much more "
26713 "expensive and time-consuming to produce a filesystem which has precisely the "
26714 "desired free space)."
26715 msgstr ""
26716
26717 # type: =item
26718 #: ../tools/virt-make-fs.pl:219
26719 msgid "B<--format=E<lt>fmtE<gt>>"
26720 msgstr ""
26721
26722 # type: =item
26723 #: ../tools/virt-make-fs.pl:221
26724 msgid "B<-F E<lt>fmtE<gt>>"
26725 msgstr ""
26726
26727 # type: textblock
26728 #: ../tools/virt-make-fs.pl:223
26729 msgid "Choose the output disk image format."
26730 msgstr ""
26731
26732 # type: textblock
26733 #: ../tools/virt-make-fs.pl:225
26734 msgid "The default is C<raw> (raw disk image)."
26735 msgstr ""
26736
26737 # type: textblock
26738 #: ../tools/virt-make-fs.pl:227
26739 msgid ""
26740 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
26741 "that would really make sense here is C<qcow2>."
26742 msgstr ""
26743
26744 # type: =item
26745 #: ../tools/virt-make-fs.pl:234
26746 msgid "B<--type=E<lt>fsE<gt>>"
26747 msgstr ""
26748
26749 # type: =item
26750 #: ../tools/virt-make-fs.pl:236
26751 msgid "B<-t E<lt>fsE<gt>>"
26752 msgstr ""
26753
26754 # type: textblock
26755 #: ../tools/virt-make-fs.pl:238
26756 msgid "Choose the output filesystem type."
26757 msgstr ""
26758
26759 # type: textblock
26760 #: ../tools/virt-make-fs.pl:240
26761 msgid "The default is C<ext2>."
26762 msgstr ""
26763
26764 # type: textblock
26765 #: ../tools/virt-make-fs.pl:242
26766 msgid ""
26767 "Any filesystem which is supported read-write by libguestfs can be used here."
26768 msgstr ""
26769
26770 # type: =item
26771 #: ../tools/virt-make-fs.pl:249
26772 msgid "B<--partition>"
26773 msgstr ""
26774
26775 # type: =item
26776 #: ../tools/virt-make-fs.pl:251
26777 msgid "B<--partition=E<lt>parttypeE<gt>>"
26778 msgstr ""
26779
26780 # type: textblock
26781 #: ../tools/virt-make-fs.pl:253
26782 msgid ""
26783 "If specified, this flag adds an MBR partition table to the output disk image."
26784 msgstr ""
26785
26786 # type: textblock
26787 #: ../tools/virt-make-fs.pl:256
26788 msgid ""
26789 "You can change the partition table type, eg. C<--partition=gpt> for large "
26790 "disks."
26791 msgstr ""
26792
26793 # type: textblock
26794 #: ../tools/virt-make-fs.pl:259
26795 msgid ""
26796 "Note that if you just use a lonesome C<--partition>, the Perl option parser "
26797 "might consider the next parameter to be the partition type.  For example:"
26798 msgstr ""
26799
26800 # type: verbatim
26801 #: ../tools/virt-make-fs.pl:263
26802 #, no-wrap
26803 msgid ""
26804 " virt-make-fs --partition input.tar ...\n"
26805 "\n"
26806 msgstr ""
26807
26808 # type: textblock
26809 #: ../tools/virt-make-fs.pl:265
26810 msgid ""
26811 "would cause virt-make-fs to think you wanted to use a partition type of "
26812 "C<input.tar> which is completely wrong.  To avoid this, use C<--> (a double "
26813 "dash) between options and the input file argument:"
26814 msgstr ""
26815
26816 # type: verbatim
26817 #: ../tools/virt-make-fs.pl:269
26818 #, no-wrap
26819 msgid ""
26820 " virt-make-fs --partition -- input.tar ...\n"
26821 "\n"
26822 msgstr ""
26823
26824 # type: textblock
26825 #: ../tools/virt-make-fs.pl:529
26826 msgid ""
26827 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar(1)>, L<mkisofs(1)>, "
26828 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
26829 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
26830 msgstr ""
26831
26832 # type: verbatim
26833 #: ../tools/virt-make-fs.pl:546
26834 #, no-wrap
26835 msgid ""
26836 " export LIBGUESTFS_DEBUG=1\n"
26837 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
26838 "\n"
26839 msgstr ""
26840
26841 # type: textblock
26842 #: ../tools/virt-make-fs.pl:549
26843 msgid ""
26844 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
26845 "redhat.com/>"
26846 msgstr ""
26847
26848 # type: textblock
26849 #: ../tools/virt-list-partitions.pl:32
26850 msgid ""
26851 "virt-list-partitions - List partitions in a virtual machine or disk image"
26852 msgstr ""
26853
26854 # type: verbatim
26855 #: ../tools/virt-list-partitions.pl:36
26856 #, no-wrap
26857 msgid ""
26858 " virt-list-partitions [--options] domname\n"
26859 "\n"
26860 msgstr ""
26861
26862 # type: verbatim
26863 #: ../tools/virt-list-partitions.pl:38
26864 #, no-wrap
26865 msgid ""
26866 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
26867 "\n"
26868 msgstr ""
26869
26870 # type: textblock
26871 #: ../tools/virt-list-partitions.pl:42
26872 msgid ""
26873 "C<virt-list-partitions> is a command line tool to list the partitions that "
26874 "are contained in a virtual machine or disk image.  It is mainly useful as a "
26875 "first step to using L<virt-resize(1)>."
26876 msgstr ""
26877
26878 # type: textblock
26879 #: ../tools/virt-list-partitions.pl:47
26880 msgid ""
26881 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
26882 "functionality.  For more complex cases you should look at the L<guestfish(1)"
26883 "> tool."
26884 msgstr ""
26885
26886 # type: =item
26887 #: ../tools/virt-list-partitions.pl:87
26888 msgid "B<-h> | B<--human-readable>"
26889 msgstr ""
26890
26891 # type: textblock
26892 #: ../tools/virt-list-partitions.pl:89
26893 msgid "Show sizes in human-readable form (eg. \"1G\")."
26894 msgstr ""
26895
26896 # type: textblock
26897 #: ../tools/virt-list-partitions.pl:97
26898 msgid ""
26899 "With this option, C<virt-list-partitions> displays the type and size of each "
26900 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
26901 msgstr ""
26902
26903 # type: =item
26904 #: ../tools/virt-list-partitions.pl:104
26905 msgid "B<-t> | B<--total>"
26906 msgstr ""
26907
26908 # type: textblock
26909 #: ../tools/virt-list-partitions.pl:106
26910 msgid ""
26911 "Display the total size of each block device (as a separate row or rows)."
26912 msgstr ""
26913
26914 # type: textblock
26915 #: ../tools/virt-list-partitions.pl:231
26916 msgid ""
26917 "L<guestfs(3)>, L<guestfish(1)>, L<virt-list-filesystems(1)>, L<virt-resize(1)"
26918 ">, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
26919 "libguestfs.org/>."
26920 msgstr ""