Version 1.5.21.
[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-10-01 21:02+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:1399
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:1420
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:3870 ../src/guestfs-actions.pod:3884
3673 #: ../src/guestfs-actions.pod:3894 ../src/guestfs-actions.pod:3905
3674 #: ../src/guestfs-actions.pod:4160 ../src/guestfs-actions.pod:4176
3675 #: ../src/guestfs-actions.pod:4187 ../src/guestfs-actions.pod:4196
3676 #: ../src/guestfs-actions.pod:4207 ../src/guestfs-actions.pod:4216
3677 #: ../src/guestfs-actions.pod:4227 ../src/guestfs-actions.pod:4240
3678 #: ../src/guestfs-actions.pod:4258 ../src/guestfs-actions.pod:4274
3679 #: ../src/guestfs-actions.pod:4290 ../src/guestfs-actions.pod:4305
3680 #: ../src/guestfs-actions.pod:4325 ../src/guestfs-actions.pod:4340
3681 #: ../src/guestfs-actions.pod:4356 ../src/guestfs-actions.pod:4374
3682 #: ../src/guestfs-actions.pod:4390 ../src/guestfs-actions.pod:4404
3683 #: ../src/guestfs-actions.pod:4429 ../src/guestfs-actions.pod:4450
3684 #: ../src/guestfs-actions.pod:4466 ../src/guestfs-actions.pod:4487
3685 #: ../src/guestfs-actions.pod:4499 ../src/guestfs-actions.pod:4511
3686 #: ../src/guestfs-actions.pod:4527 ../src/guestfs-actions.pod:4561
3687 #: ../src/guestfs-actions.pod:4581 ../src/guestfs-actions.pod:4604
3688 #: ../src/guestfs-actions.pod:4694 ../src/guestfs-actions.pod:4800
3689 #: ../src/guestfs-actions.pod:4809 ../src/guestfs-actions.pod:4819
3690 #: ../src/guestfs-actions.pod:4829 ../src/guestfs-actions.pod:4848
3691 #: ../src/guestfs-actions.pod:4858 ../src/guestfs-actions.pod:4868
3692 #: ../src/guestfs-actions.pod:4878 ../src/guestfs-actions.pod:4890
3693 #: ../src/guestfs-actions.pod:4940 ../src/guestfs-actions.pod:4954
3694 #: ../src/guestfs-actions.pod:4967 ../src/guestfs-actions.pod:4980
3695 #: ../src/guestfs-actions.pod:4994 ../src/guestfs-actions.pod:5004
3696 #: ../src/guestfs-actions.pod:5021 ../src/guestfs-actions.pod:5051
3697 #: ../src/guestfs-actions.pod:5062 ../src/guestfs-actions.pod:5097
3698 #: ../src/guestfs-actions.pod:5107 ../src/guestfs-actions.pod:5122
3699 #: ../src/guestfs-actions.pod:5148 ../src/guestfs-actions.pod:5176
3700 #: ../src/guestfs-actions.pod:5280 ../src/guestfs-actions.pod:5295
3701 #: ../src/guestfs-actions.pod:5306 ../src/guestfs-actions.pod:5352
3702 #: ../src/guestfs-actions.pod:5362 ../src/guestfs-actions.pod:5399
3703 #: ../src/guestfs-actions.pod:5426 ../src/guestfs-actions.pod:5468
3704 #: ../src/guestfs-actions.pod:5491 ../src/guestfs-actions.pod:5548
3705 #: ../src/guestfs-actions.pod:5564 ../src/guestfs-actions.pod:5590
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:3964 ../src/guestfs-actions.pod:3987
3978 #: ../src/guestfs-actions.pod:5086 ../src/guestfs-actions.pod:5436
3979 #: ../src/guestfs-actions.pod:5446 ../src/guestfs-actions.pod:5456
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:3942 ../src/guestfs-actions.pod:4103
4020 #: ../src/guestfs-actions.pod:4146 ../src/guestfs-actions.pod:4622
4021 #: ../src/guestfs-actions.pod:4635 ../src/guestfs-actions.pod:4649
4022 #: ../src/guestfs-actions.pod:4670 ../src/guestfs-actions.pod:5229
4023 #: ../src/guestfs-actions.pod:5245 ../src/guestfs-actions.pod:5260
4024 #: ../src/guestfs-actions.pod:5408 ../src/guestfs-actions.pod:5638
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:3919
4230 #: ../src/guestfs-actions.pod:4028 ../src/guestfs-actions.pod:4134
4231 #: ../src/guestfs-actions.pod:4683 ../src/guestfs-actions.pod:4732
4232 #: ../src/guestfs-actions.pod:4784 ../src/guestfs-actions.pod:4900
4233 #: ../src/guestfs-actions.pod:4921 ../src/guestfs-actions.pod:5321
4234 #: ../src/guestfs-actions.pod:5338 ../src/guestfs-actions.pod:5376
4235 #: ../src/guestfs-actions.pod:5512 ../src/guestfs-actions.pod:5528
4236 #: ../src/guestfs-actions.pod:5601 ../src/guestfs-actions.pod:5617
4237 #: ../src/guestfs-actions.pod:5657 ../src/guestfs-actions.pod:5673
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:4018
4876 #: ../fish/guestfish-actions.pod:506 ../fish/guestfish-actions.pod:3100
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:3858
4898 #: ../src/guestfs-actions.pod:3966 ../src/guestfs-actions.pod:3989
4899 #: ../src/guestfs-actions.pod:4010 ../src/guestfs-actions.pod:4736
4900 #: ../src/guestfs-actions.pod:4788 ../src/guestfs-actions.pod:4904
4901 #: ../src/guestfs-actions.pod:4925 ../src/guestfs-actions.pod:5470
4902 #: ../src/guestfs-actions.pod:5493 ../src/guestfs-actions.pod:5516
4903 #: ../src/guestfs-actions.pod:5532 ../src/guestfs-actions.pod:5605
4904 #: ../src/guestfs-actions.pod:5621 ../src/guestfs-actions.pod:5661
4905 #: ../src/guestfs-actions.pod:5677 ../fish/guestfish-actions.pod:513
4906 #: ../fish/guestfish-actions.pod:648 ../fish/guestfish-actions.pod:660
4907 #: ../fish/guestfish-actions.pod:861 ../fish/guestfish-actions.pod:871
4908 #: ../fish/guestfish-actions.pod:938 ../fish/guestfish-actions.pod:948
4909 #: ../fish/guestfish-actions.pod:1143 ../fish/guestfish-actions.pod:1418
4910 #: ../fish/guestfish-actions.pod:1428 ../fish/guestfish-actions.pod:1456
4911 #: ../fish/guestfish-actions.pod:1471 ../fish/guestfish-actions.pod:1481
4912 #: ../fish/guestfish-actions.pod:1500 ../fish/guestfish-actions.pod:2970
4913 #: ../fish/guestfish-actions.pod:2985 ../fish/guestfish-actions.pod:3061
4914 #: ../fish/guestfish-actions.pod:3078 ../fish/guestfish-actions.pod:3093
4915 #: ../fish/guestfish-actions.pod:3676 ../fish/guestfish-actions.pod:3722
4916 #: ../fish/guestfish-actions.pod:3807 ../fish/guestfish-actions.pod:3822
4917 #: ../fish/guestfish-actions.pod:4232 ../fish/guestfish-actions.pod:4250
4918 #: ../fish/guestfish-actions.pod:4267 ../fish/guestfish-actions.pod:4277
4919 #: ../fish/guestfish-actions.pod:4325 ../fish/guestfish-actions.pod:4335
4920 #: ../fish/guestfish-actions.pod:4364 ../fish/guestfish-actions.pod:4374
4921 msgid ""
4922 "Because of the message protocol, there is a transfer limit of somewhere "
4923 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
4924 msgstr ""
4925
4926 # type: =head2
4927 #: ../src/guestfs-actions.pod:631
4928 msgid "guestfs_checksum"
4929 msgstr ""
4930
4931 # type: verbatim
4932 #: ../src/guestfs-actions.pod:633
4933 #, no-wrap
4934 msgid ""
4935 " char *guestfs_checksum (guestfs_h *g,\n"
4936 "\t\tconst char *csumtype,\n"
4937 "\t\tconst char *path);\n"
4938 "\n"
4939 msgstr ""
4940
4941 # type: textblock
4942 #: ../src/guestfs-actions.pod:637 ../fish/guestfish-actions.pod:520
4943 msgid ""
4944 "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
4945 msgstr ""
4946
4947 # type: textblock
4948 #: ../src/guestfs-actions.pod:640 ../fish/guestfish-actions.pod:523
4949 msgid ""
4950 "The type of checksum to compute is given by the C<csumtype> parameter which "
4951 "must have one of the following values:"
4952 msgstr ""
4953
4954 # type: =item
4955 #: ../src/guestfs-actions.pod:645 ../fish/guestfish-actions.pod:528
4956 msgid "C<crc>"
4957 msgstr ""
4958
4959 # type: textblock
4960 #: ../src/guestfs-actions.pod:647 ../fish/guestfish-actions.pod:530
4961 msgid ""
4962 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
4963 "C<cksum> command."
4964 msgstr ""
4965
4966 # type: =item
4967 #: ../src/guestfs-actions.pod:650 ../fish/guestfish-actions.pod:533
4968 msgid "C<md5>"
4969 msgstr ""
4970
4971 # type: textblock
4972 #: ../src/guestfs-actions.pod:652 ../fish/guestfish-actions.pod:535
4973 msgid "Compute the MD5 hash (using the C<md5sum> program)."
4974 msgstr ""
4975
4976 # type: =item
4977 #: ../src/guestfs-actions.pod:654 ../fish/guestfish-actions.pod:537
4978 msgid "C<sha1>"
4979 msgstr ""
4980
4981 # type: textblock
4982 #: ../src/guestfs-actions.pod:656 ../fish/guestfish-actions.pod:539
4983 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
4984 msgstr ""
4985
4986 # type: =item
4987 #: ../src/guestfs-actions.pod:658 ../fish/guestfish-actions.pod:541
4988 msgid "C<sha224>"
4989 msgstr ""
4990
4991 # type: textblock
4992 #: ../src/guestfs-actions.pod:660 ../fish/guestfish-actions.pod:543
4993 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
4994 msgstr ""
4995
4996 # type: =item
4997 #: ../src/guestfs-actions.pod:662 ../fish/guestfish-actions.pod:545
4998 msgid "C<sha256>"
4999 msgstr ""
5000
5001 # type: textblock
5002 #: ../src/guestfs-actions.pod:664 ../fish/guestfish-actions.pod:547
5003 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
5004 msgstr ""
5005
5006 # type: =item
5007 #: ../src/guestfs-actions.pod:666 ../fish/guestfish-actions.pod:549
5008 msgid "C<sha384>"
5009 msgstr ""
5010
5011 # type: textblock
5012 #: ../src/guestfs-actions.pod:668 ../fish/guestfish-actions.pod:551
5013 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
5014 msgstr ""
5015
5016 # type: =item
5017 #: ../src/guestfs-actions.pod:670 ../fish/guestfish-actions.pod:553
5018 msgid "C<sha512>"
5019 msgstr ""
5020
5021 # type: textblock
5022 #: ../src/guestfs-actions.pod:672 ../fish/guestfish-actions.pod:555
5023 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
5024 msgstr ""
5025
5026 # type: textblock
5027 #: ../src/guestfs-actions.pod:676 ../fish/guestfish-actions.pod:559
5028 msgid "The checksum is returned as a printable string."
5029 msgstr ""
5030
5031 # type: textblock
5032 #: ../src/guestfs-actions.pod:678
5033 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
5034 msgstr ""
5035
5036 # type: textblock
5037 #: ../src/guestfs-actions.pod:680
5038 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
5039 msgstr ""
5040
5041 # type: =head2
5042 #: ../src/guestfs-actions.pod:685
5043 msgid "guestfs_checksum_device"
5044 msgstr ""
5045
5046 # type: verbatim
5047 #: ../src/guestfs-actions.pod:687
5048 #, no-wrap
5049 msgid ""
5050 " char *guestfs_checksum_device (guestfs_h *g,\n"
5051 "\t\tconst char *csumtype,\n"
5052 "\t\tconst char *device);\n"
5053 "\n"
5054 msgstr ""
5055
5056 # type: textblock
5057 #: ../src/guestfs-actions.pod:691
5058 msgid ""
5059 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
5060 "device named C<device>.  For the types of checksums supported see the "
5061 "C<guestfs_checksum> command."
5062 msgstr ""
5063
5064 # type: =head2
5065 #: ../src/guestfs-actions.pod:698
5066 msgid "guestfs_checksums_out"
5067 msgstr ""
5068
5069 # type: verbatim
5070 #: ../src/guestfs-actions.pod:700
5071 #, no-wrap
5072 msgid ""
5073 " int guestfs_checksums_out (guestfs_h *g,\n"
5074 "\t\tconst char *csumtype,\n"
5075 "\t\tconst char *directory,\n"
5076 "\t\tconst char *sumsfile);\n"
5077 "\n"
5078 msgstr ""
5079
5080 # type: textblock
5081 #: ../src/guestfs-actions.pod:705 ../fish/guestfish-actions.pod:577
5082 msgid ""
5083 "This command computes the checksums of all regular files in C<directory> and "
5084 "then emits a list of those checksums to the local output file C<sumsfile>."
5085 msgstr ""
5086
5087 # type: textblock
5088 #: ../src/guestfs-actions.pod:709 ../fish/guestfish-actions.pod:581
5089 msgid ""
5090 "This can be used for verifying the integrity of a virtual machine.  However "
5091 "to be properly secure you should pay attention to the output of the checksum "
5092 "command (it uses the ones from GNU coreutils).  In particular when the "
5093 "filename is not printable, coreutils uses a special backslash syntax.  For "
5094 "more information, see the GNU coreutils info file."
5095 msgstr ""
5096
5097 # type: =head2
5098 #: ../src/guestfs-actions.pod:719
5099 msgid "guestfs_chmod"
5100 msgstr ""
5101
5102 # type: verbatim
5103 #: ../src/guestfs-actions.pod:721
5104 #, no-wrap
5105 msgid ""
5106 " int guestfs_chmod (guestfs_h *g,\n"
5107 "\t\tint mode,\n"
5108 "\t\tconst char *path);\n"
5109 "\n"
5110 msgstr ""
5111
5112 # type: textblock
5113 #: ../src/guestfs-actions.pod:725 ../fish/guestfish-actions.pod:595
5114 msgid ""
5115 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
5116 "supported."
5117 msgstr ""
5118
5119 # type: textblock
5120 #: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:598
5121 msgid ""
5122 "I<Note>: When using this command from guestfish, C<mode> by default would be "
5123 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
5124 "C<700>."
5125 msgstr ""
5126
5127 # type: textblock
5128 #: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:3178
5129 #: ../src/guestfs-actions.pod:3266 ../src/guestfs-actions.pod:3282
5130 #: ../src/guestfs-actions.pod:3298 ../fish/guestfish-actions.pod:602
5131 #: ../fish/guestfish-actions.pod:2475 ../fish/guestfish-actions.pod:2545
5132 #: ../fish/guestfish-actions.pod:2555 ../fish/guestfish-actions.pod:2565
5133 msgid "The mode actually set is affected by the umask."
5134 msgstr ""
5135
5136 # type: =head2
5137 #: ../src/guestfs-actions.pod:736
5138 msgid "guestfs_chown"
5139 msgstr ""
5140
5141 # type: verbatim
5142 #: ../src/guestfs-actions.pod:738
5143 #, no-wrap
5144 msgid ""
5145 " int guestfs_chown (guestfs_h *g,\n"
5146 "\t\tint owner,\n"
5147 "\t\tint group,\n"
5148 "\t\tconst char *path);\n"
5149 "\n"
5150 msgstr ""
5151
5152 # type: textblock
5153 #: ../src/guestfs-actions.pod:743 ../fish/guestfish-actions.pod:608
5154 msgid "Change the file owner to C<owner> and group to C<group>."
5155 msgstr ""
5156
5157 # type: textblock
5158 #: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:2464
5159 #: ../fish/guestfish-actions.pod:610 ../fish/guestfish-actions.pod:1966
5160 msgid ""
5161 "Only numeric uid and gid are supported.  If you want to use names, you will "
5162 "need to locate and parse the password file yourself (Augeas support makes "
5163 "this relatively easy)."
5164 msgstr ""
5165
5166 # type: =head2
5167 #: ../src/guestfs-actions.pod:751
5168 msgid "guestfs_command"
5169 msgstr ""
5170
5171 # type: verbatim
5172 #: ../src/guestfs-actions.pod:753
5173 #, no-wrap
5174 msgid ""
5175 " char *guestfs_command (guestfs_h *g,\n"
5176 "\t\tchar *const *arguments);\n"
5177 "\n"
5178 msgstr ""
5179
5180 # type: textblock
5181 #: ../src/guestfs-actions.pod:756 ../fish/guestfish-actions.pod:618
5182 msgid ""
5183 "This call runs a command from the guest filesystem.  The filesystem must be "
5184 "mounted, and must contain a compatible operating system (ie. something "
5185 "Linux, with the same or compatible processor architecture)."
5186 msgstr ""
5187
5188 # type: textblock
5189 #: ../src/guestfs-actions.pod:761
5190 msgid ""
5191 "The single parameter is an argv-style list of arguments.  The first element "
5192 "is the name of the program to run.  Subsequent elements are parameters.  The "
5193 "list must be non-empty (ie. must contain a program name).  Note that the "
5194 "command runs directly, and is I<not> invoked via the shell (see "
5195 "C<guestfs_sh>)."
5196 msgstr ""
5197
5198 # type: textblock
5199 #: ../src/guestfs-actions.pod:768 ../fish/guestfish-actions.pod:630
5200 msgid "The return value is anything printed to I<stdout> by the command."
5201 msgstr ""
5202
5203 # type: textblock
5204 #: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:633
5205 msgid ""
5206 "If the command returns a non-zero exit status, then this function returns an "
5207 "error message.  The error message string is the content of I<stderr> from "
5208 "the command."
5209 msgstr ""
5210
5211 # type: textblock
5212 #: ../src/guestfs-actions.pod:775 ../fish/guestfish-actions.pod:637
5213 msgid ""
5214 "The C<$PATH> environment variable will contain at least C</usr/bin> and C</"
5215 "bin>.  If you require a program from another location, you should provide "
5216 "the full path in the first parameter."
5217 msgstr ""
5218
5219 # type: textblock
5220 #: ../src/guestfs-actions.pod:780 ../fish/guestfish-actions.pod:642
5221 msgid ""
5222 "Shared libraries and data files required by the program must be available on "
5223 "filesystems which are mounted in the correct places.  It is the caller's "
5224 "responsibility to ensure all filesystems that are needed are mounted at the "
5225 "right locations."
5226 msgstr ""
5227
5228 # type: =head2
5229 #: ../src/guestfs-actions.pod:792
5230 msgid "guestfs_command_lines"
5231 msgstr ""
5232
5233 # type: verbatim
5234 #: ../src/guestfs-actions.pod:794
5235 #, no-wrap
5236 msgid ""
5237 " char **guestfs_command_lines (guestfs_h *g,\n"
5238 "\t\tchar *const *arguments);\n"
5239 "\n"
5240 msgstr ""
5241
5242 # type: textblock
5243 #: ../src/guestfs-actions.pod:797
5244 msgid ""
5245 "This is the same as C<guestfs_command>, but splits the result into a list of "
5246 "lines."
5247 msgstr ""
5248
5249 # type: textblock
5250 #: ../src/guestfs-actions.pod:800
5251 msgid "See also: C<guestfs_sh_lines>"
5252 msgstr ""
5253
5254 # type: =head2
5255 #: ../src/guestfs-actions.pod:809
5256 msgid "guestfs_config"
5257 msgstr ""
5258
5259 # type: verbatim
5260 #: ../src/guestfs-actions.pod:811
5261 #, no-wrap
5262 msgid ""
5263 " int guestfs_config (guestfs_h *g,\n"
5264 "\t\tconst char *qemuparam,\n"
5265 "\t\tconst char *qemuvalue);\n"
5266 "\n"
5267 msgstr ""
5268
5269 # type: textblock
5270 #: ../src/guestfs-actions.pod:815 ../fish/guestfish-actions.pod:667
5271 msgid ""
5272 "This can be used to add arbitrary qemu command line parameters of the form "
5273 "C<-param value>.  Actually it's not quite arbitrary - we prevent you from "
5274 "setting some parameters which would interfere with parameters that we use."
5275 msgstr ""
5276
5277 # type: textblock
5278 #: ../src/guestfs-actions.pod:820 ../fish/guestfish-actions.pod:672
5279 msgid "The first character of C<param> string must be a C<-> (dash)."
5280 msgstr ""
5281
5282 # type: textblock
5283 #: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:674
5284 msgid "C<value> can be NULL."
5285 msgstr ""
5286
5287 # type: =head2
5288 #: ../src/guestfs-actions.pod:826
5289 msgid "guestfs_copy_size"
5290 msgstr ""
5291
5292 # type: verbatim
5293 #: ../src/guestfs-actions.pod:828
5294 #, no-wrap
5295 msgid ""
5296 " int guestfs_copy_size (guestfs_h *g,\n"
5297 "\t\tconst char *src,\n"
5298 "\t\tconst char *dest,\n"
5299 "\t\tint64_t size);\n"
5300 "\n"
5301 msgstr ""
5302
5303 # type: textblock
5304 #: ../src/guestfs-actions.pod:833 ../fish/guestfish-actions.pod:680
5305 msgid ""
5306 "This command copies exactly C<size> bytes from one source device or file "
5307 "C<src> to another destination device or file C<dest>."
5308 msgstr ""
5309
5310 # type: textblock
5311 #: ../src/guestfs-actions.pod:836 ../fish/guestfish-actions.pod:683
5312 msgid ""
5313 "Note this will fail if the source is too short or if the destination is not "
5314 "large enough."
5315 msgstr ""
5316
5317 # type: textblock
5318 #: ../src/guestfs-actions.pod:841 ../src/guestfs-actions.pod:976
5319 #: ../src/guestfs-actions.pod:1004 ../src/guestfs-actions.pod:1376
5320 #: ../src/guestfs-actions.pod:1395 ../src/guestfs-actions.pod:5550
5321 #: ../src/guestfs-actions.pod:5566
5322 msgid ""
5323 "This long-running command can generate progress notification messages so "
5324 "that the caller can display a progress bar or indicator.  To receive these "
5325 "messages, the caller must register a progress callback.  See L<guestfs(3)/"
5326 "guestfs_set_progress_callback>."
5327 msgstr ""
5328
5329 # type: =head2
5330 #: ../src/guestfs-actions.pod:846
5331 msgid "guestfs_cp"
5332 msgstr ""
5333
5334 # type: verbatim
5335 #: ../src/guestfs-actions.pod:848
5336 #, no-wrap
5337 msgid ""
5338 " int guestfs_cp (guestfs_h *g,\n"
5339 "\t\tconst char *src,\n"
5340 "\t\tconst char *dest);\n"
5341 "\n"
5342 msgstr ""
5343
5344 # type: textblock
5345 #: ../src/guestfs-actions.pod:852 ../fish/guestfish-actions.pod:690
5346 msgid ""
5347 "This copies a file from C<src> to C<dest> where C<dest> is either a "
5348 "destination filename or destination directory."
5349 msgstr ""
5350
5351 # type: =head2
5352 #: ../src/guestfs-actions.pod:857
5353 msgid "guestfs_cp_a"
5354 msgstr ""
5355
5356 # type: verbatim
5357 #: ../src/guestfs-actions.pod:859
5358 #, no-wrap
5359 msgid ""
5360 " int guestfs_cp_a (guestfs_h *g,\n"
5361 "\t\tconst char *src,\n"
5362 "\t\tconst char *dest);\n"
5363 "\n"
5364 msgstr ""
5365
5366 # type: textblock
5367 #: ../src/guestfs-actions.pod:863 ../fish/guestfish-actions.pod:697
5368 msgid ""
5369 "This copies a file or directory from C<src> to C<dest> recursively using the "
5370 "C<cp -a> command."
5371 msgstr ""
5372
5373 # type: =head2
5374 #: ../src/guestfs-actions.pod:868
5375 msgid "guestfs_dd"
5376 msgstr ""
5377
5378 # type: verbatim
5379 #: ../src/guestfs-actions.pod:870
5380 #, no-wrap
5381 msgid ""
5382 " int guestfs_dd (guestfs_h *g,\n"
5383 "\t\tconst char *src,\n"
5384 "\t\tconst char *dest);\n"
5385 "\n"
5386 msgstr ""
5387
5388 # type: textblock
5389 #: ../src/guestfs-actions.pod:874 ../fish/guestfish-actions.pod:704
5390 msgid ""
5391 "This command copies from one source device or file C<src> to another "
5392 "destination device or file C<dest>.  Normally you would use this to copy to "
5393 "or from a device or partition, for example to duplicate a filesystem."
5394 msgstr ""
5395
5396 # type: textblock
5397 #: ../src/guestfs-actions.pod:879
5398 msgid ""
5399 "If the destination is a device, it must be as large or larger than the "
5400 "source file or device, otherwise the copy will fail.  This command cannot do "
5401 "partial copies (see C<guestfs_copy_size>)."
5402 msgstr ""
5403
5404 # type: =head2
5405 #: ../src/guestfs-actions.pod:885
5406 msgid "guestfs_debug"
5407 msgstr ""
5408
5409 # type: verbatim
5410 #: ../src/guestfs-actions.pod:887
5411 #, no-wrap
5412 msgid ""
5413 " char *guestfs_debug (guestfs_h *g,\n"
5414 "\t\tconst char *subcmd,\n"
5415 "\t\tchar *const *extraargs);\n"
5416 "\n"
5417 msgstr ""
5418
5419 # type: textblock
5420 #: ../src/guestfs-actions.pod:891
5421 msgid ""
5422 "The C<guestfs_debug> command exposes some internals of C<guestfsd> (the "
5423 "guestfs daemon) that runs inside the qemu subprocess."
5424 msgstr ""
5425
5426 # type: textblock
5427 #: ../src/guestfs-actions.pod:895 ../fish/guestfish-actions.pod:721
5428 msgid ""
5429 "There is no comprehensive help for this command.  You have to look at the "
5430 "file C<daemon/debug.c> in the libguestfs source to find out what you can do."
5431 msgstr ""
5432
5433 # type: =head2
5434 #: ../src/guestfs-actions.pod:902
5435 msgid "guestfs_debug_upload"
5436 msgstr ""
5437
5438 # type: verbatim
5439 #: ../src/guestfs-actions.pod:904
5440 #, no-wrap
5441 msgid ""
5442 " int guestfs_debug_upload (guestfs_h *g,\n"
5443 "\t\tconst char *filename,\n"
5444 "\t\tconst char *tmpname,\n"
5445 "\t\tint mode);\n"
5446 "\n"
5447 msgstr ""
5448
5449 # type: textblock
5450 #: ../src/guestfs-actions.pod:909
5451 msgid ""
5452 "The C<guestfs_debug_upload> command uploads a file to the libguestfs "
5453 "appliance."
5454 msgstr ""
5455
5456 # type: textblock
5457 #: ../src/guestfs-actions.pod:912 ../fish/guestfish-actions.pod:732
5458 msgid ""
5459 "There is no comprehensive help for this command.  You have to look at the "
5460 "file C<daemon/debug.c> in the libguestfs source to find out what it is for."
5461 msgstr ""
5462
5463 # type: =head2
5464 #: ../src/guestfs-actions.pod:918
5465 msgid "guestfs_df"
5466 msgstr ""
5467
5468 # type: verbatim
5469 #: ../src/guestfs-actions.pod:920
5470 #, no-wrap
5471 msgid ""
5472 " char *guestfs_df (guestfs_h *g);\n"
5473 "\n"
5474 msgstr ""
5475
5476 # type: textblock
5477 #: ../src/guestfs-actions.pod:922 ../fish/guestfish-actions.pod:742
5478 msgid "This command runs the C<df> command to report disk space used."
5479 msgstr ""
5480
5481 # type: textblock
5482 #: ../src/guestfs-actions.pod:924 ../src/guestfs-actions.pod:938
5483 #: ../fish/guestfish-actions.pod:744 ../fish/guestfish-actions.pod:755
5484 msgid ""
5485 "This command is mostly useful for interactive sessions.  It is I<not> "
5486 "intended that you try to parse the output string.  Use C<statvfs> from "
5487 "programs."
5488 msgstr ""
5489
5490 # type: =head2
5491 #: ../src/guestfs-actions.pod:931
5492 msgid "guestfs_df_h"
5493 msgstr ""
5494
5495 # type: verbatim
5496 #: ../src/guestfs-actions.pod:933
5497 #, no-wrap
5498 msgid ""
5499 " char *guestfs_df_h (guestfs_h *g);\n"
5500 "\n"
5501 msgstr ""
5502
5503 # type: textblock
5504 #: ../src/guestfs-actions.pod:935 ../fish/guestfish-actions.pod:752
5505 msgid ""
5506 "This command runs the C<df -h> command to report disk space used in human-"
5507 "readable format."
5508 msgstr ""
5509
5510 # type: =head2
5511 #: ../src/guestfs-actions.pod:945
5512 msgid "guestfs_dmesg"
5513 msgstr ""
5514
5515 # type: verbatim
5516 #: ../src/guestfs-actions.pod:947
5517 #, no-wrap
5518 msgid ""
5519 " char *guestfs_dmesg (guestfs_h *g);\n"
5520 "\n"
5521 msgstr ""
5522
5523 # type: textblock
5524 #: ../src/guestfs-actions.pod:949 ../fish/guestfish-actions.pod:763
5525 msgid ""
5526 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
5527 "This is sometimes useful for extended debugging of problems."
5528 msgstr ""
5529
5530 # type: textblock
5531 #: ../src/guestfs-actions.pod:953
5532 msgid ""
5533 "Another way to get the same information is to enable verbose messages with "
5534 "C<guestfs_set_verbose> or by setting the environment variable "
5535 "C<LIBGUESTFS_DEBUG=1> before running the program."
5536 msgstr ""
5537
5538 # type: =head2
5539 #: ../src/guestfs-actions.pod:961
5540 msgid "guestfs_download"
5541 msgstr ""
5542
5543 # type: verbatim
5544 #: ../src/guestfs-actions.pod:963
5545 #, no-wrap
5546 msgid ""
5547 " int guestfs_download (guestfs_h *g,\n"
5548 "\t\tconst char *remotefilename,\n"
5549 "\t\tconst char *filename);\n"
5550 "\n"
5551 msgstr ""
5552
5553 # type: textblock
5554 #: ../src/guestfs-actions.pod:967 ../src/guestfs-actions.pod:989
5555 #: ../fish/guestfish-actions.pod:776 ../fish/guestfish-actions.pod:789
5556 msgid ""
5557 "Download file C<remotefilename> and save it as C<filename> on the local "
5558 "machine."
5559 msgstr ""
5560
5561 # type: textblock
5562 #: ../src/guestfs-actions.pod:970 ../src/guestfs-actions.pod:5118
5563 #: ../fish/guestfish-actions.pod:779 ../fish/guestfish-actions.pod:3980
5564 msgid "C<filename> can also be a named pipe."
5565 msgstr ""
5566
5567 # type: textblock
5568 #: ../src/guestfs-actions.pod:972
5569 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
5570 msgstr ""
5571
5572 # type: =head2
5573 #: ../src/guestfs-actions.pod:981
5574 msgid "guestfs_download_offset"
5575 msgstr ""
5576
5577 # type: verbatim
5578 #: ../src/guestfs-actions.pod:983
5579 #, no-wrap
5580 msgid ""
5581 " int guestfs_download_offset (guestfs_h *g,\n"
5582 "\t\tconst char *remotefilename,\n"
5583 "\t\tconst char *filename,\n"
5584 "\t\tint64_t offset,\n"
5585 "\t\tint64_t size);\n"
5586 "\n"
5587 msgstr ""
5588
5589 # type: textblock
5590 #: ../src/guestfs-actions.pod:992 ../fish/guestfish-actions.pod:792
5591 msgid ""
5592 "C<remotefilename> is read for C<size> bytes starting at C<offset> (this "
5593 "region must be within the file or device)."
5594 msgstr ""
5595
5596 # type: textblock
5597 #: ../src/guestfs-actions.pod:995
5598 msgid ""
5599 "Note that there is no limit on the amount of data that can be downloaded "
5600 "with this call, unlike with C<guestfs_pread>, and this call always reads the "
5601 "full amount unless an error occurs."
5602 msgstr ""
5603
5604 # type: textblock
5605 #: ../src/guestfs-actions.pod:1000
5606 msgid "See also C<guestfs_download>, C<guestfs_pread>."
5607 msgstr ""
5608
5609 # type: =head2
5610 #: ../src/guestfs-actions.pod:1009
5611 msgid "guestfs_drop_caches"
5612 msgstr ""
5613
5614 # type: verbatim
5615 #: ../src/guestfs-actions.pod:1011
5616 #, no-wrap
5617 msgid ""
5618 " int guestfs_drop_caches (guestfs_h *g,\n"
5619 "\t\tint whattodrop);\n"
5620 "\n"
5621 msgstr ""
5622
5623 # type: textblock
5624 #: ../src/guestfs-actions.pod:1014 ../fish/guestfish-actions.pod:808
5625 msgid ""
5626 "This instructs the guest kernel to drop its page cache, and/or dentries and "
5627 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
5628 "to drop, see L<http://linux-mm.org/Drop_Caches>"
5629 msgstr ""
5630
5631 # type: textblock
5632 #: ../src/guestfs-actions.pod:1019 ../fish/guestfish-actions.pod:813
5633 msgid "Setting C<whattodrop> to 3 should drop everything."
5634 msgstr ""
5635
5636 # type: textblock
5637 #: ../src/guestfs-actions.pod:1021 ../fish/guestfish-actions.pod:815
5638 msgid ""
5639 "This automatically calls L<sync(2)> before the operation, so that the "
5640 "maximum guest memory is freed."
5641 msgstr ""
5642
5643 # type: =head2
5644 #: ../src/guestfs-actions.pod:1026
5645 msgid "guestfs_du"
5646 msgstr ""
5647
5648 # type: verbatim
5649 #: ../src/guestfs-actions.pod:1028
5650 #, no-wrap
5651 msgid ""
5652 " int64_t guestfs_du (guestfs_h *g,\n"
5653 "\t\tconst char *path);\n"
5654 "\n"
5655 msgstr ""
5656
5657 # type: textblock
5658 #: ../src/guestfs-actions.pod:1031 ../fish/guestfish-actions.pod:822
5659 msgid ""
5660 "This command runs the C<du -s> command to estimate file space usage for "
5661 "C<path>."
5662 msgstr ""
5663
5664 # type: textblock
5665 #: ../src/guestfs-actions.pod:1034 ../fish/guestfish-actions.pod:825
5666 msgid ""
5667 "C<path> can be a file or a directory.  If C<path> is a directory then the "
5668 "estimate includes the contents of the directory and all subdirectories "
5669 "(recursively)."
5670 msgstr ""
5671
5672 # type: textblock
5673 #: ../src/guestfs-actions.pod:1038 ../fish/guestfish-actions.pod:829
5674 msgid ""
5675 "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
5676 msgstr ""
5677
5678 # type: =head2
5679 #: ../src/guestfs-actions.pod:1043
5680 msgid "guestfs_e2fsck_f"
5681 msgstr ""
5682
5683 # type: verbatim
5684 #: ../src/guestfs-actions.pod:1045
5685 #, no-wrap
5686 msgid ""
5687 " int guestfs_e2fsck_f (guestfs_h *g,\n"
5688 "\t\tconst char *device);\n"
5689 "\n"
5690 msgstr ""
5691
5692 # type: textblock
5693 #: ../src/guestfs-actions.pod:1048 ../fish/guestfish-actions.pod:836
5694 msgid ""
5695 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
5696 "on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
5697 "clean (C<-f>)."
5698 msgstr ""
5699
5700 # type: textblock
5701 #: ../src/guestfs-actions.pod:1052
5702 msgid ""
5703 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
5704 "Normally you should use C<guestfs_fsck>."
5705 msgstr ""
5706
5707 # type: =head2
5708 #: ../src/guestfs-actions.pod:1057
5709 msgid "guestfs_echo_daemon"
5710 msgstr ""
5711
5712 # type: verbatim
5713 #: ../src/guestfs-actions.pod:1059
5714 #, no-wrap
5715 msgid ""
5716 " char *guestfs_echo_daemon (guestfs_h *g,\n"
5717 "\t\tchar *const *words);\n"
5718 "\n"
5719 msgstr ""
5720
5721 # type: textblock
5722 #: ../src/guestfs-actions.pod:1062 ../fish/guestfish-actions.pod:847
5723 msgid ""
5724 "This command concatenates the list of C<words> passed with single spaces "
5725 "between them and returns the resulting string."
5726 msgstr ""
5727
5728 # type: textblock
5729 #: ../src/guestfs-actions.pod:1065 ../fish/guestfish-actions.pod:850
5730 msgid "You can use this command to test the connection through to the daemon."
5731 msgstr ""
5732
5733 # type: textblock
5734 #: ../src/guestfs-actions.pod:1067
5735 msgid "See also C<guestfs_ping_daemon>."
5736 msgstr ""
5737
5738 # type: =head2
5739 #: ../src/guestfs-actions.pod:1072
5740 msgid "guestfs_egrep"
5741 msgstr ""
5742
5743 # type: verbatim
5744 #: ../src/guestfs-actions.pod:1074
5745 #, no-wrap
5746 msgid ""
5747 " char **guestfs_egrep (guestfs_h *g,\n"
5748 "\t\tconst char *regex,\n"
5749 "\t\tconst char *path);\n"
5750 "\n"
5751 msgstr ""
5752
5753 # type: textblock
5754 #: ../src/guestfs-actions.pod:1078 ../fish/guestfish-actions.pod:858
5755 msgid ""
5756 "This calls the external C<egrep> program and returns the matching lines."
5757 msgstr ""
5758
5759 # type: =head2
5760 #: ../src/guestfs-actions.pod:1088
5761 msgid "guestfs_egrepi"
5762 msgstr ""
5763
5764 # type: verbatim
5765 #: ../src/guestfs-actions.pod:1090
5766 #, no-wrap
5767 msgid ""
5768 " char **guestfs_egrepi (guestfs_h *g,\n"
5769 "\t\tconst char *regex,\n"
5770 "\t\tconst char *path);\n"
5771 "\n"
5772 msgstr ""
5773
5774 # type: textblock
5775 #: ../src/guestfs-actions.pod:1094 ../fish/guestfish-actions.pod:868
5776 msgid ""
5777 "This calls the external C<egrep -i> program and returns the matching lines."
5778 msgstr ""
5779
5780 # type: =head2
5781 #: ../src/guestfs-actions.pod:1104
5782 msgid "guestfs_equal"
5783 msgstr ""
5784
5785 # type: verbatim
5786 #: ../src/guestfs-actions.pod:1106
5787 #, no-wrap
5788 msgid ""
5789 " int guestfs_equal (guestfs_h *g,\n"
5790 "\t\tconst char *file1,\n"
5791 "\t\tconst char *file2);\n"
5792 "\n"
5793 msgstr ""
5794
5795 # type: textblock
5796 #: ../src/guestfs-actions.pod:1110 ../fish/guestfish-actions.pod:878
5797 msgid ""
5798 "This compares the two files C<file1> and C<file2> and returns true if their "
5799 "content is exactly equal, or false otherwise."
5800 msgstr ""
5801
5802 # type: textblock
5803 #: ../src/guestfs-actions.pod:1113 ../fish/guestfish-actions.pod:881
5804 msgid "The external L<cmp(1)> program is used for the comparison."
5805 msgstr ""
5806
5807 # type: =head2
5808 #: ../src/guestfs-actions.pod:1117
5809 msgid "guestfs_exists"
5810 msgstr ""
5811
5812 # type: verbatim
5813 #: ../src/guestfs-actions.pod:1119
5814 #, no-wrap
5815 msgid ""
5816 " int guestfs_exists (guestfs_h *g,\n"
5817 "\t\tconst char *path);\n"
5818 "\n"
5819 msgstr ""
5820
5821 # type: textblock
5822 #: ../src/guestfs-actions.pod:1122 ../fish/guestfish-actions.pod:887
5823 msgid ""
5824 "This returns C<true> if and only if there is a file, directory (or anything) "
5825 "with the given C<path> name."
5826 msgstr ""
5827
5828 # type: textblock
5829 #: ../src/guestfs-actions.pod:1125
5830 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
5831 msgstr ""
5832
5833 # type: =head2
5834 #: ../src/guestfs-actions.pod:1129
5835 msgid "guestfs_fallocate"
5836 msgstr ""
5837
5838 # type: verbatim
5839 #: ../src/guestfs-actions.pod:1131
5840 #, no-wrap
5841 msgid ""
5842 " int guestfs_fallocate (guestfs_h *g,\n"
5843 "\t\tconst char *path,\n"
5844 "\t\tint len);\n"
5845 "\n"
5846 msgstr ""
5847
5848 # type: textblock
5849 #: ../src/guestfs-actions.pod:1135 ../src/guestfs-actions.pod:1158
5850 #: ../fish/guestfish-actions.pod:896 ../fish/guestfish-actions.pod:915
5851 msgid ""
5852 "This command preallocates a file (containing zero bytes) named C<path> of "
5853 "size C<len> bytes.  If the file exists already, it is overwritten."
5854 msgstr ""
5855
5856 # type: textblock
5857 #: ../src/guestfs-actions.pod:1139 ../fish/guestfish-actions.pod:900
5858 msgid ""
5859 "Do not confuse this with the guestfish-specific C<alloc> command which "
5860 "allocates a file in the host and attaches it as a device."
5861 msgstr ""
5862
5863 # type: textblock
5864 #: ../src/guestfs-actions.pod:1145 ../fish/guestfish-actions.pod:904
5865 msgid ""
5866 "This function is deprecated.  In new code, use the C<fallocate64> call "
5867 "instead."
5868 msgstr ""
5869
5870 # type: textblock
5871 #: ../src/guestfs-actions.pod:1148 ../src/guestfs-actions.pod:1583
5872 #: ../src/guestfs-actions.pod:1601 ../src/guestfs-actions.pod:5499
5873 #: ../src/guestfs-actions.pod:5644 ../fish/guestfish-actions.pod:907
5874 #: ../fish/guestfish-actions.pod:1264 ../fish/guestfish-actions.pod:1278
5875 #: ../fish/guestfish-actions.pod:4256 ../fish/guestfish-actions.pod:4353
5876 msgid ""
5877 "Deprecated functions will not be removed from the API, but the fact that "
5878 "they are deprecated indicates that there are problems with correct use of "
5879 "these functions."
5880 msgstr ""
5881
5882 # type: =head2
5883 #: ../src/guestfs-actions.pod:1152
5884 msgid "guestfs_fallocate64"
5885 msgstr ""
5886
5887 # type: verbatim
5888 #: ../src/guestfs-actions.pod:1154
5889 #, no-wrap
5890 msgid ""
5891 " int guestfs_fallocate64 (guestfs_h *g,\n"
5892 "\t\tconst char *path,\n"
5893 "\t\tint64_t len);\n"
5894 "\n"
5895 msgstr ""
5896
5897 # type: textblock
5898 #: ../src/guestfs-actions.pod:1162
5899 msgid ""
5900 "Note that this call allocates disk blocks for the file.  To create a sparse "
5901 "file use C<guestfs_truncate_size> instead."
5902 msgstr ""
5903
5904 # type: textblock
5905 #: ../src/guestfs-actions.pod:1165
5906 msgid ""
5907 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
5908 "oversight it only allowed 30 bit lengths to be specified, effectively "
5909 "limiting the maximum size of files created through that call to 1GB."
5910 msgstr ""
5911
5912 # type: textblock
5913 #: ../src/guestfs-actions.pod:1170 ../fish/guestfish-actions.pod:927
5914 msgid ""
5915 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
5916 "commands which create a file in the host and attach it as a device."
5917 msgstr ""
5918
5919 # type: =head2
5920 #: ../src/guestfs-actions.pod:1176
5921 msgid "guestfs_fgrep"
5922 msgstr ""
5923
5924 # type: verbatim
5925 #: ../src/guestfs-actions.pod:1178
5926 #, no-wrap
5927 msgid ""
5928 " char **guestfs_fgrep (guestfs_h *g,\n"
5929 "\t\tconst char *pattern,\n"
5930 "\t\tconst char *path);\n"
5931 "\n"
5932 msgstr ""
5933
5934 # type: textblock
5935 #: ../src/guestfs-actions.pod:1182 ../fish/guestfish-actions.pod:935
5936 msgid ""
5937 "This calls the external C<fgrep> program and returns the matching lines."
5938 msgstr ""
5939
5940 # type: =head2
5941 #: ../src/guestfs-actions.pod:1192
5942 msgid "guestfs_fgrepi"
5943 msgstr ""
5944
5945 # type: verbatim
5946 #: ../src/guestfs-actions.pod:1194
5947 #, no-wrap
5948 msgid ""
5949 " char **guestfs_fgrepi (guestfs_h *g,\n"
5950 "\t\tconst char *pattern,\n"
5951 "\t\tconst char *path);\n"
5952 "\n"
5953 msgstr ""
5954
5955 # type: textblock
5956 #: ../src/guestfs-actions.pod:1198 ../fish/guestfish-actions.pod:945
5957 msgid ""
5958 "This calls the external C<fgrep -i> program and returns the matching lines."
5959 msgstr ""
5960
5961 # type: =head2
5962 #: ../src/guestfs-actions.pod:1208
5963 msgid "guestfs_file"
5964 msgstr ""
5965
5966 # type: verbatim
5967 #: ../src/guestfs-actions.pod:1210
5968 #, no-wrap
5969 msgid ""
5970 " char *guestfs_file (guestfs_h *g,\n"
5971 "\t\tconst char *path);\n"
5972 "\n"
5973 msgstr ""
5974
5975 # type: textblock
5976 #: ../src/guestfs-actions.pod:1213 ../fish/guestfish-actions.pod:955
5977 msgid ""
5978 "This call uses the standard L<file(1)> command to determine the type or "
5979 "contents of the file."
5980 msgstr ""
5981
5982 # type: textblock
5983 #: ../src/guestfs-actions.pod:1216 ../fish/guestfish-actions.pod:958
5984 msgid ""
5985 "This call will also transparently look inside various types of compressed "
5986 "file."
5987 msgstr ""
5988
5989 # type: textblock
5990 #: ../src/guestfs-actions.pod:1219 ../fish/guestfish-actions.pod:961
5991 msgid ""
5992 "The exact command which runs is C<file -zb path>.  Note in particular that "
5993 "the filename is not prepended to the output (the C<-b> option)."
5994 msgstr ""
5995
5996 # type: textblock
5997 #: ../src/guestfs-actions.pod:1223
5998 msgid ""
5999 "This command can also be used on C</dev/> devices (and partitions, LV "
6000 "names).  You can for example use this to determine if a device contains a "
6001 "filesystem, although it's usually better to use C<guestfs_vfs_type>."
6002 msgstr ""
6003
6004 # type: textblock
6005 #: ../src/guestfs-actions.pod:1228 ../fish/guestfish-actions.pod:970
6006 msgid ""
6007 "If the C<path> does not begin with C</dev/> then this command only works for "
6008 "the content of regular files.  For other file types (directory, symbolic "
6009 "link etc) it will just return the string C<directory> etc."
6010 msgstr ""
6011
6012 # type: =head2
6013 #: ../src/guestfs-actions.pod:1236
6014 msgid "guestfs_file_architecture"
6015 msgstr ""
6016
6017 # type: verbatim
6018 #: ../src/guestfs-actions.pod:1238
6019 #, no-wrap
6020 msgid ""
6021 " char *guestfs_file_architecture (guestfs_h *g,\n"
6022 "\t\tconst char *filename);\n"
6023 "\n"
6024 msgstr ""
6025
6026 # type: textblock
6027 #: ../src/guestfs-actions.pod:1241 ../fish/guestfish-actions.pod:979
6028 msgid ""
6029 "This detects the architecture of the binary C<filename>, and returns it if "
6030 "known."
6031 msgstr ""
6032
6033 # type: textblock
6034 #: ../src/guestfs-actions.pod:1244 ../fish/guestfish-actions.pod:982
6035 msgid "Currently defined architectures are:"
6036 msgstr ""
6037
6038 # type: =item
6039 #: ../src/guestfs-actions.pod:1248 ../fish/guestfish-actions.pod:986
6040 msgid "\"i386\""
6041 msgstr ""
6042
6043 # type: textblock
6044 #: ../src/guestfs-actions.pod:1250 ../fish/guestfish-actions.pod:988
6045 msgid ""
6046 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
6047 "irrespective of the precise processor requirements of the binary."
6048 msgstr ""
6049
6050 # type: =item
6051 #: ../src/guestfs-actions.pod:1253 ../fish/guestfish-actions.pod:991
6052 msgid "\"x86_64\""
6053 msgstr ""
6054
6055 # type: textblock
6056 #: ../src/guestfs-actions.pod:1255 ../fish/guestfish-actions.pod:993
6057 msgid "64 bit x86-64."
6058 msgstr ""
6059
6060 # type: =item
6061 #: ../src/guestfs-actions.pod:1257 ../fish/guestfish-actions.pod:995
6062 msgid "\"sparc\""
6063 msgstr ""
6064
6065 # type: textblock
6066 #: ../src/guestfs-actions.pod:1259 ../fish/guestfish-actions.pod:997
6067 msgid "32 bit SPARC."
6068 msgstr ""
6069
6070 # type: =item
6071 #: ../src/guestfs-actions.pod:1261 ../fish/guestfish-actions.pod:999
6072 msgid "\"sparc64\""
6073 msgstr ""
6074
6075 # type: textblock
6076 #: ../src/guestfs-actions.pod:1263 ../fish/guestfish-actions.pod:1001
6077 msgid "64 bit SPARC V9 and above."
6078 msgstr ""
6079
6080 # type: =item
6081 #: ../src/guestfs-actions.pod:1265 ../fish/guestfish-actions.pod:1003
6082 msgid "\"ia64\""
6083 msgstr ""
6084
6085 # type: textblock
6086 #: ../src/guestfs-actions.pod:1267 ../fish/guestfish-actions.pod:1005
6087 msgid "Intel Itanium."
6088 msgstr ""
6089
6090 # type: =item
6091 #: ../src/guestfs-actions.pod:1269 ../fish/guestfish-actions.pod:1007
6092 msgid "\"ppc\""
6093 msgstr ""
6094
6095 # type: textblock
6096 #: ../src/guestfs-actions.pod:1271 ../fish/guestfish-actions.pod:1009
6097 msgid "32 bit Power PC."
6098 msgstr ""
6099
6100 # type: =item
6101 #: ../src/guestfs-actions.pod:1273 ../fish/guestfish-actions.pod:1011
6102 msgid "\"ppc64\""
6103 msgstr ""
6104
6105 # type: textblock
6106 #: ../src/guestfs-actions.pod:1275 ../fish/guestfish-actions.pod:1013
6107 msgid "64 bit Power PC."
6108 msgstr ""
6109
6110 # type: textblock
6111 #: ../src/guestfs-actions.pod:1279 ../fish/guestfish-actions.pod:1017
6112 msgid "Libguestfs may return other architecture strings in future."
6113 msgstr ""
6114
6115 # type: textblock
6116 #: ../src/guestfs-actions.pod:1281 ../fish/guestfish-actions.pod:1019
6117 msgid "The function works on at least the following types of files:"
6118 msgstr ""
6119
6120 # type: textblock
6121 #: ../src/guestfs-actions.pod:1287 ../fish/guestfish-actions.pod:1025
6122 msgid "many types of Un*x and Linux binary"
6123 msgstr ""
6124
6125 # type: textblock
6126 #: ../src/guestfs-actions.pod:1291 ../fish/guestfish-actions.pod:1029
6127 msgid "many types of Un*x and Linux shared library"
6128 msgstr ""
6129
6130 # type: textblock
6131 #: ../src/guestfs-actions.pod:1295 ../fish/guestfish-actions.pod:1033
6132 msgid "Windows Win32 and Win64 binaries"
6133 msgstr ""
6134
6135 # type: textblock
6136 #: ../src/guestfs-actions.pod:1299 ../fish/guestfish-actions.pod:1037
6137 msgid "Windows Win32 and Win64 DLLs"
6138 msgstr ""
6139
6140 # type: textblock
6141 #: ../src/guestfs-actions.pod:1301 ../fish/guestfish-actions.pod:1039
6142 msgid "Win32 binaries and DLLs return C<i386>."
6143 msgstr ""
6144
6145 # type: textblock
6146 #: ../src/guestfs-actions.pod:1303 ../fish/guestfish-actions.pod:1041
6147 msgid "Win64 binaries and DLLs return C<x86_64>."
6148 msgstr ""
6149
6150 # type: textblock
6151 #: ../src/guestfs-actions.pod:1307 ../fish/guestfish-actions.pod:1045
6152 msgid "Linux kernel modules"
6153 msgstr ""
6154
6155 # type: textblock
6156 #: ../src/guestfs-actions.pod:1311 ../fish/guestfish-actions.pod:1049
6157 msgid "Linux new-style initrd images"
6158 msgstr ""
6159
6160 # type: textblock
6161 #: ../src/guestfs-actions.pod:1315 ../fish/guestfish-actions.pod:1053
6162 msgid "some non-x86 Linux vmlinuz kernels"
6163 msgstr ""
6164
6165 # type: textblock
6166 #: ../src/guestfs-actions.pod:1319 ../fish/guestfish-actions.pod:1057
6167 msgid "What it can't do currently:"
6168 msgstr ""
6169
6170 # type: textblock
6171 #: ../src/guestfs-actions.pod:1325 ../fish/guestfish-actions.pod:1063
6172 msgid "static libraries (libfoo.a)"
6173 msgstr ""
6174
6175 # type: textblock
6176 #: ../src/guestfs-actions.pod:1329 ../fish/guestfish-actions.pod:1067
6177 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
6178 msgstr ""
6179
6180 # type: textblock
6181 #: ../src/guestfs-actions.pod:1333 ../fish/guestfish-actions.pod:1071
6182 msgid "x86 Linux vmlinuz kernels"
6183 msgstr ""
6184
6185 # type: textblock
6186 #: ../src/guestfs-actions.pod:1335 ../fish/guestfish-actions.pod:1073
6187 msgid ""
6188 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
6189 "compressed code, and are horribly hard to unpack.  If you want to find the "
6190 "architecture of a kernel, use the architecture of the associated initrd or "
6191 "kernel module(s) instead."
6192 msgstr ""
6193
6194 # type: =head2
6195 #: ../src/guestfs-actions.pod:1345
6196 msgid "guestfs_filesize"
6197 msgstr ""
6198
6199 # type: verbatim
6200 #: ../src/guestfs-actions.pod:1347
6201 #, no-wrap
6202 msgid ""
6203 " int64_t guestfs_filesize (guestfs_h *g,\n"
6204 "\t\tconst char *file);\n"
6205 "\n"
6206 msgstr ""
6207
6208 # type: textblock
6209 #: ../src/guestfs-actions.pod:1350 ../fish/guestfish-actions.pod:1084
6210 msgid "This command returns the size of C<file> in bytes."
6211 msgstr ""
6212
6213 # type: textblock
6214 #: ../src/guestfs-actions.pod:1352
6215 msgid ""
6216 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
6217 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
6218 "devices, use C<guestfs_blockdev_getsize64>."
6219 msgstr ""
6220
6221 # type: =head2
6222 #: ../src/guestfs-actions.pod:1358
6223 msgid "guestfs_fill"
6224 msgstr ""
6225
6226 # type: verbatim
6227 #: ../src/guestfs-actions.pod:1360
6228 #, no-wrap
6229 msgid ""
6230 " int guestfs_fill (guestfs_h *g,\n"
6231 "\t\tint c,\n"
6232 "\t\tint len,\n"
6233 "\t\tconst char *path);\n"
6234 "\n"
6235 msgstr ""
6236
6237 # type: textblock
6238 #: ../src/guestfs-actions.pod:1365 ../fish/guestfish-actions.pod:1094
6239 msgid ""
6240 "This command creates a new file called C<path>.  The initial content of the "
6241 "file is C<len> octets of C<c>, where C<c> must be a number in the range C<"
6242 "[0..255]>."
6243 msgstr ""
6244
6245 # type: textblock
6246 #: ../src/guestfs-actions.pod:1369
6247 msgid ""
6248 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
6249 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
6250 "bytes use C<guestfs_fill_pattern>."
6251 msgstr ""
6252
6253 # type: =head2
6254 #: ../src/guestfs-actions.pod:1381
6255 msgid "guestfs_fill_pattern"
6256 msgstr ""
6257
6258 # type: verbatim
6259 #: ../src/guestfs-actions.pod:1383
6260 #, no-wrap
6261 msgid ""
6262 " int guestfs_fill_pattern (guestfs_h *g,\n"
6263 "\t\tconst char *pattern,\n"
6264 "\t\tint len,\n"
6265 "\t\tconst char *path);\n"
6266 "\n"
6267 msgstr ""
6268
6269 # type: textblock
6270 #: ../src/guestfs-actions.pod:1388
6271 msgid ""
6272 "This function is like C<guestfs_fill> except that it creates a new file of "
6273 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
6274 "pattern is truncated if necessary to ensure the length of the file is "
6275 "exactly C<len> bytes."
6276 msgstr ""
6277
6278 # type: =head2
6279 #: ../src/guestfs-actions.pod:1400
6280 msgid "guestfs_find"
6281 msgstr ""
6282
6283 # type: verbatim
6284 #: ../src/guestfs-actions.pod:1402
6285 #, no-wrap
6286 msgid ""
6287 " char **guestfs_find (guestfs_h *g,\n"
6288 "\t\tconst char *directory);\n"
6289 "\n"
6290 msgstr ""
6291
6292 # type: textblock
6293 #: ../src/guestfs-actions.pod:1405 ../fish/guestfish-actions.pod:1116
6294 msgid ""
6295 "This command lists out all files and directories, recursively, starting at "
6296 "C<directory>.  It is essentially equivalent to running the shell command "
6297 "C<find directory -print> but some post-processing happens on the output, "
6298 "described below."
6299 msgstr ""
6300
6301 # type: textblock
6302 #: ../src/guestfs-actions.pod:1410 ../fish/guestfish-actions.pod:1121
6303 msgid ""
6304 "This returns a list of strings I<without any prefix>.  Thus if the directory "
6305 "structure was:"
6306 msgstr ""
6307
6308 # type: verbatim
6309 #: ../src/guestfs-actions.pod:1413 ../fish/guestfish-actions.pod:1124
6310 #, no-wrap
6311 msgid ""
6312 " /tmp/a\n"
6313 " /tmp/b\n"
6314 " /tmp/c/d\n"
6315 "\n"
6316 msgstr ""
6317
6318 # type: textblock
6319 #: ../src/guestfs-actions.pod:1417
6320 msgid ""
6321 "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
6322 msgstr ""
6323
6324 # type: verbatim
6325 #: ../src/guestfs-actions.pod:1420 ../fish/guestfish-actions.pod:1131
6326 #, no-wrap
6327 msgid ""
6328 " a\n"
6329 " b\n"
6330 " c\n"
6331 " c/d\n"
6332 "\n"
6333 msgstr ""
6334
6335 # type: textblock
6336 #: ../src/guestfs-actions.pod:1425 ../fish/guestfish-actions.pod:1136
6337 msgid "If C<directory> is not a directory, then this command returns an error."
6338 msgstr ""
6339
6340 # type: textblock
6341 #: ../src/guestfs-actions.pod:1428 ../fish/guestfish-actions.pod:1139
6342 msgid "The returned list is sorted."
6343 msgstr ""
6344
6345 # type: textblock
6346 #: ../src/guestfs-actions.pod:1430
6347 msgid "See also C<guestfs_find0>."
6348 msgstr ""
6349
6350 # type: =head2
6351 #: ../src/guestfs-actions.pod:1439
6352 msgid "guestfs_find0"
6353 msgstr ""
6354
6355 # type: verbatim
6356 #: ../src/guestfs-actions.pod:1441
6357 #, no-wrap
6358 msgid ""
6359 " int guestfs_find0 (guestfs_h *g,\n"
6360 "\t\tconst char *directory,\n"
6361 "\t\tconst char *files);\n"
6362 "\n"
6363 msgstr ""
6364
6365 # type: textblock
6366 #: ../src/guestfs-actions.pod:1445 ../fish/guestfish-actions.pod:1150
6367 msgid ""
6368 "This command lists out all files and directories, recursively, starting at "
6369 "C<directory>, placing the resulting list in the external file called "
6370 "C<files>."
6371 msgstr ""
6372
6373 # type: textblock
6374 #: ../src/guestfs-actions.pod:1449
6375 msgid ""
6376 "This command works the same way as C<guestfs_find> with the following "
6377 "exceptions:"
6378 msgstr ""
6379
6380 # type: textblock
6381 #: ../src/guestfs-actions.pod:1456 ../fish/guestfish-actions.pod:1161
6382 msgid "The resulting list is written to an external file."
6383 msgstr ""
6384
6385 # type: textblock
6386 #: ../src/guestfs-actions.pod:1460 ../fish/guestfish-actions.pod:1165
6387 msgid ""
6388 "Items (filenames) in the result are separated by C<\\0> characters.  See "
6389 "L<find(1)> option I<-print0>."
6390 msgstr ""
6391
6392 # type: textblock
6393 #: ../src/guestfs-actions.pod:1465 ../fish/guestfish-actions.pod:1170
6394 msgid "This command is not limited in the number of names that it can return."
6395 msgstr ""
6396
6397 # type: textblock
6398 #: ../src/guestfs-actions.pod:1470 ../fish/guestfish-actions.pod:1175
6399 msgid "The result list is not sorted."
6400 msgstr ""
6401
6402 # type: =head2
6403 #: ../src/guestfs-actions.pod:1476
6404 msgid "guestfs_findfs_label"
6405 msgstr ""
6406
6407 # type: verbatim
6408 #: ../src/guestfs-actions.pod:1478
6409 #, no-wrap
6410 msgid ""
6411 " char *guestfs_findfs_label (guestfs_h *g,\n"
6412 "\t\tconst char *label);\n"
6413 "\n"
6414 msgstr ""
6415
6416 # type: textblock
6417 #: ../src/guestfs-actions.pod:1481 ../fish/guestfish-actions.pod:1185
6418 msgid ""
6419 "This command searches the filesystems and returns the one which has the "
6420 "given label.  An error is returned if no such filesystem can be found."
6421 msgstr ""
6422
6423 # type: textblock
6424 #: ../src/guestfs-actions.pod:1485
6425 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
6426 msgstr ""
6427
6428 # type: =head2
6429 #: ../src/guestfs-actions.pod:1490
6430 msgid "guestfs_findfs_uuid"
6431 msgstr ""
6432
6433 # type: verbatim
6434 #: ../src/guestfs-actions.pod:1492
6435 #, no-wrap
6436 msgid ""
6437 " char *guestfs_findfs_uuid (guestfs_h *g,\n"
6438 "\t\tconst char *uuid);\n"
6439 "\n"
6440 msgstr ""
6441
6442 # type: textblock
6443 #: ../src/guestfs-actions.pod:1495 ../fish/guestfish-actions.pod:1195
6444 msgid ""
6445 "This command searches the filesystems and returns the one which has the "
6446 "given UUID.  An error is returned if no such filesystem can be found."
6447 msgstr ""
6448
6449 # type: textblock
6450 #: ../src/guestfs-actions.pod:1499
6451 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
6452 msgstr ""
6453
6454 # type: =head2
6455 #: ../src/guestfs-actions.pod:1504
6456 msgid "guestfs_fsck"
6457 msgstr ""
6458
6459 # type: verbatim
6460 #: ../src/guestfs-actions.pod:1506
6461 #, no-wrap
6462 msgid ""
6463 " int guestfs_fsck (guestfs_h *g,\n"
6464 "\t\tconst char *fstype,\n"
6465 "\t\tconst char *device);\n"
6466 "\n"
6467 msgstr ""
6468
6469 # type: textblock
6470 #: ../src/guestfs-actions.pod:1510 ../fish/guestfish-actions.pod:1205
6471 msgid ""
6472 "This runs the filesystem checker (fsck) on C<device> which should have "
6473 "filesystem type C<fstype>."
6474 msgstr ""
6475
6476 # type: textblock
6477 #: ../src/guestfs-actions.pod:1513 ../fish/guestfish-actions.pod:1208
6478 msgid ""
6479 "The returned integer is the status.  See L<fsck(8)> for the list of status "
6480 "codes from C<fsck>."
6481 msgstr ""
6482
6483 # type: textblock
6484 #: ../src/guestfs-actions.pod:1522 ../fish/guestfish-actions.pod:1217
6485 msgid "Multiple status codes can be summed together."
6486 msgstr ""
6487
6488 # type: textblock
6489 #: ../src/guestfs-actions.pod:1526 ../fish/guestfish-actions.pod:1221
6490 msgid ""
6491 "A non-zero return code can mean \"success\", for example if errors have been "
6492 "corrected on the filesystem."
6493 msgstr ""
6494
6495 # type: textblock
6496 #: ../src/guestfs-actions.pod:1531 ../fish/guestfish-actions.pod:1226
6497 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
6498 msgstr ""
6499
6500 # type: textblock
6501 #: ../src/guestfs-actions.pod:1536 ../fish/guestfish-actions.pod:1231
6502 msgid ""
6503 "This command is entirely equivalent to running C<fsck -a -t fstype device>."
6504 msgstr ""
6505
6506 # type: =head2
6507 #: ../src/guestfs-actions.pod:1540
6508 msgid "guestfs_get_append"
6509 msgstr ""
6510
6511 # type: verbatim
6512 #: ../src/guestfs-actions.pod:1542
6513 #, no-wrap
6514 msgid ""
6515 " const char *guestfs_get_append (guestfs_h *g);\n"
6516 "\n"
6517 msgstr ""
6518
6519 # type: textblock
6520 #: ../src/guestfs-actions.pod:1544 ../fish/guestfish-actions.pod:1237
6521 msgid ""
6522 "Return the additional kernel options which are added to the guest kernel "
6523 "command line."
6524 msgstr ""
6525
6526 # type: textblock
6527 #: ../src/guestfs-actions.pod:1547 ../fish/guestfish-actions.pod:1240
6528 msgid "If C<NULL> then no options are added."
6529 msgstr ""
6530
6531 # type: textblock
6532 #: ../src/guestfs-actions.pod:1549
6533 msgid ""
6534 "This function returns a string which may be NULL.  There is no way to return "
6535 "an error from this function.  The string is owned by the guest handle and "
6536 "must I<not> be freed."
6537 msgstr ""
6538
6539 # type: =head2
6540 #: ../src/guestfs-actions.pod:1553
6541 msgid "guestfs_get_autosync"
6542 msgstr ""
6543
6544 # type: verbatim
6545 #: ../src/guestfs-actions.pod:1555
6546 #, no-wrap
6547 msgid ""
6548 " int guestfs_get_autosync (guestfs_h *g);\n"
6549 "\n"
6550 msgstr ""
6551
6552 # type: textblock
6553 #: ../src/guestfs-actions.pod:1557 ../fish/guestfish-actions.pod:1246
6554 msgid "Get the autosync flag."
6555 msgstr ""
6556
6557 # type: =head2
6558 #: ../src/guestfs-actions.pod:1561
6559 msgid "guestfs_get_direct"
6560 msgstr ""
6561
6562 # type: verbatim
6563 #: ../src/guestfs-actions.pod:1563
6564 #, no-wrap
6565 msgid ""
6566 " int guestfs_get_direct (guestfs_h *g);\n"
6567 "\n"
6568 msgstr ""
6569
6570 # type: textblock
6571 #: ../src/guestfs-actions.pod:1565 ../fish/guestfish-actions.pod:1252
6572 msgid "Return the direct appliance mode flag."
6573 msgstr ""
6574
6575 # type: =head2
6576 #: ../src/guestfs-actions.pod:1569
6577 msgid "guestfs_get_e2label"
6578 msgstr ""
6579
6580 # type: verbatim
6581 #: ../src/guestfs-actions.pod:1571
6582 #, no-wrap
6583 msgid ""
6584 " char *guestfs_get_e2label (guestfs_h *g,\n"
6585 "\t\tconst char *device);\n"
6586 "\n"
6587 msgstr ""
6588
6589 # type: textblock
6590 #: ../src/guestfs-actions.pod:1574 ../fish/guestfish-actions.pod:1258
6591 msgid ""
6592 "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
6593 msgstr ""
6594
6595 # type: textblock
6596 #: ../src/guestfs-actions.pod:1580 ../fish/guestfish-actions.pod:1261
6597 msgid ""
6598 "This function is deprecated.  In new code, use the C<vfs_label> call instead."
6599 msgstr ""
6600
6601 # type: =head2
6602 #: ../src/guestfs-actions.pod:1587
6603 msgid "guestfs_get_e2uuid"
6604 msgstr ""
6605
6606 # type: verbatim
6607 #: ../src/guestfs-actions.pod:1589
6608 #, no-wrap
6609 msgid ""
6610 " char *guestfs_get_e2uuid (guestfs_h *g,\n"
6611 "\t\tconst char *device);\n"
6612 "\n"
6613 msgstr ""
6614
6615 # type: textblock
6616 #: ../src/guestfs-actions.pod:1592 ../fish/guestfish-actions.pod:1272
6617 msgid ""
6618 "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
6619 msgstr ""
6620
6621 # type: textblock
6622 #: ../src/guestfs-actions.pod:1598 ../fish/guestfish-actions.pod:1275
6623 msgid ""
6624 "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
6625 msgstr ""
6626
6627 # type: =head2
6628 #: ../src/guestfs-actions.pod:1605
6629 msgid "guestfs_get_memsize"
6630 msgstr ""
6631
6632 # type: verbatim
6633 #: ../src/guestfs-actions.pod:1607
6634 #, no-wrap
6635 msgid ""
6636 " int guestfs_get_memsize (guestfs_h *g);\n"
6637 "\n"
6638 msgstr ""
6639
6640 # type: textblock
6641 #: ../src/guestfs-actions.pod:1609 ../fish/guestfish-actions.pod:1286
6642 msgid ""
6643 "This gets the memory size in megabytes allocated to the qemu subprocess."
6644 msgstr ""
6645
6646 # type: textblock
6647 #: ../src/guestfs-actions.pod:1612
6648 msgid ""
6649 "If C<guestfs_set_memsize> was not called on this handle, and if "
6650 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
6651 "value for memsize."
6652 msgstr ""
6653
6654 # type: textblock
6655 #: ../src/guestfs-actions.pod:1616 ../src/guestfs-actions.pod:1679
6656 #: ../src/guestfs-actions.pod:4371 ../src/guestfs-actions.pod:4463
6657 #: ../fish/guestfish-actions.pod:1293 ../fish/guestfish-actions.pod:1344
6658 #: ../fish/guestfish-actions.pod:3387 ../fish/guestfish-actions.pod:3474
6659 msgid ""
6660 "For more information on the architecture of libguestfs, see L<guestfs(3)>."
6661 msgstr ""
6662
6663 # type: =head2
6664 #: ../src/guestfs-actions.pod:1621
6665 msgid "guestfs_get_network"
6666 msgstr ""
6667
6668 # type: verbatim
6669 #: ../src/guestfs-actions.pod:1623
6670 #, no-wrap
6671 msgid ""
6672 " int guestfs_get_network (guestfs_h *g);\n"
6673 "\n"
6674 msgstr ""
6675
6676 # type: textblock
6677 #: ../src/guestfs-actions.pod:1625 ../fish/guestfish-actions.pod:1300
6678 msgid "This returns the enable network flag."
6679 msgstr ""
6680
6681 # type: =head2
6682 #: ../src/guestfs-actions.pod:1629
6683 msgid "guestfs_get_path"
6684 msgstr ""
6685
6686 # type: verbatim
6687 #: ../src/guestfs-actions.pod:1631
6688 #, no-wrap
6689 msgid ""
6690 " const char *guestfs_get_path (guestfs_h *g);\n"
6691 "\n"
6692 msgstr ""
6693
6694 # type: textblock
6695 #: ../src/guestfs-actions.pod:1633 ../fish/guestfish-actions.pod:1306
6696 msgid "Return the current search path."
6697 msgstr ""
6698
6699 # type: textblock
6700 #: ../src/guestfs-actions.pod:1635 ../fish/guestfish-actions.pod:1308
6701 msgid ""
6702 "This is always non-NULL.  If it wasn't set already, then this will return "
6703 "the default path."
6704 msgstr ""
6705
6706 # type: textblock
6707 #: ../src/guestfs-actions.pod:1638 ../src/guestfs-actions.pod:1661
6708 msgid ""
6709 "This function returns a string, or NULL on error.  The string is owned by "
6710 "the guest handle and must I<not> be freed."
6711 msgstr ""
6712
6713 # type: =head2
6714 #: ../src/guestfs-actions.pod:1641
6715 msgid "guestfs_get_pid"
6716 msgstr ""
6717
6718 # type: verbatim
6719 #: ../src/guestfs-actions.pod:1643
6720 #, no-wrap
6721 msgid ""
6722 " int guestfs_get_pid (guestfs_h *g);\n"
6723 "\n"
6724 msgstr ""
6725
6726 # type: textblock
6727 #: ../src/guestfs-actions.pod:1645 ../fish/guestfish-actions.pod:1317
6728 msgid ""
6729 "Return the process ID of the qemu subprocess.  If there is no qemu "
6730 "subprocess, then this will return an error."
6731 msgstr ""
6732
6733 # type: textblock
6734 #: ../src/guestfs-actions.pod:1648 ../fish/guestfish-actions.pod:1320
6735 msgid "This is an internal call used for debugging and testing."
6736 msgstr ""
6737
6738 # type: =head2
6739 #: ../src/guestfs-actions.pod:1652
6740 msgid "guestfs_get_qemu"
6741 msgstr ""
6742
6743 # type: verbatim
6744 #: ../src/guestfs-actions.pod:1654
6745 #, no-wrap
6746 msgid ""
6747 " const char *guestfs_get_qemu (guestfs_h *g);\n"
6748 "\n"
6749 msgstr ""
6750
6751 # type: textblock
6752 #: ../src/guestfs-actions.pod:1656 ../fish/guestfish-actions.pod:1326
6753 msgid "Return the current qemu binary."
6754 msgstr ""
6755
6756 # type: textblock
6757 #: ../src/guestfs-actions.pod:1658 ../fish/guestfish-actions.pod:1328
6758 msgid ""
6759 "This is always non-NULL.  If it wasn't set already, then this will return "
6760 "the default qemu binary name."
6761 msgstr ""
6762
6763 # type: =head2
6764 #: ../src/guestfs-actions.pod:1664
6765 msgid "guestfs_get_recovery_proc"
6766 msgstr ""
6767
6768 # type: verbatim
6769 #: ../src/guestfs-actions.pod:1666
6770 #, no-wrap
6771 msgid ""
6772 " int guestfs_get_recovery_proc (guestfs_h *g);\n"
6773 "\n"
6774 msgstr ""
6775
6776 # type: textblock
6777 #: ../src/guestfs-actions.pod:1668 ../fish/guestfish-actions.pod:1335
6778 msgid "Return the recovery process enabled flag."
6779 msgstr ""
6780
6781 # type: =head2
6782 #: ../src/guestfs-actions.pod:1672
6783 msgid "guestfs_get_selinux"
6784 msgstr ""
6785
6786 # type: verbatim
6787 #: ../src/guestfs-actions.pod:1674
6788 #, no-wrap
6789 msgid ""
6790 " int guestfs_get_selinux (guestfs_h *g);\n"
6791 "\n"
6792 msgstr ""
6793
6794 # type: textblock
6795 #: ../src/guestfs-actions.pod:1676
6796 msgid ""
6797 "This returns the current setting of the selinux flag which is passed to the "
6798 "appliance at boot time.  See C<guestfs_set_selinux>."
6799 msgstr ""
6800
6801 # type: =head2
6802 #: ../src/guestfs-actions.pod:1684
6803 msgid "guestfs_get_state"
6804 msgstr ""
6805
6806 # type: verbatim
6807 #: ../src/guestfs-actions.pod:1686
6808 #, no-wrap
6809 msgid ""
6810 " int guestfs_get_state (guestfs_h *g);\n"
6811 "\n"
6812 msgstr ""
6813
6814 # type: textblock
6815 #: ../src/guestfs-actions.pod:1688 ../fish/guestfish-actions.pod:1351
6816 msgid ""
6817 "This returns the current state as an opaque integer.  This is only useful "
6818 "for printing debug and internal error messages."
6819 msgstr ""
6820
6821 # type: textblock
6822 #: ../src/guestfs-actions.pod:1691 ../src/guestfs-actions.pod:2312
6823 #: ../src/guestfs-actions.pod:2335 ../src/guestfs-actions.pod:2384
6824 #: ../src/guestfs-actions.pod:2405 ../fish/guestfish-actions.pod:1354
6825 #: ../fish/guestfish-actions.pod:1848 ../fish/guestfish-actions.pod:1866
6826 #: ../fish/guestfish-actions.pod:1904 ../fish/guestfish-actions.pod:1920
6827 msgid "For more information on states, see L<guestfs(3)>."
6828 msgstr ""
6829
6830 # type: =head2
6831 #: ../src/guestfs-actions.pod:1695
6832 msgid "guestfs_get_trace"
6833 msgstr ""
6834
6835 # type: verbatim
6836 #: ../src/guestfs-actions.pod:1697
6837 #, no-wrap
6838 msgid ""
6839 " int guestfs_get_trace (guestfs_h *g);\n"
6840 "\n"
6841 msgstr ""
6842
6843 # type: textblock
6844 #: ../src/guestfs-actions.pod:1699 ../fish/guestfish-actions.pod:1360
6845 msgid "Return the command trace flag."
6846 msgstr ""
6847
6848 # type: =head2
6849 #: ../src/guestfs-actions.pod:1703
6850 msgid "guestfs_get_umask"
6851 msgstr ""
6852
6853 # type: verbatim
6854 #: ../src/guestfs-actions.pod:1705
6855 #, no-wrap
6856 msgid ""
6857 " int guestfs_get_umask (guestfs_h *g);\n"
6858 "\n"
6859 msgstr ""
6860
6861 # type: textblock
6862 #: ../src/guestfs-actions.pod:1707
6863 msgid ""
6864 "Return the current umask.  By default the umask is C<022> unless it has been "
6865 "set by calling C<guestfs_umask>."
6866 msgstr ""
6867
6868 # type: =head2
6869 #: ../src/guestfs-actions.pod:1712
6870 msgid "guestfs_get_verbose"
6871 msgstr ""
6872
6873 # type: verbatim
6874 #: ../src/guestfs-actions.pod:1714
6875 #, no-wrap
6876 msgid ""
6877 " int guestfs_get_verbose (guestfs_h *g);\n"
6878 "\n"
6879 msgstr ""
6880
6881 # type: textblock
6882 #: ../src/guestfs-actions.pod:1716 ../fish/guestfish-actions.pod:1373
6883 msgid "This returns the verbose messages flag."
6884 msgstr ""
6885
6886 # type: =head2
6887 #: ../src/guestfs-actions.pod:1720
6888 msgid "guestfs_getcon"
6889 msgstr ""
6890
6891 # type: verbatim
6892 #: ../src/guestfs-actions.pod:1722
6893 #, no-wrap
6894 msgid ""
6895 " char *guestfs_getcon (guestfs_h *g);\n"
6896 "\n"
6897 msgstr ""
6898
6899 # type: textblock
6900 #: ../src/guestfs-actions.pod:1724 ../fish/guestfish-actions.pod:1379
6901 msgid "This gets the SELinux security context of the daemon."
6902 msgstr ""
6903
6904 # type: textblock
6905 #: ../src/guestfs-actions.pod:1726
6906 msgid ""
6907 "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
6908 msgstr ""
6909
6910 # type: =head2
6911 #: ../src/guestfs-actions.pod:1732
6912 msgid "guestfs_getxattrs"
6913 msgstr ""
6914
6915 # type: verbatim
6916 #: ../src/guestfs-actions.pod:1734
6917 #, no-wrap
6918 msgid ""
6919 " struct guestfs_xattr_list *guestfs_getxattrs (guestfs_h *g,\n"
6920 "\t\tconst char *path);\n"
6921 "\n"
6922 msgstr ""
6923
6924 # type: textblock
6925 #: ../src/guestfs-actions.pod:1737 ../fish/guestfish-actions.pod:1388
6926 msgid ""
6927 "This call lists the extended attributes of the file or directory C<path>."
6928 msgstr ""
6929
6930 # type: textblock
6931 #: ../src/guestfs-actions.pod:1740 ../fish/guestfish-actions.pod:1391
6932 msgid ""
6933 "At the system call level, this is a combination of the L<listxattr(2)> and "
6934 "L<getxattr(2)> calls."
6935 msgstr ""
6936
6937 # type: textblock
6938 #: ../src/guestfs-actions.pod:1743
6939 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
6940 msgstr ""
6941
6942 # type: textblock
6943 #: ../src/guestfs-actions.pod:1745 ../src/guestfs-actions.pod:2479
6944 #: ../src/guestfs-actions.pod:3017
6945 msgid ""
6946 "This function returns a C<struct guestfs_xattr_list *> (see E<lt>guestfs-"
6947 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
6948 "C<guestfs_free_xattr_list> after use>."
6949 msgstr ""
6950
6951 # type: =head2
6952 #: ../src/guestfs-actions.pod:1750
6953 msgid "guestfs_glob_expand"
6954 msgstr ""
6955
6956 # type: verbatim
6957 #: ../src/guestfs-actions.pod:1752
6958 #, no-wrap
6959 msgid ""
6960 " char **guestfs_glob_expand (guestfs_h *g,\n"
6961 "\t\tconst char *pattern);\n"
6962 "\n"
6963 msgstr ""
6964
6965 # type: textblock
6966 #: ../src/guestfs-actions.pod:1755 ../fish/guestfish-actions.pod:1400
6967 msgid ""
6968 "This command searches for all the pathnames matching C<pattern> according to "
6969 "the wildcard expansion rules used by the shell."
6970 msgstr ""
6971
6972 # type: textblock
6973 #: ../src/guestfs-actions.pod:1759 ../fish/guestfish-actions.pod:1404
6974 msgid ""
6975 "If no paths match, then this returns an empty list (note: not an error)."
6976 msgstr ""
6977
6978 # type: textblock
6979 #: ../src/guestfs-actions.pod:1762 ../fish/guestfish-actions.pod:1407
6980 msgid ""
6981 "It is just a wrapper around the C L<glob(3)> function with flags C<GLOB_MARK|"
6982 "GLOB_BRACE>.  See that manual page for more details."
6983 msgstr ""
6984
6985 # type: =head2
6986 #: ../src/guestfs-actions.pod:1770
6987 msgid "guestfs_grep"
6988 msgstr ""
6989
6990 # type: verbatim
6991 #: ../src/guestfs-actions.pod:1772
6992 #, no-wrap
6993 msgid ""
6994 " char **guestfs_grep (guestfs_h *g,\n"
6995 "\t\tconst char *regex,\n"
6996 "\t\tconst char *path);\n"
6997 "\n"
6998 msgstr ""
6999
7000 # type: textblock
7001 #: ../src/guestfs-actions.pod:1776 ../fish/guestfish-actions.pod:1415
7002 msgid "This calls the external C<grep> program and returns the matching lines."
7003 msgstr ""
7004
7005 # type: =head2
7006 #: ../src/guestfs-actions.pod:1786
7007 msgid "guestfs_grepi"
7008 msgstr ""
7009
7010 # type: verbatim
7011 #: ../src/guestfs-actions.pod:1788
7012 #, no-wrap
7013 msgid ""
7014 " char **guestfs_grepi (guestfs_h *g,\n"
7015 "\t\tconst char *regex,\n"
7016 "\t\tconst char *path);\n"
7017 "\n"
7018 msgstr ""
7019
7020 # type: textblock
7021 #: ../src/guestfs-actions.pod:1792 ../fish/guestfish-actions.pod:1425
7022 msgid ""
7023 "This calls the external C<grep -i> program and returns the matching lines."
7024 msgstr ""
7025
7026 # type: =head2
7027 #: ../src/guestfs-actions.pod:1802
7028 msgid "guestfs_grub_install"
7029 msgstr ""
7030
7031 # type: verbatim
7032 #: ../src/guestfs-actions.pod:1804
7033 #, no-wrap
7034 msgid ""
7035 " int guestfs_grub_install (guestfs_h *g,\n"
7036 "\t\tconst char *root,\n"
7037 "\t\tconst char *device);\n"
7038 "\n"
7039 msgstr ""
7040
7041 # type: textblock
7042 #: ../src/guestfs-actions.pod:1808 ../fish/guestfish-actions.pod:1435
7043 msgid ""
7044 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
7045 "the root directory being C<root>."
7046 msgstr ""
7047
7048 # type: textblock
7049 #: ../src/guestfs-actions.pod:1811 ../fish/guestfish-actions.pod:1438
7050 msgid ""
7051 "Note: If grub-install reports the error \"No suitable drive was found in the "
7052 "generated device map.\" it may be that you need to create a C</boot/grub/"
7053 "device.map> file first that contains the mapping between grub device names "
7054 "and Linux device names.  It is usually sufficient to create a file "
7055 "containing:"
7056 msgstr ""
7057
7058 # type: verbatim
7059 #: ../src/guestfs-actions.pod:1818 ../fish/guestfish-actions.pod:1445
7060 #, no-wrap
7061 msgid ""
7062 " (hd0) /dev/vda\n"
7063 "\n"
7064 msgstr ""
7065
7066 # type: textblock
7067 #: ../src/guestfs-actions.pod:1820 ../fish/guestfish-actions.pod:1447
7068 msgid "replacing C</dev/vda> with the name of the installation device."
7069 msgstr ""
7070
7071 # type: =head2
7072 #: ../src/guestfs-actions.pod:1824
7073 msgid "guestfs_head"
7074 msgstr ""
7075
7076 # type: verbatim
7077 #: ../src/guestfs-actions.pod:1826
7078 #, no-wrap
7079 msgid ""
7080 " char **guestfs_head (guestfs_h *g,\n"
7081 "\t\tconst char *path);\n"
7082 "\n"
7083 msgstr ""
7084
7085 # type: textblock
7086 #: ../src/guestfs-actions.pod:1829 ../fish/guestfish-actions.pod:1453
7087 msgid ""
7088 "This command returns up to the first 10 lines of a file as a list of strings."
7089 msgstr ""
7090
7091 # type: =head2
7092 #: ../src/guestfs-actions.pod:1839
7093 msgid "guestfs_head_n"
7094 msgstr ""
7095
7096 # type: verbatim
7097 #: ../src/guestfs-actions.pod:1841
7098 #, no-wrap
7099 msgid ""
7100 " char **guestfs_head_n (guestfs_h *g,\n"
7101 "\t\tint nrlines,\n"
7102 "\t\tconst char *path);\n"
7103 "\n"
7104 msgstr ""
7105
7106 # type: textblock
7107 #: ../src/guestfs-actions.pod:1845 ../fish/guestfish-actions.pod:1463
7108 msgid ""
7109 "If the parameter C<nrlines> is a positive number, this returns the first "
7110 "C<nrlines> lines of the file C<path>."
7111 msgstr ""
7112
7113 # type: textblock
7114 #: ../src/guestfs-actions.pod:1848 ../fish/guestfish-actions.pod:1466
7115 msgid ""
7116 "If the parameter C<nrlines> is a negative number, this returns lines from "
7117 "the file C<path>, excluding the last C<nrlines> lines."
7118 msgstr ""
7119
7120 # type: textblock
7121 #: ../src/guestfs-actions.pod:1851 ../src/guestfs-actions.pod:4919
7122 #: ../fish/guestfish-actions.pod:1469 ../fish/guestfish-actions.pod:3820
7123 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
7124 msgstr ""
7125
7126 # type: =head2
7127 #: ../src/guestfs-actions.pod:1860
7128 msgid "guestfs_hexdump"
7129 msgstr ""
7130
7131 # type: verbatim
7132 #: ../src/guestfs-actions.pod:1862
7133 #, no-wrap
7134 msgid ""
7135 " char *guestfs_hexdump (guestfs_h *g,\n"
7136 "\t\tconst char *path);\n"
7137 "\n"
7138 msgstr ""
7139
7140 # type: textblock
7141 #: ../src/guestfs-actions.pod:1865 ../fish/guestfish-actions.pod:1478
7142 msgid ""
7143 "This runs C<hexdump -C> on the given C<path>.  The result is the human-"
7144 "readable, canonical hex dump of the file."
7145 msgstr ""
7146
7147 # type: =head2
7148 #: ../src/guestfs-actions.pod:1874
7149 msgid "guestfs_initrd_cat"
7150 msgstr ""
7151
7152 # type: verbatim
7153 #: ../src/guestfs-actions.pod:1876
7154 #, no-wrap
7155 msgid ""
7156 " char *guestfs_initrd_cat (guestfs_h *g,\n"
7157 "\t\tconst char *initrdpath,\n"
7158 "\t\tconst char *filename,\n"
7159 "\t\tsize_t *size_r);\n"
7160 "\n"
7161 msgstr ""
7162
7163 # type: textblock
7164 #: ../src/guestfs-actions.pod:1881 ../fish/guestfish-actions.pod:1488
7165 msgid ""
7166 "This command unpacks the file C<filename> from the initrd file called "
7167 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
7168 "character."
7169 msgstr ""
7170
7171 # type: textblock
7172 #: ../src/guestfs-actions.pod:1885 ../fish/guestfish-actions.pod:1492
7173 msgid ""
7174 "For example, in guestfish you could use the following command to examine the "
7175 "boot script (usually called C</init>)  contained in a Linux initrd or "
7176 "initramfs image:"
7177 msgstr ""
7178
7179 # type: verbatim
7180 #: ../src/guestfs-actions.pod:1889 ../fish/guestfish-actions.pod:1496
7181 #, no-wrap
7182 msgid ""
7183 " initrd-cat /boot/initrd-<version>.img init\n"
7184 "\n"
7185 msgstr ""
7186
7187 # type: textblock
7188 #: ../src/guestfs-actions.pod:1891
7189 msgid "See also C<guestfs_initrd_list>."
7190 msgstr ""
7191
7192 # type: textblock
7193 #: ../src/guestfs-actions.pod:1893 ../src/guestfs-actions.pod:3831
7194 #: ../src/guestfs-actions.pod:3854 ../src/guestfs-actions.pod:4006
7195 msgid ""
7196 "This function returns a buffer, or NULL on error.  The size of the returned "
7197 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
7198 "after use>."
7199 msgstr ""
7200
7201 # type: =head2
7202 #: ../src/guestfs-actions.pod:1900
7203 msgid "guestfs_initrd_list"
7204 msgstr ""
7205
7206 # type: verbatim
7207 #: ../src/guestfs-actions.pod:1902
7208 #, no-wrap
7209 msgid ""
7210 " char **guestfs_initrd_list (guestfs_h *g,\n"
7211 "\t\tconst char *path);\n"
7212 "\n"
7213 msgstr ""
7214
7215 # type: textblock
7216 #: ../src/guestfs-actions.pod:1905 ../fish/guestfish-actions.pod:1507
7217 msgid "This command lists out files contained in an initrd."
7218 msgstr ""
7219
7220 # type: textblock
7221 #: ../src/guestfs-actions.pod:1907 ../fish/guestfish-actions.pod:1509
7222 msgid ""
7223 "The files are listed without any initial C</> character.  The files are "
7224 "listed in the order they appear (not necessarily alphabetical).  Directory "
7225 "names are listed as separate items."
7226 msgstr ""
7227
7228 # type: textblock
7229 #: ../src/guestfs-actions.pod:1911 ../fish/guestfish-actions.pod:1513
7230 msgid ""
7231 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
7232 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
7233 "files)."
7234 msgstr ""
7235
7236 # type: =head2
7237 #: ../src/guestfs-actions.pod:1919
7238 msgid "guestfs_inotify_add_watch"
7239 msgstr ""
7240
7241 # type: verbatim
7242 #: ../src/guestfs-actions.pod:1921
7243 #, no-wrap
7244 msgid ""
7245 " int64_t guestfs_inotify_add_watch (guestfs_h *g,\n"
7246 "\t\tconst char *path,\n"
7247 "\t\tint mask);\n"
7248 "\n"
7249 msgstr ""
7250
7251 # type: textblock
7252 #: ../src/guestfs-actions.pod:1925 ../fish/guestfish-actions.pod:1521
7253 msgid "Watch C<path> for the events listed in C<mask>."
7254 msgstr ""
7255
7256 # type: textblock
7257 #: ../src/guestfs-actions.pod:1927 ../fish/guestfish-actions.pod:1523
7258 msgid ""
7259 "Note that if C<path> is a directory then events within that directory are "
7260 "watched, but this does I<not> happen recursively (in subdirectories)."
7261 msgstr ""
7262
7263 # type: textblock
7264 #: ../src/guestfs-actions.pod:1931 ../fish/guestfish-actions.pod:1527
7265 msgid ""
7266 "Note for non-C or non-Linux callers: the inotify events are defined by the "
7267 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
7268 msgstr ""
7269
7270 # type: =head2
7271 #: ../src/guestfs-actions.pod:1937
7272 msgid "guestfs_inotify_close"
7273 msgstr ""
7274
7275 # type: verbatim
7276 #: ../src/guestfs-actions.pod:1939
7277 #, no-wrap
7278 msgid ""
7279 " int guestfs_inotify_close (guestfs_h *g);\n"
7280 "\n"
7281 msgstr ""
7282
7283 # type: textblock
7284 #: ../src/guestfs-actions.pod:1941 ../fish/guestfish-actions.pod:1535
7285 msgid ""
7286 "This closes the inotify handle which was previously opened by inotify_init.  "
7287 "It removes all watches, throws away any pending events, and deallocates all "
7288 "resources."
7289 msgstr ""
7290
7291 # type: =head2
7292 #: ../src/guestfs-actions.pod:1947
7293 msgid "guestfs_inotify_files"
7294 msgstr ""
7295
7296 # type: verbatim
7297 #: ../src/guestfs-actions.pod:1949
7298 #, no-wrap
7299 msgid ""
7300 " char **guestfs_inotify_files (guestfs_h *g);\n"
7301 "\n"
7302 msgstr ""
7303
7304 # type: textblock
7305 #: ../src/guestfs-actions.pod:1951
7306 msgid ""
7307 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
7308 "returns a list of pathnames of objects that were touched.  The returned "
7309 "pathnames are sorted and deduplicated."
7310 msgstr ""
7311
7312 # type: =head2
7313 #: ../src/guestfs-actions.pod:1959
7314 msgid "guestfs_inotify_init"
7315 msgstr ""
7316
7317 # type: verbatim
7318 #: ../src/guestfs-actions.pod:1961
7319 #, no-wrap
7320 msgid ""
7321 " int guestfs_inotify_init (guestfs_h *g,\n"
7322 "\t\tint maxevents);\n"
7323 "\n"
7324 msgstr ""
7325
7326 # type: textblock
7327 #: ../src/guestfs-actions.pod:1964 ../fish/guestfish-actions.pod:1551
7328 msgid ""
7329 "This command creates a new inotify handle.  The inotify subsystem can be "
7330 "used to notify events which happen to objects in the guest filesystem."
7331 msgstr ""
7332
7333 # type: textblock
7334 #: ../src/guestfs-actions.pod:1968
7335 msgid ""
7336 "C<maxevents> is the maximum number of events which will be queued up between "
7337 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
7338 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
7339 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
7340 "throws away events, but records the fact that it threw them away by setting "
7341 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
7342 "C<guestfs_inotify_read>)."
7343 msgstr ""
7344
7345 # type: textblock
7346 #: ../src/guestfs-actions.pod:1978
7347 msgid ""
7348 "Before any events are generated, you have to add some watches to the "
7349 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
7350 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
7351 msgstr ""
7352
7353 # type: textblock
7354 #: ../src/guestfs-actions.pod:1984
7355 msgid ""
7356 "Queued up events should be read periodically by calling "
7357 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
7358 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
7359 "often enough then you risk the internal queue overflowing."
7360 msgstr ""
7361
7362 # type: textblock
7363 #: ../src/guestfs-actions.pod:1991
7364 msgid ""
7365 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
7366 "This also removes any watches automatically."
7367 msgstr ""
7368
7369 # type: textblock
7370 #: ../src/guestfs-actions.pod:1995 ../fish/guestfish-actions.pod:1582
7371 msgid ""
7372 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
7373 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
7374 "that there is one global inotify handle per libguestfs instance."
7375 msgstr ""
7376
7377 # type: =head2
7378 #: ../src/guestfs-actions.pod:2002
7379 msgid "guestfs_inotify_read"
7380 msgstr ""
7381
7382 # type: verbatim
7383 #: ../src/guestfs-actions.pod:2004
7384 #, no-wrap
7385 msgid ""
7386 " struct guestfs_inotify_event_list *guestfs_inotify_read (guestfs_h *g);\n"
7387 "\n"
7388 msgstr ""
7389
7390 # type: textblock
7391 #: ../src/guestfs-actions.pod:2006 ../fish/guestfish-actions.pod:1591
7392 msgid ""
7393 "Return the complete queue of events that have happened since the previous "
7394 "read call."
7395 msgstr ""
7396
7397 # type: textblock
7398 #: ../src/guestfs-actions.pod:2009 ../fish/guestfish-actions.pod:1594
7399 msgid "If no events have happened, this returns an empty list."
7400 msgstr ""
7401
7402 # type: textblock
7403 #: ../src/guestfs-actions.pod:2011 ../fish/guestfish-actions.pod:1596
7404 msgid ""
7405 "I<Note>: In order to make sure that all events have been read, you must call "
7406 "this function repeatedly until it returns an empty list.  The reason is that "
7407 "the call will read events up to the maximum appliance-to-host message size "
7408 "and leave remaining events in the queue."
7409 msgstr ""
7410
7411 # type: textblock
7412 #: ../src/guestfs-actions.pod:2017
7413 msgid ""
7414 "This function returns a C<struct guestfs_inotify_event_list *> (see "
7415 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7416 "must call C<guestfs_free_inotify_event_list> after use>."
7417 msgstr ""
7418
7419 # type: =head2
7420 #: ../src/guestfs-actions.pod:2022
7421 msgid "guestfs_inotify_rm_watch"
7422 msgstr ""
7423
7424 # type: verbatim
7425 #: ../src/guestfs-actions.pod:2024
7426 #, no-wrap
7427 msgid ""
7428 " int guestfs_inotify_rm_watch (guestfs_h *g,\n"
7429 "\t\tint wd);\n"
7430 "\n"
7431 msgstr ""
7432
7433 # type: textblock
7434 #: ../src/guestfs-actions.pod:2027
7435 msgid ""
7436 "Remove a previously defined inotify watch.  See C<guestfs_inotify_add_watch>."
7437 msgstr ""
7438
7439 # type: =head2
7440 #: ../src/guestfs-actions.pod:2032
7441 msgid "guestfs_inspect_get_arch"
7442 msgstr ""
7443
7444 # type: verbatim
7445 #: ../src/guestfs-actions.pod:2034
7446 #, no-wrap
7447 msgid ""
7448 " char *guestfs_inspect_get_arch (guestfs_h *g,\n"
7449 "\t\tconst char *root);\n"
7450 "\n"
7451 msgstr ""
7452
7453 # type: textblock
7454 #: ../src/guestfs-actions.pod:2037 ../src/guestfs-actions.pod:2057
7455 #: ../src/guestfs-actions.pod:2107 ../src/guestfs-actions.pod:2130
7456 #: ../src/guestfs-actions.pod:2154 ../src/guestfs-actions.pod:2172
7457 #: ../src/guestfs-actions.pod:2202 ../src/guestfs-actions.pod:2223
7458 msgid ""
7459 "This function should only be called with a root device string as returned by "
7460 "C<guestfs_inspect_os>."
7461 msgstr ""
7462
7463 # type: textblock
7464 #: ../src/guestfs-actions.pod:2040
7465 msgid ""
7466 "This returns the architecture of the inspected operating system.  The "
7467 "possible return values are listed under C<guestfs_file_architecture>."
7468 msgstr ""
7469
7470 # type: textblock
7471 #: ../src/guestfs-actions.pod:2044 ../fish/guestfish-actions.pod:1620
7472 msgid ""
7473 "If the architecture could not be determined, then the string C<unknown> is "
7474 "returned."
7475 msgstr ""
7476
7477 # type: textblock
7478 #: ../src/guestfs-actions.pod:2047 ../src/guestfs-actions.pod:2097
7479 #: ../src/guestfs-actions.pod:2145 ../src/guestfs-actions.pod:2213
7480 #: ../src/guestfs-actions.pod:2248 ../src/guestfs-actions.pod:2285
7481 #: ../fish/guestfish-actions.pod:1623 ../fish/guestfish-actions.pod:1669
7482 #: ../fish/guestfish-actions.pod:1708 ../fish/guestfish-actions.pod:1763
7483 #: ../fish/guestfish-actions.pod:1794 ../fish/guestfish-actions.pod:1828
7484 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
7485 msgstr ""
7486
7487 # type: =head2
7488 #: ../src/guestfs-actions.pod:2052
7489 msgid "guestfs_inspect_get_distro"
7490 msgstr ""
7491
7492 # type: verbatim
7493 #: ../src/guestfs-actions.pod:2054
7494 #, no-wrap
7495 msgid ""
7496 " char *guestfs_inspect_get_distro (guestfs_h *g,\n"
7497 "\t\tconst char *root);\n"
7498 "\n"
7499 msgstr ""
7500
7501 # type: textblock
7502 #: ../src/guestfs-actions.pod:2060 ../fish/guestfish-actions.pod:1632
7503 msgid ""
7504 "This returns the distro (distribution) of the inspected operating system."
7505 msgstr ""
7506
7507 # type: textblock
7508 #: ../src/guestfs-actions.pod:2063 ../fish/guestfish-actions.pod:1635
7509 msgid "Currently defined distros are:"
7510 msgstr ""
7511
7512 # type: =item
7513 #: ../src/guestfs-actions.pod:2067 ../fish/guestfish-actions.pod:1639
7514 msgid "\"debian\""
7515 msgstr ""
7516
7517 # type: textblock
7518 #: ../src/guestfs-actions.pod:2069 ../fish/guestfish-actions.pod:1641
7519 msgid "Debian or a Debian-derived distro such as Ubuntu."
7520 msgstr ""
7521
7522 # type: =item
7523 #: ../src/guestfs-actions.pod:2071 ../fish/guestfish-actions.pod:1643
7524 msgid "\"fedora\""
7525 msgstr ""
7526
7527 # type: textblock
7528 #: ../src/guestfs-actions.pod:2073 ../fish/guestfish-actions.pod:1645
7529 msgid "Fedora."
7530 msgstr ""
7531
7532 # type: =item
7533 #: ../src/guestfs-actions.pod:2075 ../fish/guestfish-actions.pod:1647
7534 msgid "\"redhat-based\""
7535 msgstr ""
7536
7537 # type: textblock
7538 #: ../src/guestfs-actions.pod:2077 ../fish/guestfish-actions.pod:1649
7539 msgid "Some Red Hat-derived distro."
7540 msgstr ""
7541
7542 # type: =item
7543 #: ../src/guestfs-actions.pod:2079 ../fish/guestfish-actions.pod:1651
7544 msgid "\"rhel\""
7545 msgstr ""
7546
7547 # type: textblock
7548 #: ../src/guestfs-actions.pod:2081 ../fish/guestfish-actions.pod:1653
7549 msgid "Red Hat Enterprise Linux and some derivatives."
7550 msgstr ""
7551
7552 # type: =item
7553 #: ../src/guestfs-actions.pod:2083 ../src/guestfs-actions.pod:2235
7554 #: ../fish/guestfish-actions.pod:1655 ../fish/guestfish-actions.pod:1781
7555 msgid "\"windows\""
7556 msgstr ""
7557
7558 # type: textblock
7559 #: ../src/guestfs-actions.pod:2085 ../fish/guestfish-actions.pod:1657
7560 msgid ""
7561 "Windows does not have distributions.  This string is returned if the OS type "
7562 "is Windows."
7563 msgstr ""
7564
7565 # type: =item
7566 #: ../src/guestfs-actions.pod:2088 ../src/guestfs-actions.pod:2239
7567 #: ../fish/guestfish-actions.pod:1660 ../fish/guestfish-actions.pod:1785
7568 msgid "\"unknown\""
7569 msgstr ""
7570
7571 # type: textblock
7572 #: ../src/guestfs-actions.pod:2090 ../fish/guestfish-actions.pod:1662
7573 msgid "The distro could not be determined."
7574 msgstr ""
7575
7576 # type: textblock
7577 #: ../src/guestfs-actions.pod:2094 ../src/guestfs-actions.pod:2245
7578 #: ../fish/guestfish-actions.pod:1666 ../fish/guestfish-actions.pod:1791
7579 msgid ""
7580 "Future versions of libguestfs may return other strings here.  The caller "
7581 "should be prepared to handle any string."
7582 msgstr ""
7583
7584 # type: =head2
7585 #: ../src/guestfs-actions.pod:2102
7586 msgid "guestfs_inspect_get_filesystems"
7587 msgstr ""
7588
7589 # type: verbatim
7590 #: ../src/guestfs-actions.pod:2104
7591 #, no-wrap
7592 msgid ""
7593 " char **guestfs_inspect_get_filesystems (guestfs_h *g,\n"
7594 "\t\tconst char *root);\n"
7595 "\n"
7596 msgstr ""
7597
7598 # type: textblock
7599 #: ../src/guestfs-actions.pod:2110 ../fish/guestfish-actions.pod:1678
7600 msgid ""
7601 "This returns a list of all the filesystems that we think are associated with "
7602 "this operating system.  This includes the root filesystem, other ordinary "
7603 "filesystems, and non-mounted devices like swap partitions."
7604 msgstr ""
7605
7606 # type: textblock
7607 #: ../src/guestfs-actions.pod:2115 ../fish/guestfish-actions.pod:1683
7608 msgid ""
7609 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
7610 "to be shared between operating systems."
7611 msgstr ""
7612
7613 # type: textblock
7614 #: ../src/guestfs-actions.pod:2118
7615 msgid ""
7616 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7617 "C<guestfs_inspect_get_mountpoints>."
7618 msgstr ""
7619
7620 # type: =head2
7621 #: ../src/guestfs-actions.pod:2125
7622 msgid "guestfs_inspect_get_major_version"
7623 msgstr ""
7624
7625 # type: verbatim
7626 #: ../src/guestfs-actions.pod:2127
7627 #, no-wrap
7628 msgid ""
7629 " int guestfs_inspect_get_major_version (guestfs_h *g,\n"
7630 "\t\tconst char *root);\n"
7631 "\n"
7632 msgstr ""
7633
7634 # type: textblock
7635 #: ../src/guestfs-actions.pod:2133 ../fish/guestfish-actions.pod:1696
7636 msgid ""
7637 "This returns the major version number of the inspected operating system."
7638 msgstr ""
7639
7640 # type: textblock
7641 #: ../src/guestfs-actions.pod:2136 ../fish/guestfish-actions.pod:1699
7642 msgid ""
7643 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
7644 "popular public names used by the operating system.  Notably the operating "
7645 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
7646 "1).  You can find out the real versions corresponding to releases of Windows "
7647 "by consulting Wikipedia or MSDN."
7648 msgstr ""
7649
7650 # type: textblock
7651 #: ../src/guestfs-actions.pod:2143 ../src/guestfs-actions.pod:2160
7652 #: ../fish/guestfish-actions.pod:1706 ../fish/guestfish-actions.pod:1720
7653 msgid "If the version could not be determined, then C<0> is returned."
7654 msgstr ""
7655
7656 # type: =head2
7657 #: ../src/guestfs-actions.pod:2149
7658 msgid "guestfs_inspect_get_minor_version"
7659 msgstr ""
7660
7661 # type: verbatim
7662 #: ../src/guestfs-actions.pod:2151
7663 #, no-wrap
7664 msgid ""
7665 " int guestfs_inspect_get_minor_version (guestfs_h *g,\n"
7666 "\t\tconst char *root);\n"
7667 "\n"
7668 msgstr ""
7669
7670 # type: textblock
7671 #: ../src/guestfs-actions.pod:2157 ../fish/guestfish-actions.pod:1717
7672 msgid ""
7673 "This returns the minor version number of the inspected operating system."
7674 msgstr ""
7675
7676 # type: textblock
7677 #: ../src/guestfs-actions.pod:2162
7678 msgid ""
7679 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7680 "C<guestfs_inspect_get_major_version>."
7681 msgstr ""
7682
7683 # type: =head2
7684 #: ../src/guestfs-actions.pod:2167
7685 msgid "guestfs_inspect_get_mountpoints"
7686 msgstr ""
7687
7688 # type: verbatim
7689 #: ../src/guestfs-actions.pod:2169
7690 #, no-wrap
7691 msgid ""
7692 " char **guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
7693 "\t\tconst char *root);\n"
7694 "\n"
7695 msgstr ""
7696
7697 # type: textblock
7698 #: ../src/guestfs-actions.pod:2175 ../fish/guestfish-actions.pod:1732
7699 msgid ""
7700 "This returns a hash of where we think the filesystems associated with this "
7701 "operating system should be mounted.  Callers should note that this is at "
7702 "best an educated guess made by reading configuration files such as C</etc/"
7703 "fstab>."
7704 msgstr ""
7705
7706 # type: textblock
7707 #: ../src/guestfs-actions.pod:2180 ../fish/guestfish-actions.pod:1737
7708 msgid ""
7709 "Each element in the returned hashtable has a key which is the path of the "
7710 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
7711 "mounted there (eg. C</dev/sda1>)."
7712 msgstr ""
7713
7714 # type: textblock
7715 #: ../src/guestfs-actions.pod:2185 ../fish/guestfish-actions.pod:1742
7716 msgid ""
7717 "Non-mounted devices such as swap devices are I<not> returned in this list."
7718 msgstr ""
7719
7720 # type: textblock
7721 #: ../src/guestfs-actions.pod:2188
7722 msgid ""
7723 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7724 "C<guestfs_inspect_get_filesystems>."
7725 msgstr ""
7726
7727 # type: textblock
7728 #: ../src/guestfs-actions.pod:2191 ../src/guestfs-actions.pod:2531
7729 #: ../src/guestfs-actions.pod:3453 ../src/guestfs-actions.pod:5036
7730 msgid ""
7731 "This function returns a NULL-terminated array of strings, or NULL if there "
7732 "was an error.  The array of strings will always have length C<2n+1>, where "
7733 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
7734 "caller must free the strings and the array after use>."
7735 msgstr ""
7736
7737 # type: =head2
7738 #: ../src/guestfs-actions.pod:2197
7739 msgid "guestfs_inspect_get_product_name"
7740 msgstr ""
7741
7742 # type: verbatim
7743 #: ../src/guestfs-actions.pod:2199
7744 #, no-wrap
7745 msgid ""
7746 " char *guestfs_inspect_get_product_name (guestfs_h *g,\n"
7747 "\t\tconst char *root);\n"
7748 "\n"
7749 msgstr ""
7750
7751 # type: textblock
7752 #: ../src/guestfs-actions.pod:2205 ../fish/guestfish-actions.pod:1755
7753 msgid ""
7754 "This returns the product name of the inspected operating system.  The "
7755 "product name is generally some freeform string which can be displayed to the "
7756 "user, but should not be parsed by programs."
7757 msgstr ""
7758
7759 # type: textblock
7760 #: ../src/guestfs-actions.pod:2210 ../fish/guestfish-actions.pod:1760
7761 msgid ""
7762 "If the product name could not be determined, then the string C<unknown> is "
7763 "returned."
7764 msgstr ""
7765
7766 # type: =head2
7767 #: ../src/guestfs-actions.pod:2218
7768 msgid "guestfs_inspect_get_type"
7769 msgstr ""
7770
7771 # type: verbatim
7772 #: ../src/guestfs-actions.pod:2220
7773 #, no-wrap
7774 msgid ""
7775 " char *guestfs_inspect_get_type (guestfs_h *g,\n"
7776 "\t\tconst char *root);\n"
7777 "\n"
7778 msgstr ""
7779
7780 # type: textblock
7781 #: ../src/guestfs-actions.pod:2226 ../fish/guestfish-actions.pod:1772
7782 msgid ""
7783 "This returns the type of the inspected operating system.  Currently defined "
7784 "types are:"
7785 msgstr ""
7786
7787 # type: =item
7788 #: ../src/guestfs-actions.pod:2231 ../fish/guestfish-actions.pod:1777
7789 msgid "\"linux\""
7790 msgstr ""
7791
7792 # type: textblock
7793 #: ../src/guestfs-actions.pod:2233 ../fish/guestfish-actions.pod:1779
7794 msgid "Any Linux-based operating system."
7795 msgstr ""
7796
7797 # type: textblock
7798 #: ../src/guestfs-actions.pod:2237 ../fish/guestfish-actions.pod:1783
7799 msgid "Any Microsoft Windows operating system."
7800 msgstr ""
7801
7802 # type: textblock
7803 #: ../src/guestfs-actions.pod:2241 ../fish/guestfish-actions.pod:1787
7804 msgid "The operating system type could not be determined."
7805 msgstr ""
7806
7807 # type: =head2
7808 #: ../src/guestfs-actions.pod:2253
7809 msgid "guestfs_inspect_os"
7810 msgstr ""
7811
7812 # type: verbatim
7813 #: ../src/guestfs-actions.pod:2255
7814 #, no-wrap
7815 msgid ""
7816 " char **guestfs_inspect_os (guestfs_h *g);\n"
7817 "\n"
7818 msgstr ""
7819
7820 # type: textblock
7821 #: ../src/guestfs-actions.pod:2257 ../fish/guestfish-actions.pod:1800
7822 msgid ""
7823 "This function uses other libguestfs functions and certain heuristics to "
7824 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
7825 "for operating systems."
7826 msgstr ""
7827
7828 # type: textblock
7829 #: ../src/guestfs-actions.pod:2261 ../fish/guestfish-actions.pod:1804
7830 msgid "The list returned is empty if no operating systems were found."
7831 msgstr ""
7832
7833 # type: textblock
7834 #: ../src/guestfs-actions.pod:2263 ../fish/guestfish-actions.pod:1806
7835 msgid ""
7836 "If one operating system was found, then this returns a list with a single "
7837 "element, which is the name of the root filesystem of this operating system.  "
7838 "It is also possible for this function to return a list containing more than "
7839 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
7840 "element being the root filesystem of one of the operating systems."
7841 msgstr ""
7842
7843 # type: textblock
7844 #: ../src/guestfs-actions.pod:2270
7845 msgid ""
7846 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
7847 "functions in order to query further information about each operating system, "
7848 "such as the name and version."
7849 msgstr ""
7850
7851 # type: textblock
7852 #: ../src/guestfs-actions.pod:2275
7853 msgid ""
7854 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
7855 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
7856 "the contents.  This should be called with no disks currently mounted.  The "
7857 "function may also use Augeas, so any existing Augeas handle will be closed."
7858 msgstr ""
7859
7860 # type: textblock
7861 #: ../src/guestfs-actions.pod:2281 ../fish/guestfish-actions.pod:1824
7862 msgid ""
7863 "This function cannot decrypt encrypted disks.  The caller must do that first "
7864 "(supplying the necessary keys) if the disk is encrypted."
7865 msgstr ""
7866
7867 # type: textblock
7868 #: ../src/guestfs-actions.pod:2287 ../src/guestfs-actions.pod:2492
7869 #: ../src/guestfs-actions.pod:2548
7870 msgid "See also C<guestfs_list_filesystems>."
7871 msgstr ""
7872
7873 # type: =head2
7874 #: ../src/guestfs-actions.pod:2293
7875 msgid "guestfs_is_blockdev"
7876 msgstr ""
7877
7878 # type: verbatim
7879 #: ../src/guestfs-actions.pod:2295
7880 #, no-wrap
7881 msgid ""
7882 " int guestfs_is_blockdev (guestfs_h *g,\n"
7883 "\t\tconst char *path);\n"
7884 "\n"
7885 msgstr ""
7886
7887 # type: textblock
7888 #: ../src/guestfs-actions.pod:2298 ../fish/guestfish-actions.pod:1836
7889 msgid ""
7890 "This returns C<true> if and only if there is a block device with the given "
7891 "C<path> name."
7892 msgstr ""
7893
7894 # type: textblock
7895 #: ../src/guestfs-actions.pod:2301 ../src/guestfs-actions.pod:2324
7896 #: ../src/guestfs-actions.pod:2348 ../src/guestfs-actions.pod:2360
7897 #: ../src/guestfs-actions.pod:2373 ../src/guestfs-actions.pod:2417
7898 #: ../src/guestfs-actions.pod:2429
7899 msgid "See also C<guestfs_stat>."
7900 msgstr ""
7901
7902 # type: =head2
7903 #: ../src/guestfs-actions.pod:2305
7904 msgid "guestfs_is_busy"
7905 msgstr ""
7906
7907 # type: verbatim
7908 #: ../src/guestfs-actions.pod:2307
7909 #, no-wrap
7910 msgid ""
7911 " int guestfs_is_busy (guestfs_h *g);\n"
7912 "\n"
7913 msgstr ""
7914
7915 # type: textblock
7916 #: ../src/guestfs-actions.pod:2309 ../fish/guestfish-actions.pod:1845
7917 msgid ""
7918 "This returns true iff this handle is busy processing a command (in the "
7919 "C<BUSY> state)."
7920 msgstr ""
7921
7922 # type: =head2
7923 #: ../src/guestfs-actions.pod:2316
7924 msgid "guestfs_is_chardev"
7925 msgstr ""
7926
7927 # type: verbatim
7928 #: ../src/guestfs-actions.pod:2318
7929 #, no-wrap
7930 msgid ""
7931 " int guestfs_is_chardev (guestfs_h *g,\n"
7932 "\t\tconst char *path);\n"
7933 "\n"
7934 msgstr ""
7935
7936 # type: textblock
7937 #: ../src/guestfs-actions.pod:2321 ../fish/guestfish-actions.pod:1854
7938 msgid ""
7939 "This returns C<true> if and only if there is a character device with the "
7940 "given C<path> name."
7941 msgstr ""
7942
7943 # type: =head2
7944 #: ../src/guestfs-actions.pod:2328
7945 msgid "guestfs_is_config"
7946 msgstr ""
7947
7948 # type: verbatim
7949 #: ../src/guestfs-actions.pod:2330
7950 #, no-wrap
7951 msgid ""
7952 " int guestfs_is_config (guestfs_h *g);\n"
7953 "\n"
7954 msgstr ""
7955
7956 # type: textblock
7957 #: ../src/guestfs-actions.pod:2332 ../fish/guestfish-actions.pod:1863
7958 msgid ""
7959 "This returns true iff this handle is being configured (in the C<CONFIG> "
7960 "state)."
7961 msgstr ""
7962
7963 # type: =head2
7964 #: ../src/guestfs-actions.pod:2339
7965 msgid "guestfs_is_dir"
7966 msgstr ""
7967
7968 # type: verbatim
7969 #: ../src/guestfs-actions.pod:2341
7970 #, no-wrap
7971 msgid ""
7972 " int guestfs_is_dir (guestfs_h *g,\n"
7973 "\t\tconst char *path);\n"
7974 "\n"
7975 msgstr ""
7976
7977 # type: textblock
7978 #: ../src/guestfs-actions.pod:2344 ../fish/guestfish-actions.pod:1872
7979 msgid ""
7980 "This returns C<true> if and only if there is a directory with the given "
7981 "C<path> name.  Note that it returns false for other objects like files."
7982 msgstr ""
7983
7984 # type: =head2
7985 #: ../src/guestfs-actions.pod:2352
7986 msgid "guestfs_is_fifo"
7987 msgstr ""
7988
7989 # type: verbatim
7990 #: ../src/guestfs-actions.pod:2354
7991 #, no-wrap
7992 msgid ""
7993 " int guestfs_is_fifo (guestfs_h *g,\n"
7994 "\t\tconst char *path);\n"
7995 "\n"
7996 msgstr ""
7997
7998 # type: textblock
7999 #: ../src/guestfs-actions.pod:2357 ../fish/guestfish-actions.pod:1882
8000 msgid ""
8001 "This returns C<true> if and only if there is a FIFO (named pipe)  with the "
8002 "given C<path> name."
8003 msgstr ""
8004
8005 # type: =head2
8006 #: ../src/guestfs-actions.pod:2364
8007 msgid "guestfs_is_file"
8008 msgstr ""
8009
8010 # type: verbatim
8011 #: ../src/guestfs-actions.pod:2366
8012 #, no-wrap
8013 msgid ""
8014 " int guestfs_is_file (guestfs_h *g,\n"
8015 "\t\tconst char *path);\n"
8016 "\n"
8017 msgstr ""
8018
8019 # type: textblock
8020 #: ../src/guestfs-actions.pod:2369 ../fish/guestfish-actions.pod:1891
8021 msgid ""
8022 "This returns C<true> if and only if there is a regular file with the given "
8023 "C<path> name.  Note that it returns false for other objects like directories."
8024 msgstr ""
8025
8026 # type: =head2
8027 #: ../src/guestfs-actions.pod:2377
8028 msgid "guestfs_is_launching"
8029 msgstr ""
8030
8031 # type: verbatim
8032 #: ../src/guestfs-actions.pod:2379
8033 #, no-wrap
8034 msgid ""
8035 " int guestfs_is_launching (guestfs_h *g);\n"
8036 "\n"
8037 msgstr ""
8038
8039 # type: textblock
8040 #: ../src/guestfs-actions.pod:2381 ../fish/guestfish-actions.pod:1901
8041 msgid ""
8042 "This returns true iff this handle is launching the subprocess (in the "
8043 "C<LAUNCHING> state)."
8044 msgstr ""
8045
8046 # type: =head2
8047 #: ../src/guestfs-actions.pod:2388
8048 msgid "guestfs_is_lv"
8049 msgstr ""
8050
8051 # type: verbatim
8052 #: ../src/guestfs-actions.pod:2390
8053 #, no-wrap
8054 msgid ""
8055 " int guestfs_is_lv (guestfs_h *g,\n"
8056 "\t\tconst char *device);\n"
8057 "\n"
8058 msgstr ""
8059
8060 # type: textblock
8061 #: ../src/guestfs-actions.pod:2393 ../fish/guestfish-actions.pod:1910
8062 msgid ""
8063 "This command tests whether C<device> is a logical volume, and returns true "
8064 "iff this is the case."
8065 msgstr ""
8066
8067 # type: =head2
8068 #: ../src/guestfs-actions.pod:2398
8069 msgid "guestfs_is_ready"
8070 msgstr ""
8071
8072 # type: verbatim
8073 #: ../src/guestfs-actions.pod:2400
8074 #, no-wrap
8075 msgid ""
8076 " int guestfs_is_ready (guestfs_h *g);\n"
8077 "\n"
8078 msgstr ""
8079
8080 # type: textblock
8081 #: ../src/guestfs-actions.pod:2402 ../fish/guestfish-actions.pod:1917
8082 msgid ""
8083 "This returns true iff this handle is ready to accept commands (in the "
8084 "C<READY> state)."
8085 msgstr ""
8086
8087 # type: =head2
8088 #: ../src/guestfs-actions.pod:2409
8089 msgid "guestfs_is_socket"
8090 msgstr ""
8091
8092 # type: verbatim
8093 #: ../src/guestfs-actions.pod:2411
8094 #, no-wrap
8095 msgid ""
8096 " int guestfs_is_socket (guestfs_h *g,\n"
8097 "\t\tconst char *path);\n"
8098 "\n"
8099 msgstr ""
8100
8101 # type: textblock
8102 #: ../src/guestfs-actions.pod:2414 ../fish/guestfish-actions.pod:1926
8103 msgid ""
8104 "This returns C<true> if and only if there is a Unix domain socket with the "
8105 "given C<path> name."
8106 msgstr ""
8107
8108 # type: =head2
8109 #: ../src/guestfs-actions.pod:2421
8110 msgid "guestfs_is_symlink"
8111 msgstr ""
8112
8113 # type: verbatim
8114 #: ../src/guestfs-actions.pod:2423
8115 #, no-wrap
8116 msgid ""
8117 " int guestfs_is_symlink (guestfs_h *g,\n"
8118 "\t\tconst char *path);\n"
8119 "\n"
8120 msgstr ""
8121
8122 # type: textblock
8123 #: ../src/guestfs-actions.pod:2426 ../fish/guestfish-actions.pod:1935
8124 msgid ""
8125 "This returns C<true> if and only if there is a symbolic link with the given "
8126 "C<path> name."
8127 msgstr ""
8128
8129 # type: =head2
8130 #: ../src/guestfs-actions.pod:2433
8131 msgid "guestfs_kill_subprocess"
8132 msgstr ""
8133
8134 # type: verbatim
8135 #: ../src/guestfs-actions.pod:2435
8136 #, no-wrap
8137 msgid ""
8138 " int guestfs_kill_subprocess (guestfs_h *g);\n"
8139 "\n"
8140 msgstr ""
8141
8142 # type: textblock
8143 #: ../src/guestfs-actions.pod:2437 ../fish/guestfish-actions.pod:1944
8144 msgid "This kills the qemu subprocess.  You should never need to call this."
8145 msgstr ""
8146
8147 # type: =head2
8148 #: ../src/guestfs-actions.pod:2441
8149 msgid "guestfs_launch"
8150 msgstr ""
8151
8152 # type: verbatim
8153 #: ../src/guestfs-actions.pod:2443
8154 #, no-wrap
8155 msgid ""
8156 " int guestfs_launch (guestfs_h *g);\n"
8157 "\n"
8158 msgstr ""
8159
8160 # type: textblock
8161 #: ../src/guestfs-actions.pod:2445 ../fish/guestfish-actions.pod:1952
8162 msgid ""
8163 "Internally libguestfs is implemented by running a virtual machine using "
8164 "L<qemu(1)>."
8165 msgstr ""
8166
8167 # type: textblock
8168 #: ../src/guestfs-actions.pod:2448 ../fish/guestfish-actions.pod:1955
8169 msgid ""
8170 "You should call this after configuring the handle (eg. adding drives) but "
8171 "before performing any actions."
8172 msgstr ""
8173
8174 # type: =head2
8175 #: ../src/guestfs-actions.pod:2453
8176 msgid "guestfs_lchown"
8177 msgstr ""
8178
8179 # type: verbatim
8180 #: ../src/guestfs-actions.pod:2455
8181 #, no-wrap
8182 msgid ""
8183 " int guestfs_lchown (guestfs_h *g,\n"
8184 "\t\tint owner,\n"
8185 "\t\tint group,\n"
8186 "\t\tconst char *path);\n"
8187 "\n"
8188 msgstr ""
8189
8190 # type: textblock
8191 #: ../src/guestfs-actions.pod:2460
8192 msgid ""
8193 "Change the file owner to C<owner> and group to C<group>.  This is like "
8194 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
8195 "changed, not the target."
8196 msgstr ""
8197
8198 # type: =head2
8199 #: ../src/guestfs-actions.pod:2470
8200 msgid "guestfs_lgetxattrs"
8201 msgstr ""
8202
8203 # type: verbatim
8204 #: ../src/guestfs-actions.pod:2472
8205 #, no-wrap
8206 msgid ""
8207 " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n"
8208 "\t\tconst char *path);\n"
8209 "\n"
8210 msgstr ""
8211
8212 # type: textblock
8213 #: ../src/guestfs-actions.pod:2475
8214 msgid ""
8215 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
8216 "then it returns the extended attributes of the link itself."
8217 msgstr ""
8218
8219 # type: =head2
8220 #: ../src/guestfs-actions.pod:2484
8221 msgid "guestfs_list_devices"
8222 msgstr ""
8223
8224 # type: verbatim
8225 #: ../src/guestfs-actions.pod:2486
8226 #, no-wrap
8227 msgid ""
8228 " char **guestfs_list_devices (guestfs_h *g);\n"
8229 "\n"
8230 msgstr ""
8231
8232 # type: textblock
8233 #: ../src/guestfs-actions.pod:2488 ../fish/guestfish-actions.pod:1982
8234 msgid "List all the block devices."
8235 msgstr ""
8236
8237 # type: textblock
8238 #: ../src/guestfs-actions.pod:2490 ../fish/guestfish-actions.pod:1984
8239 msgid "The full block device names are returned, eg. C</dev/sda>."
8240 msgstr ""
8241
8242 # type: =head2
8243 #: ../src/guestfs-actions.pod:2498
8244 msgid "guestfs_list_filesystems"
8245 msgstr ""
8246
8247 # type: verbatim
8248 #: ../src/guestfs-actions.pod:2500
8249 #, no-wrap
8250 msgid ""
8251 " char **guestfs_list_filesystems (guestfs_h *g);\n"
8252 "\n"
8253 msgstr ""
8254
8255 # type: textblock
8256 #: ../src/guestfs-actions.pod:2502 ../fish/guestfish-actions.pod:1992
8257 msgid ""
8258 "This inspection command looks for filesystems on partitions, block devices "
8259 "and logical volumes, returning a list of devices containing filesystems and "
8260 "their type."
8261 msgstr ""
8262
8263 # type: textblock
8264 #: ../src/guestfs-actions.pod:2506 ../fish/guestfish-actions.pod:1996
8265 msgid ""
8266 "The return value is a hash, where the keys are the devices containing "
8267 "filesystems, and the values are the filesystem types.  For example:"
8268 msgstr ""
8269
8270 # type: verbatim
8271 #: ../src/guestfs-actions.pod:2510 ../fish/guestfish-actions.pod:2000
8272 #, no-wrap
8273 msgid ""
8274 " \"/dev/sda1\" => \"ntfs\"\n"
8275 " \"/dev/sda2\" => \"ext2\"\n"
8276 " \"/dev/vg_guest/lv_root\" => \"ext4\"\n"
8277 " \"/dev/vg_guest/lv_swap\" => \"swap\"\n"
8278 "\n"
8279 msgstr ""
8280
8281 # type: textblock
8282 #: ../src/guestfs-actions.pod:2515 ../fish/guestfish-actions.pod:2005
8283 msgid ""
8284 "The value can have the special value \"unknown\", meaning the content of the "
8285 "device is undetermined or empty.  \"swap\" means a Linux swap partition."
8286 msgstr ""
8287
8288 # type: textblock
8289 #: ../src/guestfs-actions.pod:2519
8290 msgid ""
8291 "This command runs other libguestfs commands, which might include "
8292 "C<guestfs_mount> and C<guestfs_umount>, and therefore you should use this "
8293 "soon after launch and only when nothing is mounted."
8294 msgstr ""
8295
8296 # type: textblock
8297 #: ../src/guestfs-actions.pod:2523
8298 msgid ""
8299 "Not all of the filesystems returned will be mountable.  In particular, swap "
8300 "partitions are returned in the list.  Also this command does not check that "
8301 "each filesystem found is valid and mountable, and some filesystems might be "
8302 "mountable but require special options.  Filesystems may not all belong to a "
8303 "single logical operating system (use C<guestfs_inspect_os> to look for OSes)."
8304 msgstr ""
8305
8306 # type: =head2
8307 #: ../src/guestfs-actions.pod:2537
8308 msgid "guestfs_list_partitions"
8309 msgstr ""
8310
8311 # type: verbatim
8312 #: ../src/guestfs-actions.pod:2539
8313 #, no-wrap
8314 msgid ""
8315 " char **guestfs_list_partitions (guestfs_h *g);\n"
8316 "\n"
8317 msgstr ""
8318
8319 # type: textblock
8320 #: ../src/guestfs-actions.pod:2541 ../fish/guestfish-actions.pod:2025
8321 msgid "List all the partitions detected on all block devices."
8322 msgstr ""
8323
8324 # type: textblock
8325 #: ../src/guestfs-actions.pod:2543 ../fish/guestfish-actions.pod:2027
8326 msgid "The full partition device names are returned, eg. C</dev/sda1>"
8327 msgstr ""
8328
8329 # type: textblock
8330 #: ../src/guestfs-actions.pod:2545
8331 msgid ""
8332 "This does not return logical volumes.  For that you will need to call "
8333 "C<guestfs_lvs>."
8334 msgstr ""
8335
8336 # type: =head2
8337 #: ../src/guestfs-actions.pod:2554
8338 msgid "guestfs_ll"
8339 msgstr ""
8340
8341 # type: verbatim
8342 #: ../src/guestfs-actions.pod:2556
8343 #, no-wrap
8344 msgid ""
8345 " char *guestfs_ll (guestfs_h *g,\n"
8346 "\t\tconst char *directory);\n"
8347 "\n"
8348 msgstr ""
8349
8350 # type: textblock
8351 #: ../src/guestfs-actions.pod:2559 ../fish/guestfish-actions.pod:2038
8352 msgid ""
8353 "List the files in C<directory> (relative to the root directory, there is no "
8354 "cwd) in the format of 'ls -la'."
8355 msgstr ""
8356
8357 # type: textblock
8358 #: ../src/guestfs-actions.pod:2562 ../fish/guestfish-actions.pod:2041
8359 msgid ""
8360 "This command is mostly useful for interactive sessions.  It is I<not> "
8361 "intended that you try to parse the output string."
8362 msgstr ""
8363
8364 # type: =head2
8365 #: ../src/guestfs-actions.pod:2568
8366 msgid "guestfs_ln"
8367 msgstr ""
8368
8369 # type: verbatim
8370 #: ../src/guestfs-actions.pod:2570
8371 #, no-wrap
8372 msgid ""
8373 " int guestfs_ln (guestfs_h *g,\n"
8374 "\t\tconst char *target,\n"
8375 "\t\tconst char *linkname);\n"
8376 "\n"
8377 msgstr ""
8378
8379 # type: textblock
8380 #: ../src/guestfs-actions.pod:2574 ../fish/guestfish-actions.pod:2048
8381 msgid "This command creates a hard link using the C<ln> command."
8382 msgstr ""
8383
8384 # type: =head2
8385 #: ../src/guestfs-actions.pod:2578
8386 msgid "guestfs_ln_f"
8387 msgstr ""
8388
8389 # type: verbatim
8390 #: ../src/guestfs-actions.pod:2580
8391 #, no-wrap
8392 msgid ""
8393 " int guestfs_ln_f (guestfs_h *g,\n"
8394 "\t\tconst char *target,\n"
8395 "\t\tconst char *linkname);\n"
8396 "\n"
8397 msgstr ""
8398
8399 # type: textblock
8400 #: ../src/guestfs-actions.pod:2584 ../fish/guestfish-actions.pod:2054
8401 msgid ""
8402 "This command creates a hard link using the C<ln -f> command.  The C<-f> "
8403 "option removes the link (C<linkname>) if it exists already."
8404 msgstr ""
8405
8406 # type: =head2
8407 #: ../src/guestfs-actions.pod:2589
8408 msgid "guestfs_ln_s"
8409 msgstr ""
8410
8411 # type: verbatim
8412 #: ../src/guestfs-actions.pod:2591
8413 #, no-wrap
8414 msgid ""
8415 " int guestfs_ln_s (guestfs_h *g,\n"
8416 "\t\tconst char *target,\n"
8417 "\t\tconst char *linkname);\n"
8418 "\n"
8419 msgstr ""
8420
8421 # type: textblock
8422 #: ../src/guestfs-actions.pod:2595 ../fish/guestfish-actions.pod:2061
8423 msgid "This command creates a symbolic link using the C<ln -s> command."
8424 msgstr ""
8425
8426 # type: =head2
8427 #: ../src/guestfs-actions.pod:2599
8428 msgid "guestfs_ln_sf"
8429 msgstr ""
8430
8431 # type: verbatim
8432 #: ../src/guestfs-actions.pod:2601
8433 #, no-wrap
8434 msgid ""
8435 " int guestfs_ln_sf (guestfs_h *g,\n"
8436 "\t\tconst char *target,\n"
8437 "\t\tconst char *linkname);\n"
8438 "\n"
8439 msgstr ""
8440
8441 # type: textblock
8442 #: ../src/guestfs-actions.pod:2605 ../fish/guestfish-actions.pod:2067
8443 msgid ""
8444 "This command creates a symbolic link using the C<ln -sf> command, The C<-f> "
8445 "option removes the link (C<linkname>) if it exists already."
8446 msgstr ""
8447
8448 # type: =head2
8449 #: ../src/guestfs-actions.pod:2610
8450 msgid "guestfs_lremovexattr"
8451 msgstr ""
8452
8453 # type: verbatim
8454 #: ../src/guestfs-actions.pod:2612
8455 #, no-wrap
8456 msgid ""
8457 " int guestfs_lremovexattr (guestfs_h *g,\n"
8458 "\t\tconst char *xattr,\n"
8459 "\t\tconst char *path);\n"
8460 "\n"
8461 msgstr ""
8462
8463 # type: textblock
8464 #: ../src/guestfs-actions.pod:2616
8465 msgid ""
8466 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
8467 "link, then it removes an extended attribute of the link itself."
8468 msgstr ""
8469
8470 # type: =head2
8471 #: ../src/guestfs-actions.pod:2622
8472 msgid "guestfs_ls"
8473 msgstr ""
8474
8475 # type: verbatim
8476 #: ../src/guestfs-actions.pod:2624
8477 #, no-wrap
8478 msgid ""
8479 " char **guestfs_ls (guestfs_h *g,\n"
8480 "\t\tconst char *directory);\n"
8481 "\n"
8482 msgstr ""
8483
8484 # type: textblock
8485 #: ../src/guestfs-actions.pod:2627 ../fish/guestfish-actions.pod:2082
8486 msgid ""
8487 "List the files in C<directory> (relative to the root directory, there is no "
8488 "cwd).  The '.' and '..' entries are not returned, but hidden files are shown."
8489 msgstr ""
8490
8491 # type: textblock
8492 #: ../src/guestfs-actions.pod:2631
8493 msgid ""
8494 "This command is mostly useful for interactive sessions.  Programs should "
8495 "probably use C<guestfs_readdir> instead."
8496 msgstr ""
8497
8498 # type: =head2
8499 #: ../src/guestfs-actions.pod:2638
8500 msgid "guestfs_lsetxattr"
8501 msgstr ""
8502
8503 # type: verbatim
8504 #: ../src/guestfs-actions.pod:2640
8505 #, no-wrap
8506 msgid ""
8507 " int guestfs_lsetxattr (guestfs_h *g,\n"
8508 "\t\tconst char *xattr,\n"
8509 "\t\tconst char *val,\n"
8510 "\t\tint vallen,\n"
8511 "\t\tconst char *path);\n"
8512 "\n"
8513 msgstr ""
8514
8515 # type: textblock
8516 #: ../src/guestfs-actions.pod:2646
8517 msgid ""
8518 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
8519 "then it sets an extended attribute of the link itself."
8520 msgstr ""
8521
8522 # type: =head2
8523 #: ../src/guestfs-actions.pod:2652
8524 msgid "guestfs_lstat"
8525 msgstr ""
8526
8527 # type: verbatim
8528 #: ../src/guestfs-actions.pod:2654
8529 #, no-wrap
8530 msgid ""
8531 " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n"
8532 "\t\tconst char *path);\n"
8533 "\n"
8534 msgstr ""
8535
8536 # type: textblock
8537 #: ../src/guestfs-actions.pod:2657 ../src/guestfs-actions.pod:4701
8538 #: ../fish/guestfish-actions.pod:2101 ../fish/guestfish-actions.pod:3655
8539 msgid "Returns file information for the given C<path>."
8540 msgstr ""
8541
8542 # type: textblock
8543 #: ../src/guestfs-actions.pod:2659
8544 msgid ""
8545 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
8546 "link, then the link is stat-ed, not the file it refers to."
8547 msgstr ""
8548
8549 # type: textblock
8550 #: ../src/guestfs-actions.pod:2663 ../fish/guestfish-actions.pod:2107
8551 msgid "This is the same as the C<lstat(2)> system call."
8552 msgstr ""
8553
8554 # type: textblock
8555 #: ../src/guestfs-actions.pod:2665 ../src/guestfs-actions.pod:4705
8556 msgid ""
8557 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
8558 "error.  I<The caller must call C<guestfs_free_stat> after use>."
8559 msgstr ""
8560
8561 # type: =head2
8562 #: ../src/guestfs-actions.pod:2669
8563 msgid "guestfs_lstatlist"
8564 msgstr ""
8565
8566 # type: verbatim
8567 #: ../src/guestfs-actions.pod:2671
8568 #, no-wrap
8569 msgid ""
8570 " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n"
8571 "\t\tconst char *path,\n"
8572 "\t\tchar *const *names);\n"
8573 "\n"
8574 msgstr ""
8575
8576 # type: textblock
8577 #: ../src/guestfs-actions.pod:2675
8578 msgid ""
8579 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
8580 "files, where all files are in the directory C<path>.  C<names> is the list "
8581 "of files from this directory."
8582 msgstr ""
8583
8584 # type: textblock
8585 #: ../src/guestfs-actions.pod:2679 ../fish/guestfish-actions.pod:2117
8586 msgid ""
8587 "On return you get a list of stat structs, with a one-to-one correspondence "
8588 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
8589 "then the C<ino> field of that structure is set to C<-1>."
8590 msgstr ""
8591
8592 # type: textblock
8593 #: ../src/guestfs-actions.pod:2684
8594 msgid ""
8595 "This call is intended for programs that want to efficiently list a directory "
8596 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
8597 "for a similarly efficient call for getting extended attributes.  Very long "
8598 "directory listings might cause the protocol message size to be exceeded, "
8599 "causing this call to fail.  The caller must split up such requests into "
8600 "smaller groups of names."
8601 msgstr ""
8602
8603 # type: textblock
8604 #: ../src/guestfs-actions.pod:2692
8605 msgid ""
8606 "This function returns a C<struct guestfs_stat_list *> (see E<lt>guestfs-"
8607 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
8608 "C<guestfs_free_stat_list> after use>."
8609 msgstr ""
8610
8611 # type: =head2
8612 #: ../src/guestfs-actions.pod:2697
8613 msgid "guestfs_luks_add_key"
8614 msgstr ""
8615
8616 # type: verbatim
8617 #: ../src/guestfs-actions.pod:2699
8618 #, no-wrap
8619 msgid ""
8620 " int guestfs_luks_add_key (guestfs_h *g,\n"
8621 "\t\tconst char *device,\n"
8622 "\t\tconst char *key,\n"
8623 "\t\tconst char *newkey,\n"
8624 "\t\tint keyslot);\n"
8625 "\n"
8626 msgstr ""
8627
8628 # type: textblock
8629 #: ../src/guestfs-actions.pod:2705 ../fish/guestfish-actions.pod:2134
8630 msgid ""
8631 "This command adds a new key on LUKS device C<device>.  C<key> is any "
8632 "existing key, and is used to access the device.  C<newkey> is the new key to "
8633 "add.  C<keyslot> is the key slot that will be replaced."
8634 msgstr ""
8635
8636 # type: textblock
8637 #: ../src/guestfs-actions.pod:2710
8638 msgid ""
8639 "Note that if C<keyslot> already contains a key, then this command will "
8640 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
8641 msgstr ""
8642
8643 # type: textblock
8644 #: ../src/guestfs-actions.pod:2716 ../src/guestfs-actions.pod:2750
8645 #: ../src/guestfs-actions.pod:2770 ../src/guestfs-actions.pod:2787
8646 #: ../src/guestfs-actions.pod:2816 ../src/guestfs-actions.pod:2832
8647 msgid ""
8648 "This function takes a key or passphrase parameter which could contain "
8649 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
8650 "information."
8651 msgstr ""
8652
8653 # type: =head2
8654 #: ../src/guestfs-actions.pod:2720
8655 msgid "guestfs_luks_close"
8656 msgstr ""
8657
8658 # type: verbatim
8659 #: ../src/guestfs-actions.pod:2722
8660 #, no-wrap
8661 msgid ""
8662 " int guestfs_luks_close (guestfs_h *g,\n"
8663 "\t\tconst char *device);\n"
8664 "\n"
8665 msgstr ""
8666
8667 # type: textblock
8668 #: ../src/guestfs-actions.pod:2725
8669 msgid ""
8670 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
8671 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
8672 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
8673 "underlying block device."
8674 msgstr ""
8675
8676 # type: =head2
8677 #: ../src/guestfs-actions.pod:2733
8678 msgid "guestfs_luks_format"
8679 msgstr ""
8680
8681 # type: verbatim
8682 #: ../src/guestfs-actions.pod:2735
8683 #, no-wrap
8684 msgid ""
8685 " int guestfs_luks_format (guestfs_h *g,\n"
8686 "\t\tconst char *device,\n"
8687 "\t\tconst char *key,\n"
8688 "\t\tint keyslot);\n"
8689 "\n"
8690 msgstr ""
8691
8692 # type: textblock
8693 #: ../src/guestfs-actions.pod:2740 ../fish/guestfish-actions.pod:2160
8694 msgid ""
8695 "This command erases existing data on C<device> and formats the device as a "
8696 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
8697 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
8698 msgstr ""
8699
8700 # type: textblock
8701 #: ../src/guestfs-actions.pod:2747 ../src/guestfs-actions.pod:2767
8702 #: ../src/guestfs-actions.pod:2869 ../src/guestfs-actions.pod:3581
8703 #: ../src/guestfs-actions.pod:4242 ../src/guestfs-actions.pod:4563
8704 #: ../src/guestfs-actions.pod:4583 ../src/guestfs-actions.pod:4606
8705 #: ../src/guestfs-actions.pod:5571 ../fish/guestfish-actions.pod:2168
8706 #: ../fish/guestfish-actions.pod:2181 ../fish/guestfish-actions.pod:2252
8707 #: ../fish/guestfish-actions.pod:2767 ../fish/guestfish-actions.pod:3274
8708 #: ../fish/guestfish-actions.pod:3554 ../fish/guestfish-actions.pod:3570
8709 #: ../fish/guestfish-actions.pod:3585 ../fish/guestfish-actions.pod:4300
8710 msgid ""
8711 "B<This command is dangerous.  Without careful use you can easily destroy all "
8712 "your data>."
8713 msgstr ""
8714
8715 # type: =head2
8716 #: ../src/guestfs-actions.pod:2754
8717 msgid "guestfs_luks_format_cipher"
8718 msgstr ""
8719
8720 # type: verbatim
8721 #: ../src/guestfs-actions.pod:2756
8722 #, no-wrap
8723 msgid ""
8724 " int guestfs_luks_format_cipher (guestfs_h *g,\n"
8725 "\t\tconst char *device,\n"
8726 "\t\tconst char *key,\n"
8727 "\t\tint keyslot,\n"
8728 "\t\tconst char *cipher);\n"
8729 "\n"
8730 msgstr ""
8731
8732 # type: textblock
8733 #: ../src/guestfs-actions.pod:2762
8734 msgid ""
8735 "This command is the same as C<guestfs_luks_format> but it also allows you to "
8736 "set the C<cipher> used."
8737 msgstr ""
8738
8739 # type: =head2
8740 #: ../src/guestfs-actions.pod:2774
8741 msgid "guestfs_luks_kill_slot"
8742 msgstr ""
8743
8744 # type: verbatim
8745 #: ../src/guestfs-actions.pod:2776
8746 #, no-wrap
8747 msgid ""
8748 " int guestfs_luks_kill_slot (guestfs_h *g,\n"
8749 "\t\tconst char *device,\n"
8750 "\t\tconst char *key,\n"
8751 "\t\tint keyslot);\n"
8752 "\n"
8753 msgstr ""
8754
8755 # type: textblock
8756 #: ../src/guestfs-actions.pod:2781 ../fish/guestfish-actions.pod:2188
8757 msgid ""
8758 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
8759 "device C<device>.  C<key> must be one of the I<other> keys."
8760 msgstr ""
8761
8762 # type: =head2
8763 #: ../src/guestfs-actions.pod:2791
8764 msgid "guestfs_luks_open"
8765 msgstr ""
8766
8767 # type: verbatim
8768 #: ../src/guestfs-actions.pod:2793
8769 #, no-wrap
8770 msgid ""
8771 " int guestfs_luks_open (guestfs_h *g,\n"
8772 "\t\tconst char *device,\n"
8773 "\t\tconst char *key,\n"
8774 "\t\tconst char *mapname);\n"
8775 "\n"
8776 msgstr ""
8777
8778 # type: textblock
8779 #: ../src/guestfs-actions.pod:2798 ../fish/guestfish-actions.pod:2199
8780 msgid ""
8781 "This command opens a block device which has been encrypted according to the "
8782 "Linux Unified Key Setup (LUKS) standard."
8783 msgstr ""
8784
8785 # type: textblock
8786 #: ../src/guestfs-actions.pod:2801 ../fish/guestfish-actions.pod:2202
8787 msgid "C<device> is the encrypted block device or partition."
8788 msgstr ""
8789
8790 # type: textblock
8791 #: ../src/guestfs-actions.pod:2803 ../fish/guestfish-actions.pod:2204
8792 msgid ""
8793 "The caller must supply one of the keys associated with the LUKS block "
8794 "device, in the C<key> parameter."
8795 msgstr ""
8796
8797 # type: textblock
8798 #: ../src/guestfs-actions.pod:2806 ../fish/guestfish-actions.pod:2207
8799 msgid ""
8800 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
8801 "writes to this block device are decrypted from and encrypted to the "
8802 "underlying C<device> respectively."
8803 msgstr ""
8804
8805 # type: textblock
8806 #: ../src/guestfs-actions.pod:2810
8807 msgid ""
8808 "If this block device contains LVM volume groups, then calling "
8809 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
8810 "visible."
8811 msgstr ""
8812
8813 # type: =head2
8814 #: ../src/guestfs-actions.pod:2820
8815 msgid "guestfs_luks_open_ro"
8816 msgstr ""
8817
8818 # type: verbatim
8819 #: ../src/guestfs-actions.pod:2822
8820 #, no-wrap
8821 msgid ""
8822 " int guestfs_luks_open_ro (guestfs_h *g,\n"
8823 "\t\tconst char *device,\n"
8824 "\t\tconst char *key,\n"
8825 "\t\tconst char *mapname);\n"
8826 "\n"
8827 msgstr ""
8828
8829 # type: textblock
8830 #: ../src/guestfs-actions.pod:2827
8831 msgid ""
8832 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
8833 "created."
8834 msgstr ""
8835
8836 # type: =head2
8837 #: ../src/guestfs-actions.pod:2836
8838 msgid "guestfs_lvcreate"
8839 msgstr ""
8840
8841 # type: verbatim
8842 #: ../src/guestfs-actions.pod:2838
8843 #, no-wrap
8844 msgid ""
8845 " int guestfs_lvcreate (guestfs_h *g,\n"
8846 "\t\tconst char *logvol,\n"
8847 "\t\tconst char *volgroup,\n"
8848 "\t\tint mbytes);\n"
8849 "\n"
8850 msgstr ""
8851
8852 # type: textblock
8853 #: ../src/guestfs-actions.pod:2843 ../fish/guestfish-actions.pod:2232
8854 msgid ""
8855 "This creates an LVM logical volume called C<logvol> on the volume group "
8856 "C<volgroup>, with C<size> megabytes."
8857 msgstr ""
8858
8859 # type: =head2
8860 #: ../src/guestfs-actions.pod:2848
8861 msgid "guestfs_lvm_clear_filter"
8862 msgstr ""
8863
8864 # type: verbatim
8865 #: ../src/guestfs-actions.pod:2850
8866 #, no-wrap
8867 msgid ""
8868 " int guestfs_lvm_clear_filter (guestfs_h *g);\n"
8869 "\n"
8870 msgstr ""
8871
8872 # type: textblock
8873 #: ../src/guestfs-actions.pod:2852
8874 msgid ""
8875 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
8876 "see every block device."
8877 msgstr ""
8878
8879 # type: textblock
8880 #: ../src/guestfs-actions.pod:2855 ../src/guestfs-actions.pod:2891
8881 #: ../fish/guestfish-actions.pod:2242 ../fish/guestfish-actions.pod:2273
8882 msgid ""
8883 "This command also clears the LVM cache and performs a volume group scan."
8884 msgstr ""
8885
8886 # type: =head2
8887 #: ../src/guestfs-actions.pod:2860
8888 msgid "guestfs_lvm_remove_all"
8889 msgstr ""
8890
8891 # type: verbatim
8892 #: ../src/guestfs-actions.pod:2862
8893 #, no-wrap
8894 msgid ""
8895 " int guestfs_lvm_remove_all (guestfs_h *g);\n"
8896 "\n"
8897 msgstr ""
8898
8899 # type: textblock
8900 #: ../src/guestfs-actions.pod:2864 ../fish/guestfish-actions.pod:2249
8901 msgid ""
8902 "This command removes all LVM logical volumes, volume groups and physical "
8903 "volumes."
8904 msgstr ""
8905
8906 # type: =head2
8907 #: ../src/guestfs-actions.pod:2872
8908 msgid "guestfs_lvm_set_filter"
8909 msgstr ""
8910
8911 # type: verbatim
8912 #: ../src/guestfs-actions.pod:2874
8913 #, no-wrap
8914 msgid ""
8915 " int guestfs_lvm_set_filter (guestfs_h *g,\n"
8916 "\t\tchar *const *devices);\n"
8917 "\n"
8918 msgstr ""
8919
8920 # type: textblock
8921 #: ../src/guestfs-actions.pod:2877 ../fish/guestfish-actions.pod:2259
8922 msgid ""
8923 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
8924 "block devices in the list C<devices>, and will ignore all other attached "
8925 "block devices."
8926 msgstr ""
8927
8928 # type: textblock
8929 #: ../src/guestfs-actions.pod:2881 ../fish/guestfish-actions.pod:2263
8930 msgid ""
8931 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
8932 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
8933 "there are two types of duplication possible: either cloned PVs/VGs which "
8934 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
8935 "same name.  In normal operation you cannot create this situation, but you "
8936 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
8937 "inside the LVM metadata."
8938 msgstr ""
8939
8940 # type: textblock
8941 #: ../src/guestfs-actions.pod:2894 ../fish/guestfish-actions.pod:2276
8942 msgid "You can filter whole block devices or individual partitions."
8943 msgstr ""
8944
8945 # type: textblock
8946 #: ../src/guestfs-actions.pod:2896 ../fish/guestfish-actions.pod:2278
8947 msgid ""
8948 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
8949 "filesystem), even if you are not filtering out that VG."
8950 msgstr ""
8951
8952 # type: =head2
8953 #: ../src/guestfs-actions.pod:2902
8954 msgid "guestfs_lvremove"
8955 msgstr ""
8956
8957 # type: verbatim
8958 #: ../src/guestfs-actions.pod:2904
8959 #, no-wrap
8960 msgid ""
8961 " int guestfs_lvremove (guestfs_h *g,\n"
8962 "\t\tconst char *device);\n"
8963 "\n"
8964 msgstr ""
8965
8966 # type: textblock
8967 #: ../src/guestfs-actions.pod:2907 ../fish/guestfish-actions.pod:2286
8968 msgid ""
8969 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
8970 "LV, such as C</dev/VG/LV>."
8971 msgstr ""
8972
8973 # type: textblock
8974 #: ../src/guestfs-actions.pod:2910 ../fish/guestfish-actions.pod:2289
8975 msgid ""
8976 "You can also remove all LVs in a volume group by specifying the VG name, C</"
8977 "dev/VG>."
8978 msgstr ""
8979
8980 # type: =head2
8981 #: ../src/guestfs-actions.pod:2915
8982 msgid "guestfs_lvrename"
8983 msgstr ""
8984
8985 # type: verbatim
8986 #: ../src/guestfs-actions.pod:2917
8987 #, no-wrap
8988 msgid ""
8989 " int guestfs_lvrename (guestfs_h *g,\n"
8990 "\t\tconst char *logvol,\n"
8991 "\t\tconst char *newlogvol);\n"
8992 "\n"
8993 msgstr ""
8994
8995 # type: textblock
8996 #: ../src/guestfs-actions.pod:2921 ../fish/guestfish-actions.pod:2296
8997 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
8998 msgstr ""
8999
9000 # type: =head2
9001 #: ../src/guestfs-actions.pod:2925
9002 msgid "guestfs_lvresize"
9003 msgstr ""
9004
9005 # type: verbatim
9006 #: ../src/guestfs-actions.pod:2927
9007 #, no-wrap
9008 msgid ""
9009 " int guestfs_lvresize (guestfs_h *g,\n"
9010 "\t\tconst char *device,\n"
9011 "\t\tint mbytes);\n"
9012 "\n"
9013 msgstr ""
9014
9015 # type: textblock
9016 #: ../src/guestfs-actions.pod:2931 ../fish/guestfish-actions.pod:2302
9017 msgid ""
9018 "This resizes (expands or shrinks) an existing LVM logical volume to "
9019 "C<mbytes>.  When reducing, data in the reduced part is lost."
9020 msgstr ""
9021
9022 # type: =head2
9023 #: ../src/guestfs-actions.pod:2937
9024 msgid "guestfs_lvresize_free"
9025 msgstr ""
9026
9027 # type: verbatim
9028 #: ../src/guestfs-actions.pod:2939
9029 #, no-wrap
9030 msgid ""
9031 " int guestfs_lvresize_free (guestfs_h *g,\n"
9032 "\t\tconst char *lv,\n"
9033 "\t\tint percent);\n"
9034 "\n"
9035 msgstr ""
9036
9037 # type: textblock
9038 #: ../src/guestfs-actions.pod:2943 ../fish/guestfish-actions.pod:2310
9039 msgid ""
9040 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
9041 "remaining free space in the volume group.  Commonly you would call this with "
9042 "pc = 100 which expands the logical volume as much as possible, using all "
9043 "remaining free space in the volume group."
9044 msgstr ""
9045
9046 # type: =head2
9047 #: ../src/guestfs-actions.pod:2951
9048 msgid "guestfs_lvs"
9049 msgstr ""
9050
9051 # type: verbatim
9052 #: ../src/guestfs-actions.pod:2953
9053 #, no-wrap
9054 msgid ""
9055 " char **guestfs_lvs (guestfs_h *g);\n"
9056 "\n"
9057 msgstr ""
9058
9059 # type: textblock
9060 #: ../src/guestfs-actions.pod:2955 ../fish/guestfish-actions.pod:2320
9061 msgid ""
9062 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
9063 "(8)> command."
9064 msgstr ""
9065
9066 # type: textblock
9067 #: ../src/guestfs-actions.pod:2958 ../fish/guestfish-actions.pod:2323
9068 msgid ""
9069 "This returns a list of the logical volume device names (eg. C</dev/"
9070 "VolGroup00/LogVol00>)."
9071 msgstr ""
9072
9073 # type: textblock
9074 #: ../src/guestfs-actions.pod:2961
9075 msgid "See also C<guestfs_lvs_full>, C<guestfs_list_filesystems>."
9076 msgstr ""
9077
9078 # type: =head2
9079 #: ../src/guestfs-actions.pod:2967
9080 msgid "guestfs_lvs_full"
9081 msgstr ""
9082
9083 # type: verbatim
9084 #: ../src/guestfs-actions.pod:2969
9085 #, no-wrap
9086 msgid ""
9087 " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n"
9088 "\n"
9089 msgstr ""
9090
9091 # type: textblock
9092 #: ../src/guestfs-actions.pod:2971 ../fish/guestfish-actions.pod:2332
9093 msgid ""
9094 "List all the logical volumes detected.  This is the equivalent of the L<lvs"
9095 "(8)> command.  The \"full\" version includes all fields."
9096 msgstr ""
9097
9098 # type: textblock
9099 #: ../src/guestfs-actions.pod:2974
9100 msgid ""
9101 "This function returns a C<struct guestfs_lvm_lv_list *> (see E<lt>guestfs-"
9102 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
9103 "C<guestfs_free_lvm_lv_list> after use>."
9104 msgstr ""
9105
9106 # type: =head2
9107 #: ../src/guestfs-actions.pod:2979
9108 msgid "guestfs_lvuuid"
9109 msgstr ""
9110
9111 # type: verbatim
9112 #: ../src/guestfs-actions.pod:2981
9113 #, no-wrap
9114 msgid ""
9115 " char *guestfs_lvuuid (guestfs_h *g,\n"
9116 "\t\tconst char *device);\n"
9117 "\n"
9118 msgstr ""
9119
9120 # type: textblock
9121 #: ../src/guestfs-actions.pod:2984 ../fish/guestfish-actions.pod:2339
9122 msgid "This command returns the UUID of the LVM LV C<device>."
9123 msgstr ""
9124
9125 # type: =head2
9126 #: ../src/guestfs-actions.pod:2989
9127 msgid "guestfs_lxattrlist"
9128 msgstr ""
9129
9130 # type: verbatim
9131 #: ../src/guestfs-actions.pod:2991
9132 #, no-wrap
9133 msgid ""
9134 " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n"
9135 "\t\tconst char *path,\n"
9136 "\t\tchar *const *names);\n"
9137 "\n"
9138 msgstr ""
9139
9140 # type: textblock
9141 #: ../src/guestfs-actions.pod:2995 ../fish/guestfish-actions.pod:2345
9142 msgid ""
9143 "This call allows you to get the extended attributes of multiple files, where "
9144 "all files are in the directory C<path>.  C<names> is the list of files from "
9145 "this directory."
9146 msgstr ""
9147
9148 # type: textblock
9149 #: ../src/guestfs-actions.pod:2999 ../fish/guestfish-actions.pod:2349
9150 msgid ""
9151 "On return you get a flat list of xattr structs which must be interpreted "
9152 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
9153 "C<attrval> in this struct is zero-length to indicate there was an error "
9154 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
9155 "number (the number of following attributes for this file, which could be C<"
9156 "\"0\">).  Then after the first xattr struct are the zero or more attributes "
9157 "for the first named file.  This repeats for the second and subsequent files."
9158 msgstr ""
9159
9160 # type: textblock
9161 #: ../src/guestfs-actions.pod:3009
9162 msgid ""
9163 "This call is intended for programs that want to efficiently list a directory "
9164 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
9165 "a similarly efficient call for getting standard stats.  Very long directory "
9166 "listings might cause the protocol message size to be exceeded, causing this "
9167 "call to fail.  The caller must split up such requests into smaller groups of "
9168 "names."
9169 msgstr ""
9170
9171 # type: =head2
9172 #: ../src/guestfs-actions.pod:3022
9173 msgid "guestfs_mkdir"
9174 msgstr ""
9175
9176 # type: verbatim
9177 #: ../src/guestfs-actions.pod:3024
9178 #, no-wrap
9179 msgid ""
9180 " int guestfs_mkdir (guestfs_h *g,\n"
9181 "\t\tconst char *path);\n"
9182 "\n"
9183 msgstr ""
9184
9185 # type: textblock
9186 #: ../src/guestfs-actions.pod:3027 ../fish/guestfish-actions.pod:2371
9187 msgid "Create a directory named C<path>."
9188 msgstr ""
9189
9190 # type: =head2
9191 #: ../src/guestfs-actions.pod:3031
9192 msgid "guestfs_mkdir_mode"
9193 msgstr ""
9194
9195 # type: verbatim
9196 #: ../src/guestfs-actions.pod:3033
9197 #, no-wrap
9198 msgid ""
9199 " int guestfs_mkdir_mode (guestfs_h *g,\n"
9200 "\t\tconst char *path,\n"
9201 "\t\tint mode);\n"
9202 "\n"
9203 msgstr ""
9204
9205 # type: textblock
9206 #: ../src/guestfs-actions.pod:3037 ../fish/guestfish-actions.pod:2377
9207 msgid ""
9208 "This command creates a directory, setting the initial permissions of the "
9209 "directory to C<mode>."
9210 msgstr ""
9211
9212 # type: textblock
9213 #: ../src/guestfs-actions.pod:3040 ../fish/guestfish-actions.pod:2380
9214 msgid ""
9215 "For common Linux filesystems, the actual mode which is set will be C<mode & "
9216 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
9217 "other ways."
9218 msgstr ""
9219
9220 # type: textblock
9221 #: ../src/guestfs-actions.pod:3044
9222 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
9223 msgstr ""
9224
9225 # type: =head2
9226 #: ../src/guestfs-actions.pod:3048
9227 msgid "guestfs_mkdir_p"
9228 msgstr ""
9229
9230 # type: verbatim
9231 #: ../src/guestfs-actions.pod:3050
9232 #, no-wrap
9233 msgid ""
9234 " int guestfs_mkdir_p (guestfs_h *g,\n"
9235 "\t\tconst char *path);\n"
9236 "\n"
9237 msgstr ""
9238
9239 # type: textblock
9240 #: ../src/guestfs-actions.pod:3053 ../fish/guestfish-actions.pod:2390
9241 msgid ""
9242 "Create a directory named C<path>, creating any parent directories as "
9243 "necessary.  This is like the C<mkdir -p> shell command."
9244 msgstr ""
9245
9246 # type: =head2
9247 #: ../src/guestfs-actions.pod:3058
9248 msgid "guestfs_mkdtemp"
9249 msgstr ""
9250
9251 # type: verbatim
9252 #: ../src/guestfs-actions.pod:3060
9253 #, no-wrap
9254 msgid ""
9255 " char *guestfs_mkdtemp (guestfs_h *g,\n"
9256 "\t\tconst char *template);\n"
9257 "\n"
9258 msgstr ""
9259
9260 # type: textblock
9261 #: ../src/guestfs-actions.pod:3063 ../fish/guestfish-actions.pod:2397
9262 msgid ""
9263 "This command creates a temporary directory.  The C<template> parameter "
9264 "should be a full pathname for the temporary directory name with the final "
9265 "six characters being \"XXXXXX\"."
9266 msgstr ""
9267
9268 # type: textblock
9269 #: ../src/guestfs-actions.pod:3068 ../fish/guestfish-actions.pod:2402
9270 msgid ""
9271 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
9272 "being suitable for Windows filesystems."
9273 msgstr ""
9274
9275 # type: textblock
9276 #: ../src/guestfs-actions.pod:3071 ../fish/guestfish-actions.pod:2405
9277 msgid "The name of the temporary directory that was created is returned."
9278 msgstr ""
9279
9280 # type: textblock
9281 #: ../src/guestfs-actions.pod:3074 ../fish/guestfish-actions.pod:2408
9282 msgid "The temporary directory is created with mode 0700 and is owned by root."
9283 msgstr ""
9284
9285 # type: textblock
9286 #: ../src/guestfs-actions.pod:3077 ../fish/guestfish-actions.pod:2411
9287 msgid ""
9288 "The caller is responsible for deleting the temporary directory and its "
9289 "contents after use."
9290 msgstr ""
9291
9292 # type: textblock
9293 #: ../src/guestfs-actions.pod:3080 ../fish/guestfish-actions.pod:2414
9294 msgid "See also: L<mkdtemp(3)>"
9295 msgstr ""
9296
9297 # type: =head2
9298 #: ../src/guestfs-actions.pod:3085
9299 msgid "guestfs_mke2fs_J"
9300 msgstr ""
9301
9302 # type: verbatim
9303 #: ../src/guestfs-actions.pod:3087
9304 #, no-wrap
9305 msgid ""
9306 " int guestfs_mke2fs_J (guestfs_h *g,\n"
9307 "\t\tconst char *fstype,\n"
9308 "\t\tint blocksize,\n"
9309 "\t\tconst char *device,\n"
9310 "\t\tconst char *journal);\n"
9311 "\n"
9312 msgstr ""
9313
9314 # type: textblock
9315 #: ../src/guestfs-actions.pod:3093 ../fish/guestfish-actions.pod:2420
9316 msgid ""
9317 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9318 "C<journal>.  It is equivalent to the command:"
9319 msgstr ""
9320
9321 # type: verbatim
9322 #: ../src/guestfs-actions.pod:3097 ../fish/guestfish-actions.pod:2424
9323 #, no-wrap
9324 msgid ""
9325 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
9326 "\n"
9327 msgstr ""
9328
9329 # type: textblock
9330 #: ../src/guestfs-actions.pod:3099
9331 msgid "See also C<guestfs_mke2journal>."
9332 msgstr ""
9333
9334 # type: =head2
9335 #: ../src/guestfs-actions.pod:3103
9336 msgid "guestfs_mke2fs_JL"
9337 msgstr ""
9338
9339 # type: verbatim
9340 #: ../src/guestfs-actions.pod:3105
9341 #, no-wrap
9342 msgid ""
9343 " int guestfs_mke2fs_JL (guestfs_h *g,\n"
9344 "\t\tconst char *fstype,\n"
9345 "\t\tint blocksize,\n"
9346 "\t\tconst char *device,\n"
9347 "\t\tconst char *label);\n"
9348 "\n"
9349 msgstr ""
9350
9351 # type: textblock
9352 #: ../src/guestfs-actions.pod:3111 ../fish/guestfish-actions.pod:2432
9353 msgid ""
9354 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9355 "the journal labeled C<label>."
9356 msgstr ""
9357
9358 # type: textblock
9359 #: ../src/guestfs-actions.pod:3114
9360 msgid "See also C<guestfs_mke2journal_L>."
9361 msgstr ""
9362
9363 # type: =head2
9364 #: ../src/guestfs-actions.pod:3118
9365 msgid "guestfs_mke2fs_JU"
9366 msgstr ""
9367
9368 # type: verbatim
9369 #: ../src/guestfs-actions.pod:3120
9370 #, no-wrap
9371 msgid ""
9372 " int guestfs_mke2fs_JU (guestfs_h *g,\n"
9373 "\t\tconst char *fstype,\n"
9374 "\t\tint blocksize,\n"
9375 "\t\tconst char *device,\n"
9376 "\t\tconst char *uuid);\n"
9377 "\n"
9378 msgstr ""
9379
9380 # type: textblock
9381 #: ../src/guestfs-actions.pod:3126 ../fish/guestfish-actions.pod:2441
9382 msgid ""
9383 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
9384 "the journal with UUID C<uuid>."
9385 msgstr ""
9386
9387 # type: textblock
9388 #: ../src/guestfs-actions.pod:3129
9389 msgid "See also C<guestfs_mke2journal_U>."
9390 msgstr ""
9391
9392 # type: =head2
9393 #: ../src/guestfs-actions.pod:3133
9394 msgid "guestfs_mke2journal"
9395 msgstr ""
9396
9397 # type: verbatim
9398 #: ../src/guestfs-actions.pod:3135
9399 #, no-wrap
9400 msgid ""
9401 " int guestfs_mke2journal (guestfs_h *g,\n"
9402 "\t\tint blocksize,\n"
9403 "\t\tconst char *device);\n"
9404 "\n"
9405 msgstr ""
9406
9407 # type: textblock
9408 #: ../src/guestfs-actions.pod:3139 ../fish/guestfish-actions.pod:2450
9409 msgid ""
9410 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
9411 "command:"
9412 msgstr ""
9413
9414 # type: verbatim
9415 #: ../src/guestfs-actions.pod:3142 ../fish/guestfish-actions.pod:2453
9416 #, no-wrap
9417 msgid ""
9418 " mke2fs -O journal_dev -b blocksize device\n"
9419 "\n"
9420 msgstr ""
9421
9422 # type: =head2
9423 #: ../src/guestfs-actions.pod:3146
9424 msgid "guestfs_mke2journal_L"
9425 msgstr ""
9426
9427 # type: verbatim
9428 #: ../src/guestfs-actions.pod:3148
9429 #, no-wrap
9430 msgid ""
9431 " int guestfs_mke2journal_L (guestfs_h *g,\n"
9432 "\t\tint blocksize,\n"
9433 "\t\tconst char *label,\n"
9434 "\t\tconst char *device);\n"
9435 "\n"
9436 msgstr ""
9437
9438 # type: textblock
9439 #: ../src/guestfs-actions.pod:3153 ../fish/guestfish-actions.pod:2459
9440 msgid "This creates an ext2 external journal on C<device> with label C<label>."
9441 msgstr ""
9442
9443 # type: =head2
9444 #: ../src/guestfs-actions.pod:3157
9445 msgid "guestfs_mke2journal_U"
9446 msgstr ""
9447
9448 # type: verbatim
9449 #: ../src/guestfs-actions.pod:3159
9450 #, no-wrap
9451 msgid ""
9452 " int guestfs_mke2journal_U (guestfs_h *g,\n"
9453 "\t\tint blocksize,\n"
9454 "\t\tconst char *uuid,\n"
9455 "\t\tconst char *device);\n"
9456 "\n"
9457 msgstr ""
9458
9459 # type: textblock
9460 #: ../src/guestfs-actions.pod:3164 ../fish/guestfish-actions.pod:2465
9461 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
9462 msgstr ""
9463
9464 # type: =head2
9465 #: ../src/guestfs-actions.pod:3168
9466 msgid "guestfs_mkfifo"
9467 msgstr ""
9468
9469 # type: verbatim
9470 #: ../src/guestfs-actions.pod:3170
9471 #, no-wrap
9472 msgid ""
9473 " int guestfs_mkfifo (guestfs_h *g,\n"
9474 "\t\tint mode,\n"
9475 "\t\tconst char *path);\n"
9476 "\n"
9477 msgstr ""
9478
9479 # type: textblock
9480 #: ../src/guestfs-actions.pod:3174
9481 msgid ""
9482 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
9483 "is just a convenient wrapper around C<guestfs_mknod>."
9484 msgstr ""
9485
9486 # type: =head2
9487 #: ../src/guestfs-actions.pod:3182
9488 msgid "guestfs_mkfs"
9489 msgstr ""
9490
9491 # type: verbatim
9492 #: ../src/guestfs-actions.pod:3184
9493 #, no-wrap
9494 msgid ""
9495 " int guestfs_mkfs (guestfs_h *g,\n"
9496 "\t\tconst char *fstype,\n"
9497 "\t\tconst char *device);\n"
9498 "\n"
9499 msgstr ""
9500
9501 # type: textblock
9502 #: ../src/guestfs-actions.pod:3188 ../fish/guestfish-actions.pod:2481
9503 msgid ""
9504 "This creates a filesystem on C<device> (usually a partition or LVM logical "
9505 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
9506 msgstr ""
9507
9508 # type: =head2
9509 #: ../src/guestfs-actions.pod:3194
9510 msgid "guestfs_mkfs_b"
9511 msgstr ""
9512
9513 # type: verbatim
9514 #: ../src/guestfs-actions.pod:3196
9515 #, no-wrap
9516 msgid ""
9517 " int guestfs_mkfs_b (guestfs_h *g,\n"
9518 "\t\tconst char *fstype,\n"
9519 "\t\tint blocksize,\n"
9520 "\t\tconst char *device);\n"
9521 "\n"
9522 msgstr ""
9523
9524 # type: textblock
9525 #: ../src/guestfs-actions.pod:3201
9526 msgid ""
9527 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
9528 "block size of the resulting filesystem.  Supported block sizes depend on the "
9529 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
9530 msgstr ""
9531
9532 # type: textblock
9533 #: ../src/guestfs-actions.pod:3206 ../fish/guestfish-actions.pod:2494
9534 msgid ""
9535 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
9536 "cluster size."
9537 msgstr ""
9538
9539 # type: =head2
9540 #: ../src/guestfs-actions.pod:3211
9541 msgid "guestfs_mkmountpoint"
9542 msgstr ""
9543
9544 # type: verbatim
9545 #: ../src/guestfs-actions.pod:3213
9546 #, no-wrap
9547 msgid ""
9548 " int guestfs_mkmountpoint (guestfs_h *g,\n"
9549 "\t\tconst char *exemptpath);\n"
9550 "\n"
9551 msgstr ""
9552
9553 # type: textblock
9554 #: ../src/guestfs-actions.pod:3216
9555 msgid ""
9556 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
9557 "that can be used to create extra mountpoints before mounting the first "
9558 "filesystem."
9559 msgstr ""
9560
9561 # type: textblock
9562 #: ../src/guestfs-actions.pod:3220 ../fish/guestfish-actions.pod:2505
9563 msgid ""
9564 "These calls are I<only> necessary in some very limited circumstances, mainly "
9565 "the case where you want to mount a mix of unrelated and/or read-only "
9566 "filesystems together."
9567 msgstr ""
9568
9569 # type: textblock
9570 #: ../src/guestfs-actions.pod:3224 ../fish/guestfish-actions.pod:2509
9571 msgid ""
9572 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
9573 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
9574 "inside that.  You can unpack this as follows in guestfish:"
9575 msgstr ""
9576
9577 # type: verbatim
9578 #: ../src/guestfs-actions.pod:3229 ../fish/guestfish-actions.pod:2514
9579 #, no-wrap
9580 msgid ""
9581 " add-ro Fedora-11-i686-Live.iso\n"
9582 " run\n"
9583 " mkmountpoint /cd\n"
9584 " mkmountpoint /squash\n"
9585 " mkmountpoint /ext3\n"
9586 " mount /dev/sda /cd\n"
9587 " mount-loop /cd/LiveOS/squashfs.img /squash\n"
9588 " mount-loop /squash/LiveOS/ext3fs.img /ext3\n"
9589 "\n"
9590 msgstr ""
9591
9592 # type: textblock
9593 #: ../src/guestfs-actions.pod:3238 ../fish/guestfish-actions.pod:2523
9594 msgid "The inner filesystem is now unpacked under the /ext3 mountpoint."
9595 msgstr ""
9596
9597 # type: =head2
9598 #: ../src/guestfs-actions.pod:3242
9599 msgid "guestfs_mknod"
9600 msgstr ""
9601
9602 # type: verbatim
9603 #: ../src/guestfs-actions.pod:3244
9604 #, no-wrap
9605 msgid ""
9606 " int guestfs_mknod (guestfs_h *g,\n"
9607 "\t\tint mode,\n"
9608 "\t\tint devmajor,\n"
9609 "\t\tint devminor,\n"
9610 "\t\tconst char *path);\n"
9611 "\n"
9612 msgstr ""
9613
9614 # type: textblock
9615 #: ../src/guestfs-actions.pod:3250 ../fish/guestfish-actions.pod:2529
9616 msgid ""
9617 "This call creates block or character special devices, or named pipes (FIFOs)."
9618 msgstr ""
9619
9620 # type: textblock
9621 #: ../src/guestfs-actions.pod:3253 ../fish/guestfish-actions.pod:2532
9622 msgid ""
9623 "The C<mode> parameter should be the mode, using the standard constants.  "
9624 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
9625 "used when creating block and character special devices."
9626 msgstr ""
9627
9628 # type: textblock
9629 #: ../src/guestfs-actions.pod:3258
9630 msgid ""
9631 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
9632 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
9633 "regular file).  These constants are available in the standard Linux header "
9634 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
9635 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
9636 "the appropriate constant for you."
9637 msgstr ""
9638
9639 # type: =head2
9640 #: ../src/guestfs-actions.pod:3270
9641 msgid "guestfs_mknod_b"
9642 msgstr ""
9643
9644 # type: verbatim
9645 #: ../src/guestfs-actions.pod:3272
9646 #, no-wrap
9647 msgid ""
9648 " int guestfs_mknod_b (guestfs_h *g,\n"
9649 "\t\tint mode,\n"
9650 "\t\tint devmajor,\n"
9651 "\t\tint devminor,\n"
9652 "\t\tconst char *path);\n"
9653 "\n"
9654 msgstr ""
9655
9656 # type: textblock
9657 #: ../src/guestfs-actions.pod:3278
9658 msgid ""
9659 "This call creates a block device node called C<path> with mode C<mode> and "
9660 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9661 "wrapper around C<guestfs_mknod>."
9662 msgstr ""
9663
9664 # type: =head2
9665 #: ../src/guestfs-actions.pod:3286
9666 msgid "guestfs_mknod_c"
9667 msgstr ""
9668
9669 # type: verbatim
9670 #: ../src/guestfs-actions.pod:3288
9671 #, no-wrap
9672 msgid ""
9673 " int guestfs_mknod_c (guestfs_h *g,\n"
9674 "\t\tint mode,\n"
9675 "\t\tint devmajor,\n"
9676 "\t\tint devminor,\n"
9677 "\t\tconst char *path);\n"
9678 "\n"
9679 msgstr ""
9680
9681 # type: textblock
9682 #: ../src/guestfs-actions.pod:3294
9683 msgid ""
9684 "This call creates a char device node called C<path> with mode C<mode> and "
9685 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9686 "wrapper around C<guestfs_mknod>."
9687 msgstr ""
9688
9689 # type: =head2
9690 #: ../src/guestfs-actions.pod:3302
9691 msgid "guestfs_mkswap"
9692 msgstr ""
9693
9694 # type: verbatim
9695 #: ../src/guestfs-actions.pod:3304
9696 #, no-wrap
9697 msgid ""
9698 " int guestfs_mkswap (guestfs_h *g,\n"
9699 "\t\tconst char *device);\n"
9700 "\n"
9701 msgstr ""
9702
9703 # type: textblock
9704 #: ../src/guestfs-actions.pod:3307 ../fish/guestfish-actions.pod:2571
9705 msgid "Create a swap partition on C<device>."
9706 msgstr ""
9707
9708 # type: =head2
9709 #: ../src/guestfs-actions.pod:3311
9710 msgid "guestfs_mkswap_L"
9711 msgstr ""
9712
9713 # type: verbatim
9714 #: ../src/guestfs-actions.pod:3313
9715 #, no-wrap
9716 msgid ""
9717 " int guestfs_mkswap_L (guestfs_h *g,\n"
9718 "\t\tconst char *label,\n"
9719 "\t\tconst char *device);\n"
9720 "\n"
9721 msgstr ""
9722
9723 # type: textblock
9724 #: ../src/guestfs-actions.pod:3317 ../fish/guestfish-actions.pod:2577
9725 msgid "Create a swap partition on C<device> with label C<label>."
9726 msgstr ""
9727
9728 # type: textblock
9729 #: ../src/guestfs-actions.pod:3319 ../fish/guestfish-actions.pod:2579
9730 msgid ""
9731 "Note that you cannot attach a swap label to a block device (eg. C</dev/"
9732 "sda>), just to a partition.  This appears to be a limitation of the kernel "
9733 "or swap tools."
9734 msgstr ""
9735
9736 # type: =head2
9737 #: ../src/guestfs-actions.pod:3325
9738 msgid "guestfs_mkswap_U"
9739 msgstr ""
9740
9741 # type: verbatim
9742 #: ../src/guestfs-actions.pod:3327
9743 #, no-wrap
9744 msgid ""
9745 " int guestfs_mkswap_U (guestfs_h *g,\n"
9746 "\t\tconst char *uuid,\n"
9747 "\t\tconst char *device);\n"
9748 "\n"
9749 msgstr ""
9750
9751 # type: textblock
9752 #: ../src/guestfs-actions.pod:3331 ../fish/guestfish-actions.pod:2587
9753 msgid "Create a swap partition on C<device> with UUID C<uuid>."
9754 msgstr ""
9755
9756 # type: =head2
9757 #: ../src/guestfs-actions.pod:3335
9758 msgid "guestfs_mkswap_file"
9759 msgstr ""
9760
9761 # type: verbatim
9762 #: ../src/guestfs-actions.pod:3337
9763 #, no-wrap
9764 msgid ""
9765 " int guestfs_mkswap_file (guestfs_h *g,\n"
9766 "\t\tconst char *path);\n"
9767 "\n"
9768 msgstr ""
9769
9770 # type: textblock
9771 #: ../src/guestfs-actions.pod:3340 ../fish/guestfish-actions.pod:2593
9772 msgid "Create a swap file."
9773 msgstr ""
9774
9775 # type: textblock
9776 #: ../src/guestfs-actions.pod:3342
9777 msgid ""
9778 "This command just writes a swap file signature to an existing file.  To "
9779 "create the file itself, use something like C<guestfs_fallocate>."
9780 msgstr ""
9781
9782 # type: =head2
9783 #: ../src/guestfs-actions.pod:3347
9784 msgid "guestfs_modprobe"
9785 msgstr ""
9786
9787 # type: verbatim
9788 #: ../src/guestfs-actions.pod:3349
9789 #, no-wrap
9790 msgid ""
9791 " int guestfs_modprobe (guestfs_h *g,\n"
9792 "\t\tconst char *modulename);\n"
9793 "\n"
9794 msgstr ""
9795
9796 # type: textblock
9797 #: ../src/guestfs-actions.pod:3352 ../fish/guestfish-actions.pod:2602
9798 msgid "This loads a kernel module in the appliance."
9799 msgstr ""
9800
9801 # type: textblock
9802 #: ../src/guestfs-actions.pod:3354 ../fish/guestfish-actions.pod:2604
9803 msgid ""
9804 "The kernel module must have been whitelisted when libguestfs was built (see "
9805 "C<appliance/kmod.whitelist.in> in the source)."
9806 msgstr ""
9807
9808 # type: =head2
9809 #: ../src/guestfs-actions.pod:3359
9810 msgid "guestfs_mount"
9811 msgstr ""
9812
9813 # type: verbatim
9814 #: ../src/guestfs-actions.pod:3361
9815 #, no-wrap
9816 msgid ""
9817 " int guestfs_mount (guestfs_h *g,\n"
9818 "\t\tconst char *device,\n"
9819 "\t\tconst char *mountpoint);\n"
9820 "\n"
9821 msgstr ""
9822
9823 # type: textblock
9824 #: ../src/guestfs-actions.pod:3365 ../fish/guestfish-actions.pod:2611
9825 msgid ""
9826 "Mount a guest disk at a position in the filesystem.  Block devices are named "
9827 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
9828 "those block devices contain partitions, they will have the usual names (eg. "
9829 "C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
9830 msgstr ""
9831
9832 # type: textblock
9833 #: ../src/guestfs-actions.pod:3371 ../fish/guestfish-actions.pod:2617
9834 msgid ""
9835 "The rules are the same as for L<mount(2)>: A filesystem must first be "
9836 "mounted on C</> before others can be mounted.  Other filesystems can only be "
9837 "mounted on directories which already exist."
9838 msgstr ""
9839
9840 # type: textblock
9841 #: ../src/guestfs-actions.pod:3376 ../fish/guestfish-actions.pod:2622
9842 msgid ""
9843 "The mounted filesystem is writable, if we have sufficient permissions on the "
9844 "underlying device."
9845 msgstr ""
9846
9847 # type: textblock
9848 #: ../src/guestfs-actions.pod:3379
9849 msgid ""
9850 "B<Important note:> When you use this call, the filesystem options C<sync> "
9851 "and C<noatime> are set implicitly.  This was originally done because we "
9852 "thought it would improve reliability, but it turns out that I<-o sync> has a "
9853 "very large negative performance impact and negligible effect on "
9854 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
9855 "in any code that needs performance, and instead use C<guestfs_mount_options> "
9856 "(use an empty string for the first parameter if you don't want any options)."
9857 msgstr ""
9858
9859 # type: =head2
9860 #: ../src/guestfs-actions.pod:3391
9861 msgid "guestfs_mount_loop"
9862 msgstr ""
9863
9864 # type: verbatim
9865 #: ../src/guestfs-actions.pod:3393
9866 #, no-wrap
9867 msgid ""
9868 " int guestfs_mount_loop (guestfs_h *g,\n"
9869 "\t\tconst char *file,\n"
9870 "\t\tconst char *mountpoint);\n"
9871 "\n"
9872 msgstr ""
9873
9874 # type: textblock
9875 #: ../src/guestfs-actions.pod:3397 ../fish/guestfish-actions.pod:2639
9876 msgid ""
9877 "This command lets you mount C<file> (a filesystem image in a file) on a "
9878 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
9879 "mountpoint>."
9880 msgstr ""
9881
9882 # type: =head2
9883 #: ../src/guestfs-actions.pod:3403
9884 msgid "guestfs_mount_options"
9885 msgstr ""
9886
9887 # type: verbatim
9888 #: ../src/guestfs-actions.pod:3405
9889 #, no-wrap
9890 msgid ""
9891 " int guestfs_mount_options (guestfs_h *g,\n"
9892 "\t\tconst char *options,\n"
9893 "\t\tconst char *device,\n"
9894 "\t\tconst char *mountpoint);\n"
9895 "\n"
9896 msgstr ""
9897
9898 # type: textblock
9899 #: ../src/guestfs-actions.pod:3410
9900 msgid ""
9901 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9902 "the mount options as for the L<mount(8)> I<-o> flag."
9903 msgstr ""
9904
9905 # type: textblock
9906 #: ../src/guestfs-actions.pod:3414 ../fish/guestfish-actions.pod:2651
9907 msgid ""
9908 "If the C<options> parameter is an empty string, then no options are passed "
9909 "(all options default to whatever the filesystem uses)."
9910 msgstr ""
9911
9912 # type: =head2
9913 #: ../src/guestfs-actions.pod:3420
9914 msgid "guestfs_mount_ro"
9915 msgstr ""
9916
9917 # type: verbatim
9918 #: ../src/guestfs-actions.pod:3422
9919 #, no-wrap
9920 msgid ""
9921 " int guestfs_mount_ro (guestfs_h *g,\n"
9922 "\t\tconst char *device,\n"
9923 "\t\tconst char *mountpoint);\n"
9924 "\n"
9925 msgstr ""
9926
9927 # type: textblock
9928 #: ../src/guestfs-actions.pod:3426
9929 msgid ""
9930 "This is the same as the C<guestfs_mount> command, but it mounts the "
9931 "filesystem with the read-only (I<-o ro>) flag."
9932 msgstr ""
9933
9934 # type: =head2
9935 #: ../src/guestfs-actions.pod:3431
9936 msgid "guestfs_mount_vfs"
9937 msgstr ""
9938
9939 # type: verbatim
9940 #: ../src/guestfs-actions.pod:3433
9941 #, no-wrap
9942 msgid ""
9943 " int guestfs_mount_vfs (guestfs_h *g,\n"
9944 "\t\tconst char *options,\n"
9945 "\t\tconst char *vfstype,\n"
9946 "\t\tconst char *device,\n"
9947 "\t\tconst char *mountpoint);\n"
9948 "\n"
9949 msgstr ""
9950
9951 # type: textblock
9952 #: ../src/guestfs-actions.pod:3439
9953 msgid ""
9954 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9955 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and I<-"
9956 "t> flags."
9957 msgstr ""
9958
9959 # type: =head2
9960 #: ../src/guestfs-actions.pod:3445
9961 msgid "guestfs_mountpoints"
9962 msgstr ""
9963
9964 # type: verbatim
9965 #: ../src/guestfs-actions.pod:3447
9966 #, no-wrap
9967 msgid ""
9968 " char **guestfs_mountpoints (guestfs_h *g);\n"
9969 "\n"
9970 msgstr ""
9971
9972 # type: textblock
9973 #: ../src/guestfs-actions.pod:3449
9974 msgid ""
9975 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
9976 "devices.  This one returns a hash table (map) of device name to directory "
9977 "where the device is mounted."
9978 msgstr ""
9979
9980 # type: =head2
9981 #: ../src/guestfs-actions.pod:3459
9982 msgid "guestfs_mounts"
9983 msgstr ""
9984
9985 # type: verbatim
9986 #: ../src/guestfs-actions.pod:3461
9987 #, no-wrap
9988 msgid ""
9989 " char **guestfs_mounts (guestfs_h *g);\n"
9990 "\n"
9991 msgstr ""
9992
9993 # type: textblock
9994 #: ../src/guestfs-actions.pod:3463 ../fish/guestfish-actions.pod:2682
9995 msgid ""
9996 "This returns the list of currently mounted filesystems.  It returns the list "
9997 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
9998 msgstr ""
9999
10000 # type: textblock
10001 #: ../src/guestfs-actions.pod:3466 ../fish/guestfish-actions.pod:2685
10002 msgid "Some internal mounts are not shown."
10003 msgstr ""
10004
10005 # type: textblock
10006 #: ../src/guestfs-actions.pod:3468
10007 msgid "See also: C<guestfs_mountpoints>"
10008 msgstr ""
10009
10010 # type: =head2
10011 #: ../src/guestfs-actions.pod:3474
10012 msgid "guestfs_mv"
10013 msgstr ""
10014
10015 # type: verbatim
10016 #: ../src/guestfs-actions.pod:3476
10017 #, no-wrap
10018 msgid ""
10019 " int guestfs_mv (guestfs_h *g,\n"
10020 "\t\tconst char *src,\n"
10021 "\t\tconst char *dest);\n"
10022 "\n"
10023 msgstr ""
10024
10025 # type: textblock
10026 #: ../src/guestfs-actions.pod:3480 ../fish/guestfish-actions.pod:2693
10027 msgid ""
10028 "This moves a file from C<src> to C<dest> where C<dest> is either a "
10029 "destination filename or destination directory."
10030 msgstr ""
10031
10032 # type: =head2
10033 #: ../src/guestfs-actions.pod:3485
10034 msgid "guestfs_ntfs_3g_probe"
10035 msgstr ""
10036
10037 # type: verbatim
10038 #: ../src/guestfs-actions.pod:3487
10039 #, no-wrap
10040 msgid ""
10041 " int guestfs_ntfs_3g_probe (guestfs_h *g,\n"
10042 "\t\tint rw,\n"
10043 "\t\tconst char *device);\n"
10044 "\n"
10045 msgstr ""
10046
10047 # type: textblock
10048 #: ../src/guestfs-actions.pod:3491 ../fish/guestfish-actions.pod:2700
10049 msgid ""
10050 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
10051 "C<device> for mountability.  (Not all NTFS volumes can be mounted read-"
10052 "write, and some cannot be mounted at all)."
10053 msgstr ""
10054
10055 # type: textblock
10056 #: ../src/guestfs-actions.pod:3495 ../fish/guestfish-actions.pod:2704
10057 msgid ""
10058 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
10059 "can be mounted read-write.  Set it to false if you want to test if the "
10060 "volume can be mounted read-only."
10061 msgstr ""
10062
10063 # type: textblock
10064 #: ../src/guestfs-actions.pod:3499 ../fish/guestfish-actions.pod:2708
10065 msgid ""
10066 "The return value is an integer which C<0> if the operation would succeed, or "
10067 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
10068 msgstr ""
10069
10070 # type: =head2
10071 #: ../src/guestfs-actions.pod:3505
10072 msgid "guestfs_ntfsresize"
10073 msgstr ""
10074
10075 # type: verbatim
10076 #: ../src/guestfs-actions.pod:3507
10077 #, no-wrap
10078 msgid ""
10079 " int guestfs_ntfsresize (guestfs_h *g,\n"
10080 "\t\tconst char *device);\n"
10081 "\n"
10082 msgstr ""
10083
10084 # type: textblock
10085 #: ../src/guestfs-actions.pod:3510 ../fish/guestfish-actions.pod:2716
10086 msgid ""
10087 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
10088 "size of the underlying device.  See also L<ntfsresize(8)>."
10089 msgstr ""
10090
10091 # type: =head2
10092 #: ../src/guestfs-actions.pod:3516
10093 msgid "guestfs_ntfsresize_size"
10094 msgstr ""
10095
10096 # type: verbatim
10097 #: ../src/guestfs-actions.pod:3518
10098 #, no-wrap
10099 msgid ""
10100 " int guestfs_ntfsresize_size (guestfs_h *g,\n"
10101 "\t\tconst char *device,\n"
10102 "\t\tint64_t size);\n"
10103 "\n"
10104 msgstr ""
10105
10106 # type: textblock
10107 #: ../src/guestfs-actions.pod:3522
10108 msgid ""
10109 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
10110 "to specify the new size (in bytes) explicitly."
10111 msgstr ""
10112
10113 # type: =head2
10114 #: ../src/guestfs-actions.pod:3527
10115 msgid "guestfs_part_add"
10116 msgstr ""
10117
10118 # type: verbatim
10119 #: ../src/guestfs-actions.pod:3529
10120 #, no-wrap
10121 msgid ""
10122 " int guestfs_part_add (guestfs_h *g,\n"
10123 "\t\tconst char *device,\n"
10124 "\t\tconst char *prlogex,\n"
10125 "\t\tint64_t startsect,\n"
10126 "\t\tint64_t endsect);\n"
10127 "\n"
10128 msgstr ""
10129
10130 # type: textblock
10131 #: ../src/guestfs-actions.pod:3535
10132 msgid ""
10133 "This command adds a partition to C<device>.  If there is no partition table "
10134 "on the device, call C<guestfs_part_init> first."
10135 msgstr ""
10136
10137 # type: textblock
10138 #: ../src/guestfs-actions.pod:3538 ../fish/guestfish-actions.pod:2734
10139 msgid ""
10140 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
10141 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
10142 "C<logical>) and C<e> (or C<extended>) partition types."
10143 msgstr ""
10144
10145 # type: textblock
10146 #: ../src/guestfs-actions.pod:3543 ../fish/guestfish-actions.pod:2739
10147 msgid ""
10148 "C<startsect> and C<endsect> are the start and end of the partition in "
10149 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
10150 "from the end of the disk (C<-1> is the last sector)."
10151 msgstr ""
10152
10153 # type: textblock
10154 #: ../src/guestfs-actions.pod:3547
10155 msgid ""
10156 "Creating a partition which covers the whole disk is not so easy.  Use "
10157 "C<guestfs_part_disk> to do that."
10158 msgstr ""
10159
10160 # type: =head2
10161 #: ../src/guestfs-actions.pod:3552
10162 msgid "guestfs_part_del"
10163 msgstr ""
10164
10165 # type: verbatim
10166 #: ../src/guestfs-actions.pod:3554
10167 #, no-wrap
10168 msgid ""
10169 " int guestfs_part_del (guestfs_h *g,\n"
10170 "\t\tconst char *device,\n"
10171 "\t\tint partnum);\n"
10172 "\n"
10173 msgstr ""
10174
10175 # type: textblock
10176 #: ../src/guestfs-actions.pod:3558 ../fish/guestfish-actions.pod:2750
10177 msgid "This command deletes the partition numbered C<partnum> on C<device>."
10178 msgstr ""
10179
10180 # type: textblock
10181 #: ../src/guestfs-actions.pod:3560 ../fish/guestfish-actions.pod:2752
10182 msgid ""
10183 "Note that in the case of MBR partitioning, deleting an extended partition "
10184 "also deletes any logical partitions it contains."
10185 msgstr ""
10186
10187 # type: =head2
10188 #: ../src/guestfs-actions.pod:3566
10189 msgid "guestfs_part_disk"
10190 msgstr ""
10191
10192 # type: verbatim
10193 #: ../src/guestfs-actions.pod:3568
10194 #, no-wrap
10195 msgid ""
10196 " int guestfs_part_disk (guestfs_h *g,\n"
10197 "\t\tconst char *device,\n"
10198 "\t\tconst char *parttype);\n"
10199 "\n"
10200 msgstr ""
10201
10202 # type: textblock
10203 #: ../src/guestfs-actions.pod:3572
10204 msgid ""
10205 "This command is simply a combination of C<guestfs_part_init> followed by "
10206 "C<guestfs_part_add> to create a single primary partition covering the whole "
10207 "disk."
10208 msgstr ""
10209
10210 # type: textblock
10211 #: ../src/guestfs-actions.pod:3576
10212 msgid ""
10213 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
10214 "possible values are described in C<guestfs_part_init>."
10215 msgstr ""
10216
10217 # type: =head2
10218 #: ../src/guestfs-actions.pod:3584
10219 msgid "guestfs_part_get_bootable"
10220 msgstr ""
10221
10222 # type: verbatim
10223 #: ../src/guestfs-actions.pod:3586
10224 #, no-wrap
10225 msgid ""
10226 " int guestfs_part_get_bootable (guestfs_h *g,\n"
10227 "\t\tconst char *device,\n"
10228 "\t\tint partnum);\n"
10229 "\n"
10230 msgstr ""
10231
10232 # type: textblock
10233 #: ../src/guestfs-actions.pod:3590 ../fish/guestfish-actions.pod:2774
10234 msgid ""
10235 "This command returns true if the partition C<partnum> on C<device> has the "
10236 "bootable flag set."
10237 msgstr ""
10238
10239 # type: textblock
10240 #: ../src/guestfs-actions.pod:3593
10241 msgid "See also C<guestfs_part_set_bootable>."
10242 msgstr ""
10243
10244 # type: =head2
10245 #: ../src/guestfs-actions.pod:3597
10246 msgid "guestfs_part_get_mbr_id"
10247 msgstr ""
10248
10249 # type: verbatim
10250 #: ../src/guestfs-actions.pod:3599
10251 #, no-wrap
10252 msgid ""
10253 " int guestfs_part_get_mbr_id (guestfs_h *g,\n"
10254 "\t\tconst char *device,\n"
10255 "\t\tint partnum);\n"
10256 "\n"
10257 msgstr ""
10258
10259 # type: textblock
10260 #: ../src/guestfs-actions.pod:3603 ../fish/guestfish-actions.pod:2783
10261 msgid ""
10262 "Returns the MBR type byte (also known as the ID byte) from the numbered "
10263 "partition C<partnum>."
10264 msgstr ""
10265
10266 # type: textblock
10267 #: ../src/guestfs-actions.pod:3606 ../src/guestfs-actions.pod:3768
10268 msgid ""
10269 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
10270 "undefined results for other partition table types (see "
10271 "C<guestfs_part_get_parttype>)."
10272 msgstr ""
10273
10274 # type: =head2
10275 #: ../src/guestfs-actions.pod:3612
10276 msgid "guestfs_part_get_parttype"
10277 msgstr ""
10278
10279 # type: verbatim
10280 #: ../src/guestfs-actions.pod:3614
10281 #, no-wrap
10282 msgid ""
10283 " char *guestfs_part_get_parttype (guestfs_h *g,\n"
10284 "\t\tconst char *device);\n"
10285 "\n"
10286 msgstr ""
10287
10288 # type: textblock
10289 #: ../src/guestfs-actions.pod:3617 ../fish/guestfish-actions.pod:2794
10290 msgid ""
10291 "This command examines the partition table on C<device> and returns the "
10292 "partition table type (format) being used."
10293 msgstr ""
10294
10295 # type: textblock
10296 #: ../src/guestfs-actions.pod:3620
10297 msgid ""
10298 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
10299 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
10300 "possible, although unusual.  See C<guestfs_part_init> for a full list."
10301 msgstr ""
10302
10303 # type: =head2
10304 #: ../src/guestfs-actions.pod:3628
10305 msgid "guestfs_part_init"
10306 msgstr ""
10307
10308 # type: verbatim
10309 #: ../src/guestfs-actions.pod:3630
10310 #, no-wrap
10311 msgid ""
10312 " int guestfs_part_init (guestfs_h *g,\n"
10313 "\t\tconst char *device,\n"
10314 "\t\tconst char *parttype);\n"
10315 "\n"
10316 msgstr ""
10317
10318 # type: textblock
10319 #: ../src/guestfs-actions.pod:3634 ../fish/guestfish-actions.pod:2806
10320 msgid ""
10321 "This creates an empty partition table on C<device> of one of the partition "
10322 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
10323 "(for large disks)."
10324 msgstr ""
10325
10326 # type: textblock
10327 #: ../src/guestfs-actions.pod:3638
10328 msgid ""
10329 "Initially there are no partitions.  Following this, you should call "
10330 "C<guestfs_part_add> for each partition required."
10331 msgstr ""
10332
10333 # type: textblock
10334 #: ../src/guestfs-actions.pod:3641 ../fish/guestfish-actions.pod:2813
10335 msgid "Possible values for C<parttype> are:"
10336 msgstr ""
10337
10338 # type: =item
10339 #: ../src/guestfs-actions.pod:3645 ../fish/guestfish-actions.pod:2817
10340 msgid "B<efi> | B<gpt>"
10341 msgstr ""
10342
10343 # type: textblock
10344 #: ../src/guestfs-actions.pod:3647 ../fish/guestfish-actions.pod:2819
10345 msgid "Intel EFI / GPT partition table."
10346 msgstr ""
10347
10348 # type: textblock
10349 #: ../src/guestfs-actions.pod:3649 ../fish/guestfish-actions.pod:2821
10350 msgid ""
10351 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
10352 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
10353 "the C<mbr> format."
10354 msgstr ""
10355
10356 # type: =item
10357 #: ../src/guestfs-actions.pod:3653 ../fish/guestfish-actions.pod:2825
10358 msgid "B<mbr> | B<msdos>"
10359 msgstr ""
10360
10361 # type: textblock
10362 #: ../src/guestfs-actions.pod:3655 ../fish/guestfish-actions.pod:2827
10363 msgid ""
10364 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
10365 "Windows.  This partition type will B<only> work for device sizes up to 2 "
10366 "TB.  For large disks we recommend using C<gpt>."
10367 msgstr ""
10368
10369 # type: textblock
10370 #: ../src/guestfs-actions.pod:3662 ../fish/guestfish-actions.pod:2834
10371 msgid ""
10372 "Other partition table types that may work but are not supported include:"
10373 msgstr ""
10374
10375 # type: =item
10376 #: ../src/guestfs-actions.pod:3667 ../fish/guestfish-actions.pod:2839
10377 msgid "B<aix>"
10378 msgstr ""
10379
10380 # type: textblock
10381 #: ../src/guestfs-actions.pod:3669 ../fish/guestfish-actions.pod:2841
10382 msgid "AIX disk labels."
10383 msgstr ""
10384
10385 # type: =item
10386 #: ../src/guestfs-actions.pod:3671 ../fish/guestfish-actions.pod:2843
10387 msgid "B<amiga> | B<rdb>"
10388 msgstr ""
10389
10390 # type: textblock
10391 #: ../src/guestfs-actions.pod:3673 ../fish/guestfish-actions.pod:2845
10392 msgid "Amiga \"Rigid Disk Block\" format."
10393 msgstr ""
10394
10395 # type: =item
10396 #: ../src/guestfs-actions.pod:3675 ../fish/guestfish-actions.pod:2847
10397 msgid "B<bsd>"
10398 msgstr ""
10399
10400 # type: textblock
10401 #: ../src/guestfs-actions.pod:3677 ../fish/guestfish-actions.pod:2849
10402 msgid "BSD disk labels."
10403 msgstr ""
10404
10405 # type: =item
10406 #: ../src/guestfs-actions.pod:3679 ../fish/guestfish-actions.pod:2851
10407 msgid "B<dasd>"
10408 msgstr ""
10409
10410 # type: textblock
10411 #: ../src/guestfs-actions.pod:3681 ../fish/guestfish-actions.pod:2853
10412 msgid "DASD, used on IBM mainframes."
10413 msgstr ""
10414
10415 # type: =item
10416 #: ../src/guestfs-actions.pod:3683 ../fish/guestfish-actions.pod:2855
10417 msgid "B<dvh>"
10418 msgstr ""
10419
10420 # type: textblock
10421 #: ../src/guestfs-actions.pod:3685 ../fish/guestfish-actions.pod:2857
10422 msgid "MIPS/SGI volumes."
10423 msgstr ""
10424
10425 # type: =item
10426 #: ../src/guestfs-actions.pod:3687 ../fish/guestfish-actions.pod:2859
10427 msgid "B<mac>"
10428 msgstr ""
10429
10430 # type: textblock
10431 #: ../src/guestfs-actions.pod:3689 ../fish/guestfish-actions.pod:2861
10432 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
10433 msgstr ""
10434
10435 # type: =item
10436 #: ../src/guestfs-actions.pod:3691 ../fish/guestfish-actions.pod:2863
10437 msgid "B<pc98>"
10438 msgstr ""
10439
10440 # type: textblock
10441 #: ../src/guestfs-actions.pod:3693 ../fish/guestfish-actions.pod:2865
10442 msgid "NEC PC-98 format, common in Japan apparently."
10443 msgstr ""
10444
10445 # type: =item
10446 #: ../src/guestfs-actions.pod:3695 ../fish/guestfish-actions.pod:2867
10447 msgid "B<sun>"
10448 msgstr ""
10449
10450 # type: textblock
10451 #: ../src/guestfs-actions.pod:3697 ../fish/guestfish-actions.pod:2869
10452 msgid "Sun disk labels."
10453 msgstr ""
10454
10455 # type: =head2
10456 #: ../src/guestfs-actions.pod:3703
10457 msgid "guestfs_part_list"
10458 msgstr ""
10459
10460 # type: verbatim
10461 #: ../src/guestfs-actions.pod:3705
10462 #, no-wrap
10463 msgid ""
10464 " struct guestfs_partition_list *guestfs_part_list (guestfs_h *g,\n"
10465 "\t\tconst char *device);\n"
10466 "\n"
10467 msgstr ""
10468
10469 # type: textblock
10470 #: ../src/guestfs-actions.pod:3708 ../fish/guestfish-actions.pod:2877
10471 msgid ""
10472 "This command parses the partition table on C<device> and returns the list of "
10473 "partitions found."
10474 msgstr ""
10475
10476 # type: textblock
10477 #: ../src/guestfs-actions.pod:3711 ../fish/guestfish-actions.pod:2880
10478 msgid "The fields in the returned structure are:"
10479 msgstr ""
10480
10481 # type: =item
10482 #: ../src/guestfs-actions.pod:3715 ../fish/guestfish-actions.pod:2884
10483 msgid "B<part_num>"
10484 msgstr ""
10485
10486 # type: textblock
10487 #: ../src/guestfs-actions.pod:3717 ../fish/guestfish-actions.pod:2886
10488 msgid "Partition number, counting from 1."
10489 msgstr ""
10490
10491 # type: =item
10492 #: ../src/guestfs-actions.pod:3719 ../fish/guestfish-actions.pod:2888
10493 msgid "B<part_start>"
10494 msgstr ""
10495
10496 # type: textblock
10497 #: ../src/guestfs-actions.pod:3721
10498 msgid ""
10499 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
10500 "the device's sector size, see C<guestfs_blockdev_getss>."
10501 msgstr ""
10502
10503 # type: =item
10504 #: ../src/guestfs-actions.pod:3724 ../fish/guestfish-actions.pod:2893
10505 msgid "B<part_end>"
10506 msgstr ""
10507
10508 # type: textblock
10509 #: ../src/guestfs-actions.pod:3726 ../fish/guestfish-actions.pod:2895
10510 msgid "End of the partition in bytes."
10511 msgstr ""
10512
10513 # type: =item
10514 #: ../src/guestfs-actions.pod:3728 ../fish/guestfish-actions.pod:2897
10515 msgid "B<part_size>"
10516 msgstr ""
10517
10518 # type: textblock
10519 #: ../src/guestfs-actions.pod:3730 ../fish/guestfish-actions.pod:2899
10520 msgid "Size of the partition in bytes."
10521 msgstr ""
10522
10523 # type: textblock
10524 #: ../src/guestfs-actions.pod:3734
10525 msgid ""
10526 "This function returns a C<struct guestfs_partition_list *> (see E<lt>guestfs-"
10527 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10528 "C<guestfs_free_partition_list> after use>."
10529 msgstr ""
10530
10531 # type: =head2
10532 #: ../src/guestfs-actions.pod:3739
10533 msgid "guestfs_part_set_bootable"
10534 msgstr ""
10535
10536 # type: verbatim
10537 #: ../src/guestfs-actions.pod:3741
10538 #, no-wrap
10539 msgid ""
10540 " int guestfs_part_set_bootable (guestfs_h *g,\n"
10541 "\t\tconst char *device,\n"
10542 "\t\tint partnum,\n"
10543 "\t\tint bootable);\n"
10544 "\n"
10545 msgstr ""
10546
10547 # type: textblock
10548 #: ../src/guestfs-actions.pod:3746 ../fish/guestfish-actions.pod:2907
10549 msgid ""
10550 "This sets the bootable flag on partition numbered C<partnum> on device "
10551 "C<device>.  Note that partitions are numbered from 1."
10552 msgstr ""
10553
10554 # type: textblock
10555 #: ../src/guestfs-actions.pod:3749 ../fish/guestfish-actions.pod:2910
10556 msgid ""
10557 "The bootable flag is used by some operating systems (notably Windows) to "
10558 "determine which partition to boot from.  It is by no means universally "
10559 "recognized."
10560 msgstr ""
10561
10562 # type: =head2
10563 #: ../src/guestfs-actions.pod:3755
10564 msgid "guestfs_part_set_mbr_id"
10565 msgstr ""
10566
10567 # type: verbatim
10568 #: ../src/guestfs-actions.pod:3757
10569 #, no-wrap
10570 msgid ""
10571 " int guestfs_part_set_mbr_id (guestfs_h *g,\n"
10572 "\t\tconst char *device,\n"
10573 "\t\tint partnum,\n"
10574 "\t\tint idbyte);\n"
10575 "\n"
10576 msgstr ""
10577
10578 # type: textblock
10579 #: ../src/guestfs-actions.pod:3762 ../fish/guestfish-actions.pod:2918
10580 msgid ""
10581 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
10582 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
10583 "documentation are in fact hexadecimal numbers, but usually documented "
10584 "without any leading \"0x\" which might be confusing."
10585 msgstr ""
10586
10587 # type: =head2
10588 #: ../src/guestfs-actions.pod:3774
10589 msgid "guestfs_part_set_name"
10590 msgstr ""
10591
10592 # type: verbatim
10593 #: ../src/guestfs-actions.pod:3776
10594 #, no-wrap
10595 msgid ""
10596 " int guestfs_part_set_name (guestfs_h *g,\n"
10597 "\t\tconst char *device,\n"
10598 "\t\tint partnum,\n"
10599 "\t\tconst char *name);\n"
10600 "\n"
10601 msgstr ""
10602
10603 # type: textblock
10604 #: ../src/guestfs-actions.pod:3781 ../fish/guestfish-actions.pod:2932
10605 msgid ""
10606 "This sets the partition name on partition numbered C<partnum> on device "
10607 "C<device>.  Note that partitions are numbered from 1."
10608 msgstr ""
10609
10610 # type: textblock
10611 #: ../src/guestfs-actions.pod:3784 ../fish/guestfish-actions.pod:2935
10612 msgid ""
10613 "The partition name can only be set on certain types of partition table.  "
10614 "This works on C<gpt> but not on C<mbr> partitions."
10615 msgstr ""
10616
10617 # type: =head2
10618 #: ../src/guestfs-actions.pod:3789
10619 msgid "guestfs_part_to_dev"
10620 msgstr ""
10621
10622 # type: verbatim
10623 #: ../src/guestfs-actions.pod:3791
10624 #, no-wrap
10625 msgid ""
10626 " char *guestfs_part_to_dev (guestfs_h *g,\n"
10627 "\t\tconst char *partition);\n"
10628 "\n"
10629 msgstr ""
10630
10631 # type: textblock
10632 #: ../src/guestfs-actions.pod:3794 ../fish/guestfish-actions.pod:2942
10633 msgid ""
10634 "This function takes a partition name (eg. \"/dev/sdb1\") and removes the "
10635 "partition number, returning the device name (eg. \"/dev/sdb\")."
10636 msgstr ""
10637
10638 # type: textblock
10639 #: ../src/guestfs-actions.pod:3798
10640 msgid ""
10641 "The named partition must exist, for example as a string returned from "
10642 "C<guestfs_list_partitions>."
10643 msgstr ""
10644
10645 # type: =head2
10646 #: ../src/guestfs-actions.pod:3804
10647 msgid "guestfs_ping_daemon"
10648 msgstr ""
10649
10650 # type: verbatim
10651 #: ../src/guestfs-actions.pod:3806
10652 #, no-wrap
10653 msgid ""
10654 " int guestfs_ping_daemon (guestfs_h *g);\n"
10655 "\n"
10656 msgstr ""
10657
10658 # type: textblock
10659 #: ../src/guestfs-actions.pod:3808 ../fish/guestfish-actions.pod:2953
10660 msgid ""
10661 "This is a test probe into the guestfs daemon running inside the qemu "
10662 "subprocess.  Calling this function checks that the daemon responds to the "
10663 "ping message, without affecting the daemon or attached block device(s) in "
10664 "any other way."
10665 msgstr ""
10666
10667 # type: =head2
10668 #: ../src/guestfs-actions.pod:3815
10669 msgid "guestfs_pread"
10670 msgstr ""
10671
10672 # type: verbatim
10673 #: ../src/guestfs-actions.pod:3817
10674 #, no-wrap
10675 msgid ""
10676 " char *guestfs_pread (guestfs_h *g,\n"
10677 "\t\tconst char *path,\n"
10678 "\t\tint count,\n"
10679 "\t\tint64_t offset,\n"
10680 "\t\tsize_t *size_r);\n"
10681 "\n"
10682 msgstr ""
10683
10684 # type: textblock
10685 #: ../src/guestfs-actions.pod:3823 ../fish/guestfish-actions.pod:2962
10686 msgid ""
10687 "This command lets you read part of a file.  It reads C<count> bytes of the "
10688 "file, starting at C<offset>, from file C<path>."
10689 msgstr ""
10690
10691 # type: textblock
10692 #: ../src/guestfs-actions.pod:3826 ../src/guestfs-actions.pod:3849
10693 #: ../fish/guestfish-actions.pod:2965 ../fish/guestfish-actions.pod:2980
10694 msgid ""
10695 "This may read fewer bytes than requested.  For further details see the "
10696 "L<pread(2)> system call."
10697 msgstr ""
10698
10699 # type: textblock
10700 #: ../src/guestfs-actions.pod:3829
10701 msgid "See also C<guestfs_pwrite>, C<guestfs_pread_device>."
10702 msgstr ""
10703
10704 # type: =head2
10705 #: ../src/guestfs-actions.pod:3838
10706 msgid "guestfs_pread_device"
10707 msgstr ""
10708
10709 # type: verbatim
10710 #: ../src/guestfs-actions.pod:3840
10711 #, no-wrap
10712 msgid ""
10713 " char *guestfs_pread_device (guestfs_h *g,\n"
10714 "\t\tconst char *device,\n"
10715 "\t\tint count,\n"
10716 "\t\tint64_t offset,\n"
10717 "\t\tsize_t *size_r);\n"
10718 "\n"
10719 msgstr ""
10720
10721 # type: textblock
10722 #: ../src/guestfs-actions.pod:3846 ../fish/guestfish-actions.pod:2977
10723 msgid ""
10724 "This command lets you read part of a file.  It reads C<count> bytes of "
10725 "C<device>, starting at C<offset>."
10726 msgstr ""
10727
10728 # type: textblock
10729 #: ../src/guestfs-actions.pod:3852
10730 msgid "See also C<guestfs_pread>."
10731 msgstr ""
10732
10733 # type: =head2
10734 #: ../src/guestfs-actions.pod:3861
10735 msgid "guestfs_pvcreate"
10736 msgstr ""
10737
10738 # type: verbatim
10739 #: ../src/guestfs-actions.pod:3863
10740 #, no-wrap
10741 msgid ""
10742 " int guestfs_pvcreate (guestfs_h *g,\n"
10743 "\t\tconst char *device);\n"
10744 "\n"
10745 msgstr ""
10746
10747 # type: textblock
10748 #: ../src/guestfs-actions.pod:3866 ../fish/guestfish-actions.pod:2992
10749 msgid ""
10750 "This creates an LVM physical volume on the named C<device>, where C<device> "
10751 "should usually be a partition name such as C</dev/sda1>."
10752 msgstr ""
10753
10754 # type: =head2
10755 #: ../src/guestfs-actions.pod:3872
10756 msgid "guestfs_pvremove"
10757 msgstr ""
10758
10759 # type: verbatim
10760 #: ../src/guestfs-actions.pod:3874
10761 #, no-wrap
10762 msgid ""
10763 " int guestfs_pvremove (guestfs_h *g,\n"
10764 "\t\tconst char *device);\n"
10765 "\n"
10766 msgstr ""
10767
10768 # type: textblock
10769 #: ../src/guestfs-actions.pod:3877 ../fish/guestfish-actions.pod:3000
10770 msgid ""
10771 "This wipes a physical volume C<device> so that LVM will no longer recognise "
10772 "it."
10773 msgstr ""
10774
10775 # type: textblock
10776 #: ../src/guestfs-actions.pod:3880 ../fish/guestfish-actions.pod:3003
10777 msgid ""
10778 "The implementation uses the C<pvremove> command which refuses to wipe "
10779 "physical volumes that contain any volume groups, so you have to remove those "
10780 "first."
10781 msgstr ""
10782
10783 # type: =head2
10784 #: ../src/guestfs-actions.pod:3886
10785 msgid "guestfs_pvresize"
10786 msgstr ""
10787
10788 # type: verbatim
10789 #: ../src/guestfs-actions.pod:3888
10790 #, no-wrap
10791 msgid ""
10792 " int guestfs_pvresize (guestfs_h *g,\n"
10793 "\t\tconst char *device);\n"
10794 "\n"
10795 msgstr ""
10796
10797 # type: textblock
10798 #: ../src/guestfs-actions.pod:3891 ../fish/guestfish-actions.pod:3011
10799 msgid ""
10800 "This resizes (expands or shrinks) an existing LVM physical volume to match "
10801 "the new size of the underlying device."
10802 msgstr ""
10803
10804 # type: =head2
10805 #: ../src/guestfs-actions.pod:3896
10806 msgid "guestfs_pvresize_size"
10807 msgstr ""
10808
10809 # type: verbatim
10810 #: ../src/guestfs-actions.pod:3898
10811 #, no-wrap
10812 msgid ""
10813 " int guestfs_pvresize_size (guestfs_h *g,\n"
10814 "\t\tconst char *device,\n"
10815 "\t\tint64_t size);\n"
10816 "\n"
10817 msgstr ""
10818
10819 # type: textblock
10820 #: ../src/guestfs-actions.pod:3902
10821 msgid ""
10822 "This command is the same as C<guestfs_pvresize> except that it allows you to "
10823 "specify the new size (in bytes) explicitly."
10824 msgstr ""
10825
10826 # type: =head2
10827 #: ../src/guestfs-actions.pod:3907
10828 msgid "guestfs_pvs"
10829 msgstr ""
10830
10831 # type: verbatim
10832 #: ../src/guestfs-actions.pod:3909
10833 #, no-wrap
10834 msgid ""
10835 " char **guestfs_pvs (guestfs_h *g);\n"
10836 "\n"
10837 msgstr ""
10838
10839 # type: textblock
10840 #: ../src/guestfs-actions.pod:3911 ../fish/guestfish-actions.pod:3025
10841 msgid ""
10842 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10843 "(8)> command."
10844 msgstr ""
10845
10846 # type: textblock
10847 #: ../src/guestfs-actions.pod:3914 ../fish/guestfish-actions.pod:3028
10848 msgid ""
10849 "This returns a list of just the device names that contain PVs (eg. C</dev/"
10850 "sda2>)."
10851 msgstr ""
10852
10853 # type: textblock
10854 #: ../src/guestfs-actions.pod:3917
10855 msgid "See also C<guestfs_pvs_full>."
10856 msgstr ""
10857
10858 # type: =head2
10859 #: ../src/guestfs-actions.pod:3923
10860 msgid "guestfs_pvs_full"
10861 msgstr ""
10862
10863 # type: verbatim
10864 #: ../src/guestfs-actions.pod:3925
10865 #, no-wrap
10866 msgid ""
10867 " struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *g);\n"
10868 "\n"
10869 msgstr ""
10870
10871 # type: textblock
10872 #: ../src/guestfs-actions.pod:3927 ../fish/guestfish-actions.pod:3037
10873 msgid ""
10874 "List all the physical volumes detected.  This is the equivalent of the L<pvs"
10875 "(8)> command.  The \"full\" version includes all fields."
10876 msgstr ""
10877
10878 # type: textblock
10879 #: ../src/guestfs-actions.pod:3930
10880 msgid ""
10881 "This function returns a C<struct guestfs_lvm_pv_list *> (see E<lt>guestfs-"
10882 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
10883 "C<guestfs_free_lvm_pv_list> after use>."
10884 msgstr ""
10885
10886 # type: =head2
10887 #: ../src/guestfs-actions.pod:3935
10888 msgid "guestfs_pvuuid"
10889 msgstr ""
10890
10891 # type: verbatim
10892 #: ../src/guestfs-actions.pod:3937
10893 #, no-wrap
10894 msgid ""
10895 " char *guestfs_pvuuid (guestfs_h *g,\n"
10896 "\t\tconst char *device);\n"
10897 "\n"
10898 msgstr ""
10899
10900 # type: textblock
10901 #: ../src/guestfs-actions.pod:3940 ../fish/guestfish-actions.pod:3044
10902 msgid "This command returns the UUID of the LVM PV C<device>."
10903 msgstr ""
10904
10905 # type: =head2
10906 #: ../src/guestfs-actions.pod:3945
10907 msgid "guestfs_pwrite"
10908 msgstr ""
10909
10910 # type: verbatim
10911 #: ../src/guestfs-actions.pod:3947
10912 #, no-wrap
10913 msgid ""
10914 " int guestfs_pwrite (guestfs_h *g,\n"
10915 "\t\tconst char *path,\n"
10916 "\t\tconst char *content,\n"
10917 "\t\tsize_t content_size,\n"
10918 "\t\tint64_t offset);\n"
10919 "\n"
10920 msgstr ""
10921
10922 # type: textblock
10923 #: ../src/guestfs-actions.pod:3953 ../fish/guestfish-actions.pod:3050
10924 msgid ""
10925 "This command writes to part of a file.  It writes the data buffer C<content> "
10926 "to the file C<path> starting at offset C<offset>."
10927 msgstr ""
10928
10929 # type: textblock
10930 #: ../src/guestfs-actions.pod:3956 ../fish/guestfish-actions.pod:3053
10931 msgid ""
10932 "This command implements the L<pwrite(2)> system call, and like that system "
10933 "call it may not write the full data requested.  The return value is the "
10934 "number of bytes that were actually written to the file.  This could even be "
10935 "0, although short writes are unlikely for regular files in ordinary "
10936 "circumstances."
10937 msgstr ""
10938
10939 # type: textblock
10940 #: ../src/guestfs-actions.pod:3962
10941 msgid "See also C<guestfs_pread>, C<guestfs_pwrite_device>."
10942 msgstr ""
10943
10944 # type: =head2
10945 #: ../src/guestfs-actions.pod:3969
10946 msgid "guestfs_pwrite_device"
10947 msgstr ""
10948
10949 # type: verbatim
10950 #: ../src/guestfs-actions.pod:3971
10951 #, no-wrap
10952 msgid ""
10953 " int guestfs_pwrite_device (guestfs_h *g,\n"
10954 "\t\tconst char *device,\n"
10955 "\t\tconst char *content,\n"
10956 "\t\tsize_t content_size,\n"
10957 "\t\tint64_t offset);\n"
10958 "\n"
10959 msgstr ""
10960
10961 # type: textblock
10962 #: ../src/guestfs-actions.pod:3977 ../fish/guestfish-actions.pod:3068
10963 msgid ""
10964 "This command writes to part of a device.  It writes the data buffer "
10965 "C<content> to C<device> starting at offset C<offset>."
10966 msgstr ""
10967
10968 # type: textblock
10969 #: ../src/guestfs-actions.pod:3980 ../fish/guestfish-actions.pod:3071
10970 msgid ""
10971 "This command implements the L<pwrite(2)> system call, and like that system "
10972 "call it may not write the full data requested (although short writes to disk "
10973 "devices and partitions are probably impossible with standard Linux kernels)."
10974 msgstr ""
10975
10976 # type: textblock
10977 #: ../src/guestfs-actions.pod:3985
10978 msgid "See also C<guestfs_pwrite>."
10979 msgstr ""
10980
10981 # type: =head2
10982 #: ../src/guestfs-actions.pod:3992
10983 msgid "guestfs_read_file"
10984 msgstr ""
10985
10986 # type: verbatim
10987 #: ../src/guestfs-actions.pod:3994
10988 #, no-wrap
10989 msgid ""
10990 " char *guestfs_read_file (guestfs_h *g,\n"
10991 "\t\tconst char *path,\n"
10992 "\t\tsize_t *size_r);\n"
10993 "\n"
10994 msgstr ""
10995
10996 # type: textblock
10997 #: ../src/guestfs-actions.pod:3998 ../fish/guestfish-actions.pod:3085
10998 msgid "This calls returns the contents of the file C<path> as a buffer."
10999 msgstr ""
11000
11001 # type: textblock
11002 #: ../src/guestfs-actions.pod:4001
11003 msgid ""
11004 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
11005 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
11006 "function is limited in the total size of file that can be handled."
11007 msgstr ""
11008
11009 # type: =head2
11010 #: ../src/guestfs-actions.pod:4013
11011 msgid "guestfs_read_lines"
11012 msgstr ""
11013
11014 # type: verbatim
11015 #: ../src/guestfs-actions.pod:4015
11016 #, no-wrap
11017 msgid ""
11018 " char **guestfs_read_lines (guestfs_h *g,\n"
11019 "\t\tconst char *path);\n"
11020 "\n"
11021 msgstr ""
11022
11023 # type: textblock
11024 #: ../src/guestfs-actions.pod:4020 ../fish/guestfish-actions.pod:3102
11025 msgid ""
11026 "The file contents are returned as a list of lines.  Trailing C<LF> and "
11027 "C<CRLF> character sequences are I<not> returned."
11028 msgstr ""
11029
11030 # type: textblock
11031 #: ../src/guestfs-actions.pod:4023
11032 msgid ""
11033 "Note that this function cannot correctly handle binary files (specifically, "
11034 "files containing C<\\0> character which is treated as end of line).  For "
11035 "those you need to use the C<guestfs_read_file> function which has a more "
11036 "complex interface."
11037 msgstr ""
11038
11039 # type: =head2
11040 #: ../src/guestfs-actions.pod:4032
11041 msgid "guestfs_readdir"
11042 msgstr ""
11043
11044 # type: verbatim
11045 #: ../src/guestfs-actions.pod:4034
11046 #, no-wrap
11047 msgid ""
11048 " struct guestfs_dirent_list *guestfs_readdir (guestfs_h *g,\n"
11049 "\t\tconst char *dir);\n"
11050 "\n"
11051 msgstr ""
11052
11053 # type: textblock
11054 #: ../src/guestfs-actions.pod:4037 ../fish/guestfish-actions.pod:3114
11055 msgid "This returns the list of directory entries in directory C<dir>."
11056 msgstr ""
11057
11058 # type: textblock
11059 #: ../src/guestfs-actions.pod:4039 ../fish/guestfish-actions.pod:3116
11060 msgid ""
11061 "All entries in the directory are returned, including C<.> and C<..>.  The "
11062 "entries are I<not> sorted, but returned in the same order as the underlying "
11063 "filesystem."
11064 msgstr ""
11065
11066 # type: textblock
11067 #: ../src/guestfs-actions.pod:4043 ../fish/guestfish-actions.pod:3120
11068 msgid ""
11069 "Also this call returns basic file type information about each file.  The "
11070 "C<ftyp> field will contain one of the following characters:"
11071 msgstr ""
11072
11073 # type: =item
11074 #: ../src/guestfs-actions.pod:4048 ../fish/guestfish-actions.pod:3125
11075 msgid "'b'"
11076 msgstr ""
11077
11078 # type: textblock
11079 #: ../src/guestfs-actions.pod:4050 ../fish/guestfish-actions.pod:3127
11080 msgid "Block special"
11081 msgstr ""
11082
11083 # type: =item
11084 #: ../src/guestfs-actions.pod:4052 ../fish/guestfish-actions.pod:3129
11085 msgid "'c'"
11086 msgstr ""
11087
11088 # type: textblock
11089 #: ../src/guestfs-actions.pod:4054 ../fish/guestfish-actions.pod:3131
11090 msgid "Char special"
11091 msgstr ""
11092
11093 # type: =item
11094 #: ../src/guestfs-actions.pod:4056 ../fish/guestfish-actions.pod:3133
11095 msgid "'d'"
11096 msgstr ""
11097
11098 # type: textblock
11099 #: ../src/guestfs-actions.pod:4058 ../fish/guestfish-actions.pod:3135
11100 msgid "Directory"
11101 msgstr ""
11102
11103 # type: =item
11104 #: ../src/guestfs-actions.pod:4060 ../fish/guestfish-actions.pod:3137
11105 msgid "'f'"
11106 msgstr ""
11107
11108 # type: textblock
11109 #: ../src/guestfs-actions.pod:4062 ../fish/guestfish-actions.pod:3139
11110 msgid "FIFO (named pipe)"
11111 msgstr ""
11112
11113 # type: =item
11114 #: ../src/guestfs-actions.pod:4064 ../fish/guestfish-actions.pod:3141
11115 msgid "'l'"
11116 msgstr ""
11117
11118 # type: textblock
11119 #: ../src/guestfs-actions.pod:4066 ../fish/guestfish-actions.pod:3143
11120 msgid "Symbolic link"
11121 msgstr ""
11122
11123 # type: =item
11124 #: ../src/guestfs-actions.pod:4068 ../fish/guestfish-actions.pod:3145
11125 msgid "'r'"
11126 msgstr ""
11127
11128 # type: textblock
11129 #: ../src/guestfs-actions.pod:4070 ../fish/guestfish-actions.pod:3147
11130 msgid "Regular file"
11131 msgstr ""
11132
11133 # type: =item
11134 #: ../src/guestfs-actions.pod:4072 ../fish/guestfish-actions.pod:3149
11135 msgid "'s'"
11136 msgstr ""
11137
11138 # type: textblock
11139 #: ../src/guestfs-actions.pod:4074 ../fish/guestfish-actions.pod:3151
11140 msgid "Socket"
11141 msgstr ""
11142
11143 # type: =item
11144 #: ../src/guestfs-actions.pod:4076 ../fish/guestfish-actions.pod:3153
11145 msgid "'u'"
11146 msgstr ""
11147
11148 # type: textblock
11149 #: ../src/guestfs-actions.pod:4078 ../fish/guestfish-actions.pod:3155
11150 msgid "Unknown file type"
11151 msgstr ""
11152
11153 # type: =item
11154 #: ../src/guestfs-actions.pod:4080 ../fish/guestfish-actions.pod:3157
11155 msgid "'?'"
11156 msgstr ""
11157
11158 # type: textblock
11159 #: ../src/guestfs-actions.pod:4082 ../fish/guestfish-actions.pod:3159
11160 msgid ""
11161 "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
11162 msgstr ""
11163
11164 # type: textblock
11165 #: ../src/guestfs-actions.pod:4087
11166 msgid ""
11167 "This function is primarily intended for use by programs.  To get a simple "
11168 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
11169 "consumption, use C<guestfs_ll>."
11170 msgstr ""
11171
11172 # type: textblock
11173 #: ../src/guestfs-actions.pod:4091
11174 msgid ""
11175 "This function returns a C<struct guestfs_dirent_list *> (see E<lt>guestfs-"
11176 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
11177 "C<guestfs_free_dirent_list> after use>."
11178 msgstr ""
11179
11180 # type: =head2
11181 #: ../src/guestfs-actions.pod:4096
11182 msgid "guestfs_readlink"
11183 msgstr ""
11184
11185 # type: verbatim
11186 #: ../src/guestfs-actions.pod:4098
11187 #, no-wrap
11188 msgid ""
11189 " char *guestfs_readlink (guestfs_h *g,\n"
11190 "\t\tconst char *path);\n"
11191 "\n"
11192 msgstr ""
11193
11194 # type: textblock
11195 #: ../src/guestfs-actions.pod:4101 ../fish/guestfish-actions.pod:3172
11196 msgid "This command reads the target of a symbolic link."
11197 msgstr ""
11198
11199 # type: =head2
11200 #: ../src/guestfs-actions.pod:4106
11201 msgid "guestfs_readlinklist"
11202 msgstr ""
11203
11204 # type: verbatim
11205 #: ../src/guestfs-actions.pod:4108
11206 #, no-wrap
11207 msgid ""
11208 " char **guestfs_readlinklist (guestfs_h *g,\n"
11209 "\t\tconst char *path,\n"
11210 "\t\tchar *const *names);\n"
11211 "\n"
11212 msgstr ""
11213
11214 # type: textblock
11215 #: ../src/guestfs-actions.pod:4112 ../fish/guestfish-actions.pod:3178
11216 msgid ""
11217 "This call allows you to do a C<readlink> operation on multiple files, where "
11218 "all files are in the directory C<path>.  C<names> is the list of files from "
11219 "this directory."
11220 msgstr ""
11221
11222 # type: textblock
11223 #: ../src/guestfs-actions.pod:4116 ../fish/guestfish-actions.pod:3182
11224 msgid ""
11225 "On return you get a list of strings, with a one-to-one correspondence to the "
11226 "C<names> list.  Each string is the value of the symbolic link."
11227 msgstr ""
11228
11229 # type: textblock
11230 #: ../src/guestfs-actions.pod:4120 ../fish/guestfish-actions.pod:3186
11231 msgid ""
11232 "If the C<readlink(2)> operation fails on any name, then the corresponding "
11233 "result string is the empty string C<\"\">.  However the whole operation is "
11234 "completed even if there were C<readlink(2)> errors, and so you can call this "
11235 "function with names where you don't know if they are symbolic links already "
11236 "(albeit slightly less efficient)."
11237 msgstr ""
11238
11239 # type: textblock
11240 #: ../src/guestfs-actions.pod:4127 ../fish/guestfish-actions.pod:3193
11241 msgid ""
11242 "This call is intended for programs that want to efficiently list a directory "
11243 "contents without making many round-trips.  Very long directory listings "
11244 "might cause the protocol message size to be exceeded, causing this call to "
11245 "fail.  The caller must split up such requests into smaller groups of names."
11246 msgstr ""
11247
11248 # type: =head2
11249 #: ../src/guestfs-actions.pod:4138
11250 msgid "guestfs_realpath"
11251 msgstr ""
11252
11253 # type: verbatim
11254 #: ../src/guestfs-actions.pod:4140
11255 #, no-wrap
11256 msgid ""
11257 " char *guestfs_realpath (guestfs_h *g,\n"
11258 "\t\tconst char *path);\n"
11259 "\n"
11260 msgstr ""
11261
11262 # type: textblock
11263 #: ../src/guestfs-actions.pod:4143 ../fish/guestfish-actions.pod:3204
11264 msgid ""
11265 "Return the canonicalized absolute pathname of C<path>.  The returned path "
11266 "has no C<.>, C<..> or symbolic link path elements."
11267 msgstr ""
11268
11269 # type: =head2
11270 #: ../src/guestfs-actions.pod:4149
11271 msgid "guestfs_removexattr"
11272 msgstr ""
11273
11274 # type: verbatim
11275 #: ../src/guestfs-actions.pod:4151
11276 #, no-wrap
11277 msgid ""
11278 " int guestfs_removexattr (guestfs_h *g,\n"
11279 "\t\tconst char *xattr,\n"
11280 "\t\tconst char *path);\n"
11281 "\n"
11282 msgstr ""
11283
11284 # type: textblock
11285 #: ../src/guestfs-actions.pod:4155 ../fish/guestfish-actions.pod:3211
11286 msgid ""
11287 "This call removes the extended attribute named C<xattr> of the file C<path>."
11288 msgstr ""
11289
11290 # type: textblock
11291 #: ../src/guestfs-actions.pod:4158
11292 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
11293 msgstr ""
11294
11295 # type: =head2
11296 #: ../src/guestfs-actions.pod:4162
11297 msgid "guestfs_resize2fs"
11298 msgstr ""
11299
11300 # type: verbatim
11301 #: ../src/guestfs-actions.pod:4164
11302 #, no-wrap
11303 msgid ""
11304 " int guestfs_resize2fs (guestfs_h *g,\n"
11305 "\t\tconst char *device);\n"
11306 "\n"
11307 msgstr ""
11308
11309 # type: textblock
11310 #: ../src/guestfs-actions.pod:4167 ../fish/guestfish-actions.pod:3220
11311 msgid ""
11312 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
11313 "underlying device."
11314 msgstr ""
11315
11316 # type: textblock
11317 #: ../src/guestfs-actions.pod:4170
11318 msgid ""
11319 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
11320 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
11321 "sometimes gives an error about this and sometimes not.  In any case, it is "
11322 "always safe to call C<guestfs_e2fsck_f> before calling this function."
11323 msgstr ""
11324
11325 # type: =head2
11326 #: ../src/guestfs-actions.pod:4178
11327 msgid "guestfs_resize2fs_size"
11328 msgstr ""
11329
11330 # type: verbatim
11331 #: ../src/guestfs-actions.pod:4180
11332 #, no-wrap
11333 msgid ""
11334 " int guestfs_resize2fs_size (guestfs_h *g,\n"
11335 "\t\tconst char *device,\n"
11336 "\t\tint64_t size);\n"
11337 "\n"
11338 msgstr ""
11339
11340 # type: textblock
11341 #: ../src/guestfs-actions.pod:4184
11342 msgid ""
11343 "This command is the same as C<guestfs_resize2fs> except that it allows you "
11344 "to specify the new size (in bytes) explicitly."
11345 msgstr ""
11346
11347 # type: =head2
11348 #: ../src/guestfs-actions.pod:4189
11349 msgid "guestfs_rm"
11350 msgstr ""
11351
11352 # type: verbatim
11353 #: ../src/guestfs-actions.pod:4191
11354 #, no-wrap
11355 msgid ""
11356 " int guestfs_rm (guestfs_h *g,\n"
11357 "\t\tconst char *path);\n"
11358 "\n"
11359 msgstr ""
11360
11361 # type: textblock
11362 #: ../src/guestfs-actions.pod:4194 ../fish/guestfish-actions.pod:3240
11363 msgid "Remove the single file C<path>."
11364 msgstr ""
11365
11366 # type: =head2
11367 #: ../src/guestfs-actions.pod:4198
11368 msgid "guestfs_rm_rf"
11369 msgstr ""
11370
11371 # type: verbatim
11372 #: ../src/guestfs-actions.pod:4200
11373 #, no-wrap
11374 msgid ""
11375 " int guestfs_rm_rf (guestfs_h *g,\n"
11376 "\t\tconst char *path);\n"
11377 "\n"
11378 msgstr ""
11379
11380 # type: textblock
11381 #: ../src/guestfs-actions.pod:4203 ../fish/guestfish-actions.pod:3246
11382 msgid ""
11383 "Remove the file or directory C<path>, recursively removing the contents if "
11384 "its a directory.  This is like the C<rm -rf> shell command."
11385 msgstr ""
11386
11387 # type: =head2
11388 #: ../src/guestfs-actions.pod:4209
11389 msgid "guestfs_rmdir"
11390 msgstr ""
11391
11392 # type: verbatim
11393 #: ../src/guestfs-actions.pod:4211
11394 #, no-wrap
11395 msgid ""
11396 " int guestfs_rmdir (guestfs_h *g,\n"
11397 "\t\tconst char *path);\n"
11398 "\n"
11399 msgstr ""
11400
11401 # type: textblock
11402 #: ../src/guestfs-actions.pod:4214 ../fish/guestfish-actions.pod:3254
11403 msgid "Remove the single directory C<path>."
11404 msgstr ""
11405
11406 # type: =head2
11407 #: ../src/guestfs-actions.pod:4218
11408 msgid "guestfs_rmmountpoint"
11409 msgstr ""
11410
11411 # type: verbatim
11412 #: ../src/guestfs-actions.pod:4220
11413 #, no-wrap
11414 msgid ""
11415 " int guestfs_rmmountpoint (guestfs_h *g,\n"
11416 "\t\tconst char *exemptpath);\n"
11417 "\n"
11418 msgstr ""
11419
11420 # type: textblock
11421 #: ../src/guestfs-actions.pod:4223
11422 msgid ""
11423 "This calls removes a mountpoint that was previously created with "
11424 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
11425 msgstr ""
11426
11427 # type: =head2
11428 #: ../src/guestfs-actions.pod:4229
11429 msgid "guestfs_scrub_device"
11430 msgstr ""
11431
11432 # type: verbatim
11433 #: ../src/guestfs-actions.pod:4231
11434 #, no-wrap
11435 msgid ""
11436 " int guestfs_scrub_device (guestfs_h *g,\n"
11437 "\t\tconst char *device);\n"
11438 "\n"
11439 msgstr ""
11440
11441 # type: textblock
11442 #: ../src/guestfs-actions.pod:4234 ../fish/guestfish-actions.pod:3268
11443 msgid ""
11444 "This command writes patterns over C<device> to make data retrieval more "
11445 "difficult."
11446 msgstr ""
11447
11448 # type: textblock
11449 #: ../src/guestfs-actions.pod:4237 ../src/guestfs-actions.pod:4255
11450 #: ../src/guestfs-actions.pod:4271 ../fish/guestfish-actions.pod:3271
11451 #: ../fish/guestfish-actions.pod:3286 ../fish/guestfish-actions.pod:3299
11452 msgid ""
11453 "It is an interface to the L<scrub(1)> program.  See that manual page for "
11454 "more details."
11455 msgstr ""
11456
11457 # type: =head2
11458 #: ../src/guestfs-actions.pod:4245
11459 msgid "guestfs_scrub_file"
11460 msgstr ""
11461
11462 # type: verbatim
11463 #: ../src/guestfs-actions.pod:4247
11464 #, no-wrap
11465 msgid ""
11466 " int guestfs_scrub_file (guestfs_h *g,\n"
11467 "\t\tconst char *file);\n"
11468 "\n"
11469 msgstr ""
11470
11471 # type: textblock
11472 #: ../src/guestfs-actions.pod:4250 ../fish/guestfish-actions.pod:3281
11473 msgid ""
11474 "This command writes patterns over a file to make data retrieval more "
11475 "difficult."
11476 msgstr ""
11477
11478 # type: textblock
11479 #: ../src/guestfs-actions.pod:4253 ../fish/guestfish-actions.pod:3284
11480 msgid "The file is I<removed> after scrubbing."
11481 msgstr ""
11482
11483 # type: =head2
11484 #: ../src/guestfs-actions.pod:4260
11485 msgid "guestfs_scrub_freespace"
11486 msgstr ""
11487
11488 # type: verbatim
11489 #: ../src/guestfs-actions.pod:4262
11490 #, no-wrap
11491 msgid ""
11492 " int guestfs_scrub_freespace (guestfs_h *g,\n"
11493 "\t\tconst char *dir);\n"
11494 "\n"
11495 msgstr ""
11496
11497 # type: textblock
11498 #: ../src/guestfs-actions.pod:4265
11499 msgid ""
11500 "This command creates the directory C<dir> and then fills it with files until "
11501 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
11502 "and deletes them.  The intention is to scrub any free space on the partition "
11503 "containing C<dir>."
11504 msgstr ""
11505
11506 # type: =head2
11507 #: ../src/guestfs-actions.pod:4276
11508 msgid "guestfs_set_append"
11509 msgstr ""
11510
11511 # type: verbatim
11512 #: ../src/guestfs-actions.pod:4278
11513 #, no-wrap
11514 msgid ""
11515 " int guestfs_set_append (guestfs_h *g,\n"
11516 "\t\tconst char *append);\n"
11517 "\n"
11518 msgstr ""
11519
11520 # type: textblock
11521 #: ../src/guestfs-actions.pod:4281 ../fish/guestfish-actions.pod:3308
11522 msgid ""
11523 "This function is used to add additional options to the guest kernel command "
11524 "line."
11525 msgstr ""
11526
11527 # type: textblock
11528 #: ../src/guestfs-actions.pod:4284 ../fish/guestfish-actions.pod:3311
11529 msgid ""
11530 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
11531 "environment variable."
11532 msgstr ""
11533
11534 # type: textblock
11535 #: ../src/guestfs-actions.pod:4287 ../fish/guestfish-actions.pod:3314
11536 msgid ""
11537 "Setting C<append> to C<NULL> means I<no> additional options are passed "
11538 "(libguestfs always adds a few of its own)."
11539 msgstr ""
11540
11541 # type: =head2
11542 #: ../src/guestfs-actions.pod:4292
11543 msgid "guestfs_set_autosync"
11544 msgstr ""
11545
11546 # type: verbatim
11547 #: ../src/guestfs-actions.pod:4294
11548 #, no-wrap
11549 msgid ""
11550 " int guestfs_set_autosync (guestfs_h *g,\n"
11551 "\t\tint autosync);\n"
11552 "\n"
11553 msgstr ""
11554
11555 # type: textblock
11556 #: ../src/guestfs-actions.pod:4297
11557 msgid ""
11558 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
11559 "effort attempt to run C<guestfs_umount_all> followed by C<guestfs_sync> when "
11560 "the handle is closed (also if the program exits without closing handles)."
11561 msgstr ""
11562
11563 # type: textblock
11564 #: ../src/guestfs-actions.pod:4302 ../fish/guestfish-actions.pod:3328
11565 msgid ""
11566 "This is disabled by default (except in guestfish where it is enabled by "
11567 "default)."
11568 msgstr ""
11569
11570 # type: =head2
11571 #: ../src/guestfs-actions.pod:4307
11572 msgid "guestfs_set_direct"
11573 msgstr ""
11574
11575 # type: verbatim
11576 #: ../src/guestfs-actions.pod:4309
11577 #, no-wrap
11578 msgid ""
11579 " int guestfs_set_direct (guestfs_h *g,\n"
11580 "\t\tint direct);\n"
11581 "\n"
11582 msgstr ""
11583
11584 # type: textblock
11585 #: ../src/guestfs-actions.pod:4312 ../fish/guestfish-actions.pod:3337
11586 msgid ""
11587 "If the direct appliance mode flag is enabled, then stdin and stdout are "
11588 "passed directly through to the appliance once it is launched."
11589 msgstr ""
11590
11591 # type: textblock
11592 #: ../src/guestfs-actions.pod:4316
11593 msgid ""
11594 "One consequence of this is that log messages aren't caught by the library "
11595 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
11596 "stdout."
11597 msgstr ""
11598
11599 # type: textblock
11600 #: ../src/guestfs-actions.pod:4320 ../fish/guestfish-actions.pod:3345
11601 msgid "You probably don't want to use this unless you know what you are doing."
11602 msgstr ""
11603
11604 # type: textblock
11605 #: ../src/guestfs-actions.pod:4323 ../fish/guestfish-actions.pod:3348
11606 msgid "The default is disabled."
11607 msgstr ""
11608
11609 # type: =head2
11610 #: ../src/guestfs-actions.pod:4327
11611 msgid "guestfs_set_e2label"
11612 msgstr ""
11613
11614 # type: verbatim
11615 #: ../src/guestfs-actions.pod:4329
11616 #, no-wrap
11617 msgid ""
11618 " int guestfs_set_e2label (guestfs_h *g,\n"
11619 "\t\tconst char *device,\n"
11620 "\t\tconst char *label);\n"
11621 "\n"
11622 msgstr ""
11623
11624 # type: textblock
11625 #: ../src/guestfs-actions.pod:4333 ../fish/guestfish-actions.pod:3354
11626 msgid ""
11627 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
11628 "C<label>.  Filesystem labels are limited to 16 characters."
11629 msgstr ""
11630
11631 # type: textblock
11632 #: ../src/guestfs-actions.pod:4337
11633 msgid ""
11634 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
11635 "the existing label on a filesystem."
11636 msgstr ""
11637
11638 # type: =head2
11639 #: ../src/guestfs-actions.pod:4342
11640 msgid "guestfs_set_e2uuid"
11641 msgstr ""
11642
11643 # type: verbatim
11644 #: ../src/guestfs-actions.pod:4344
11645 #, no-wrap
11646 msgid ""
11647 " int guestfs_set_e2uuid (guestfs_h *g,\n"
11648 "\t\tconst char *device,\n"
11649 "\t\tconst char *uuid);\n"
11650 "\n"
11651 msgstr ""
11652
11653 # type: textblock
11654 #: ../src/guestfs-actions.pod:4348 ../fish/guestfish-actions.pod:3365
11655 msgid ""
11656 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
11657 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
11658 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
11659 msgstr ""
11660
11661 # type: textblock
11662 #: ../src/guestfs-actions.pod:4353
11663 msgid ""
11664 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
11665 "the existing UUID of a filesystem."
11666 msgstr ""
11667
11668 # type: =head2
11669 #: ../src/guestfs-actions.pod:4358
11670 msgid "guestfs_set_memsize"
11671 msgstr ""
11672
11673 # type: verbatim
11674 #: ../src/guestfs-actions.pod:4360
11675 #, no-wrap
11676 msgid ""
11677 " int guestfs_set_memsize (guestfs_h *g,\n"
11678 "\t\tint memsize);\n"
11679 "\n"
11680 msgstr ""
11681
11682 # type: textblock
11683 #: ../src/guestfs-actions.pod:4363
11684 msgid ""
11685 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
11686 "This only has any effect if called before C<guestfs_launch>."
11687 msgstr ""
11688
11689 # type: textblock
11690 #: ../src/guestfs-actions.pod:4367 ../fish/guestfish-actions.pod:3383
11691 msgid ""
11692 "You can also change this by setting the environment variable "
11693 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
11694 msgstr ""
11695
11696 # type: =head2
11697 #: ../src/guestfs-actions.pod:4376
11698 msgid "guestfs_set_network"
11699 msgstr ""
11700
11701 # type: verbatim
11702 #: ../src/guestfs-actions.pod:4378
11703 #, no-wrap
11704 msgid ""
11705 " int guestfs_set_network (guestfs_h *g,\n"
11706 "\t\tint network);\n"
11707 "\n"
11708 msgstr ""
11709
11710 # type: textblock
11711 #: ../src/guestfs-actions.pod:4381 ../fish/guestfish-actions.pod:3396
11712 msgid ""
11713 "If C<network> is true, then the network is enabled in the libguestfs "
11714 "appliance.  The default is false."
11715 msgstr ""
11716
11717 # type: textblock
11718 #: ../src/guestfs-actions.pod:4384 ../fish/guestfish-actions.pod:3399
11719 msgid ""
11720 "This affects whether commands are able to access the network (see L<guestfs"
11721 "(3)/RUNNING COMMANDS>)."
11722 msgstr ""
11723
11724 # type: textblock
11725 #: ../src/guestfs-actions.pod:4387
11726 msgid ""
11727 "You must call this before calling C<guestfs_launch>, otherwise it has no "
11728 "effect."
11729 msgstr ""
11730
11731 # type: =head2
11732 #: ../src/guestfs-actions.pod:4392
11733 msgid "guestfs_set_path"
11734 msgstr ""
11735
11736 # type: verbatim
11737 #: ../src/guestfs-actions.pod:4394
11738 #, no-wrap
11739 msgid ""
11740 " int guestfs_set_path (guestfs_h *g,\n"
11741 "\t\tconst char *searchpath);\n"
11742 "\n"
11743 msgstr ""
11744
11745 # type: textblock
11746 #: ../src/guestfs-actions.pod:4397 ../fish/guestfish-actions.pod:3411
11747 msgid "Set the path that libguestfs searches for kernel and initrd.img."
11748 msgstr ""
11749
11750 # type: textblock
11751 #: ../src/guestfs-actions.pod:4399 ../fish/guestfish-actions.pod:3413
11752 msgid ""
11753 "The default is C<$libdir/guestfs> unless overridden by setting "
11754 "C<LIBGUESTFS_PATH> environment variable."
11755 msgstr ""
11756
11757 # type: textblock
11758 #: ../src/guestfs-actions.pod:4402 ../fish/guestfish-actions.pod:3416
11759 msgid "Setting C<path> to C<NULL> restores the default path."
11760 msgstr ""
11761
11762 # type: =head2
11763 #: ../src/guestfs-actions.pod:4406
11764 msgid "guestfs_set_qemu"
11765 msgstr ""
11766
11767 # type: verbatim
11768 #: ../src/guestfs-actions.pod:4408
11769 #, no-wrap
11770 msgid ""
11771 " int guestfs_set_qemu (guestfs_h *g,\n"
11772 "\t\tconst char *qemu);\n"
11773 "\n"
11774 msgstr ""
11775
11776 # type: textblock
11777 #: ../src/guestfs-actions.pod:4411 ../fish/guestfish-actions.pod:3424
11778 msgid "Set the qemu binary that we will use."
11779 msgstr ""
11780
11781 # type: textblock
11782 #: ../src/guestfs-actions.pod:4413 ../fish/guestfish-actions.pod:3426
11783 msgid ""
11784 "The default is chosen when the library was compiled by the configure script."
11785 msgstr ""
11786
11787 # type: textblock
11788 #: ../src/guestfs-actions.pod:4416 ../fish/guestfish-actions.pod:3429
11789 msgid ""
11790 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
11791 "variable."
11792 msgstr ""
11793
11794 # type: textblock
11795 #: ../src/guestfs-actions.pod:4419 ../fish/guestfish-actions.pod:3432
11796 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
11797 msgstr ""
11798
11799 # type: textblock
11800 #: ../src/guestfs-actions.pod:4421 ../fish/guestfish-actions.pod:3434
11801 msgid ""
11802 "Note that you should call this function as early as possible after creating "
11803 "the handle.  This is because some pre-launch operations depend on testing "
11804 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
11805 "don't retest features, and so you might see inconsistent results.  Using the "
11806 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
11807 "the qemu binary at the same time as the handle is created."
11808 msgstr ""
11809
11810 # type: =head2
11811 #: ../src/guestfs-actions.pod:4431
11812 msgid "guestfs_set_recovery_proc"
11813 msgstr ""
11814
11815 # type: verbatim
11816 #: ../src/guestfs-actions.pod:4433
11817 #, no-wrap
11818 msgid ""
11819 " int guestfs_set_recovery_proc (guestfs_h *g,\n"
11820 "\t\tint recoveryproc);\n"
11821 "\n"
11822 msgstr ""
11823
11824 # type: textblock
11825 #: ../src/guestfs-actions.pod:4436
11826 msgid ""
11827 "If this is called with the parameter C<false> then C<guestfs_launch> does "
11828 "not create a recovery process.  The purpose of the recovery process is to "
11829 "stop runaway qemu processes in the case where the main program aborts "
11830 "abruptly."
11831 msgstr ""
11832
11833 # type: textblock
11834 #: ../src/guestfs-actions.pod:4441
11835 msgid ""
11836 "This only has any effect if called before C<guestfs_launch>, and the default "
11837 "is true."
11838 msgstr ""
11839
11840 # type: textblock
11841 #: ../src/guestfs-actions.pod:4444 ../fish/guestfish-actions.pod:3456
11842 msgid ""
11843 "About the only time when you would want to disable this is if the main "
11844 "process will fork itself into the background (\"daemonize\" itself).  In "
11845 "this case the recovery process thinks that the main program has disappeared "
11846 "and so kills qemu, which is not very helpful."
11847 msgstr ""
11848
11849 # type: =head2
11850 #: ../src/guestfs-actions.pod:4452
11851 msgid "guestfs_set_selinux"
11852 msgstr ""
11853
11854 # type: verbatim
11855 #: ../src/guestfs-actions.pod:4454
11856 #, no-wrap
11857 msgid ""
11858 " int guestfs_set_selinux (guestfs_h *g,\n"
11859 "\t\tint selinux);\n"
11860 "\n"
11861 msgstr ""
11862
11863 # type: textblock
11864 #: ../src/guestfs-actions.pod:4457 ../fish/guestfish-actions.pod:3468
11865 msgid ""
11866 "This sets the selinux flag that is passed to the appliance at boot time.  "
11867 "The default is C<selinux=0> (disabled)."
11868 msgstr ""
11869
11870 # type: textblock
11871 #: ../src/guestfs-actions.pod:4460 ../fish/guestfish-actions.pod:3471
11872 msgid ""
11873 "Note that if SELinux is enabled, it is always in Permissive mode "
11874 "(C<enforcing=0>)."
11875 msgstr ""
11876
11877 # type: =head2
11878 #: ../src/guestfs-actions.pod:4468
11879 msgid "guestfs_set_trace"
11880 msgstr ""
11881
11882 # type: verbatim
11883 #: ../src/guestfs-actions.pod:4470
11884 #, no-wrap
11885 msgid ""
11886 " int guestfs_set_trace (guestfs_h *g,\n"
11887 "\t\tint trace);\n"
11888 "\n"
11889 msgstr ""
11890
11891 # type: textblock
11892 #: ../src/guestfs-actions.pod:4473 ../fish/guestfish-actions.pod:3483
11893 msgid ""
11894 "If the command trace flag is set to 1, then commands are printed on stderr "
11895 "before they are executed in a format which is very similar to the one used "
11896 "by guestfish.  In other words, you can run a program with this enabled, and "
11897 "you will get out a script which you can feed to guestfish to perform the "
11898 "same set of actions."
11899 msgstr ""
11900
11901 # type: textblock
11902 #: ../src/guestfs-actions.pod:4480 ../fish/guestfish-actions.pod:3490
11903 msgid ""
11904 "If you want to trace C API calls into libguestfs (and other libraries) then "
11905 "possibly a better way is to use the external ltrace(1) command."
11906 msgstr ""
11907
11908 # type: textblock
11909 #: ../src/guestfs-actions.pod:4484 ../fish/guestfish-actions.pod:3494
11910 msgid ""
11911 "Command traces are disabled unless the environment variable "
11912 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
11913 msgstr ""
11914
11915 # type: =head2
11916 #: ../src/guestfs-actions.pod:4489
11917 msgid "guestfs_set_verbose"
11918 msgstr ""
11919
11920 # type: verbatim
11921 #: ../src/guestfs-actions.pod:4491
11922 #, no-wrap
11923 msgid ""
11924 " int guestfs_set_verbose (guestfs_h *g,\n"
11925 "\t\tint verbose);\n"
11926 "\n"
11927 msgstr ""
11928
11929 # type: textblock
11930 #: ../src/guestfs-actions.pod:4494 ../fish/guestfish-actions.pod:3503
11931 msgid "If C<verbose> is true, this turns on verbose messages (to C<stderr>)."
11932 msgstr ""
11933
11934 # type: textblock
11935 #: ../src/guestfs-actions.pod:4496 ../fish/guestfish-actions.pod:3505
11936 msgid ""
11937 "Verbose messages are disabled unless the environment variable "
11938 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
11939 msgstr ""
11940
11941 # type: =head2
11942 #: ../src/guestfs-actions.pod:4501
11943 msgid "guestfs_setcon"
11944 msgstr ""
11945
11946 # type: verbatim
11947 #: ../src/guestfs-actions.pod:4503
11948 #, no-wrap
11949 msgid ""
11950 " int guestfs_setcon (guestfs_h *g,\n"
11951 "\t\tconst char *context);\n"
11952 "\n"
11953 msgstr ""
11954
11955 # type: textblock
11956 #: ../src/guestfs-actions.pod:4506 ../fish/guestfish-actions.pod:3512
11957 msgid ""
11958 "This sets the SELinux security context of the daemon to the string "
11959 "C<context>."
11960 msgstr ""
11961
11962 # type: textblock
11963 #: ../src/guestfs-actions.pod:4509 ../fish/guestfish-actions.pod:3515
11964 msgid "See the documentation about SELINUX in L<guestfs(3)>."
11965 msgstr ""
11966
11967 # type: =head2
11968 #: ../src/guestfs-actions.pod:4513
11969 msgid "guestfs_setxattr"
11970 msgstr ""
11971
11972 # type: verbatim
11973 #: ../src/guestfs-actions.pod:4515
11974 #, no-wrap
11975 msgid ""
11976 " int guestfs_setxattr (guestfs_h *g,\n"
11977 "\t\tconst char *xattr,\n"
11978 "\t\tconst char *val,\n"
11979 "\t\tint vallen,\n"
11980 "\t\tconst char *path);\n"
11981 "\n"
11982 msgstr ""
11983
11984 # type: textblock
11985 #: ../src/guestfs-actions.pod:4521 ../fish/guestfish-actions.pod:3521
11986 msgid ""
11987 "This call sets the extended attribute named C<xattr> of the file C<path> to "
11988 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
11989 msgstr ""
11990
11991 # type: textblock
11992 #: ../src/guestfs-actions.pod:4525
11993 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
11994 msgstr ""
11995
11996 # type: =head2
11997 #: ../src/guestfs-actions.pod:4529
11998 msgid "guestfs_sfdisk"
11999 msgstr ""
12000
12001 # type: verbatim
12002 #: ../src/guestfs-actions.pod:4531
12003 #, no-wrap
12004 msgid ""
12005 " int guestfs_sfdisk (guestfs_h *g,\n"
12006 "\t\tconst char *device,\n"
12007 "\t\tint cyls,\n"
12008 "\t\tint heads,\n"
12009 "\t\tint sectors,\n"
12010 "\t\tchar *const *lines);\n"
12011 "\n"
12012 msgstr ""
12013
12014 # type: textblock
12015 #: ../src/guestfs-actions.pod:4538 ../fish/guestfish-actions.pod:3531
12016 msgid ""
12017 "This is a direct interface to the L<sfdisk(8)> program for creating "
12018 "partitions on block devices."
12019 msgstr ""
12020
12021 # type: textblock
12022 #: ../src/guestfs-actions.pod:4541 ../fish/guestfish-actions.pod:3534
12023 msgid "C<device> should be a block device, for example C</dev/sda>."
12024 msgstr ""
12025
12026 # type: textblock
12027 #: ../src/guestfs-actions.pod:4543 ../fish/guestfish-actions.pod:3536
12028 msgid ""
12029 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
12030 "sectors on the device, which are passed directly to sfdisk as the I<-C>, I<-"
12031 "H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
12032 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
12033 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
12034 "the kernel) cannot work out the right geometry and you will need to tell it."
12035 msgstr ""
12036
12037 # type: textblock
12038 #: ../src/guestfs-actions.pod:4551 ../fish/guestfish-actions.pod:3544
12039 msgid ""
12040 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
12041 "refer to the L<sfdisk(8)> manpage."
12042 msgstr ""
12043
12044 # type: textblock
12045 #: ../src/guestfs-actions.pod:4554 ../fish/guestfish-actions.pod:3547
12046 msgid ""
12047 "To create a single partition occupying the whole disk, you would pass "
12048 "C<lines> as a single element list, when the single element being the string "
12049 "C<,> (comma)."
12050 msgstr ""
12051
12052 # type: textblock
12053 #: ../src/guestfs-actions.pod:4558
12054 msgid ""
12055 "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
12056 msgstr ""
12057
12058 # type: =head2
12059 #: ../src/guestfs-actions.pod:4566
12060 msgid "guestfs_sfdiskM"
12061 msgstr ""
12062
12063 # type: verbatim
12064 #: ../src/guestfs-actions.pod:4568
12065 #, no-wrap
12066 msgid ""
12067 " int guestfs_sfdiskM (guestfs_h *g,\n"
12068 "\t\tconst char *device,\n"
12069 "\t\tchar *const *lines);\n"
12070 "\n"
12071 msgstr ""
12072
12073 # type: textblock
12074 #: ../src/guestfs-actions.pod:4572
12075 msgid ""
12076 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
12077 "partition sizes are specified in megabytes only (rounded to the nearest "
12078 "cylinder) and you don't need to specify the cyls, heads and sectors "
12079 "parameters which were rarely if ever used anyway."
12080 msgstr ""
12081
12082 # type: textblock
12083 #: ../src/guestfs-actions.pod:4578
12084 msgid ""
12085 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
12086 "C<guestfs_part_disk>"
12087 msgstr ""
12088
12089 # type: =head2
12090 #: ../src/guestfs-actions.pod:4586
12091 msgid "guestfs_sfdisk_N"
12092 msgstr ""
12093
12094 # type: verbatim
12095 #: ../src/guestfs-actions.pod:4588
12096 #, no-wrap
12097 msgid ""
12098 " int guestfs_sfdisk_N (guestfs_h *g,\n"
12099 "\t\tconst char *device,\n"
12100 "\t\tint partnum,\n"
12101 "\t\tint cyls,\n"
12102 "\t\tint heads,\n"
12103 "\t\tint sectors,\n"
12104 "\t\tconst char *line);\n"
12105 "\n"
12106 msgstr ""
12107
12108 # type: textblock
12109 #: ../src/guestfs-actions.pod:4596 ../fish/guestfish-actions.pod:3577
12110 msgid ""
12111 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
12112 "(note: C<n> counts from 1)."
12113 msgstr ""
12114
12115 # type: textblock
12116 #: ../src/guestfs-actions.pod:4599
12117 msgid ""
12118 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
12119 "for the cyls/heads/sectors parameters."
12120 msgstr ""
12121
12122 # type: textblock
12123 #: ../src/guestfs-actions.pod:4602
12124 msgid "See also: C<guestfs_part_add>"
12125 msgstr ""
12126
12127 # type: =head2
12128 #: ../src/guestfs-actions.pod:4609
12129 msgid "guestfs_sfdisk_disk_geometry"
12130 msgstr ""
12131
12132 # type: verbatim
12133 #: ../src/guestfs-actions.pod:4611
12134 #, no-wrap
12135 msgid ""
12136 " char *guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
12137 "\t\tconst char *device);\n"
12138 "\n"
12139 msgstr ""
12140
12141 # type: textblock
12142 #: ../src/guestfs-actions.pod:4614
12143 msgid ""
12144 "This displays the disk geometry of C<device> read from the partition table.  "
12145 "Especially in the case where the underlying block device has been resized, "
12146 "this can be different from the kernel's idea of the geometry (see "
12147 "C<guestfs_sfdisk_kernel_geometry>)."
12148 msgstr ""
12149
12150 # type: textblock
12151 #: ../src/guestfs-actions.pod:4619 ../src/guestfs-actions.pod:4632
12152 #: ../fish/guestfish-actions.pod:3597 ../fish/guestfish-actions.pod:3606
12153 msgid "The result is in human-readable format, and not designed to be parsed."
12154 msgstr ""
12155
12156 # type: =head2
12157 #: ../src/guestfs-actions.pod:4625
12158 msgid "guestfs_sfdisk_kernel_geometry"
12159 msgstr ""
12160
12161 # type: verbatim
12162 #: ../src/guestfs-actions.pod:4627
12163 #, no-wrap
12164 msgid ""
12165 " char *guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
12166 "\t\tconst char *device);\n"
12167 "\n"
12168 msgstr ""
12169
12170 # type: textblock
12171 #: ../src/guestfs-actions.pod:4630 ../fish/guestfish-actions.pod:3604
12172 msgid "This displays the kernel's idea of the geometry of C<device>."
12173 msgstr ""
12174
12175 # type: =head2
12176 #: ../src/guestfs-actions.pod:4638
12177 msgid "guestfs_sfdisk_l"
12178 msgstr ""
12179
12180 # type: verbatim
12181 #: ../src/guestfs-actions.pod:4640
12182 #, no-wrap
12183 msgid ""
12184 " char *guestfs_sfdisk_l (guestfs_h *g,\n"
12185 "\t\tconst char *device);\n"
12186 "\n"
12187 msgstr ""
12188
12189 # type: textblock
12190 #: ../src/guestfs-actions.pod:4643 ../fish/guestfish-actions.pod:3613
12191 msgid ""
12192 "This displays the partition table on C<device>, in the human-readable output "
12193 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
12194 msgstr ""
12195
12196 # type: textblock
12197 #: ../src/guestfs-actions.pod:4647
12198 msgid "See also: C<guestfs_part_list>"
12199 msgstr ""
12200
12201 # type: =head2
12202 #: ../src/guestfs-actions.pod:4652
12203 msgid "guestfs_sh"
12204 msgstr ""
12205
12206 # type: verbatim
12207 #: ../src/guestfs-actions.pod:4654
12208 #, no-wrap
12209 msgid ""
12210 " char *guestfs_sh (guestfs_h *g,\n"
12211 "\t\tconst char *command);\n"
12212 "\n"
12213 msgstr ""
12214
12215 # type: textblock
12216 #: ../src/guestfs-actions.pod:4657 ../fish/guestfish-actions.pod:3623
12217 msgid ""
12218 "This call runs a command from the guest filesystem via the guest's C</bin/"
12219 "sh>."
12220 msgstr ""
12221
12222 # type: textblock
12223 #: ../src/guestfs-actions.pod:4660
12224 msgid "This is like C<guestfs_command>, but passes the command to:"
12225 msgstr ""
12226
12227 # type: verbatim
12228 #: ../src/guestfs-actions.pod:4662 ../fish/guestfish-actions.pod:3628
12229 #, no-wrap
12230 msgid ""
12231 " /bin/sh -c \"command\"\n"
12232 "\n"
12233 msgstr ""
12234
12235 # type: textblock
12236 #: ../src/guestfs-actions.pod:4664 ../fish/guestfish-actions.pod:3630
12237 msgid ""
12238 "Depending on the guest's shell, this usually results in wildcards being "
12239 "expanded, shell expressions being interpolated and so on."
12240 msgstr ""
12241
12242 # type: textblock
12243 #: ../src/guestfs-actions.pod:4668
12244 msgid "All the provisos about C<guestfs_command> apply to this call."
12245 msgstr ""
12246
12247 # type: =head2
12248 #: ../src/guestfs-actions.pod:4673
12249 msgid "guestfs_sh_lines"
12250 msgstr ""
12251
12252 # type: verbatim
12253 #: ../src/guestfs-actions.pod:4675
12254 #, no-wrap
12255 msgid ""
12256 " char **guestfs_sh_lines (guestfs_h *g,\n"
12257 "\t\tconst char *command);\n"
12258 "\n"
12259 msgstr ""
12260
12261 # type: textblock
12262 #: ../src/guestfs-actions.pod:4678
12263 msgid ""
12264 "This is the same as C<guestfs_sh>, but splits the result into a list of "
12265 "lines."
12266 msgstr ""
12267
12268 # type: textblock
12269 #: ../src/guestfs-actions.pod:4681
12270 msgid "See also: C<guestfs_command_lines>"
12271 msgstr ""
12272
12273 # type: =head2
12274 #: ../src/guestfs-actions.pod:4687
12275 msgid "guestfs_sleep"
12276 msgstr ""
12277
12278 # type: verbatim
12279 #: ../src/guestfs-actions.pod:4689
12280 #, no-wrap
12281 msgid ""
12282 " int guestfs_sleep (guestfs_h *g,\n"
12283 "\t\tint secs);\n"
12284 "\n"
12285 msgstr ""
12286
12287 # type: textblock
12288 #: ../src/guestfs-actions.pod:4692 ../fish/guestfish-actions.pod:3649
12289 msgid "Sleep for C<secs> seconds."
12290 msgstr ""
12291
12292 # type: =head2
12293 #: ../src/guestfs-actions.pod:4696 ../src/guestfs-structs.pod:109
12294 msgid "guestfs_stat"
12295 msgstr ""
12296
12297 # type: verbatim
12298 #: ../src/guestfs-actions.pod:4698
12299 #, no-wrap
12300 msgid ""
12301 " struct guestfs_stat *guestfs_stat (guestfs_h *g,\n"
12302 "\t\tconst char *path);\n"
12303 "\n"
12304 msgstr ""
12305
12306 # type: textblock
12307 #: ../src/guestfs-actions.pod:4703 ../fish/guestfish-actions.pod:3657
12308 msgid "This is the same as the C<stat(2)> system call."
12309 msgstr ""
12310
12311 # type: =head2
12312 #: ../src/guestfs-actions.pod:4709 ../src/guestfs-structs.pod:135
12313 msgid "guestfs_statvfs"
12314 msgstr ""
12315
12316 # type: verbatim
12317 #: ../src/guestfs-actions.pod:4711
12318 #, no-wrap
12319 msgid ""
12320 " struct guestfs_statvfs *guestfs_statvfs (guestfs_h *g,\n"
12321 "\t\tconst char *path);\n"
12322 "\n"
12323 msgstr ""
12324
12325 # type: textblock
12326 #: ../src/guestfs-actions.pod:4714 ../fish/guestfish-actions.pod:3663
12327 msgid ""
12328 "Returns file system statistics for any mounted file system.  C<path> should "
12329 "be a file or directory in the mounted file system (typically it is the mount "
12330 "point itself, but it doesn't need to be)."
12331 msgstr ""
12332
12333 # type: textblock
12334 #: ../src/guestfs-actions.pod:4718 ../fish/guestfish-actions.pod:3667
12335 msgid "This is the same as the C<statvfs(2)> system call."
12336 msgstr ""
12337
12338 # type: textblock
12339 #: ../src/guestfs-actions.pod:4720
12340 msgid ""
12341 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
12342 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
12343 msgstr ""
12344
12345 # type: =head2
12346 #: ../src/guestfs-actions.pod:4724
12347 msgid "guestfs_strings"
12348 msgstr ""
12349
12350 # type: verbatim
12351 #: ../src/guestfs-actions.pod:4726
12352 #, no-wrap
12353 msgid ""
12354 " char **guestfs_strings (guestfs_h *g,\n"
12355 "\t\tconst char *path);\n"
12356 "\n"
12357 msgstr ""
12358
12359 # type: textblock
12360 #: ../src/guestfs-actions.pod:4729 ../fish/guestfish-actions.pod:3673
12361 msgid ""
12362 "This runs the L<strings(1)> command on a file and returns the list of "
12363 "printable strings found."
12364 msgstr ""
12365
12366 # type: =head2
12367 #: ../src/guestfs-actions.pod:4739
12368 msgid "guestfs_strings_e"
12369 msgstr ""
12370
12371 # type: verbatim
12372 #: ../src/guestfs-actions.pod:4741
12373 #, no-wrap
12374 msgid ""
12375 " char **guestfs_strings_e (guestfs_h *g,\n"
12376 "\t\tconst char *encoding,\n"
12377 "\t\tconst char *path);\n"
12378 "\n"
12379 msgstr ""
12380
12381 # type: textblock
12382 #: ../src/guestfs-actions.pod:4745
12383 msgid ""
12384 "This is like the C<guestfs_strings> command, but allows you to specify the "
12385 "encoding of strings that are looked for in the source file C<path>."
12386 msgstr ""
12387
12388 # type: textblock
12389 #: ../src/guestfs-actions.pod:4749 ../fish/guestfish-actions.pod:3687
12390 msgid "Allowed encodings are:"
12391 msgstr ""
12392
12393 # type: =item
12394 #: ../src/guestfs-actions.pod:4753 ../fish/guestfish-actions.pod:3691
12395 msgid "s"
12396 msgstr ""
12397
12398 # type: textblock
12399 #: ../src/guestfs-actions.pod:4755
12400 msgid ""
12401 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
12402 "ISO-8859-X (this is what C<guestfs_strings> uses)."
12403 msgstr ""
12404
12405 # type: =item
12406 #: ../src/guestfs-actions.pod:4758 ../fish/guestfish-actions.pod:3696
12407 msgid "S"
12408 msgstr ""
12409
12410 # type: textblock
12411 #: ../src/guestfs-actions.pod:4760 ../fish/guestfish-actions.pod:3698
12412 msgid "Single 8-bit-byte characters."
12413 msgstr ""
12414
12415 # type: =item
12416 #: ../src/guestfs-actions.pod:4762 ../fish/guestfish-actions.pod:3700
12417 msgid "b"
12418 msgstr ""
12419
12420 # type: textblock
12421 #: ../src/guestfs-actions.pod:4764 ../fish/guestfish-actions.pod:3702
12422 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
12423 msgstr ""
12424
12425 # type: =item
12426 #: ../src/guestfs-actions.pod:4767 ../fish/guestfish-actions.pod:3705
12427 msgid "l (lower case letter L)"
12428 msgstr ""
12429
12430 # type: textblock
12431 #: ../src/guestfs-actions.pod:4769 ../fish/guestfish-actions.pod:3707
12432 msgid ""
12433 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
12434 "examining binaries in Windows guests."
12435 msgstr ""
12436
12437 # type: =item
12438 #: ../src/guestfs-actions.pod:4772 ../fish/guestfish-actions.pod:3710
12439 msgid "B"
12440 msgstr ""
12441
12442 # type: textblock
12443 #: ../src/guestfs-actions.pod:4774 ../fish/guestfish-actions.pod:3712
12444 msgid "32-bit big endian such as UCS-4BE."
12445 msgstr ""
12446
12447 # type: =item
12448 #: ../src/guestfs-actions.pod:4776 ../fish/guestfish-actions.pod:3714
12449 msgid "L"
12450 msgstr ""
12451
12452 # type: textblock
12453 #: ../src/guestfs-actions.pod:4778 ../fish/guestfish-actions.pod:3716
12454 msgid "32-bit little endian such as UCS-4LE."
12455 msgstr ""
12456
12457 # type: textblock
12458 #: ../src/guestfs-actions.pod:4782 ../fish/guestfish-actions.pod:3720
12459 msgid "The returned strings are transcoded to UTF-8."
12460 msgstr ""
12461
12462 # type: =head2
12463 #: ../src/guestfs-actions.pod:4791
12464 msgid "guestfs_swapoff_device"
12465 msgstr ""
12466
12467 # type: verbatim
12468 #: ../src/guestfs-actions.pod:4793
12469 #, no-wrap
12470 msgid ""
12471 " int guestfs_swapoff_device (guestfs_h *g,\n"
12472 "\t\tconst char *device);\n"
12473 "\n"
12474 msgstr ""
12475
12476 # type: textblock
12477 #: ../src/guestfs-actions.pod:4796
12478 msgid ""
12479 "This command disables the libguestfs appliance swap device or partition "
12480 "named C<device>.  See C<guestfs_swapon_device>."
12481 msgstr ""
12482
12483 # type: =head2
12484 #: ../src/guestfs-actions.pod:4802
12485 msgid "guestfs_swapoff_file"
12486 msgstr ""
12487
12488 # type: verbatim
12489 #: ../src/guestfs-actions.pod:4804
12490 #, no-wrap
12491 msgid ""
12492 " int guestfs_swapoff_file (guestfs_h *g,\n"
12493 "\t\tconst char *file);\n"
12494 "\n"
12495 msgstr ""
12496
12497 # type: textblock
12498 #: ../src/guestfs-actions.pod:4807 ../fish/guestfish-actions.pod:3737
12499 msgid "This command disables the libguestfs appliance swap on file."
12500 msgstr ""
12501
12502 # type: =head2
12503 #: ../src/guestfs-actions.pod:4811
12504 msgid "guestfs_swapoff_label"
12505 msgstr ""
12506
12507 # type: verbatim
12508 #: ../src/guestfs-actions.pod:4813
12509 #, no-wrap
12510 msgid ""
12511 " int guestfs_swapoff_label (guestfs_h *g,\n"
12512 "\t\tconst char *label);\n"
12513 "\n"
12514 msgstr ""
12515
12516 # type: textblock
12517 #: ../src/guestfs-actions.pod:4816 ../fish/guestfish-actions.pod:3743
12518 msgid ""
12519 "This command disables the libguestfs appliance swap on labeled swap "
12520 "partition."
12521 msgstr ""
12522
12523 # type: =head2
12524 #: ../src/guestfs-actions.pod:4821
12525 msgid "guestfs_swapoff_uuid"
12526 msgstr ""
12527
12528 # type: verbatim
12529 #: ../src/guestfs-actions.pod:4823
12530 #, no-wrap
12531 msgid ""
12532 " int guestfs_swapoff_uuid (guestfs_h *g,\n"
12533 "\t\tconst char *uuid);\n"
12534 "\n"
12535 msgstr ""
12536
12537 # type: textblock
12538 #: ../src/guestfs-actions.pod:4826 ../fish/guestfish-actions.pod:3750
12539 msgid ""
12540 "This command disables the libguestfs appliance swap partition with the given "
12541 "UUID."
12542 msgstr ""
12543
12544 # type: =head2
12545 #: ../src/guestfs-actions.pod:4831
12546 msgid "guestfs_swapon_device"
12547 msgstr ""
12548
12549 # type: verbatim
12550 #: ../src/guestfs-actions.pod:4833
12551 #, no-wrap
12552 msgid ""
12553 " int guestfs_swapon_device (guestfs_h *g,\n"
12554 "\t\tconst char *device);\n"
12555 "\n"
12556 msgstr ""
12557
12558 # type: textblock
12559 #: ../src/guestfs-actions.pod:4836
12560 msgid ""
12561 "This command enables the libguestfs appliance to use the swap device or "
12562 "partition named C<device>.  The increased memory is made available for all "
12563 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
12564 msgstr ""
12565
12566 # type: textblock
12567 #: ../src/guestfs-actions.pod:4841 ../fish/guestfish-actions.pod:3762
12568 msgid ""
12569 "Note that you should not swap to existing guest swap partitions unless you "
12570 "know what you are doing.  They may contain hibernation information, or other "
12571 "information that the guest doesn't want you to trash.  You also risk leaking "
12572 "information about the host to the guest this way.  Instead, attach a new "
12573 "host device to the guest and swap on that."
12574 msgstr ""
12575
12576 # type: =head2
12577 #: ../src/guestfs-actions.pod:4850
12578 msgid "guestfs_swapon_file"
12579 msgstr ""
12580
12581 # type: verbatim
12582 #: ../src/guestfs-actions.pod:4852
12583 #, no-wrap
12584 msgid ""
12585 " int guestfs_swapon_file (guestfs_h *g,\n"
12586 "\t\tconst char *file);\n"
12587 "\n"
12588 msgstr ""
12589
12590 # type: textblock
12591 #: ../src/guestfs-actions.pod:4855
12592 msgid ""
12593 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
12594 "notes."
12595 msgstr ""
12596
12597 # type: =head2
12598 #: ../src/guestfs-actions.pod:4860
12599 msgid "guestfs_swapon_label"
12600 msgstr ""
12601
12602 # type: verbatim
12603 #: ../src/guestfs-actions.pod:4862
12604 #, no-wrap
12605 msgid ""
12606 " int guestfs_swapon_label (guestfs_h *g,\n"
12607 "\t\tconst char *label);\n"
12608 "\n"
12609 msgstr ""
12610
12611 # type: textblock
12612 #: ../src/guestfs-actions.pod:4865
12613 msgid ""
12614 "This command enables swap to a labeled swap partition.  See "
12615 "C<guestfs_swapon_device> for other notes."
12616 msgstr ""
12617
12618 # type: =head2
12619 #: ../src/guestfs-actions.pod:4870
12620 msgid "guestfs_swapon_uuid"
12621 msgstr ""
12622
12623 # type: verbatim
12624 #: ../src/guestfs-actions.pod:4872
12625 #, no-wrap
12626 msgid ""
12627 " int guestfs_swapon_uuid (guestfs_h *g,\n"
12628 "\t\tconst char *uuid);\n"
12629 "\n"
12630 msgstr ""
12631
12632 # type: textblock
12633 #: ../src/guestfs-actions.pod:4875
12634 msgid ""
12635 "This command enables swap to a swap partition with the given UUID.  See "
12636 "C<guestfs_swapon_device> for other notes."
12637 msgstr ""
12638
12639 # type: =head2
12640 #: ../src/guestfs-actions.pod:4880
12641 msgid "guestfs_sync"
12642 msgstr ""
12643
12644 # type: verbatim
12645 #: ../src/guestfs-actions.pod:4882
12646 #, no-wrap
12647 msgid ""
12648 " int guestfs_sync (guestfs_h *g);\n"
12649 "\n"
12650 msgstr ""
12651
12652 # type: textblock
12653 #: ../src/guestfs-actions.pod:4884 ../fish/guestfish-actions.pod:3794
12654 msgid ""
12655 "This syncs the disk, so that any writes are flushed through to the "
12656 "underlying disk image."
12657 msgstr ""
12658
12659 # type: textblock
12660 #: ../src/guestfs-actions.pod:4887 ../fish/guestfish-actions.pod:3797
12661 msgid ""
12662 "You should always call this if you have modified a disk image, before "
12663 "closing the handle."
12664 msgstr ""
12665
12666 # type: =head2
12667 #: ../src/guestfs-actions.pod:4892
12668 msgid "guestfs_tail"
12669 msgstr ""
12670
12671 # type: verbatim
12672 #: ../src/guestfs-actions.pod:4894
12673 #, no-wrap
12674 msgid ""
12675 " char **guestfs_tail (guestfs_h *g,\n"
12676 "\t\tconst char *path);\n"
12677 "\n"
12678 msgstr ""
12679
12680 # type: textblock
12681 #: ../src/guestfs-actions.pod:4897 ../fish/guestfish-actions.pod:3804
12682 msgid ""
12683 "This command returns up to the last 10 lines of a file as a list of strings."
12684 msgstr ""
12685
12686 # type: =head2
12687 #: ../src/guestfs-actions.pod:4907
12688 msgid "guestfs_tail_n"
12689 msgstr ""
12690
12691 # type: verbatim
12692 #: ../src/guestfs-actions.pod:4909
12693 #, no-wrap
12694 msgid ""
12695 " char **guestfs_tail_n (guestfs_h *g,\n"
12696 "\t\tint nrlines,\n"
12697 "\t\tconst char *path);\n"
12698 "\n"
12699 msgstr ""
12700
12701 # type: textblock
12702 #: ../src/guestfs-actions.pod:4913 ../fish/guestfish-actions.pod:3814
12703 msgid ""
12704 "If the parameter C<nrlines> is a positive number, this returns the last "
12705 "C<nrlines> lines of the file C<path>."
12706 msgstr ""
12707
12708 # type: textblock
12709 #: ../src/guestfs-actions.pod:4916 ../fish/guestfish-actions.pod:3817
12710 msgid ""
12711 "If the parameter C<nrlines> is a negative number, this returns lines from "
12712 "the file C<path>, starting with the C<-nrlines>th line."
12713 msgstr ""
12714
12715 # type: =head2
12716 #: ../src/guestfs-actions.pod:4928
12717 msgid "guestfs_tar_in"
12718 msgstr ""
12719
12720 # type: verbatim
12721 #: ../src/guestfs-actions.pod:4930
12722 #, no-wrap
12723 msgid ""
12724 " int guestfs_tar_in (guestfs_h *g,\n"
12725 "\t\tconst char *tarfile,\n"
12726 "\t\tconst char *directory);\n"
12727 "\n"
12728 msgstr ""
12729
12730 # type: textblock
12731 #: ../src/guestfs-actions.pod:4934 ../fish/guestfish-actions.pod:3829
12732 msgid ""
12733 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
12734 "tar file) into C<directory>."
12735 msgstr ""
12736
12737 # type: textblock
12738 #: ../src/guestfs-actions.pod:4937
12739 msgid ""
12740 "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
12741 msgstr ""
12742
12743 # type: =head2
12744 #: ../src/guestfs-actions.pod:4942
12745 msgid "guestfs_tar_out"
12746 msgstr ""
12747
12748 # type: verbatim
12749 #: ../src/guestfs-actions.pod:4944
12750 #, no-wrap
12751 msgid ""
12752 " int guestfs_tar_out (guestfs_h *g,\n"
12753 "\t\tconst char *directory,\n"
12754 "\t\tconst char *tarfile);\n"
12755 "\n"
12756 msgstr ""
12757
12758 # type: textblock
12759 #: ../src/guestfs-actions.pod:4948 ../fish/guestfish-actions.pod:3841
12760 msgid ""
12761 "This command packs the contents of C<directory> and downloads it to local "
12762 "file C<tarfile>."
12763 msgstr ""
12764
12765 # type: textblock
12766 #: ../src/guestfs-actions.pod:4951
12767 msgid ""
12768 "To download a compressed tarball, use C<guestfs_tgz_out> or "
12769 "C<guestfs_txz_out>."
12770 msgstr ""
12771
12772 # type: =head2
12773 #: ../src/guestfs-actions.pod:4956
12774 msgid "guestfs_tgz_in"
12775 msgstr ""
12776
12777 # type: verbatim
12778 #: ../src/guestfs-actions.pod:4958
12779 #, no-wrap
12780 msgid ""
12781 " int guestfs_tgz_in (guestfs_h *g,\n"
12782 "\t\tconst char *tarball,\n"
12783 "\t\tconst char *directory);\n"
12784 "\n"
12785 msgstr ""
12786
12787 # type: textblock
12788 #: ../src/guestfs-actions.pod:4962 ../fish/guestfish-actions.pod:3853
12789 msgid ""
12790 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
12791 "tar file) into C<directory>."
12792 msgstr ""
12793
12794 # type: textblock
12795 #: ../src/guestfs-actions.pod:4965
12796 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
12797 msgstr ""
12798
12799 # type: =head2
12800 #: ../src/guestfs-actions.pod:4969
12801 msgid "guestfs_tgz_out"
12802 msgstr ""
12803
12804 # type: verbatim
12805 #: ../src/guestfs-actions.pod:4971
12806 #, no-wrap
12807 msgid ""
12808 " int guestfs_tgz_out (guestfs_h *g,\n"
12809 "\t\tconst char *directory,\n"
12810 "\t\tconst char *tarball);\n"
12811 "\n"
12812 msgstr ""
12813
12814 # type: textblock
12815 #: ../src/guestfs-actions.pod:4975 ../fish/guestfish-actions.pod:3864
12816 msgid ""
12817 "This command packs the contents of C<directory> and downloads it to local "
12818 "file C<tarball>."
12819 msgstr ""
12820
12821 # type: textblock
12822 #: ../src/guestfs-actions.pod:4978
12823 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
12824 msgstr ""
12825
12826 # type: =head2
12827 #: ../src/guestfs-actions.pod:4982
12828 msgid "guestfs_touch"
12829 msgstr ""
12830
12831 # type: verbatim
12832 #: ../src/guestfs-actions.pod:4984
12833 #, no-wrap
12834 msgid ""
12835 " int guestfs_touch (guestfs_h *g,\n"
12836 "\t\tconst char *path);\n"
12837 "\n"
12838 msgstr ""
12839
12840 # type: textblock
12841 #: ../src/guestfs-actions.pod:4987 ../fish/guestfish-actions.pod:3875
12842 msgid ""
12843 "Touch acts like the L<touch(1)> command.  It can be used to update the "
12844 "timestamps on a file, or, if the file does not exist, to create a new zero-"
12845 "length file."
12846 msgstr ""
12847
12848 # type: textblock
12849 #: ../src/guestfs-actions.pod:4991 ../fish/guestfish-actions.pod:3879
12850 msgid ""
12851 "This command only works on regular files, and will fail on other file types "
12852 "such as directories, symbolic links, block special etc."
12853 msgstr ""
12854
12855 # type: =head2
12856 #: ../src/guestfs-actions.pod:4996
12857 msgid "guestfs_truncate"
12858 msgstr ""
12859
12860 # type: verbatim
12861 #: ../src/guestfs-actions.pod:4998
12862 #, no-wrap
12863 msgid ""
12864 " int guestfs_truncate (guestfs_h *g,\n"
12865 "\t\tconst char *path);\n"
12866 "\n"
12867 msgstr ""
12868
12869 # type: textblock
12870 #: ../src/guestfs-actions.pod:5001 ../fish/guestfish-actions.pod:3886
12871 msgid ""
12872 "This command truncates C<path> to a zero-length file.  The file must exist "
12873 "already."
12874 msgstr ""
12875
12876 # type: =head2
12877 #: ../src/guestfs-actions.pod:5006
12878 msgid "guestfs_truncate_size"
12879 msgstr ""
12880
12881 # type: verbatim
12882 #: ../src/guestfs-actions.pod:5008
12883 #, no-wrap
12884 msgid ""
12885 " int guestfs_truncate_size (guestfs_h *g,\n"
12886 "\t\tconst char *path,\n"
12887 "\t\tint64_t size);\n"
12888 "\n"
12889 msgstr ""
12890
12891 # type: textblock
12892 #: ../src/guestfs-actions.pod:5012 ../fish/guestfish-actions.pod:3893
12893 msgid ""
12894 "This command truncates C<path> to size C<size> bytes.  The file must exist "
12895 "already."
12896 msgstr ""
12897
12898 # type: textblock
12899 #: ../src/guestfs-actions.pod:5015
12900 msgid ""
12901 "If the current file size is less than C<size> then the file is extended to "
12902 "the required size with zero bytes.  This creates a sparse file (ie. disk "
12903 "blocks are not allocated for the file until you write to it).  To create a "
12904 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
12905 msgstr ""
12906
12907 # type: =head2
12908 #: ../src/guestfs-actions.pod:5023
12909 msgid "guestfs_tune2fs_l"
12910 msgstr ""
12911
12912 # type: verbatim
12913 #: ../src/guestfs-actions.pod:5025
12914 #, no-wrap
12915 msgid ""
12916 " char **guestfs_tune2fs_l (guestfs_h *g,\n"
12917 "\t\tconst char *device);\n"
12918 "\n"
12919 msgstr ""
12920
12921 # type: textblock
12922 #: ../src/guestfs-actions.pod:5028 ../fish/guestfish-actions.pod:3906
12923 msgid ""
12924 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
12925 "C<device>."
12926 msgstr ""
12927
12928 # type: textblock
12929 #: ../src/guestfs-actions.pod:5031 ../fish/guestfish-actions.pod:3909
12930 msgid ""
12931 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
12932 "for more details.  The list of fields returned isn't clearly defined, and "
12933 "depends on both the version of C<tune2fs> that libguestfs was built against, "
12934 "and the filesystem itself."
12935 msgstr ""
12936
12937 # type: =head2
12938 #: ../src/guestfs-actions.pod:5042
12939 msgid "guestfs_txz_in"
12940 msgstr ""
12941
12942 # type: verbatim
12943 #: ../src/guestfs-actions.pod:5044
12944 #, no-wrap
12945 msgid ""
12946 " int guestfs_txz_in (guestfs_h *g,\n"
12947 "\t\tconst char *tarball,\n"
12948 "\t\tconst char *directory);\n"
12949 "\n"
12950 msgstr ""
12951
12952 # type: textblock
12953 #: ../src/guestfs-actions.pod:5048 ../fish/guestfish-actions.pod:3918
12954 msgid ""
12955 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
12956 "tar file) into C<directory>."
12957 msgstr ""
12958
12959 # type: =head2
12960 #: ../src/guestfs-actions.pod:5053
12961 msgid "guestfs_txz_out"
12962 msgstr ""
12963
12964 # type: verbatim
12965 #: ../src/guestfs-actions.pod:5055
12966 #, no-wrap
12967 msgid ""
12968 " int guestfs_txz_out (guestfs_h *g,\n"
12969 "\t\tconst char *directory,\n"
12970 "\t\tconst char *tarball);\n"
12971 "\n"
12972 msgstr ""
12973
12974 # type: textblock
12975 #: ../src/guestfs-actions.pod:5059 ../fish/guestfish-actions.pod:3927
12976 msgid ""
12977 "This command packs the contents of C<directory> and downloads it to local "
12978 "file C<tarball> (as an xz compressed tar archive)."
12979 msgstr ""
12980
12981 # type: =head2
12982 #: ../src/guestfs-actions.pod:5064
12983 msgid "guestfs_umask"
12984 msgstr ""
12985
12986 # type: verbatim
12987 #: ../src/guestfs-actions.pod:5066
12988 #, no-wrap
12989 msgid ""
12990 " int guestfs_umask (guestfs_h *g,\n"
12991 "\t\tint mask);\n"
12992 "\n"
12993 msgstr ""
12994
12995 # type: textblock
12996 #: ../src/guestfs-actions.pod:5069 ../fish/guestfish-actions.pod:3936
12997 msgid ""
12998 "This function sets the mask used for creating new files and device nodes to "
12999 "C<mask & 0777>."
13000 msgstr ""
13001
13002 # type: textblock
13003 #: ../src/guestfs-actions.pod:5072 ../fish/guestfish-actions.pod:3939
13004 msgid ""
13005 "Typical umask values would be C<022> which creates new files with "
13006 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
13007 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
13008 msgstr ""
13009
13010 # type: textblock
13011 #: ../src/guestfs-actions.pod:5077 ../fish/guestfish-actions.pod:3944
13012 msgid ""
13013 "The default umask is C<022>.  This is important because it means that "
13014 "directories and device nodes will be created with C<0644> or C<0755> mode "
13015 "even if you specify C<0777>."
13016 msgstr ""
13017
13018 # type: textblock
13019 #: ../src/guestfs-actions.pod:5081
13020 msgid ""
13021 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
13022 "C<guestfs_mkdir>."
13023 msgstr ""
13024
13025 # type: textblock
13026 #: ../src/guestfs-actions.pod:5084 ../fish/guestfish-actions.pod:3951
13027 msgid "This call returns the previous umask."
13028 msgstr ""
13029
13030 # type: =head2
13031 #: ../src/guestfs-actions.pod:5088
13032 msgid "guestfs_umount"
13033 msgstr ""
13034
13035 # type: verbatim
13036 #: ../src/guestfs-actions.pod:5090
13037 #, no-wrap
13038 msgid ""
13039 " int guestfs_umount (guestfs_h *g,\n"
13040 "\t\tconst char *pathordevice);\n"
13041 "\n"
13042 msgstr ""
13043
13044 # type: textblock
13045 #: ../src/guestfs-actions.pod:5093 ../fish/guestfish-actions.pod:3959
13046 msgid ""
13047 "This unmounts the given filesystem.  The filesystem may be specified either "
13048 "by its mountpoint (path) or the device which contains the filesystem."
13049 msgstr ""
13050
13051 # type: =head2
13052 #: ../src/guestfs-actions.pod:5099
13053 msgid "guestfs_umount_all"
13054 msgstr ""
13055
13056 # type: verbatim
13057 #: ../src/guestfs-actions.pod:5101
13058 #, no-wrap
13059 msgid ""
13060 " int guestfs_umount_all (guestfs_h *g);\n"
13061 "\n"
13062 msgstr ""
13063
13064 # type: textblock
13065 #: ../src/guestfs-actions.pod:5103 ../fish/guestfish-actions.pod:3969
13066 msgid "This unmounts all mounted filesystems."
13067 msgstr ""
13068
13069 # type: textblock
13070 #: ../src/guestfs-actions.pod:5105 ../fish/guestfish-actions.pod:3971
13071 msgid "Some internal mounts are not unmounted by this call."
13072 msgstr ""
13073
13074 # type: =head2
13075 #: ../src/guestfs-actions.pod:5109
13076 msgid "guestfs_upload"
13077 msgstr ""
13078
13079 # type: verbatim
13080 #: ../src/guestfs-actions.pod:5111
13081 #, no-wrap
13082 msgid ""
13083 " int guestfs_upload (guestfs_h *g,\n"
13084 "\t\tconst char *filename,\n"
13085 "\t\tconst char *remotefilename);\n"
13086 "\n"
13087 msgstr ""
13088
13089 # type: textblock
13090 #: ../src/guestfs-actions.pod:5115 ../src/guestfs-actions.pod:5131
13091 #: ../fish/guestfish-actions.pod:3977 ../fish/guestfish-actions.pod:3990
13092 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
13093 msgstr ""
13094
13095 # type: textblock
13096 #: ../src/guestfs-actions.pod:5120
13097 msgid "See also C<guestfs_download>."
13098 msgstr ""
13099
13100 # type: =head2
13101 #: ../src/guestfs-actions.pod:5124
13102 msgid "guestfs_upload_offset"
13103 msgstr ""
13104
13105 # type: verbatim
13106 #: ../src/guestfs-actions.pod:5126
13107 #, no-wrap
13108 msgid ""
13109 " int guestfs_upload_offset (guestfs_h *g,\n"
13110 "\t\tconst char *filename,\n"
13111 "\t\tconst char *remotefilename,\n"
13112 "\t\tint64_t offset);\n"
13113 "\n"
13114 msgstr ""
13115
13116 # type: textblock
13117 #: ../src/guestfs-actions.pod:5134 ../fish/guestfish-actions.pod:3993
13118 msgid ""
13119 "C<remotefilename> is overwritten starting at the byte C<offset> specified.  "
13120 "The intention is to overwrite parts of existing files or devices, although "
13121 "if a non-existant file is specified then it is created with a \"hole\" "
13122 "before C<offset>.  The size of the data written is implicit in the size of "
13123 "the source C<filename>."
13124 msgstr ""
13125
13126 # type: textblock
13127 #: ../src/guestfs-actions.pod:5141
13128 msgid ""
13129 "Note that there is no limit on the amount of data that can be uploaded with "
13130 "this call, unlike with C<guestfs_pwrite>, and this call always writes the "
13131 "full amount unless an error occurs."
13132 msgstr ""
13133
13134 # type: textblock
13135 #: ../src/guestfs-actions.pod:5146
13136 msgid "See also C<guestfs_upload>, C<guestfs_pwrite>."
13137 msgstr ""
13138
13139 # type: =head2
13140 #: ../src/guestfs-actions.pod:5150
13141 msgid "guestfs_utimens"
13142 msgstr ""
13143
13144 # type: verbatim
13145 #: ../src/guestfs-actions.pod:5152
13146 #, no-wrap
13147 msgid ""
13148 " int guestfs_utimens (guestfs_h *g,\n"
13149 "\t\tconst char *path,\n"
13150 "\t\tint64_t atsecs,\n"
13151 "\t\tint64_t atnsecs,\n"
13152 "\t\tint64_t mtsecs,\n"
13153 "\t\tint64_t mtnsecs);\n"
13154 "\n"
13155 msgstr ""
13156
13157 # type: textblock
13158 #: ../src/guestfs-actions.pod:5159 ../fish/guestfish-actions.pod:4013
13159 msgid "This command sets the timestamps of a file with nanosecond precision."
13160 msgstr ""
13161
13162 # type: textblock
13163 #: ../src/guestfs-actions.pod:5162 ../fish/guestfish-actions.pod:4016
13164 msgid ""
13165 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
13166 "from the epoch."
13167 msgstr ""
13168
13169 # type: textblock
13170 #: ../src/guestfs-actions.pod:5165 ../fish/guestfish-actions.pod:4019
13171 msgid ""
13172 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
13173 "nanoseconds from the epoch."
13174 msgstr ""
13175
13176 # type: textblock
13177 #: ../src/guestfs-actions.pod:5168 ../fish/guestfish-actions.pod:4022
13178 msgid ""
13179 "If the C<*nsecs> field contains the special value C<-1> then the "
13180 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
13181 "ignored in this case)."
13182 msgstr ""
13183
13184 # type: textblock
13185 #: ../src/guestfs-actions.pod:5172 ../fish/guestfish-actions.pod:4026
13186 msgid ""
13187 "If the C<*nsecs> field contains the special value C<-2> then the "
13188 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
13189 "in this case)."
13190 msgstr ""
13191
13192 # type: =head2
13193 #: ../src/guestfs-actions.pod:5178 ../src/guestfs-structs.pod:175
13194 msgid "guestfs_version"
13195 msgstr ""
13196
13197 # type: verbatim
13198 #: ../src/guestfs-actions.pod:5180
13199 #, no-wrap
13200 msgid ""
13201 " struct guestfs_version *guestfs_version (guestfs_h *g);\n"
13202 "\n"
13203 msgstr ""
13204
13205 # type: textblock
13206 #: ../src/guestfs-actions.pod:5182 ../fish/guestfish-actions.pod:4034
13207 msgid ""
13208 "Return the libguestfs version number that the program is linked against."
13209 msgstr ""
13210
13211 # type: textblock
13212 #: ../src/guestfs-actions.pod:5185 ../fish/guestfish-actions.pod:4037
13213 msgid ""
13214 "Note that because of dynamic linking this is not necessarily the version of "
13215 "libguestfs that you compiled against.  You can compile the program, and then "
13216 "at runtime dynamically link against a completely different C<libguestfs.so> "
13217 "library."
13218 msgstr ""
13219
13220 # type: textblock
13221 #: ../src/guestfs-actions.pod:5190 ../fish/guestfish-actions.pod:4042
13222 msgid ""
13223 "This call was added in version C<1.0.58>.  In previous versions of "
13224 "libguestfs there was no way to get the version number.  From C code you can "
13225 "use dynamic linker functions to find out if this symbol exists (if it "
13226 "doesn't, then it's an earlier version)."
13227 msgstr ""
13228
13229 # type: textblock
13230 #: ../src/guestfs-actions.pod:5196 ../fish/guestfish-actions.pod:4048
13231 msgid ""
13232 "The call returns a structure with four elements.  The first three (C<major>, "
13233 "C<minor> and C<release>) are numbers and correspond to the usual version "
13234 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
13235 "but may be used for distro-specific information."
13236 msgstr ""
13237
13238 # type: textblock
13239 #: ../src/guestfs-actions.pod:5202 ../fish/guestfish-actions.pod:4054
13240 msgid ""
13241 "To construct the original version string: C<$major.$minor.$release$extra>"
13242 msgstr ""
13243
13244 # type: textblock
13245 #: ../src/guestfs-actions.pod:5205 ../fish/guestfish-actions.pod:4057
13246 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
13247 msgstr ""
13248
13249 # type: textblock
13250 #: ../src/guestfs-actions.pod:5207
13251 msgid ""
13252 "I<Note:> Don't use this call to test for availability of features.  In "
13253 "enterprise distributions we backport features from later versions into "
13254 "earlier versions, making this an unreliable way to test for features.  Use "
13255 "C<guestfs_available> instead."
13256 msgstr ""
13257
13258 # type: textblock
13259 #: ../src/guestfs-actions.pod:5213
13260 msgid ""
13261 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
13262 "error.  I<The caller must call C<guestfs_free_version> after use>."
13263 msgstr ""
13264
13265 # type: =head2
13266 #: ../src/guestfs-actions.pod:5217
13267 msgid "guestfs_vfs_label"
13268 msgstr ""
13269
13270 # type: verbatim
13271 #: ../src/guestfs-actions.pod:5219
13272 #, no-wrap
13273 msgid ""
13274 " char *guestfs_vfs_label (guestfs_h *g,\n"
13275 "\t\tconst char *device);\n"
13276 "\n"
13277 msgstr ""
13278
13279 # type: textblock
13280 #: ../src/guestfs-actions.pod:5222 ../fish/guestfish-actions.pod:4069
13281 msgid "This returns the filesystem label of the filesystem on C<device>."
13282 msgstr ""
13283
13284 # type: textblock
13285 #: ../src/guestfs-actions.pod:5225 ../fish/guestfish-actions.pod:4072
13286 msgid "If the filesystem is unlabeled, this returns the empty string."
13287 msgstr ""
13288
13289 # type: textblock
13290 #: ../src/guestfs-actions.pod:5227
13291 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
13292 msgstr ""
13293
13294 # type: =head2
13295 #: ../src/guestfs-actions.pod:5232
13296 msgid "guestfs_vfs_type"
13297 msgstr ""
13298
13299 # type: verbatim
13300 #: ../src/guestfs-actions.pod:5234
13301 #, no-wrap
13302 msgid ""
13303 " char *guestfs_vfs_type (guestfs_h *g,\n"
13304 "\t\tconst char *device);\n"
13305 "\n"
13306 msgstr ""
13307
13308 # type: textblock
13309 #: ../src/guestfs-actions.pod:5237 ../fish/guestfish-actions.pod:4080
13310 msgid ""
13311 "This command gets the filesystem type corresponding to the filesystem on "
13312 "C<device>."
13313 msgstr ""
13314
13315 # type: textblock
13316 #: ../src/guestfs-actions.pod:5240 ../fish/guestfish-actions.pod:4083
13317 msgid ""
13318 "For most filesystems, the result is the name of the Linux VFS module which "
13319 "would be used to mount this filesystem if you mounted it without specifying "
13320 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
13321 msgstr ""
13322
13323 # type: =head2
13324 #: ../src/guestfs-actions.pod:5248
13325 msgid "guestfs_vfs_uuid"
13326 msgstr ""
13327
13328 # type: verbatim
13329 #: ../src/guestfs-actions.pod:5250
13330 #, no-wrap
13331 msgid ""
13332 " char *guestfs_vfs_uuid (guestfs_h *g,\n"
13333 "\t\tconst char *device);\n"
13334 "\n"
13335 msgstr ""
13336
13337 # type: textblock
13338 #: ../src/guestfs-actions.pod:5253 ../fish/guestfish-actions.pod:4092
13339 msgid "This returns the filesystem UUID of the filesystem on C<device>."
13340 msgstr ""
13341
13342 # type: textblock
13343 #: ../src/guestfs-actions.pod:5256 ../fish/guestfish-actions.pod:4095
13344 msgid "If the filesystem does not have a UUID, this returns the empty string."
13345 msgstr ""
13346
13347 # type: textblock
13348 #: ../src/guestfs-actions.pod:5258
13349 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
13350 msgstr ""
13351
13352 # type: =head2
13353 #: ../src/guestfs-actions.pod:5263
13354 msgid "guestfs_vg_activate"
13355 msgstr ""
13356
13357 # type: verbatim
13358 #: ../src/guestfs-actions.pod:5265
13359 #, no-wrap
13360 msgid ""
13361 " int guestfs_vg_activate (guestfs_h *g,\n"
13362 "\t\tint activate,\n"
13363 "\t\tchar *const *volgroups);\n"
13364 "\n"
13365 msgstr ""
13366
13367 # type: textblock
13368 #: ../src/guestfs-actions.pod:5269 ../fish/guestfish-actions.pod:4103
13369 msgid ""
13370 "This command activates or (if C<activate> is false) deactivates all logical "
13371 "volumes in the listed volume groups C<volgroups>.  If activated, then they "
13372 "are made known to the kernel, ie. they appear as C</dev/mapper> devices.  If "
13373 "deactivated, then those devices disappear."
13374 msgstr ""
13375
13376 # type: textblock
13377 #: ../src/guestfs-actions.pod:5275 ../fish/guestfish-actions.pod:4109
13378 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
13379 msgstr ""
13380
13381 # type: textblock
13382 #: ../src/guestfs-actions.pod:5277 ../fish/guestfish-actions.pod:4111
13383 msgid ""
13384 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
13385 "activated or deactivated."
13386 msgstr ""
13387
13388 # type: =head2
13389 #: ../src/guestfs-actions.pod:5282
13390 msgid "guestfs_vg_activate_all"
13391 msgstr ""
13392
13393 # type: verbatim
13394 #: ../src/guestfs-actions.pod:5284
13395 #, no-wrap
13396 msgid ""
13397 " int guestfs_vg_activate_all (guestfs_h *g,\n"
13398 "\t\tint activate);\n"
13399 "\n"
13400 msgstr ""
13401
13402 # type: textblock
13403 #: ../src/guestfs-actions.pod:5287 ../fish/guestfish-actions.pod:4118
13404 msgid ""
13405 "This command activates or (if C<activate> is false) deactivates all logical "
13406 "volumes in all volume groups.  If activated, then they are made known to the "
13407 "kernel, ie. they appear as C</dev/mapper> devices.  If deactivated, then "
13408 "those devices disappear."
13409 msgstr ""
13410
13411 # type: textblock
13412 #: ../src/guestfs-actions.pod:5293 ../fish/guestfish-actions.pod:4124
13413 msgid "This command is the same as running C<vgchange -a y|n>"
13414 msgstr ""
13415
13416 # type: =head2
13417 #: ../src/guestfs-actions.pod:5297
13418 msgid "guestfs_vgcreate"
13419 msgstr ""
13420
13421 # type: verbatim
13422 #: ../src/guestfs-actions.pod:5299
13423 #, no-wrap
13424 msgid ""
13425 " int guestfs_vgcreate (guestfs_h *g,\n"
13426 "\t\tconst char *volgroup,\n"
13427 "\t\tchar *const *physvols);\n"
13428 "\n"
13429 msgstr ""
13430
13431 # type: textblock
13432 #: ../src/guestfs-actions.pod:5303 ../fish/guestfish-actions.pod:4130
13433 msgid ""
13434 "This creates an LVM volume group called C<volgroup> from the non-empty list "
13435 "of physical volumes C<physvols>."
13436 msgstr ""
13437
13438 # type: =head2
13439 #: ../src/guestfs-actions.pod:5308
13440 msgid "guestfs_vglvuuids"
13441 msgstr ""
13442
13443 # type: verbatim
13444 #: ../src/guestfs-actions.pod:5310
13445 #, no-wrap
13446 msgid ""
13447 " char **guestfs_vglvuuids (guestfs_h *g,\n"
13448 "\t\tconst char *vgname);\n"
13449 "\n"
13450 msgstr ""
13451
13452 # type: textblock
13453 #: ../src/guestfs-actions.pod:5313 ../fish/guestfish-actions.pod:4137
13454 msgid ""
13455 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
13456 "volumes created in this volume group."
13457 msgstr ""
13458
13459 # type: textblock
13460 #: ../src/guestfs-actions.pod:5316
13461 msgid ""
13462 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
13463 "associate logical volumes and volume groups."
13464 msgstr ""
13465
13466 # type: textblock
13467 #: ../src/guestfs-actions.pod:5319
13468 msgid "See also C<guestfs_vgpvuuids>."
13469 msgstr ""
13470
13471 # type: =head2
13472 #: ../src/guestfs-actions.pod:5325
13473 msgid "guestfs_vgpvuuids"
13474 msgstr ""
13475
13476 # type: verbatim
13477 #: ../src/guestfs-actions.pod:5327
13478 #, no-wrap
13479 msgid ""
13480 " char **guestfs_vgpvuuids (guestfs_h *g,\n"
13481 "\t\tconst char *vgname);\n"
13482 "\n"
13483 msgstr ""
13484
13485 # type: textblock
13486 #: ../src/guestfs-actions.pod:5330 ../fish/guestfish-actions.pod:4149
13487 msgid ""
13488 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
13489 "volumes that this volume group resides on."
13490 msgstr ""
13491
13492 # type: textblock
13493 #: ../src/guestfs-actions.pod:5333
13494 msgid ""
13495 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
13496 "associate physical volumes and volume groups."
13497 msgstr ""
13498
13499 # type: textblock
13500 #: ../src/guestfs-actions.pod:5336
13501 msgid "See also C<guestfs_vglvuuids>."
13502 msgstr ""
13503
13504 # type: =head2
13505 #: ../src/guestfs-actions.pod:5342
13506 msgid "guestfs_vgremove"
13507 msgstr ""
13508
13509 # type: verbatim
13510 #: ../src/guestfs-actions.pod:5344
13511 #, no-wrap
13512 msgid ""
13513 " int guestfs_vgremove (guestfs_h *g,\n"
13514 "\t\tconst char *vgname);\n"
13515 "\n"
13516 msgstr ""
13517
13518 # type: textblock
13519 #: ../src/guestfs-actions.pod:5347 ../fish/guestfish-actions.pod:4161
13520 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
13521 msgstr ""
13522
13523 # type: textblock
13524 #: ../src/guestfs-actions.pod:5349 ../fish/guestfish-actions.pod:4163
13525 msgid ""
13526 "This also forcibly removes all logical volumes in the volume group (if any)."
13527 msgstr ""
13528
13529 # type: =head2
13530 #: ../src/guestfs-actions.pod:5354
13531 msgid "guestfs_vgrename"
13532 msgstr ""
13533
13534 # type: verbatim
13535 #: ../src/guestfs-actions.pod:5356
13536 #, no-wrap
13537 msgid ""
13538 " int guestfs_vgrename (guestfs_h *g,\n"
13539 "\t\tconst char *volgroup,\n"
13540 "\t\tconst char *newvolgroup);\n"
13541 "\n"
13542 msgstr ""
13543
13544 # type: textblock
13545 #: ../src/guestfs-actions.pod:5360 ../fish/guestfish-actions.pod:4170
13546 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
13547 msgstr ""
13548
13549 # type: =head2
13550 #: ../src/guestfs-actions.pod:5364
13551 msgid "guestfs_vgs"
13552 msgstr ""
13553
13554 # type: verbatim
13555 #: ../src/guestfs-actions.pod:5366
13556 #, no-wrap
13557 msgid ""
13558 " char **guestfs_vgs (guestfs_h *g);\n"
13559 "\n"
13560 msgstr ""
13561
13562 # type: textblock
13563 #: ../src/guestfs-actions.pod:5368 ../fish/guestfish-actions.pod:4176
13564 msgid ""
13565 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13566 "> command."
13567 msgstr ""
13568
13569 # type: textblock
13570 #: ../src/guestfs-actions.pod:5371 ../fish/guestfish-actions.pod:4179
13571 msgid ""
13572 "This returns a list of just the volume group names that were detected (eg. "
13573 "C<VolGroup00>)."
13574 msgstr ""
13575
13576 # type: textblock
13577 #: ../src/guestfs-actions.pod:5374
13578 msgid "See also C<guestfs_vgs_full>."
13579 msgstr ""
13580
13581 # type: =head2
13582 #: ../src/guestfs-actions.pod:5380
13583 msgid "guestfs_vgs_full"
13584 msgstr ""
13585
13586 # type: verbatim
13587 #: ../src/guestfs-actions.pod:5382
13588 #, no-wrap
13589 msgid ""
13590 " struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *g);\n"
13591 "\n"
13592 msgstr ""
13593
13594 # type: textblock
13595 #: ../src/guestfs-actions.pod:5384 ../fish/guestfish-actions.pod:4188
13596 msgid ""
13597 "List all the volumes groups detected.  This is the equivalent of the L<vgs(8)"
13598 "> command.  The \"full\" version includes all fields."
13599 msgstr ""
13600
13601 # type: textblock
13602 #: ../src/guestfs-actions.pod:5387
13603 msgid ""
13604 "This function returns a C<struct guestfs_lvm_vg_list *> (see E<lt>guestfs-"
13605 "structs.hE<gt>), or NULL if there was an error.  I<The caller must call "
13606 "C<guestfs_free_lvm_vg_list> after use>."
13607 msgstr ""
13608
13609 # type: =head2
13610 #: ../src/guestfs-actions.pod:5392
13611 msgid "guestfs_vgscan"
13612 msgstr ""
13613
13614 # type: verbatim
13615 #: ../src/guestfs-actions.pod:5394
13616 #, no-wrap
13617 msgid ""
13618 " int guestfs_vgscan (guestfs_h *g);\n"
13619 "\n"
13620 msgstr ""
13621
13622 # type: textblock
13623 #: ../src/guestfs-actions.pod:5396 ../fish/guestfish-actions.pod:4195
13624 msgid ""
13625 "This rescans all block devices and rebuilds the list of LVM physical "
13626 "volumes, volume groups and logical volumes."
13627 msgstr ""
13628
13629 # type: =head2
13630 #: ../src/guestfs-actions.pod:5401
13631 msgid "guestfs_vguuid"
13632 msgstr ""
13633
13634 # type: verbatim
13635 #: ../src/guestfs-actions.pod:5403
13636 #, no-wrap
13637 msgid ""
13638 " char *guestfs_vguuid (guestfs_h *g,\n"
13639 "\t\tconst char *vgname);\n"
13640 "\n"
13641 msgstr ""
13642
13643 # type: textblock
13644 #: ../src/guestfs-actions.pod:5406 ../fish/guestfish-actions.pod:4202
13645 msgid "This command returns the UUID of the LVM VG named C<vgname>."
13646 msgstr ""
13647
13648 # type: =head2
13649 #: ../src/guestfs-actions.pod:5411
13650 msgid "guestfs_wait_ready"
13651 msgstr ""
13652
13653 # type: verbatim
13654 #: ../src/guestfs-actions.pod:5413
13655 #, no-wrap
13656 msgid ""
13657 " int guestfs_wait_ready (guestfs_h *g);\n"
13658 "\n"
13659 msgstr ""
13660
13661 # type: textblock
13662 #: ../src/guestfs-actions.pod:5415
13663 msgid "This function is a no op."
13664 msgstr ""
13665
13666 # type: textblock
13667 #: ../src/guestfs-actions.pod:5417
13668 msgid ""
13669 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
13670 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
13671 "is no longer necessary because C<guestfs_launch> now does the waiting."
13672 msgstr ""
13673
13674 # type: textblock
13675 #: ../src/guestfs-actions.pod:5422
13676 msgid ""
13677 "If you see any calls to this function in code then you can just remove them, "
13678 "unless you want to retain compatibility with older versions of the API."
13679 msgstr ""
13680
13681 # type: =head2
13682 #: ../src/guestfs-actions.pod:5428
13683 msgid "guestfs_wc_c"
13684 msgstr ""
13685
13686 # type: verbatim
13687 #: ../src/guestfs-actions.pod:5430
13688 #, no-wrap
13689 msgid ""
13690 " int guestfs_wc_c (guestfs_h *g,\n"
13691 "\t\tconst char *path);\n"
13692 "\n"
13693 msgstr ""
13694
13695 # type: textblock
13696 #: ../src/guestfs-actions.pod:5433 ../fish/guestfish-actions.pod:4208
13697 msgid ""
13698 "This command counts the characters in a file, using the C<wc -c> external "
13699 "command."
13700 msgstr ""
13701
13702 # type: =head2
13703 #: ../src/guestfs-actions.pod:5438
13704 msgid "guestfs_wc_l"
13705 msgstr ""
13706
13707 # type: verbatim
13708 #: ../src/guestfs-actions.pod:5440
13709 #, no-wrap
13710 msgid ""
13711 " int guestfs_wc_l (guestfs_h *g,\n"
13712 "\t\tconst char *path);\n"
13713 "\n"
13714 msgstr ""
13715
13716 # type: textblock
13717 #: ../src/guestfs-actions.pod:5443 ../fish/guestfish-actions.pod:4215
13718 msgid ""
13719 "This command counts the lines in a file, using the C<wc -l> external command."
13720 msgstr ""
13721
13722 # type: =head2
13723 #: ../src/guestfs-actions.pod:5448
13724 msgid "guestfs_wc_w"
13725 msgstr ""
13726
13727 # type: verbatim
13728 #: ../src/guestfs-actions.pod:5450
13729 #, no-wrap
13730 msgid ""
13731 " int guestfs_wc_w (guestfs_h *g,\n"
13732 "\t\tconst char *path);\n"
13733 "\n"
13734 msgstr ""
13735
13736 # type: textblock
13737 #: ../src/guestfs-actions.pod:5453 ../fish/guestfish-actions.pod:4222
13738 msgid ""
13739 "This command counts the words in a file, using the C<wc -w> external command."
13740 msgstr ""
13741
13742 # type: =head2
13743 #: ../src/guestfs-actions.pod:5458
13744 msgid "guestfs_write"
13745 msgstr ""
13746
13747 # type: verbatim
13748 #: ../src/guestfs-actions.pod:5460
13749 #, no-wrap
13750 msgid ""
13751 " int guestfs_write (guestfs_h *g,\n"
13752 "\t\tconst char *path,\n"
13753 "\t\tconst char *content,\n"
13754 "\t\tsize_t content_size);\n"
13755 "\n"
13756 msgstr ""
13757
13758 # type: textblock
13759 #: ../src/guestfs-actions.pod:5465 ../fish/guestfish-actions.pod:4229
13760 msgid ""
13761 "This call creates a file called C<path>.  The content of the file is the "
13762 "string C<content> (which can contain any 8 bit data)."
13763 msgstr ""
13764
13765 # type: =head2
13766 #: ../src/guestfs-actions.pod:5473
13767 msgid "guestfs_write_file"
13768 msgstr ""
13769
13770 # type: verbatim
13771 #: ../src/guestfs-actions.pod:5475
13772 #, no-wrap
13773 msgid ""
13774 " int guestfs_write_file (guestfs_h *g,\n"
13775 "\t\tconst char *path,\n"
13776 "\t\tconst char *content,\n"
13777 "\t\tint size);\n"
13778 "\n"
13779 msgstr ""
13780
13781 # type: textblock
13782 #: ../src/guestfs-actions.pod:5480 ../fish/guestfish-actions.pod:4239
13783 msgid ""
13784 "This call creates a file called C<path>.  The contents of the file is the "
13785 "string C<content> (which can contain any 8 bit data), with length C<size>."
13786 msgstr ""
13787
13788 # type: textblock
13789 #: ../src/guestfs-actions.pod:5484 ../fish/guestfish-actions.pod:4243
13790 msgid ""
13791 "As a special case, if C<size> is C<0> then the length is calculated using "
13792 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
13793 msgstr ""
13794
13795 # type: textblock
13796 #: ../src/guestfs-actions.pod:5488 ../fish/guestfish-actions.pod:4247
13797 msgid ""
13798 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
13799 "I<not> work, even if the length is specified."
13800 msgstr ""
13801
13802 # type: textblock
13803 #: ../src/guestfs-actions.pod:5496 ../fish/guestfish-actions.pod:4253
13804 msgid ""
13805 "This function is deprecated.  In new code, use the C<write> call instead."
13806 msgstr ""
13807
13808 # type: =head2
13809 #: ../src/guestfs-actions.pod:5503
13810 msgid "guestfs_zegrep"
13811 msgstr ""
13812
13813 # type: verbatim
13814 #: ../src/guestfs-actions.pod:5505
13815 #, no-wrap
13816 msgid ""
13817 " char **guestfs_zegrep (guestfs_h *g,\n"
13818 "\t\tconst char *regex,\n"
13819 "\t\tconst char *path);\n"
13820 "\n"
13821 msgstr ""
13822
13823 # type: textblock
13824 #: ../src/guestfs-actions.pod:5509 ../fish/guestfish-actions.pod:4264
13825 msgid ""
13826 "This calls the external C<zegrep> program and returns the matching lines."
13827 msgstr ""
13828
13829 # type: =head2
13830 #: ../src/guestfs-actions.pod:5519
13831 msgid "guestfs_zegrepi"
13832 msgstr ""
13833
13834 # type: verbatim
13835 #: ../src/guestfs-actions.pod:5521
13836 #, no-wrap
13837 msgid ""
13838 " char **guestfs_zegrepi (guestfs_h *g,\n"
13839 "\t\tconst char *regex,\n"
13840 "\t\tconst char *path);\n"
13841 "\n"
13842 msgstr ""
13843
13844 # type: textblock
13845 #: ../src/guestfs-actions.pod:5525 ../fish/guestfish-actions.pod:4274
13846 msgid ""
13847 "This calls the external C<zegrep -i> program and returns the matching lines."
13848 msgstr ""
13849
13850 # type: =head2
13851 #: ../src/guestfs-actions.pod:5535
13852 msgid "guestfs_zero"
13853 msgstr ""
13854
13855 # type: verbatim
13856 #: ../src/guestfs-actions.pod:5537
13857 #, no-wrap
13858 msgid ""
13859 " int guestfs_zero (guestfs_h *g,\n"
13860 "\t\tconst char *device);\n"
13861 "\n"
13862 msgstr ""
13863
13864 # type: textblock
13865 #: ../src/guestfs-actions.pod:5540 ../fish/guestfish-actions.pod:4284
13866 msgid "This command writes zeroes over the first few blocks of C<device>."
13867 msgstr ""
13868
13869 # type: textblock
13870 #: ../src/guestfs-actions.pod:5542 ../fish/guestfish-actions.pod:4286
13871 msgid ""
13872 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
13873 "securely wipe the device).  It should be sufficient to remove any partition "
13874 "tables, filesystem superblocks and so on."
13875 msgstr ""
13876
13877 # type: textblock
13878 #: ../src/guestfs-actions.pod:5546
13879 msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
13880 msgstr ""
13881
13882 # type: =head2
13883 #: ../src/guestfs-actions.pod:5555
13884 msgid "guestfs_zero_device"
13885 msgstr ""
13886
13887 # type: verbatim
13888 #: ../src/guestfs-actions.pod:5557
13889 #, no-wrap
13890 msgid ""
13891 " int guestfs_zero_device (guestfs_h *g,\n"
13892 "\t\tconst char *device);\n"
13893 "\n"
13894 msgstr ""
13895
13896 # type: textblock
13897 #: ../src/guestfs-actions.pod:5560
13898 msgid ""
13899 "This command writes zeroes over the entire C<device>.  Compare with "
13900 "C<guestfs_zero> which just zeroes the first few blocks of a device."
13901 msgstr ""
13902
13903 # type: =head2
13904 #: ../src/guestfs-actions.pod:5574
13905 msgid "guestfs_zerofree"
13906 msgstr ""
13907
13908 # type: verbatim
13909 #: ../src/guestfs-actions.pod:5576
13910 #, no-wrap
13911 msgid ""
13912 " int guestfs_zerofree (guestfs_h *g,\n"
13913 "\t\tconst char *device);\n"
13914 "\n"
13915 msgstr ""
13916
13917 # type: textblock
13918 #: ../src/guestfs-actions.pod:5579 ../fish/guestfish-actions.pod:4307
13919 msgid ""
13920 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
13921 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
13922 "possible to compress the filesystem more effectively."
13923 msgstr ""
13924
13925 # type: textblock
13926 #: ../src/guestfs-actions.pod:5584 ../fish/guestfish-actions.pod:4312
13927 msgid "You should B<not> run this program if the filesystem is mounted."
13928 msgstr ""
13929
13930 # type: textblock
13931 #: ../src/guestfs-actions.pod:5587 ../fish/guestfish-actions.pod:4315
13932 msgid ""
13933 "It is possible that using this program can damage the filesystem or data on "
13934 "the filesystem."
13935 msgstr ""
13936
13937 # type: =head2
13938 #: ../src/guestfs-actions.pod:5592
13939 msgid "guestfs_zfgrep"
13940 msgstr ""
13941
13942 # type: verbatim
13943 #: ../src/guestfs-actions.pod:5594
13944 #, no-wrap
13945 msgid ""
13946 " char **guestfs_zfgrep (guestfs_h *g,\n"
13947 "\t\tconst char *pattern,\n"
13948 "\t\tconst char *path);\n"
13949 "\n"
13950 msgstr ""
13951
13952 # type: textblock
13953 #: ../src/guestfs-actions.pod:5598 ../fish/guestfish-actions.pod:4322
13954 msgid ""
13955 "This calls the external C<zfgrep> program and returns the matching lines."
13956 msgstr ""
13957
13958 # type: =head2
13959 #: ../src/guestfs-actions.pod:5608
13960 msgid "guestfs_zfgrepi"
13961 msgstr ""
13962
13963 # type: verbatim
13964 #: ../src/guestfs-actions.pod:5610
13965 #, no-wrap
13966 msgid ""
13967 " char **guestfs_zfgrepi (guestfs_h *g,\n"
13968 "\t\tconst char *pattern,\n"
13969 "\t\tconst char *path);\n"
13970 "\n"
13971 msgstr ""
13972
13973 # type: textblock
13974 #: ../src/guestfs-actions.pod:5614 ../fish/guestfish-actions.pod:4332
13975 msgid ""
13976 "This calls the external C<zfgrep -i> program and returns the matching lines."
13977 msgstr ""
13978
13979 # type: =head2
13980 #: ../src/guestfs-actions.pod:5624
13981 msgid "guestfs_zfile"
13982 msgstr ""
13983
13984 # type: verbatim
13985 #: ../src/guestfs-actions.pod:5626
13986 #, no-wrap
13987 msgid ""
13988 " char *guestfs_zfile (guestfs_h *g,\n"
13989 "\t\tconst char *meth,\n"
13990 "\t\tconst char *path);\n"
13991 "\n"
13992 msgstr ""
13993
13994 # type: textblock
13995 #: ../src/guestfs-actions.pod:5630 ../fish/guestfish-actions.pod:4342
13996 msgid ""
13997 "This command runs C<file> after first decompressing C<path> using C<method>."
13998 msgstr ""
13999
14000 # type: textblock
14001 #: ../src/guestfs-actions.pod:5633 ../fish/guestfish-actions.pod:4345
14002 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
14003 msgstr ""
14004
14005 # type: textblock
14006 #: ../src/guestfs-actions.pod:5635
14007 msgid ""
14008 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
14009 "files."
14010 msgstr ""
14011
14012 # type: textblock
14013 #: ../src/guestfs-actions.pod:5641 ../fish/guestfish-actions.pod:4350
14014 msgid ""
14015 "This function is deprecated.  In new code, use the C<file> call instead."
14016 msgstr ""
14017
14018 # type: =head2
14019 #: ../src/guestfs-actions.pod:5648
14020 msgid "guestfs_zgrep"
14021 msgstr ""
14022
14023 # type: verbatim
14024 #: ../src/guestfs-actions.pod:5650
14025 #, no-wrap
14026 msgid ""
14027 " char **guestfs_zgrep (guestfs_h *g,\n"
14028 "\t\tconst char *regex,\n"
14029 "\t\tconst char *path);\n"
14030 "\n"
14031 msgstr ""
14032
14033 # type: textblock
14034 #: ../src/guestfs-actions.pod:5654 ../fish/guestfish-actions.pod:4361
14035 msgid ""
14036 "This calls the external C<zgrep> program and returns the matching lines."
14037 msgstr ""
14038
14039 # type: =head2
14040 #: ../src/guestfs-actions.pod:5664
14041 msgid "guestfs_zgrepi"
14042 msgstr ""
14043
14044 # type: verbatim
14045 #: ../src/guestfs-actions.pod:5666
14046 #, no-wrap
14047 msgid ""
14048 " char **guestfs_zgrepi (guestfs_h *g,\n"
14049 "\t\tconst char *regex,\n"
14050 "\t\tconst char *path);\n"
14051 "\n"
14052 msgstr ""
14053
14054 # type: textblock
14055 #: ../src/guestfs-actions.pod:5670 ../fish/guestfish-actions.pod:4371
14056 msgid ""
14057 "This calls the external C<zgrep -i> program and returns the matching lines."
14058 msgstr ""
14059
14060 # type: =item
14061 #: ../src/guestfs-availability.pod:3
14062 msgid "B<augeas>"
14063 msgstr ""
14064
14065 # type: textblock
14066 #: ../src/guestfs-availability.pod:5
14067 msgid ""
14068 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> L</"
14069 "guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> L</"
14070 "guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> L</"
14071 "guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> L</guestfs_aug_rm> "
14072 "L</guestfs_aug_save> L</guestfs_aug_set>"
14073 msgstr ""
14074
14075 # type: =item
14076 #: ../src/guestfs-availability.pod:21
14077 msgid "B<inotify>"
14078 msgstr ""
14079
14080 # type: textblock
14081 #: ../src/guestfs-availability.pod:23
14082 msgid ""
14083 "The following functions: L</guestfs_inotify_add_watch> L</"
14084 "guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> L</"
14085 "guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
14086 msgstr ""
14087
14088 # type: =item
14089 #: ../src/guestfs-availability.pod:31
14090 msgid "B<linuxfsuuid>"
14091 msgstr ""
14092
14093 # type: textblock
14094 #: ../src/guestfs-availability.pod:33
14095 msgid ""
14096 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> L</"
14097 "guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
14098 msgstr ""
14099
14100 # type: =item
14101 #: ../src/guestfs-availability.pod:40
14102 msgid "B<linuxmodules>"
14103 msgstr ""
14104
14105 # type: textblock
14106 #: ../src/guestfs-availability.pod:42
14107 msgid "The following functions: L</guestfs_modprobe>"
14108 msgstr ""
14109
14110 # type: =item
14111 #: ../src/guestfs-availability.pod:45
14112 msgid "B<linuxxattrs>"
14113 msgstr ""
14114
14115 # type: textblock
14116 #: ../src/guestfs-availability.pod:47
14117 msgid ""
14118 "The following functions: L</guestfs_getxattrs> L</guestfs_lgetxattrs> L</"
14119 "guestfs_lremovexattr> L</guestfs_lsetxattr> L</guestfs_lxattrlist> L</"
14120 "guestfs_removexattr> L</guestfs_setxattr>"
14121 msgstr ""
14122
14123 # type: =item
14124 #: ../src/guestfs-availability.pod:56
14125 msgid "B<luks>"
14126 msgstr ""
14127
14128 # type: textblock
14129 #: ../src/guestfs-availability.pod:58
14130 msgid ""
14131 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> L</"
14132 "guestfs_luks_format> L</guestfs_luks_format_cipher> L</"
14133 "guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
14134 msgstr ""
14135
14136 # type: =item
14137 #: ../src/guestfs-availability.pod:67
14138 msgid "B<lvm2>"
14139 msgstr ""
14140
14141 # type: textblock
14142 #: ../src/guestfs-availability.pod:69
14143 msgid ""
14144 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> L</"
14145 "guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> L</"
14146 "guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> L</"
14147 "guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> L</"
14148 "guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> L</"
14149 "guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> L</"
14150 "guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> L</guestfs_vgs_full>"
14151 msgstr ""
14152
14153 # type: =item
14154 #: ../src/guestfs-availability.pod:92
14155 msgid "B<mknod>"
14156 msgstr ""
14157
14158 # type: textblock
14159 #: ../src/guestfs-availability.pod:94
14160 msgid ""
14161 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> L</"
14162 "guestfs_mknod_b> L</guestfs_mknod_c>"
14163 msgstr ""
14164
14165 # type: =item
14166 #: ../src/guestfs-availability.pod:100
14167 msgid "B<ntfs3g>"
14168 msgstr ""
14169
14170 # type: textblock
14171 #: ../src/guestfs-availability.pod:102
14172 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
14173 msgstr ""
14174
14175 # type: =item
14176 #: ../src/guestfs-availability.pod:105
14177 msgid "B<ntfsprogs>"
14178 msgstr ""
14179
14180 # type: textblock
14181 #: ../src/guestfs-availability.pod:107
14182 msgid ""
14183 "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_size>"
14184 msgstr ""
14185
14186 # type: =item
14187 #: ../src/guestfs-availability.pod:111
14188 msgid "B<realpath>"
14189 msgstr ""
14190
14191 # type: textblock
14192 #: ../src/guestfs-availability.pod:113
14193 msgid "The following functions: L</guestfs_realpath>"
14194 msgstr ""
14195
14196 # type: =item
14197 #: ../src/guestfs-availability.pod:116
14198 msgid "B<scrub>"
14199 msgstr ""
14200
14201 # type: textblock
14202 #: ../src/guestfs-availability.pod:118
14203 msgid ""
14204 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> L</"
14205 "guestfs_scrub_freespace>"
14206 msgstr ""
14207
14208 # type: =item
14209 #: ../src/guestfs-availability.pod:123
14210 msgid "B<selinux>"
14211 msgstr ""
14212
14213 # type: textblock
14214 #: ../src/guestfs-availability.pod:125
14215 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
14216 msgstr ""
14217
14218 # type: =item
14219 #: ../src/guestfs-availability.pod:129
14220 msgid "B<xz>"
14221 msgstr ""
14222
14223 # type: textblock
14224 #: ../src/guestfs-availability.pod:131
14225 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
14226 msgstr ""
14227
14228 # type: =item
14229 #: ../src/guestfs-availability.pod:135
14230 msgid "B<zerofree>"
14231 msgstr ""
14232
14233 # type: textblock
14234 #: ../src/guestfs-availability.pod:137
14235 msgid "The following functions: L</guestfs_zerofree>"
14236 msgstr ""
14237
14238 # type: =head2
14239 #: ../src/guestfs-structs.pod:1
14240 msgid "guestfs_int_bool"
14241 msgstr ""
14242
14243 # type: verbatim
14244 #: ../src/guestfs-structs.pod:3
14245 #, no-wrap
14246 msgid ""
14247 " struct guestfs_int_bool {\n"
14248 "   int32_t i;\n"
14249 "   int32_t b;\n"
14250 " };\n"
14251 " \n"
14252 msgstr ""
14253
14254 # type: verbatim
14255 #: ../src/guestfs-structs.pod:8
14256 #, no-wrap
14257 msgid ""
14258 " struct guestfs_int_bool_list {\n"
14259 "   uint32_t len; /* Number of elements in list. */\n"
14260 "   struct guestfs_int_bool *val; /* Elements. */\n"
14261 " };\n"
14262 " \n"
14263 msgstr ""
14264
14265 # type: verbatim
14266 #: ../src/guestfs-structs.pod:13
14267 #, no-wrap
14268 msgid ""
14269 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
14270 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
14271 "\n"
14272 msgstr ""
14273
14274 # type: =head2
14275 #: ../src/guestfs-structs.pod:16
14276 msgid "guestfs_lvm_pv"
14277 msgstr ""
14278
14279 # type: verbatim
14280 #: ../src/guestfs-structs.pod:18
14281 #, no-wrap
14282 msgid ""
14283 " struct guestfs_lvm_pv {\n"
14284 "   char *pv_name;\n"
14285 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14286 "   char pv_uuid[32];\n"
14287 "   char *pv_fmt;\n"
14288 "   uint64_t pv_size;\n"
14289 "   uint64_t dev_size;\n"
14290 "   uint64_t pv_free;\n"
14291 "   uint64_t pv_used;\n"
14292 "   char *pv_attr;\n"
14293 "   int64_t pv_pe_count;\n"
14294 "   int64_t pv_pe_alloc_count;\n"
14295 "   char *pv_tags;\n"
14296 "   uint64_t pe_start;\n"
14297 "   int64_t pv_mda_count;\n"
14298 "   uint64_t pv_mda_free;\n"
14299 " };\n"
14300 " \n"
14301 msgstr ""
14302
14303 # type: verbatim
14304 #: ../src/guestfs-structs.pod:36
14305 #, no-wrap
14306 msgid ""
14307 " struct guestfs_lvm_pv_list {\n"
14308 "   uint32_t len; /* Number of elements in list. */\n"
14309 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
14310 " };\n"
14311 " \n"
14312 msgstr ""
14313
14314 # type: verbatim
14315 #: ../src/guestfs-structs.pod:41
14316 #, no-wrap
14317 msgid ""
14318 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
14319 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
14320 "\n"
14321 msgstr ""
14322
14323 # type: =head2
14324 #: ../src/guestfs-structs.pod:44
14325 msgid "guestfs_lvm_vg"
14326 msgstr ""
14327
14328 # type: verbatim
14329 #: ../src/guestfs-structs.pod:46
14330 #, no-wrap
14331 msgid ""
14332 " struct guestfs_lvm_vg {\n"
14333 "   char *vg_name;\n"
14334 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14335 "   char vg_uuid[32];\n"
14336 "   char *vg_fmt;\n"
14337 "   char *vg_attr;\n"
14338 "   uint64_t vg_size;\n"
14339 "   uint64_t vg_free;\n"
14340 "   char *vg_sysid;\n"
14341 "   uint64_t vg_extent_size;\n"
14342 "   int64_t vg_extent_count;\n"
14343 "   int64_t vg_free_count;\n"
14344 "   int64_t max_lv;\n"
14345 "   int64_t max_pv;\n"
14346 "   int64_t pv_count;\n"
14347 "   int64_t lv_count;\n"
14348 "   int64_t snap_count;\n"
14349 "   int64_t vg_seqno;\n"
14350 "   char *vg_tags;\n"
14351 "   int64_t vg_mda_count;\n"
14352 "   uint64_t vg_mda_free;\n"
14353 " };\n"
14354 " \n"
14355 msgstr ""
14356
14357 # type: verbatim
14358 #: ../src/guestfs-structs.pod:69
14359 #, no-wrap
14360 msgid ""
14361 " struct guestfs_lvm_vg_list {\n"
14362 "   uint32_t len; /* Number of elements in list. */\n"
14363 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
14364 " };\n"
14365 " \n"
14366 msgstr ""
14367
14368 # type: verbatim
14369 #: ../src/guestfs-structs.pod:74
14370 #, no-wrap
14371 msgid ""
14372 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
14373 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
14374 "\n"
14375 msgstr ""
14376
14377 # type: =head2
14378 #: ../src/guestfs-structs.pod:77
14379 msgid "guestfs_lvm_lv"
14380 msgstr ""
14381
14382 # type: verbatim
14383 #: ../src/guestfs-structs.pod:79
14384 #, no-wrap
14385 msgid ""
14386 " struct guestfs_lvm_lv {\n"
14387 "   char *lv_name;\n"
14388 "   /* The next field is NOT nul-terminated, be careful when printing it: */\n"
14389 "   char lv_uuid[32];\n"
14390 "   char *lv_attr;\n"
14391 "   int64_t lv_major;\n"
14392 "   int64_t lv_minor;\n"
14393 "   int64_t lv_kernel_major;\n"
14394 "   int64_t lv_kernel_minor;\n"
14395 "   uint64_t lv_size;\n"
14396 "   int64_t seg_count;\n"
14397 "   char *origin;\n"
14398 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14399 "   float snap_percent;\n"
14400 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
14401 "   float copy_percent;\n"
14402 "   char *move_pv;\n"
14403 "   char *lv_tags;\n"
14404 "   char *mirror_log;\n"
14405 "   char *modules;\n"
14406 " };\n"
14407 " \n"
14408 msgstr ""
14409
14410 # type: verbatim
14411 #: ../src/guestfs-structs.pod:101
14412 #, no-wrap
14413 msgid ""
14414 " struct guestfs_lvm_lv_list {\n"
14415 "   uint32_t len; /* Number of elements in list. */\n"
14416 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
14417 " };\n"
14418 " \n"
14419 msgstr ""
14420
14421 # type: verbatim
14422 #: ../src/guestfs-structs.pod:106
14423 #, no-wrap
14424 msgid ""
14425 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
14426 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
14427 "\n"
14428 msgstr ""
14429
14430 # type: verbatim
14431 #: ../src/guestfs-structs.pod:111
14432 #, no-wrap
14433 msgid ""
14434 " struct guestfs_stat {\n"
14435 "   int64_t dev;\n"
14436 "   int64_t ino;\n"
14437 "   int64_t mode;\n"
14438 "   int64_t nlink;\n"
14439 "   int64_t uid;\n"
14440 "   int64_t gid;\n"
14441 "   int64_t rdev;\n"
14442 "   int64_t size;\n"
14443 "   int64_t blksize;\n"
14444 "   int64_t blocks;\n"
14445 "   int64_t atime;\n"
14446 "   int64_t mtime;\n"
14447 "   int64_t ctime;\n"
14448 " };\n"
14449 " \n"
14450 msgstr ""
14451
14452 # type: verbatim
14453 #: ../src/guestfs-structs.pod:127
14454 #, no-wrap
14455 msgid ""
14456 " struct guestfs_stat_list {\n"
14457 "   uint32_t len; /* Number of elements in list. */\n"
14458 "   struct guestfs_stat *val; /* Elements. */\n"
14459 " };\n"
14460 " \n"
14461 msgstr ""
14462
14463 # type: verbatim
14464 #: ../src/guestfs-structs.pod:132
14465 #, no-wrap
14466 msgid ""
14467 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
14468 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
14469 "\n"
14470 msgstr ""
14471
14472 # type: verbatim
14473 #: ../src/guestfs-structs.pod:137
14474 #, no-wrap
14475 msgid ""
14476 " struct guestfs_statvfs {\n"
14477 "   int64_t bsize;\n"
14478 "   int64_t frsize;\n"
14479 "   int64_t blocks;\n"
14480 "   int64_t bfree;\n"
14481 "   int64_t bavail;\n"
14482 "   int64_t files;\n"
14483 "   int64_t ffree;\n"
14484 "   int64_t favail;\n"
14485 "   int64_t fsid;\n"
14486 "   int64_t flag;\n"
14487 "   int64_t namemax;\n"
14488 " };\n"
14489 " \n"
14490 msgstr ""
14491
14492 # type: verbatim
14493 #: ../src/guestfs-structs.pod:151
14494 #, no-wrap
14495 msgid ""
14496 " struct guestfs_statvfs_list {\n"
14497 "   uint32_t len; /* Number of elements in list. */\n"
14498 "   struct guestfs_statvfs *val; /* Elements. */\n"
14499 " };\n"
14500 " \n"
14501 msgstr ""
14502
14503 # type: verbatim
14504 #: ../src/guestfs-structs.pod:156
14505 #, no-wrap
14506 msgid ""
14507 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
14508 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
14509 "\n"
14510 msgstr ""
14511
14512 # type: =head2
14513 #: ../src/guestfs-structs.pod:159
14514 msgid "guestfs_dirent"
14515 msgstr ""
14516
14517 # type: verbatim
14518 #: ../src/guestfs-structs.pod:161
14519 #, no-wrap
14520 msgid ""
14521 " struct guestfs_dirent {\n"
14522 "   int64_t ino;\n"
14523 "   char ftyp;\n"
14524 "   char *name;\n"
14525 " };\n"
14526 " \n"
14527 msgstr ""
14528
14529 # type: verbatim
14530 #: ../src/guestfs-structs.pod:167
14531 #, no-wrap
14532 msgid ""
14533 " struct guestfs_dirent_list {\n"
14534 "   uint32_t len; /* Number of elements in list. */\n"
14535 "   struct guestfs_dirent *val; /* Elements. */\n"
14536 " };\n"
14537 " \n"
14538 msgstr ""
14539
14540 # type: verbatim
14541 #: ../src/guestfs-structs.pod:172
14542 #, no-wrap
14543 msgid ""
14544 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
14545 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
14546 "\n"
14547 msgstr ""
14548
14549 # type: verbatim
14550 #: ../src/guestfs-structs.pod:177
14551 #, no-wrap
14552 msgid ""
14553 " struct guestfs_version {\n"
14554 "   int64_t major;\n"
14555 "   int64_t minor;\n"
14556 "   int64_t release;\n"
14557 "   char *extra;\n"
14558 " };\n"
14559 " \n"
14560 msgstr ""
14561
14562 # type: verbatim
14563 #: ../src/guestfs-structs.pod:184
14564 #, no-wrap
14565 msgid ""
14566 " struct guestfs_version_list {\n"
14567 "   uint32_t len; /* Number of elements in list. */\n"
14568 "   struct guestfs_version *val; /* Elements. */\n"
14569 " };\n"
14570 " \n"
14571 msgstr ""
14572
14573 # type: verbatim
14574 #: ../src/guestfs-structs.pod:189
14575 #, no-wrap
14576 msgid ""
14577 " void guestfs_free_version (struct guestfs_free_version *);\n"
14578 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
14579 "\n"
14580 msgstr ""
14581
14582 # type: =head2
14583 #: ../src/guestfs-structs.pod:192
14584 msgid "guestfs_xattr"
14585 msgstr ""
14586
14587 # type: verbatim
14588 #: ../src/guestfs-structs.pod:194
14589 #, no-wrap
14590 msgid ""
14591 " struct guestfs_xattr {\n"
14592 "   char *attrname;\n"
14593 "   /* The next two fields describe a byte array. */\n"
14594 "   uint32_t attrval_len;\n"
14595 "   char *attrval;\n"
14596 " };\n"
14597 " \n"
14598 msgstr ""
14599
14600 # type: verbatim
14601 #: ../src/guestfs-structs.pod:201
14602 #, no-wrap
14603 msgid ""
14604 " struct guestfs_xattr_list {\n"
14605 "   uint32_t len; /* Number of elements in list. */\n"
14606 "   struct guestfs_xattr *val; /* Elements. */\n"
14607 " };\n"
14608 " \n"
14609 msgstr ""
14610
14611 # type: verbatim
14612 #: ../src/guestfs-structs.pod:206
14613 #, no-wrap
14614 msgid ""
14615 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
14616 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
14617 "\n"
14618 msgstr ""
14619
14620 # type: =head2
14621 #: ../src/guestfs-structs.pod:209
14622 msgid "guestfs_inotify_event"
14623 msgstr ""
14624
14625 # type: verbatim
14626 #: ../src/guestfs-structs.pod:211
14627 #, no-wrap
14628 msgid ""
14629 " struct guestfs_inotify_event {\n"
14630 "   int64_t in_wd;\n"
14631 "   uint32_t in_mask;\n"
14632 "   uint32_t in_cookie;\n"
14633 "   char *in_name;\n"
14634 " };\n"
14635 " \n"
14636 msgstr ""
14637
14638 # type: verbatim
14639 #: ../src/guestfs-structs.pod:218
14640 #, no-wrap
14641 msgid ""
14642 " struct guestfs_inotify_event_list {\n"
14643 "   uint32_t len; /* Number of elements in list. */\n"
14644 "   struct guestfs_inotify_event *val; /* Elements. */\n"
14645 " };\n"
14646 " \n"
14647 msgstr ""
14648
14649 # type: verbatim
14650 #: ../src/guestfs-structs.pod:223
14651 #, no-wrap
14652 msgid ""
14653 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
14654 " void guestfs_free_inotify_event_list (struct guestfs_free_inotify_event_list *);\n"
14655 "\n"
14656 msgstr ""
14657
14658 # type: =head2
14659 #: ../src/guestfs-structs.pod:226
14660 msgid "guestfs_partition"
14661 msgstr ""
14662
14663 # type: verbatim
14664 #: ../src/guestfs-structs.pod:228
14665 #, no-wrap
14666 msgid ""
14667 " struct guestfs_partition {\n"
14668 "   int32_t part_num;\n"
14669 "   uint64_t part_start;\n"
14670 "   uint64_t part_end;\n"
14671 "   uint64_t part_size;\n"
14672 " };\n"
14673 " \n"
14674 msgstr ""
14675
14676 # type: verbatim
14677 #: ../src/guestfs-structs.pod:235
14678 #, no-wrap
14679 msgid ""
14680 " struct guestfs_partition_list {\n"
14681 "   uint32_t len; /* Number of elements in list. */\n"
14682 "   struct guestfs_partition *val; /* Elements. */\n"
14683 " };\n"
14684 " \n"
14685 msgstr ""
14686
14687 # type: verbatim
14688 #: ../src/guestfs-structs.pod:240
14689 #, no-wrap
14690 msgid ""
14691 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
14692 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
14693 "\n"
14694 msgstr ""
14695
14696 # type: textblock
14697 #: ../fish/guestfish.pod:5
14698 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
14699 msgstr ""
14700
14701 # type: verbatim
14702 #: ../fish/guestfish.pod:9
14703 #, no-wrap
14704 msgid ""
14705 " guestfish [--options] [commands]\n"
14706 "\n"
14707 msgstr ""
14708
14709 # type: verbatim
14710 #: ../fish/guestfish.pod:11
14711 #, no-wrap
14712 msgid ""
14713 " guestfish\n"
14714 "\n"
14715 msgstr ""
14716
14717 # type: verbatim
14718 #: ../fish/guestfish.pod:13
14719 #, no-wrap
14720 msgid ""
14721 " guestfish -a disk.img\n"
14722 "\n"
14723 msgstr ""
14724
14725 # type: verbatim
14726 #: ../fish/guestfish.pod:15
14727 #, no-wrap
14728 msgid ""
14729 " guestfish -a disk.img -m dev[:mountpoint]\n"
14730 "\n"
14731 msgstr ""
14732
14733 # type: verbatim
14734 #: ../fish/guestfish.pod:17
14735 #, no-wrap
14736 msgid ""
14737 " guestfish -d libvirt-domain\n"
14738 "\n"
14739 msgstr ""
14740
14741 # type: verbatim
14742 #: ../fish/guestfish.pod:19
14743 #, no-wrap
14744 msgid ""
14745 " guestfish -a disk.img -i\n"
14746 "\n"
14747 msgstr ""
14748
14749 # type: verbatim
14750 #: ../fish/guestfish.pod:21
14751 #, no-wrap
14752 msgid ""
14753 " guestfish -d libvirt-domain -i\n"
14754 "\n"
14755 msgstr ""
14756
14757 # type: =head1
14758 #: ../fish/guestfish.pod:23 ../fuse/guestmount.pod:11 ../tools/virt-edit.pl:45
14759 #: ../tools/virt-win-reg.pl:52 ../tools/virt-tar.pl:60
14760 #: ../tools/virt-rescue.pl:41
14761 msgid "WARNING"
14762 msgstr ""
14763
14764 # type: textblock
14765 #: ../fish/guestfish.pod:25
14766 msgid ""
14767 "Using guestfish in read/write mode on live virtual machines can be "
14768 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
14769 "option to use guestfish safely if the disk image or virtual machine might be "
14770 "live."
14771 msgstr ""
14772
14773 # type: textblock
14774 #: ../fish/guestfish.pod:32
14775 msgid ""
14776 "Guestfish is a shell and command-line tool for examining and modifying "
14777 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
14778 "functionality of the guestfs API, see L<guestfs(3)>."
14779 msgstr ""
14780
14781 # type: textblock
14782 #: ../fish/guestfish.pod:36
14783 msgid ""
14784 "Guestfish gives you structured access to the libguestfs API, from shell "
14785 "scripts or the command line or interactively.  If you want to rescue a "
14786 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
14787 "command."
14788 msgstr ""
14789
14790 # type: =head1
14791 #: ../fish/guestfish.pod:41 ../fish/guestfish.pod:759
14792 #: ../fuse/guestmount.pod:35 ../tools/virt-edit.pl:59
14793 #: ../tools/virt-resize.pl:66 ../tools/virt-cat.pl:51 ../tools/virt-tar.pl:46
14794 msgid "EXAMPLES"
14795 msgstr ""
14796
14797 # type: =head2
14798 #: ../fish/guestfish.pod:43
14799 msgid "As an interactive shell"
14800 msgstr ""
14801
14802 # type: verbatim
14803 #: ../fish/guestfish.pod:45
14804 #, no-wrap
14805 msgid ""
14806 " $ guestfish\n"
14807 " \n"
14808 msgstr ""
14809
14810 # type: verbatim
14811 #: ../fish/guestfish.pod:47
14812 #, no-wrap
14813 msgid ""
14814 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
14815 " editing virtual machine filesystems.\n"
14816 " \n"
14817 msgstr ""
14818
14819 # type: verbatim
14820 #: ../fish/guestfish.pod:50
14821 #, no-wrap
14822 msgid ""
14823 " Type: 'help' for a list of commands\n"
14824 "       'man' to read the manual\n"
14825 "       'quit' to quit the shell\n"
14826 " \n"
14827 msgstr ""
14828
14829 # type: verbatim
14830 #: ../fish/guestfish.pod:54
14831 #, no-wrap
14832 msgid ""
14833 " ><fs> add-ro disk.img\n"
14834 " ><fs> run\n"
14835 " ><fs> list-filesystems\n"
14836 " /dev/sda1: ext4\n"
14837 " /dev/vg_guest/lv_root: ext4\n"
14838 " /dev/vg_guest/lv_swap: swap\n"
14839 " ><fs> mount /dev/vg_guest/lv_root /\n"
14840 " ><fs> cat /etc/fstab\n"
14841 " # /etc/fstab\n"
14842 " # Created by anaconda\n"
14843 " [...]\n"
14844 " ><fs> exit\n"
14845 "\n"
14846 msgstr ""
14847
14848 # type: =head2
14849 #: ../fish/guestfish.pod:67
14850 msgid "From shell scripts"
14851 msgstr ""
14852
14853 # type: textblock
14854 #: ../fish/guestfish.pod:69
14855 msgid "Create a new C</etc/motd> file in a guest or disk image:"
14856 msgstr ""
14857
14858 # type: verbatim
14859 #: ../fish/guestfish.pod:71
14860 #, no-wrap
14861 msgid ""
14862 " guestfish <<_EOF_\n"
14863 " add disk.img\n"
14864 " run\n"
14865 " mount /dev/vg_guest/lv_root /\n"
14866 " write /etc/motd \"Welcome, new users\"\n"
14867 " _EOF_\n"
14868 "\n"
14869 msgstr ""
14870
14871 # type: textblock
14872 #: ../fish/guestfish.pod:78
14873 msgid "List the LVM logical volumes in a disk image:"
14874 msgstr ""
14875
14876 # type: verbatim
14877 #: ../fish/guestfish.pod:80
14878 #, no-wrap
14879 msgid ""
14880 " guestfish -a disk.img --ro <<_EOF_\n"
14881 " run\n"
14882 " lvs\n"
14883 " _EOF_\n"
14884 "\n"
14885 msgstr ""
14886
14887 # type: textblock
14888 #: ../fish/guestfish.pod:85
14889 msgid "List all the filesystems in a disk image:"
14890 msgstr ""
14891
14892 # type: verbatim
14893 #: ../fish/guestfish.pod:87
14894 #, no-wrap
14895 msgid ""
14896 " guestfish -a disk.img --ro <<_EOF_\n"
14897 " run\n"
14898 " list-filesystems\n"
14899 " _EOF_\n"
14900 "\n"
14901 msgstr ""
14902
14903 # type: =head2
14904 #: ../fish/guestfish.pod:92
14905 msgid "On one command line"
14906 msgstr ""
14907
14908 # type: textblock
14909 #: ../fish/guestfish.pod:94
14910 msgid "Update C</etc/resolv.conf> in a guest:"
14911 msgstr ""
14912
14913 # type: verbatim
14914 #: ../fish/guestfish.pod:96
14915 #, no-wrap
14916 msgid ""
14917 " guestfish \\\n"
14918 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
14919 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
14920 "\n"
14921 msgstr ""
14922
14923 # type: textblock
14924 #: ../fish/guestfish.pod:100
14925 msgid "Edit C</boot/grub/grub.conf> interactively:"
14926 msgstr ""
14927
14928 # type: verbatim
14929 #: ../fish/guestfish.pod:102
14930 #, no-wrap
14931 msgid ""
14932 " guestfish --add disk.img \\\n"
14933 "   --mount /dev/vg_guest/lv_root \\\n"
14934 "   --mount /dev/sda1:/boot \\\n"
14935 "   edit /boot/grub/grub.conf\n"
14936 "\n"
14937 msgstr ""
14938
14939 # type: =head2
14940 #: ../fish/guestfish.pod:107
14941 msgid "Mount disks automatically"
14942 msgstr ""
14943
14944 # type: textblock
14945 #: ../fish/guestfish.pod:109
14946 msgid ""
14947 "Use the I<-i> option to automatically mount the disks from a virtual machine:"
14948 msgstr ""
14949
14950 # type: verbatim
14951 #: ../fish/guestfish.pod:112
14952 #, no-wrap
14953 msgid ""
14954 " guestfish --ro -a disk.img -i cat /etc/group\n"
14955 "\n"
14956 msgstr ""
14957
14958 # type: verbatim
14959 #: ../fish/guestfish.pod:114
14960 #, no-wrap
14961 msgid ""
14962 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
14963 "\n"
14964 msgstr ""
14965
14966 # type: textblock
14967 #: ../fish/guestfish.pod:116
14968 msgid "Another way to edit C</boot/grub/grub.conf> interactively is:"
14969 msgstr ""
14970
14971 # type: verbatim
14972 #: ../fish/guestfish.pod:118
14973 #, no-wrap
14974 msgid ""
14975 " guestfish -a disk.img -i edit /boot/grub/grub.conf\n"
14976 "\n"
14977 msgstr ""
14978
14979 # type: =head2
14980 #: ../fish/guestfish.pod:120
14981 msgid "As a script interpreter"
14982 msgstr ""
14983
14984 # type: textblock
14985 #: ../fish/guestfish.pod:122
14986 msgid "Create a 100MB disk containing an ext2-formatted partition:"
14987 msgstr ""
14988
14989 # type: verbatim
14990 #: ../fish/guestfish.pod:124
14991 #, no-wrap
14992 msgid ""
14993 " #!/usr/bin/guestfish -f\n"
14994 " sparse test1.img 100M\n"
14995 " run\n"
14996 " part-disk /dev/sda mbr\n"
14997 " mkfs ext2 /dev/sda1\n"
14998 "\n"
14999 msgstr ""
15000
15001 # type: =head2
15002 #: ../fish/guestfish.pod:130
15003 msgid "Start with a prepared disk"
15004 msgstr ""
15005
15006 # type: textblock
15007 #: ../fish/guestfish.pod:132
15008 msgid ""
15009 "An alternate way to create a 100MB disk called C<test1.img> containing a "
15010 "single ext2-formatted partition:"
15011 msgstr ""
15012
15013 # type: verbatim
15014 #: ../fish/guestfish.pod:135
15015 #, no-wrap
15016 msgid ""
15017 " guestfish -N fs\n"
15018 "\n"
15019 msgstr ""
15020
15021 # type: textblock
15022 #: ../fish/guestfish.pod:137
15023 msgid "To list what is available do:"
15024 msgstr ""
15025
15026 # type: verbatim
15027 #: ../fish/guestfish.pod:139 ../fish/guestfish.pod:750
15028 #, no-wrap
15029 msgid ""
15030 " guestfish -N help | less\n"
15031 "\n"
15032 msgstr ""
15033
15034 # type: =head2
15035 #: ../fish/guestfish.pod:141
15036 msgid "Remote control"
15037 msgstr ""
15038
15039 # type: verbatim
15040 #: ../fish/guestfish.pod:143
15041 #, no-wrap
15042 msgid ""
15043 " eval `guestfish --listen`\n"
15044 " guestfish --remote add-ro disk.img\n"
15045 " guestfish --remote run\n"
15046 " guestfish --remote lvs\n"
15047 "\n"
15048 msgstr ""
15049
15050 # type: =head1
15051 #: ../fish/guestfish.pod:148 ../test-tool/libguestfs-test-tool.pod:37
15052 #: ../fuse/guestmount.pod:70 ../inspector/virt-inspector.pl:75
15053 #: ../tools/virt-edit.pl:73 ../tools/virt-win-reg.pl:172
15054 #: ../tools/virt-df.pl:71 ../tools/virt-ls.pl:79 ../tools/virt-resize.pl:233
15055 #: ../tools/virt-list-filesystems.pl:50 ../tools/virt-cat.pl:80
15056 #: ../tools/virt-tar.pl:99 ../tools/virt-rescue.pl:103
15057 #: ../tools/virt-make-fs.pl:153 ../tools/virt-list-partitions.pl:51
15058 msgid "OPTIONS"
15059 msgstr ""
15060
15061 # type: =item
15062 #: ../fish/guestfish.pod:152 ../fuse/guestmount.pod:94
15063 #: ../inspector/virt-inspector.pl:83 ../tools/virt-edit.pl:81
15064 #: ../tools/virt-win-reg.pl:180 ../tools/virt-df.pl:79 ../tools/virt-ls.pl:87
15065 #: ../tools/virt-resize.pl:241 ../tools/virt-list-filesystems.pl:58
15066 #: ../tools/virt-cat.pl:88 ../tools/virt-tar.pl:107
15067 #: ../tools/virt-rescue.pl:111 ../tools/virt-make-fs.pl:161
15068 #: ../tools/virt-list-partitions.pl:59
15069 msgid "B<--help>"
15070 msgstr ""
15071
15072 # type: textblock
15073 #: ../fish/guestfish.pod:154
15074 msgid "Displays general help on options."
15075 msgstr ""
15076
15077 # type: =item
15078 #: ../fish/guestfish.pod:156
15079 msgid "B<-h> | B<--cmd-help>"
15080 msgstr ""
15081
15082 # type: textblock
15083 #: ../fish/guestfish.pod:158
15084 msgid "Lists all available guestfish commands."
15085 msgstr ""
15086
15087 # type: =item
15088 #: ../fish/guestfish.pod:160
15089 msgid "B<-h cmd> | B<--cmd-help cmd>"
15090 msgstr ""
15091
15092 # type: textblock
15093 #: ../fish/guestfish.pod:162
15094 msgid "Displays detailed help on a single command C<cmd>."
15095 msgstr ""
15096
15097 # type: =item
15098 #: ../fish/guestfish.pod:164 ../fuse/guestmount.pod:74
15099 msgid "B<-a image> | B<--add image>"
15100 msgstr ""
15101
15102 # type: textblock
15103 #: ../fish/guestfish.pod:166
15104 msgid "Add a block device or virtual machine image to the shell."
15105 msgstr ""
15106
15107 # type: =item
15108 #: ../fish/guestfish.pod:168
15109 msgid "B<-c URI> | B<--connect URI>"
15110 msgstr ""
15111
15112 # type: textblock
15113 #: ../fish/guestfish.pod:170
15114 msgid ""
15115 "When used in conjunction with the I<-d> option, this specifies the libvirt "
15116 "URI to use.  The default is to use the default libvirt connection."
15117 msgstr ""
15118
15119 # type: =item
15120 #: ../fish/guestfish.pod:174
15121 msgid "B<-d libvirt-domain> | B<--domain libvirt-domain>"
15122 msgstr ""
15123
15124 # type: textblock
15125 #: ../fish/guestfish.pod:176
15126 msgid ""
15127 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
15128 "used, then any libvirt domain can be used.  However in write mode, only "
15129 "libvirt domains which are shut down can be named here."
15130 msgstr ""
15131
15132 # type: =item
15133 #: ../fish/guestfish.pod:180
15134 msgid "B<-D> | B<--no-dest-paths>"
15135 msgstr ""
15136
15137 # type: textblock
15138 #: ../fish/guestfish.pod:182
15139 msgid ""
15140 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
15141 "to hit the tab key to complete paths on the guest filesystem, but this "
15142 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
15143 "allow this feature to be disabled."
15144 msgstr ""
15145
15146 # type: =item
15147 #: ../fish/guestfish.pod:187
15148 msgid "B<--echo-keys>"
15149 msgstr ""
15150
15151 # type: textblock
15152 #: ../fish/guestfish.pod:189
15153 msgid ""
15154 "When prompting for keys and passphrases, guestfish normally turns echoing "
15155 "off so you cannot see what you are typing.  If you are not worried about "
15156 "Tempest attacks and there is no one else in the room you can specify this "
15157 "flag to see what you are typing."
15158 msgstr ""
15159
15160 # type: =item
15161 #: ../fish/guestfish.pod:194
15162 msgid "B<-f file> | B<--file file>"
15163 msgstr ""
15164
15165 # type: textblock
15166 #: ../fish/guestfish.pod:196
15167 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
15168 msgstr ""
15169
15170 # type: verbatim
15171 #: ../fish/guestfish.pod:199
15172 #, no-wrap
15173 msgid ""
15174 " #!/usr/bin/guestfish -f\n"
15175 "\n"
15176 msgstr ""
15177
15178 # type: =item
15179 #: ../fish/guestfish.pod:201
15180 msgid "B<-i> | B<--inspector>"
15181 msgstr ""
15182
15183 # type: textblock
15184 #: ../fish/guestfish.pod:203
15185 msgid ""
15186 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
15187 "system and mount filesystems as they would be mounted on the real virtual "
15188 "machine."
15189 msgstr ""
15190
15191 # type: textblock
15192 #: ../fish/guestfish.pod:207
15193 msgid "Typical usage is either:"
15194 msgstr ""
15195
15196 # type: verbatim
15197 #: ../fish/guestfish.pod:209
15198 #, no-wrap
15199 msgid ""
15200 " guestfish -d myguest -i\n"
15201 "\n"
15202 msgstr ""
15203
15204 # type: textblock
15205 #: ../fish/guestfish.pod:211
15206 msgid "(for an inactive libvirt domain called I<myguest>), or:"
15207 msgstr ""
15208
15209 # type: verbatim
15210 #: ../fish/guestfish.pod:213
15211 #, no-wrap
15212 msgid ""
15213 " guestfish --ro -d myguest -i\n"
15214 "\n"
15215 msgstr ""
15216
15217 # type: textblock
15218 #: ../fish/guestfish.pod:215
15219 msgid "(for active domains, readonly), or specify the block device directly:"
15220 msgstr ""
15221
15222 # type: verbatim
15223 #: ../fish/guestfish.pod:217
15224 #, no-wrap
15225 msgid ""
15226 " guestfish -a /dev/Guests/MyGuest -i\n"
15227 "\n"
15228 msgstr ""
15229
15230 # type: textblock
15231 #: ../fish/guestfish.pod:219
15232 msgid ""
15233 "Note that the command line syntax changed slightly over older versions of "
15234 "guestfish.  You can still use the old syntax:"
15235 msgstr ""
15236
15237 # type: verbatim
15238 #: ../fish/guestfish.pod:222
15239 #, no-wrap
15240 msgid ""
15241 " guestfish [--ro] -i disk.img\n"
15242 "\n"
15243 msgstr ""
15244
15245 # type: verbatim
15246 #: ../fish/guestfish.pod:224
15247 #, no-wrap
15248 msgid ""
15249 " guestfish [--ro] -i libvirt-domain\n"
15250 "\n"
15251 msgstr ""
15252
15253 # type: =item
15254 #: ../fish/guestfish.pod:226
15255 msgid "B<--keys-from-stdin>"
15256 msgstr ""
15257
15258 # type: textblock
15259 #: ../fish/guestfish.pod:228
15260 msgid ""
15261 "Read key or passphrase parameters from stdin.  The default is to try to read "
15262 "passphrases from the user by opening C</dev/tty>."
15263 msgstr ""
15264
15265 # type: =item
15266 #: ../fish/guestfish.pod:231
15267 msgid "B<--listen>"
15268 msgstr ""
15269
15270 # type: textblock
15271 #: ../fish/guestfish.pod:233
15272 msgid ""
15273 "Fork into the background and listen for remote commands.  See section L</"
15274 "REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
15275 msgstr ""
15276
15277 # type: =item
15278 #: ../fish/guestfish.pod:236
15279 msgid "B<-m dev[:mountpoint]> | B<--mount dev[:mountpoint]>"
15280 msgstr ""
15281
15282 # type: textblock
15283 #: ../fish/guestfish.pod:238
15284 msgid "Mount the named partition or logical volume on the given mountpoint."
15285 msgstr ""
15286
15287 # type: textblock
15288 #: ../fish/guestfish.pod:240
15289 msgid "If the mountpoint is omitted, it defaults to C</>."
15290 msgstr ""
15291
15292 # type: textblock
15293 #: ../fish/guestfish.pod:242
15294 msgid "You have to mount something on C</> before most commands will work."
15295 msgstr ""
15296
15297 # type: textblock
15298 #: ../fish/guestfish.pod:244
15299 msgid ""
15300 "If any I<-m> or I<--mount> options are given, the guest is automatically "
15301 "launched."
15302 msgstr ""
15303
15304 # type: textblock
15305 #: ../fish/guestfish.pod:247
15306 msgid ""
15307 "If you don't know what filesystems a disk image contains, you can either run "
15308 "guestfish without this option, then list the partitions and LVs available "
15309 "(see L</list-partitions> and L</lvs> commands), or you can use the L<virt-"
15310 "list-filesystems(1)> program."
15311 msgstr ""
15312
15313 # type: =item
15314 #: ../fish/guestfish.pod:252 ../fuse/guestmount.pod:106
15315 msgid "B<-n> | B<--no-sync>"
15316 msgstr ""
15317
15318 # type: textblock
15319 #: ../fish/guestfish.pod:254
15320 msgid ""
15321 "Disable autosync.  This is enabled by default.  See the discussion of "
15322 "autosync in the L<guestfs(3)> manpage."
15323 msgstr ""
15324
15325 # type: =item
15326 #: ../fish/guestfish.pod:257
15327 msgid "B<-N type> | B<--new type> | B<-N help>"
15328 msgstr ""
15329
15330 # type: textblock
15331 #: ../fish/guestfish.pod:259
15332 msgid ""
15333 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
15334 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
15335 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
15336 "IMAGES> below."
15337 msgstr ""
15338
15339 # type: =item
15340 #: ../fish/guestfish.pod:264
15341 msgid "B<--progress-bars>"
15342 msgstr ""
15343
15344 # type: textblock
15345 #: ../fish/guestfish.pod:266
15346 msgid "Enable progress bars, even when guestfish is used non-interactively."
15347 msgstr ""
15348
15349 # type: textblock
15350 #: ../fish/guestfish.pod:268
15351 msgid ""
15352 "Progress bars are enabled by default when guestfish is used as an "
15353 "interactive shell."
15354 msgstr ""
15355
15356 # type: =item
15357 #: ../fish/guestfish.pod:271
15358 msgid "B<--no-progress-bars>"
15359 msgstr ""
15360
15361 # type: textblock
15362 #: ../fish/guestfish.pod:273
15363 msgid "Disable progress bars."
15364 msgstr ""
15365
15366 # type: =item
15367 #: ../fish/guestfish.pod:275
15368 msgid "B<--remote[=pid]>"
15369 msgstr ""
15370
15371 # type: textblock
15372 #: ../fish/guestfish.pod:277
15373 msgid ""
15374 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
15375 "CONTROL GUESTFISH OVER A SOCKET> below."
15376 msgstr ""
15377
15378 # type: =item
15379 #: ../fish/guestfish.pod:280 ../fuse/guestmount.pod:148
15380 msgid "B<-r> | B<--ro>"
15381 msgstr ""
15382
15383 # type: textblock
15384 #: ../fish/guestfish.pod:282
15385 msgid ""
15386 "This changes the I<-a> and I<-m> options so that disks are added and mounts "
15387 "are done read-only (see L<guestfs(3)/guestfs_mount_ro>)."
15388 msgstr ""
15389
15390 # type: textblock
15391 #: ../fish/guestfish.pod:285 ../tools/virt-rescue.pl:162
15392 msgid ""
15393 "The option must always be used if the disk image or virtual machine might be "
15394 "running, and is generally recommended in cases where you don't need write "
15395 "access to the disk."
15396 msgstr ""
15397
15398 # type: textblock
15399 #: ../fish/guestfish.pod:289
15400 msgid ""
15401 "Note that prepared disk images created with I<-N> are not affected by the "
15402 "I<--ro> option."
15403 msgstr ""
15404
15405 # type: =item
15406 #: ../fish/guestfish.pod:292 ../fuse/guestmount.pod:158
15407 #: ../tools/virt-rescue.pl:170
15408 msgid "B<--selinux>"
15409 msgstr ""
15410
15411 # type: textblock
15412 #: ../fish/guestfish.pod:294
15413 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
15414 msgstr ""
15415
15416 # type: =item
15417 #: ../fish/guestfish.pod:296 ../fuse/guestmount.pod:168
15418 msgid "B<-v> | B<--verbose>"
15419 msgstr ""
15420
15421 # type: textblock
15422 #: ../fish/guestfish.pod:298
15423 msgid ""
15424 "Enable very verbose messages.  This is particularly useful if you find a bug."
15425 msgstr ""
15426
15427 # type: =item
15428 #: ../fish/guestfish.pod:301 ../fuse/guestmount.pod:172
15429 msgid "B<-V> | B<--version>"
15430 msgstr ""
15431
15432 # type: textblock
15433 #: ../fish/guestfish.pod:303
15434 msgid "Display the guestfish / libguestfs version number and exit."
15435 msgstr ""
15436
15437 # type: =item
15438 #: ../fish/guestfish.pod:305
15439 msgid "B<-x>"
15440 msgstr ""
15441
15442 # type: textblock
15443 #: ../fish/guestfish.pod:307
15444 msgid "Echo each command before executing it."
15445 msgstr ""
15446
15447 # type: =head1
15448 #: ../fish/guestfish.pod:311
15449 msgid "COMMANDS ON COMMAND LINE"
15450 msgstr ""
15451
15452 # type: textblock
15453 #: ../fish/guestfish.pod:313
15454 msgid ""
15455 "Any additional (non-option) arguments are treated as commands to execute."
15456 msgstr ""
15457
15458 # type: textblock
15459 #: ../fish/guestfish.pod:316
15460 msgid ""
15461 "Commands to execute should be separated by a colon (C<:>), where the colon "
15462 "is a separate parameter.  Thus:"
15463 msgstr ""
15464
15465 # type: verbatim
15466 #: ../fish/guestfish.pod:319
15467 #, no-wrap
15468 msgid ""
15469 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
15470 "\n"
15471 msgstr ""
15472
15473 # type: textblock
15474 #: ../fish/guestfish.pod:321
15475 msgid ""
15476 "If there are no additional arguments, then we enter a shell, either an "
15477 "interactive shell with a prompt (if the input is a terminal) or a non-"
15478 "interactive shell."
15479 msgstr ""
15480
15481 # type: textblock
15482 #: ../fish/guestfish.pod:325
15483 msgid ""
15484 "In either command line mode or non-interactive shell, the first command that "
15485 "gives an error causes the whole shell to exit.  In interactive mode (with a "
15486 "prompt) if a command fails, you can continue to enter commands."
15487 msgstr ""
15488
15489 # type: =head1
15490 #: ../fish/guestfish.pod:330
15491 msgid "USING launch (OR run)"
15492 msgstr ""
15493
15494 # type: textblock
15495 #: ../fish/guestfish.pod:332
15496 msgid ""
15497 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
15498 "then launch it, then mount any disks you need, and finally issue actions/"
15499 "commands.  So the general order of the day is:"
15500 msgstr ""
15501
15502 # type: textblock
15503 #: ../fish/guestfish.pod:340
15504 msgid "add or -a/--add"
15505 msgstr ""
15506
15507 # type: textblock
15508 #: ../fish/guestfish.pod:344
15509 msgid "launch (aka run)"
15510 msgstr ""
15511
15512 # type: textblock
15513 #: ../fish/guestfish.pod:348
15514 msgid "mount or -m/--mount"
15515 msgstr ""
15516
15517 # type: textblock
15518 #: ../fish/guestfish.pod:352
15519 msgid "any other commands"
15520 msgstr ""
15521
15522 # type: textblock
15523 #: ../fish/guestfish.pod:356
15524 msgid ""
15525 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
15526 "guest before mounting or performing any other commands."
15527 msgstr ""
15528
15529 # type: textblock
15530 #: ../fish/guestfish.pod:359
15531 msgid ""
15532 "The only exception is that if any of the I<-i>, I<-m>, I<--mount>, I<-N> or "
15533 "I<--new> options were given then C<run> is done automatically, simply "
15534 "because guestfish can't perform the action you asked for without doing this."
15535 msgstr ""
15536
15537 # type: =head1
15538 #: ../fish/guestfish.pod:364
15539 msgid "QUOTING"
15540 msgstr ""
15541
15542 # type: textblock
15543 #: ../fish/guestfish.pod:366
15544 msgid ""
15545 "You can quote ordinary parameters using either single or double quotes.  For "
15546 "example:"
15547 msgstr ""
15548
15549 # type: verbatim
15550 #: ../fish/guestfish.pod:369
15551 #, no-wrap
15552 msgid ""
15553 " add \"file with a space.img\"\n"
15554 "\n"
15555 msgstr ""
15556
15557 # type: verbatim
15558 #: ../fish/guestfish.pod:371
15559 #, no-wrap
15560 msgid ""
15561 " rm '/file name'\n"
15562 "\n"
15563 msgstr ""
15564
15565 # type: verbatim
15566 #: ../fish/guestfish.pod:373
15567 #, no-wrap
15568 msgid ""
15569 " rm '/\"'\n"
15570 "\n"
15571 msgstr ""
15572
15573 # type: textblock
15574 #: ../fish/guestfish.pod:375
15575 msgid ""
15576 "A few commands require a list of strings to be passed.  For these, use a "
15577 "whitespace-separated list, enclosed in quotes.  Strings containing "
15578 "whitespace to be passed through must be enclosed in single quotes.  A "
15579 "literal single quote must be escaped with a backslash."
15580 msgstr ""
15581
15582 # type: verbatim
15583 #: ../fish/guestfish.pod:380
15584 #, no-wrap
15585 msgid ""
15586 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
15587 " command \"/bin/echo 'foo      bar'\"\n"
15588 " command \"/bin/echo \\'foo\\'\"\n"
15589 "\n"
15590 msgstr ""
15591
15592 # type: =head1
15593 #: ../fish/guestfish.pod:384
15594 msgid "NUMBERS"
15595 msgstr ""
15596
15597 # type: textblock
15598 #: ../fish/guestfish.pod:386
15599 msgid ""
15600 "This section applies to all commands which can take integers as parameters."
15601 msgstr ""
15602
15603 # type: =head2
15604 #: ../fish/guestfish.pod:389
15605 msgid "SIZE SUFFIX"
15606 msgstr ""
15607
15608 # type: textblock
15609 #: ../fish/guestfish.pod:391
15610 msgid ""
15611 "When the command takes a parameter measured in bytes, you can use one of the "
15612 "following suffixes to specify kilobytes, megabytes and larger sizes:"
15613 msgstr ""
15614
15615 # type: =item
15616 #: ../fish/guestfish.pod:397
15617 msgid "B<k> or B<K> or B<KiB>"
15618 msgstr ""
15619
15620 # type: textblock
15621 #: ../fish/guestfish.pod:399
15622 msgid "The size in kilobytes (multiplied by 1024)."
15623 msgstr ""
15624
15625 # type: =item
15626 #: ../fish/guestfish.pod:401
15627 msgid "B<KB>"
15628 msgstr ""
15629
15630 # type: textblock
15631 #: ../fish/guestfish.pod:403
15632 msgid "The size in SI 1000 byte units."
15633 msgstr ""
15634
15635 # type: =item
15636 #: ../fish/guestfish.pod:405
15637 msgid "B<M> or B<MiB>"
15638 msgstr ""
15639
15640 # type: textblock
15641 #: ../fish/guestfish.pod:407
15642 msgid "The size in megabytes (multiplied by 1048576)."
15643 msgstr ""
15644
15645 # type: =item
15646 #: ../fish/guestfish.pod:409
15647 msgid "B<MB>"
15648 msgstr ""
15649
15650 # type: textblock
15651 #: ../fish/guestfish.pod:411
15652 msgid "The size in SI 1000000 byte units."
15653 msgstr ""
15654
15655 # type: =item
15656 #: ../fish/guestfish.pod:413
15657 msgid "B<G> or B<GiB>"
15658 msgstr ""
15659
15660 # type: textblock
15661 #: ../fish/guestfish.pod:415
15662 msgid "The size in gigabytes (multiplied by 2**30)."
15663 msgstr ""
15664
15665 # type: =item
15666 #: ../fish/guestfish.pod:417
15667 msgid "B<GB>"
15668 msgstr ""
15669
15670 # type: textblock
15671 #: ../fish/guestfish.pod:419
15672 msgid "The size in SI 10**9 byte units."
15673 msgstr ""
15674
15675 # type: =item
15676 #: ../fish/guestfish.pod:421
15677 msgid "B<T> or B<TiB>"
15678 msgstr ""
15679
15680 # type: textblock
15681 #: ../fish/guestfish.pod:423
15682 msgid "The size in terabytes (multiplied by 2**40)."
15683 msgstr ""
15684
15685 # type: =item
15686 #: ../fish/guestfish.pod:425
15687 msgid "B<TB>"
15688 msgstr ""
15689
15690 # type: textblock
15691 #: ../fish/guestfish.pod:427
15692 msgid "The size in SI 10**12 byte units."
15693 msgstr ""
15694
15695 # type: =item
15696 #: ../fish/guestfish.pod:429
15697 msgid "B<P> or B<PiB>"
15698 msgstr ""
15699
15700 # type: textblock
15701 #: ../fish/guestfish.pod:431
15702 msgid "The size in petabytes (multiplied by 2**50)."
15703 msgstr ""
15704
15705 # type: =item
15706 #: ../fish/guestfish.pod:433
15707 msgid "B<PB>"
15708 msgstr ""
15709
15710 # type: textblock
15711 #: ../fish/guestfish.pod:435
15712 msgid "The size in SI 10**15 byte units."
15713 msgstr ""
15714
15715 # type: =item
15716 #: ../fish/guestfish.pod:437
15717 msgid "B<E> or B<EiB>"
15718 msgstr ""
15719
15720 # type: textblock
15721 #: ../fish/guestfish.pod:439
15722 msgid "The size in exabytes (multiplied by 2**60)."
15723 msgstr ""
15724
15725 # type: =item
15726 #: ../fish/guestfish.pod:441
15727 msgid "B<EB>"
15728 msgstr ""
15729
15730 # type: textblock
15731 #: ../fish/guestfish.pod:443
15732 msgid "The size in SI 10**18 byte units."
15733 msgstr ""
15734
15735 # type: =item
15736 #: ../fish/guestfish.pod:445
15737 msgid "B<Z> or B<ZiB>"
15738 msgstr ""
15739
15740 # type: textblock
15741 #: ../fish/guestfish.pod:447
15742 msgid "The size in zettabytes (multiplied by 2**70)."
15743 msgstr ""
15744
15745 # type: =item
15746 #: ../fish/guestfish.pod:449
15747 msgid "B<ZB>"
15748 msgstr ""
15749
15750 # type: textblock
15751 #: ../fish/guestfish.pod:451
15752 msgid "The size in SI 10**21 byte units."
15753 msgstr ""
15754
15755 # type: =item
15756 #: ../fish/guestfish.pod:453
15757 msgid "B<Y> or B<YiB>"
15758 msgstr ""
15759
15760 # type: textblock
15761 #: ../fish/guestfish.pod:455
15762 msgid "The size in yottabytes (multiplied by 2**80)."
15763 msgstr ""
15764
15765 # type: =item
15766 #: ../fish/guestfish.pod:457
15767 msgid "B<YB>"
15768 msgstr ""
15769
15770 # type: textblock
15771 #: ../fish/guestfish.pod:459
15772 msgid "The size in SI 10**24 byte units."
15773 msgstr ""
15774
15775 # type: textblock
15776 #: ../fish/guestfish.pod:463
15777 msgid "For example:"
15778 msgstr ""
15779
15780 # type: verbatim
15781 #: ../fish/guestfish.pod:465
15782 #, no-wrap
15783 msgid ""
15784 " truncate-size /file 1G\n"
15785 "\n"
15786 msgstr ""
15787
15788 # type: textblock
15789 #: ../fish/guestfish.pod:467
15790 msgid "would truncate the file to 1 gigabyte."
15791 msgstr ""
15792
15793 # type: textblock
15794 #: ../fish/guestfish.pod:469
15795 msgid ""
15796 "Be careful because a few commands take sizes in kilobytes or megabytes (eg. "
15797 "the parameter to L</memsize> is specified in megabytes already).  Adding a "
15798 "suffix will probably not do what you expect."
15799 msgstr ""
15800
15801 # type: =head2
15802 #: ../fish/guestfish.pod:473
15803 msgid "OCTAL AND HEXADECIMAL NUMBERS"
15804 msgstr ""
15805
15806 # type: textblock
15807 #: ../fish/guestfish.pod:475
15808 msgid ""
15809 "For specifying the radix (base) use the C convention: C<0> to prefix an "
15810 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
15811 msgstr ""
15812
15813 # type: verbatim
15814 #: ../fish/guestfish.pod:478
15815 #, no-wrap
15816 msgid ""
15817 " 1234      decimal number 1234\n"
15818 " 02322     octal number, equivalent to decimal 1234\n"
15819 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
15820 "\n"
15821 msgstr ""
15822
15823 # type: textblock
15824 #: ../fish/guestfish.pod:482
15825 msgid ""
15826 "When using the C<chmod> command, you almost always want to specify an octal "
15827 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
15828 "L<chmod(1)> program):"
15829 msgstr ""
15830
15831 # type: verbatim
15832 #: ../fish/guestfish.pod:486
15833 #, no-wrap
15834 msgid ""
15835 " chmod 0777 /public  # OK\n"
15836 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
15837 "\n"
15838 msgstr ""
15839
15840 # type: textblock
15841 #: ../fish/guestfish.pod:489
15842 msgid ""
15843 "Commands that return numbers usually print them in decimal, but some "
15844 "commands print numbers in other radices (eg. C<umask> prints the mode in "
15845 "octal, preceeded by C<0>)."
15846 msgstr ""
15847
15848 # type: =head1
15849 #: ../fish/guestfish.pod:493
15850 msgid "WILDCARDS AND GLOBBING"
15851 msgstr ""
15852
15853 # type: textblock
15854 #: ../fish/guestfish.pod:495
15855 msgid ""
15856 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
15857 "(globbing) by default.  So for example the following will not do what you "
15858 "expect:"
15859 msgstr ""
15860
15861 # type: verbatim
15862 #: ../fish/guestfish.pod:499
15863 #, no-wrap
15864 msgid ""
15865 " rm-rf /home/*\n"
15866 "\n"
15867 msgstr ""
15868
15869 # type: textblock
15870 #: ../fish/guestfish.pod:501
15871 msgid ""
15872 "Assuming you don't have a directory called literally C</home/*> then the "
15873 "above command will return an error."
15874 msgstr ""
15875
15876 # type: textblock
15877 #: ../fish/guestfish.pod:504
15878 msgid "To perform wildcard expansion, use the C<glob> command."
15879 msgstr ""
15880
15881 # type: verbatim
15882 #: ../fish/guestfish.pod:506
15883 #, no-wrap
15884 msgid ""
15885 " glob rm-rf /home/*\n"
15886 "\n"
15887 msgstr ""
15888
15889 # type: textblock
15890 #: ../fish/guestfish.pod:508
15891 msgid ""
15892 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
15893 "many times), equivalent to:"
15894 msgstr ""
15895
15896 # type: verbatim
15897 #: ../fish/guestfish.pod:511
15898 #, no-wrap
15899 msgid ""
15900 " rm-rf /home/jim\n"
15901 " rm-rf /home/joe\n"
15902 " rm-rf /home/mary\n"
15903 "\n"
15904 msgstr ""
15905
15906 # type: textblock
15907 #: ../fish/guestfish.pod:515
15908 msgid "C<glob> only works on simple guest paths and not on device names."
15909 msgstr ""
15910
15911 # type: textblock
15912 #: ../fish/guestfish.pod:517
15913 msgid ""
15914 "If you have several parameters, each containing a wildcard, then glob will "
15915 "perform a Cartesian product."
15916 msgstr ""
15917
15918 # type: =head1
15919 #: ../fish/guestfish.pod:520
15920 msgid "COMMENTS"
15921 msgstr ""
15922
15923 # type: textblock
15924 #: ../fish/guestfish.pod:522
15925 msgid ""
15926 "Any line which starts with a I<#> character is treated as a comment and "
15927 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
15928 "a command.  For example:"
15929 msgstr ""
15930
15931 # type: verbatim
15932 #: ../fish/guestfish.pod:526
15933 #, no-wrap
15934 msgid ""
15935 " # this is a comment\n"
15936 "         # this is a comment\n"
15937 " foo # NOT a comment\n"
15938 "\n"
15939 msgstr ""
15940
15941 # type: textblock
15942 #: ../fish/guestfish.pod:530
15943 msgid "Blank lines are also ignored."
15944 msgstr ""
15945
15946 # type: =head1
15947 #: ../fish/guestfish.pod:532
15948 msgid "RUNNING COMMANDS LOCALLY"
15949 msgstr ""
15950
15951 # type: textblock
15952 #: ../fish/guestfish.pod:534
15953 msgid ""
15954 "Any line which starts with a I<!> character is treated as a command sent to "
15955 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
15956 msgstr ""
15957
15958 # type: verbatim
15959 #: ../fish/guestfish.pod:538
15960 #, no-wrap
15961 msgid ""
15962 " !mkdir local\n"
15963 " tgz-out /remote local/remote-data.tar.gz\n"
15964 "\n"
15965 msgstr ""
15966
15967 # type: textblock
15968 #: ../fish/guestfish.pod:541
15969 msgid ""
15970 "will create a directory C<local> on the host, and then export the contents "
15971 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
15972 "(See C<tgz-out>)."
15973 msgstr ""
15974
15975 # type: textblock
15976 #: ../fish/guestfish.pod:545
15977 msgid ""
15978 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
15979 "effect, due to the way that subprocesses work in Unix."
15980 msgstr ""
15981
15982 # type: =head1
15983 #: ../fish/guestfish.pod:548
15984 msgid "PIPES"
15985 msgstr ""
15986
15987 # type: textblock
15988 #: ../fish/guestfish.pod:550
15989 msgid ""
15990 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
15991 "command (a guestfish command) to the second command (any host command).  For "
15992 "example:"
15993 msgstr ""
15994
15995 # type: verbatim
15996 #: ../fish/guestfish.pod:554
15997 #, no-wrap
15998 msgid ""
15999 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
16000 "\n"
16001 msgstr ""
16002
16003 # type: textblock
16004 #: ../fish/guestfish.pod:556
16005 msgid ""
16006 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
16007 "program).  The above command would list all accounts in the guest filesystem "
16008 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
16009 msgstr ""
16010
16011 # type: verbatim
16012 #: ../fish/guestfish.pod:561
16013 #, no-wrap
16014 msgid ""
16015 " hexdump /bin/ls | head\n"
16016 " list-devices | tail -1\n"
16017 " tgz-out / - | tar ztf -\n"
16018 "\n"
16019 msgstr ""
16020
16021 # type: textblock
16022 #: ../fish/guestfish.pod:565
16023 msgid ""
16024 "The space before the pipe symbol is required, any space after the pipe "
16025 "symbol is optional.  Everything after the pipe symbol is just passed "
16026 "straight to the host shell, so it can contain redirections, globs and "
16027 "anything else that makes sense on the host side."
16028 msgstr ""
16029
16030 # type: textblock
16031 #: ../fish/guestfish.pod:570
16032 msgid ""
16033 "To use a literal argument which begins with a pipe symbol, you have to quote "
16034 "it, eg:"
16035 msgstr ""
16036
16037 # type: verbatim
16038 #: ../fish/guestfish.pod:573
16039 #, no-wrap
16040 msgid ""
16041 " echo \"|\"\n"
16042 "\n"
16043 msgstr ""
16044
16045 # type: =head1
16046 #: ../fish/guestfish.pod:575
16047 msgid "HOME DIRECTORIES"
16048 msgstr ""
16049
16050 # type: textblock
16051 #: ../fish/guestfish.pod:577
16052 msgid ""
16053 "If a parameter starts with the character C<~> then the tilde may be expanded "
16054 "as a home directory path (either C<~> for the current user's home directory, "
16055 "or C<~user> for another user)."
16056 msgstr ""
16057
16058 # type: textblock
16059 #: ../fish/guestfish.pod:581
16060 msgid ""
16061 "Note that home directory expansion happens for users known I<on the host>, "
16062 "not in the guest filesystem."
16063 msgstr ""
16064
16065 # type: textblock
16066 #: ../fish/guestfish.pod:584
16067 msgid ""
16068 "To use a literal argument which begins with a tilde, you have to quote it, "
16069 "eg:"
16070 msgstr ""
16071
16072 # type: verbatim
16073 #: ../fish/guestfish.pod:587
16074 #, no-wrap
16075 msgid ""
16076 " echo \"~\"\n"
16077 "\n"
16078 msgstr ""
16079
16080 # type: textblock
16081 #: ../fish/guestfish.pod:591
16082 msgid ""
16083 "Libguestfs has some support for Linux guests encrypted according to the "
16084 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
16085 "disk encryption systems used by modern Linux guests.  Currently only LVM-on-"
16086 "LUKS is supported."
16087 msgstr ""
16088
16089 # type: textblock
16090 #: ../fish/guestfish.pod:596
16091 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
16092 msgstr ""
16093
16094 # type: verbatim
16095 #: ../fish/guestfish.pod:598
16096 #, no-wrap
16097 msgid ""
16098 " ><fs> vfs-type /dev/sda2\n"
16099 " crypto_LUKS\n"
16100 "\n"
16101 msgstr ""
16102
16103 # type: textblock
16104 #: ../fish/guestfish.pod:601
16105 msgid ""
16106 "Then open those devices using L</luks-open>.  This creates a device-mapper "
16107 "device called C</dev/mapper/luksdev>."
16108 msgstr ""
16109
16110 # type: verbatim
16111 #: ../fish/guestfish.pod:604
16112 #, no-wrap
16113 msgid ""
16114 " ><fs> luks-open /dev/sda2 luksdev\n"
16115 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
16116 "\n"
16117 msgstr ""
16118
16119 # type: textblock
16120 #: ../fish/guestfish.pod:607
16121 msgid ""
16122 "Finally you have to tell LVM to scan for volume groups on the newly created "
16123 "mapper device:"
16124 msgstr ""
16125
16126 # type: verbatim
16127 #: ../fish/guestfish.pod:610
16128 #, no-wrap
16129 msgid ""
16130 " vgscan\n"
16131 " vg-activate-all true\n"
16132 "\n"
16133 msgstr ""
16134
16135 # type: textblock
16136 #: ../fish/guestfish.pod:613
16137 msgid "The logical volume(s) can now be mounted in the usual way."
16138 msgstr ""
16139
16140 # type: textblock
16141 #: ../fish/guestfish.pod:615
16142 msgid ""
16143 "Before closing a LUKS device you must unmount any logical volumes on it and "
16144 "deactivate the volume groups by calling C<vg-activate false VG> on each "
16145 "one.  Then you can close the mapper device:"
16146 msgstr ""
16147
16148 # type: verbatim
16149 #: ../fish/guestfish.pod:619
16150 #, no-wrap
16151 msgid ""
16152 " vg-activate false /dev/VG\n"
16153 " luks-close /dev/mapper/luksdev\n"
16154 "\n"
16155 msgstr ""
16156
16157 # type: =head1
16158 #: ../fish/guestfish.pod:622
16159 msgid "WINDOWS PATHS"
16160 msgstr ""
16161
16162 # type: textblock
16163 #: ../fish/guestfish.pod:624
16164 msgid ""
16165 "If a path is prefixed with C<win:> then you can use Windows-style paths "
16166 "(with some limitations).  The following commands are equivalent:"
16167 msgstr ""
16168
16169 # type: verbatim
16170 #: ../fish/guestfish.pod:627
16171 #, no-wrap
16172 msgid ""
16173 " file /WINDOWS/system32/config/system.LOG\n"
16174 "\n"
16175 msgstr ""
16176
16177 # type: verbatim
16178 #: ../fish/guestfish.pod:629
16179 #, no-wrap
16180 msgid ""
16181 " file win:/windows/system32/config/system.log\n"
16182 "\n"
16183 msgstr ""
16184
16185 # type: verbatim
16186 #: ../fish/guestfish.pod:631
16187 #, no-wrap
16188 msgid ""
16189 " file win:\\windows\\system32\\config\\system.log\n"
16190 "\n"
16191 msgstr ""
16192
16193 # type: verbatim
16194 #: ../fish/guestfish.pod:633
16195 #, no-wrap
16196 msgid ""
16197 " file WIN:C:\\Windows\\SYSTEM32\\conFIG\\SYSTEM.LOG\n"
16198 "\n"
16199 msgstr ""
16200
16201 # type: textblock
16202 #: ../fish/guestfish.pod:635
16203 msgid ""
16204 "This syntax implicitly calls C<case-sensitive-path> (q.v.) so it also "
16205 "handles case insensitivity like Windows would.  This only works in argument "
16206 "positions that expect a path."
16207 msgstr ""
16208
16209 # type: =head1
16210 #: ../fish/guestfish.pod:639
16211 msgid "UPLOADING AND DOWNLOADING FILES"
16212 msgstr ""
16213
16214 # type: textblock
16215 #: ../fish/guestfish.pod:641
16216 msgid ""
16217 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
16218 "others which upload from or download to a local file, you can use the "
16219 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
16220 msgstr ""
16221
16222 # type: verbatim
16223 #: ../fish/guestfish.pod:645
16224 #, no-wrap
16225 msgid ""
16226 " upload - /foo\n"
16227 "\n"
16228 msgstr ""
16229
16230 # type: textblock
16231 #: ../fish/guestfish.pod:647
16232 msgid ""
16233 "reads stdin and creates from that a file C</foo> in the disk image, and:"
16234 msgstr ""
16235
16236 # type: verbatim
16237 #: ../fish/guestfish.pod:650
16238 #, no-wrap
16239 msgid ""
16240 " tar-out /etc - | tar tf -\n"
16241 "\n"
16242 msgstr ""
16243
16244 # type: textblock
16245 #: ../fish/guestfish.pod:652
16246 msgid ""
16247 "writes the tarball to stdout and then pipes that into the external \"tar\" "
16248 "command (see L</PIPES>)."
16249 msgstr ""
16250
16251 # type: textblock
16252 #: ../fish/guestfish.pod:655
16253 msgid ""
16254 "When using C<-> to read from stdin, the input is read up to the end of "
16255 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
16256 "some arbitrary end marker:"
16257 msgstr ""
16258
16259 # type: verbatim
16260 #: ../fish/guestfish.pod:659
16261 #, no-wrap
16262 msgid ""
16263 " upload -<<END /foo\n"
16264 " input line 1\n"
16265 " input line 2\n"
16266 " input line 3\n"
16267 " END\n"
16268 "\n"
16269 msgstr ""
16270
16271 # type: textblock
16272 #: ../fish/guestfish.pod:665
16273 msgid ""
16274 "Any string of characters can be used instead of C<END>.  The end marker must "
16275 "appear on a line of its own, without any preceeding or following characters "
16276 "(not even spaces)."
16277 msgstr ""
16278
16279 # type: textblock
16280 #: ../fish/guestfish.pod:669
16281 msgid ""
16282 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
16283 "upload local files (so-called \"FileIn\" parameters in the generator)."
16284 msgstr ""
16285
16286 # type: =head1
16287 #: ../fish/guestfish.pod:672
16288 msgid "EXIT ON ERROR BEHAVIOUR"
16289 msgstr ""
16290
16291 # type: textblock
16292 #: ../fish/guestfish.pod:674
16293 msgid ""
16294 "By default, guestfish will ignore any errors when in interactive mode (ie. "
16295 "taking commands from a human over a tty), and will exit on the first error "
16296 "in non-interactive mode (scripts, commands given on the command line)."
16297 msgstr ""
16298
16299 # type: textblock
16300 #: ../fish/guestfish.pod:679
16301 msgid ""
16302 "If you prefix a command with a I<-> character, then that command will not "
16303 "cause guestfish to exit, even if that (one) command returns an error."
16304 msgstr ""
16305
16306 # type: =head1
16307 #: ../fish/guestfish.pod:683
16308 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
16309 msgstr ""
16310
16311 # type: textblock
16312 #: ../fish/guestfish.pod:685
16313 msgid ""
16314 "Guestfish can be remote-controlled over a socket.  This is useful "
16315 "particularly in shell scripts where you want to make several different "
16316 "changes to a filesystem, but you don't want the overhead of starting up a "
16317 "guestfish process each time."
16318 msgstr ""
16319
16320 # type: textblock
16321 #: ../fish/guestfish.pod:690
16322 msgid "Start a guestfish server process using:"
16323 msgstr ""
16324
16325 # type: verbatim
16326 #: ../fish/guestfish.pod:692
16327 #, no-wrap
16328 msgid ""
16329 " eval `guestfish --listen`\n"
16330 "\n"
16331 msgstr ""
16332
16333 # type: textblock
16334 #: ../fish/guestfish.pod:694
16335 msgid "and then send it commands by doing:"
16336 msgstr ""
16337
16338 # type: verbatim
16339 #: ../fish/guestfish.pod:696
16340 #, no-wrap
16341 msgid ""
16342 " guestfish --remote cmd [...]\n"
16343 "\n"
16344 msgstr ""
16345
16346 # type: textblock
16347 #: ../fish/guestfish.pod:698
16348 msgid "To cause the server to exit, send it the exit command:"
16349 msgstr ""
16350
16351 # type: verbatim
16352 #: ../fish/guestfish.pod:700
16353 #, no-wrap
16354 msgid ""
16355 " guestfish --remote exit\n"
16356 "\n"
16357 msgstr ""
16358
16359 # type: textblock
16360 #: ../fish/guestfish.pod:702
16361 msgid ""
16362 "Note that the server will normally exit if there is an error in a command.  "
16363 "You can change this in the usual way.  See section L</EXIT ON ERROR "
16364 "BEHAVIOUR>."
16365 msgstr ""
16366
16367 # type: =head2
16368 #: ../fish/guestfish.pod:706
16369 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
16370 msgstr ""
16371
16372 # type: textblock
16373 #: ../fish/guestfish.pod:708
16374 msgid ""
16375 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
16376 "is how the I<--remote> option knows where to send the commands.  You can "
16377 "have several guestfish listener processes running using:"
16378 msgstr ""
16379
16380 # type: verbatim
16381 #: ../fish/guestfish.pod:712
16382 #, no-wrap
16383 msgid ""
16384 " eval `guestfish --listen`\n"
16385 " pid1=$GUESTFISH_PID\n"
16386 " eval `guestfish --listen`\n"
16387 " pid2=$GUESTFISH_PID\n"
16388 " ...\n"
16389 " guestfish --remote=$pid1 cmd\n"
16390 " guestfish --remote=$pid2 cmd\n"
16391 "\n"
16392 msgstr ""
16393
16394 # type: =head2
16395 #: ../fish/guestfish.pod:720
16396 msgid "REMOTE CONTROL DETAILS"
16397 msgstr ""
16398
16399 # type: textblock
16400 #: ../fish/guestfish.pod:722
16401 msgid ""
16402 "Remote control happens over a Unix domain socket called C</tmp/.guestfish-"
16403 "$UID/socket-$PID>, where C<$UID> is the effective user ID of the process, "
16404 "and C<$PID> is the process ID of the server."
16405 msgstr ""
16406
16407 # type: textblock
16408 #: ../fish/guestfish.pod:726
16409 msgid "Guestfish client and server versions must match exactly."
16410 msgstr ""
16411
16412 # type: =head1
16413 #: ../fish/guestfish.pod:728
16414 msgid "PREPARED DISK IMAGES"
16415 msgstr ""
16416
16417 # type: textblock
16418 #: ../fish/guestfish.pod:730
16419 msgid ""
16420 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
16421 "preformatted disk images that guestfish can make for you to save typing.  "
16422 "This is particularly useful for testing purposes.  This option is used "
16423 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
16424 "can be mixed with I<-a>)."
16425 msgstr ""
16426
16427 # type: textblock
16428 #: ../fish/guestfish.pod:736
16429 msgid ""
16430 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
16431 "the second and so on.  Existing files in the current directory are "
16432 "I<overwritten>."
16433 msgstr ""
16434
16435 # type: textblock
16436 #: ../fish/guestfish.pod:740
16437 msgid ""
16438 "The type briefly describes how the disk should be sized, partitioned, how "
16439 "filesystem(s) should be created, and how content should be added.  "
16440 "Optionally the type can be followed by extra parameters, separated by C<:> "
16441 "(colon) characters.  For example, I<-N fs> creates a default 100MB, sparsely-"
16442 "allocated disk, containing a single partition, with the partition formatted "
16443 "as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem on a 1GB "
16444 "disk instead."
16445 msgstr ""
16446
16447 # type: textblock
16448 #: ../fish/guestfish.pod:748
16449 msgid "To list the available types and any extra parameters they take, run:"
16450 msgstr ""
16451
16452 # type: textblock
16453 #: ../fish/guestfish.pod:752
16454 msgid ""
16455 "Note that the prepared filesystem is not mounted.  You would usually have to "
16456 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
16457 msgstr ""
16458
16459 # type: textblock
16460 #: ../fish/guestfish.pod:756
16461 msgid ""
16462 "If any I<-N> or I<--new> options are given, the guest is automatically "
16463 "launched."
16464 msgstr ""
16465
16466 # type: textblock
16467 #: ../fish/guestfish.pod:761
16468 msgid "Create a 100MB disk with an ext4-formatted partition:"
16469 msgstr ""
16470
16471 # type: verbatim
16472 #: ../fish/guestfish.pod:763
16473 #, no-wrap
16474 msgid ""
16475 " guestfish -N fs:ext4\n"
16476 "\n"
16477 msgstr ""
16478
16479 # type: textblock
16480 #: ../fish/guestfish.pod:765
16481 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
16482 msgstr ""
16483
16484 # type: verbatim
16485 #: ../fish/guestfish.pod:767
16486 #, no-wrap
16487 msgid ""
16488 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
16489 "\n"
16490 msgstr ""
16491
16492 # type: textblock
16493 #: ../fish/guestfish.pod:769
16494 msgid "Create a blank 200MB disk:"
16495 msgstr ""
16496
16497 # type: verbatim
16498 #: ../fish/guestfish.pod:771
16499 #, no-wrap
16500 msgid ""
16501 " guestfish -N disk:200M\n"
16502 "\n"
16503 msgstr ""
16504
16505 # type: =head1
16506 #: ../fish/guestfish.pod:773
16507 msgid "PROGRESS BARS"
16508 msgstr ""
16509
16510 # type: textblock
16511 #: ../fish/guestfish.pod:775
16512 msgid ""
16513 "Some (not all) long-running commands send progress notification messages as "
16514 "they are running.  Guestfish turns these messages into progress bars."
16515 msgstr ""
16516
16517 # type: textblock
16518 #: ../fish/guestfish.pod:779
16519 msgid ""
16520 "When a command that supports progress bars takes longer than two seconds to "
16521 "run, and if progress bars are enabled, then you will see one appearing below "
16522 "the command:"
16523 msgstr ""
16524
16525 # type: verbatim
16526 #: ../fish/guestfish.pod:783
16527 #, no-wrap
16528 msgid ""
16529 " ><fs> copy-size /large-file /another-file 2048M\n"
16530 " / 10% [#####-----------------------------------------] 00:30\n"
16531 "\n"
16532 msgstr ""
16533
16534 # type: textblock
16535 #: ../fish/guestfish.pod:786
16536 msgid ""
16537 "The spinner on the left hand side moves round once for every progress "
16538 "notification received from the backend.  This is a (reasonably) golden "
16539 "assurance that the command is \"doing something\" even if the progress bar "
16540 "is not moving, because the command is able to send the progress "
16541 "notifications.  When the bar reaches 100% and the command finishes, the "
16542 "spinner disappears."
16543 msgstr ""
16544
16545 # type: textblock
16546 #: ../fish/guestfish.pod:793
16547 msgid ""
16548 "Progress bars are enabled by default when guestfish is used interactively.  "
16549 "You can enable them even for non-interactive modes using I<--progress-bars>, "
16550 "and you can disable them completely using I<--no-progress-bars>."
16551 msgstr ""
16552
16553 # type: =head1
16554 #: ../fish/guestfish.pod:798
16555 msgid "GUESTFISH COMMANDS"
16556 msgstr ""
16557
16558 # type: textblock
16559 #: ../fish/guestfish.pod:800
16560 msgid ""
16561 "The commands in this section are guestfish convenience commands, in other "
16562 "words, they are not part of the L<guestfs(3)> API."
16563 msgstr ""
16564
16565 # type: =head2
16566 #: ../fish/guestfish.pod:803
16567 msgid "help"
16568 msgstr ""
16569
16570 # type: verbatim
16571 #: ../fish/guestfish.pod:805
16572 #, no-wrap
16573 msgid ""
16574 " help\n"
16575 " help cmd\n"
16576 "\n"
16577 msgstr ""
16578
16579 # type: textblock
16580 #: ../fish/guestfish.pod:808
16581 msgid ""
16582 "Without any parameter, this lists all commands.  With a C<cmd> parameter, "
16583 "this displays detailed help for a command."
16584 msgstr ""
16585
16586 # type: =head2
16587 #: ../fish/guestfish.pod:811
16588 msgid "quit | exit"
16589 msgstr ""
16590
16591 # type: textblock
16592 #: ../fish/guestfish.pod:813
16593 msgid "This exits guestfish.  You can also use C<^D> key."
16594 msgstr ""
16595
16596 # type: textblock
16597 #: ../fish/guestfish.pod:815
16598 msgid "@FISH_COMMANDS@"
16599 msgstr ""
16600
16601 # type: =head1
16602 #: ../fish/guestfish.pod:817
16603 msgid "COMMANDS"
16604 msgstr ""
16605
16606 # type: =head1
16607 #: ../fish/guestfish.pod:821 ../test-tool/libguestfs-test-tool.pod:83
16608 msgid "EXIT CODE"
16609 msgstr ""
16610
16611 # type: textblock
16612 #: ../fish/guestfish.pod:823
16613 msgid ""
16614 "guestfish returns 0 if the commands completed without error, or 1 if there "
16615 "was an error."
16616 msgstr ""
16617
16618 # type: =item
16619 #: ../fish/guestfish.pod:830
16620 msgid "EDITOR"
16621 msgstr ""
16622
16623 # type: textblock
16624 #: ../fish/guestfish.pod:832
16625 msgid ""
16626 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
16627 "C<vi>."
16628 msgstr ""
16629
16630 # type: =item
16631 #: ../fish/guestfish.pod:835
16632 msgid "GUESTFISH_PID"
16633 msgstr ""
16634
16635 # type: textblock
16636 #: ../fish/guestfish.pod:837
16637 msgid ""
16638 "Used with the I<--remote> option to specify the remote guestfish process to "
16639 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
16640 msgstr ""
16641
16642 # type: =item
16643 #: ../fish/guestfish.pod:841
16644 msgid "HEXEDITOR"
16645 msgstr ""
16646
16647 # type: textblock
16648 #: ../fish/guestfish.pod:843
16649 msgid ""
16650 "The L</hexedit> command uses C<$HEXEDITOR> as the external hex editor.  If "
16651 "not specified, the external L<hexedit(1)> program is used."
16652 msgstr ""
16653
16654 # type: =item
16655 #: ../fish/guestfish.pod:847
16656 msgid "HOME"
16657 msgstr ""
16658
16659 # type: textblock
16660 #: ../fish/guestfish.pod:849
16661 msgid ""
16662 "If compiled with GNU readline support, various files in the home directory "
16663 "can be used.  See L</FILES>."
16664 msgstr ""
16665
16666 # type: textblock
16667 #: ../fish/guestfish.pod:858
16668 msgid ""
16669 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
16670 "effect as using the B<-v> option."
16671 msgstr ""
16672
16673 # type: textblock
16674 #: ../fish/guestfish.pod:870
16675 msgid ""
16676 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
16677 "the discussion of paths in L<guestfs(3)>."
16678 msgstr ""
16679
16680 # type: textblock
16681 #: ../fish/guestfish.pod:881
16682 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
16683 msgstr ""
16684
16685 # type: =item
16686 #: ../fish/guestfish.pod:883
16687 msgid "PAGER"
16688 msgstr ""
16689
16690 # type: textblock
16691 #: ../fish/guestfish.pod:885
16692 msgid ""
16693 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
16694 "C<more>."
16695 msgstr ""
16696
16697 # type: =head1
16698 #: ../fish/guestfish.pod:900 ../test-tool/libguestfs-test-tool.pod:88
16699 msgid "FILES"
16700 msgstr ""
16701
16702 # type: =item
16703 #: ../fish/guestfish.pod:904
16704 msgid "$HOME/.guestfish"
16705 msgstr ""
16706
16707 # type: textblock
16708 #: ../fish/guestfish.pod:906
16709 msgid ""
16710 "If compiled with GNU readline support, then the command history is saved in "
16711 "this file."
16712 msgstr ""
16713
16714 # type: =item
16715 #: ../fish/guestfish.pod:909
16716 msgid "$HOME/.inputrc"
16717 msgstr ""
16718
16719 # type: =item
16720 #: ../fish/guestfish.pod:911
16721 msgid "/etc/inputrc"
16722 msgstr ""
16723
16724 # type: textblock
16725 #: ../fish/guestfish.pod:913
16726 msgid ""
16727 "If compiled with GNU readline support, then these files can be used to "
16728 "configure readline.  For further information, please see L<readline(3)/"
16729 "INITIALIZATION FILE>."
16730 msgstr ""
16731
16732 # type: textblock
16733 #: ../fish/guestfish.pod:917
16734 msgid "To write rules which only apply to guestfish, use:"
16735 msgstr ""
16736
16737 # type: verbatim
16738 #: ../fish/guestfish.pod:919
16739 #, no-wrap
16740 msgid ""
16741 " $if guestfish\n"
16742 " ...\n"
16743 " $endif\n"
16744 "\n"
16745 msgstr ""
16746
16747 # type: textblock
16748 #: ../fish/guestfish.pod:923
16749 msgid ""
16750 "Variables that you can set in inputrc that change the behaviour of guestfish "
16751 "in useful ways include:"
16752 msgstr ""
16753
16754 # type: =item
16755 #: ../fish/guestfish.pod:928
16756 msgid "completion-ignore-case (default: on)"
16757 msgstr ""
16758
16759 # type: textblock
16760 #: ../fish/guestfish.pod:930
16761 msgid ""
16762 "By default, guestfish will ignore case when tab-completing paths on the "
16763 "disk.  Use:"
16764 msgstr ""
16765
16766 # type: verbatim
16767 #: ../fish/guestfish.pod:933
16768 #, no-wrap
16769 msgid ""
16770 " set completion-ignore-case off\n"
16771 "\n"
16772 msgstr ""
16773
16774 # type: textblock
16775 #: ../fish/guestfish.pod:935
16776 msgid "to make guestfish case sensitive."
16777 msgstr ""
16778
16779 # type: =item
16780 #: ../fish/guestfish.pod:939
16781 msgid "test1.img"
16782 msgstr ""
16783
16784 # type: =item
16785 #: ../fish/guestfish.pod:941
16786 msgid "test2.img (etc)"
16787 msgstr ""
16788
16789 # type: textblock
16790 #: ../fish/guestfish.pod:943
16791 msgid ""
16792 "When using the C<-N> or C<--new> option, the prepared disk or filesystem "
16793 "will be created in the file C<test1.img> in the current directory.  The "
16794 "second use of C<-N> will use C<test2.img> and so on.  Any existing file with "
16795 "the same name will be overwritten."
16796 msgstr ""
16797
16798 # type: textblock
16799 #: ../fish/guestfish.pod:952
16800 msgid ""
16801 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-df(1)>, "
16802 "L<virt-edit(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, "
16803 "L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, "
16804 "L<virt-tar(1)>, L<virt-win-reg(1)>, L<hexedit(1)>."
16805 msgstr ""
16806
16807 # type: textblock
16808 #: ../fish/guestfish.pod:976 ../test-tool/libguestfs-test-tool.pod:124
16809 #: ../fuse/guestmount.pod:198 ../inspector/virt-inspector.pl:865
16810 #: ../tools/virt-edit.pl:345 ../tools/virt-win-reg.pl:495
16811 #: ../tools/virt-df.pl:553 ../tools/virt-ls.pl:229
16812 #: ../tools/virt-resize.pl:1424 ../tools/virt-list-filesystems.pl:211
16813 #: ../tools/virt-cat.pl:181 ../tools/virt-tar.pl:276
16814 #: ../tools/virt-rescue.pl:249 ../tools/virt-make-fs.pl:560
16815 #: ../tools/virt-list-partitions.pl:248
16816 msgid ""
16817 "This program is free software; you can redistribute it and/or modify it "
16818 "under the terms of the GNU General Public License as published by the Free "
16819 "Software Foundation; either version 2 of the License, or (at your option) "
16820 "any later version."
16821 msgstr ""
16822
16823 # type: textblock
16824 #: ../fish/guestfish.pod:981 ../test-tool/libguestfs-test-tool.pod:129
16825 #: ../fuse/guestmount.pod:203 ../inspector/virt-inspector.pl:870
16826 #: ../tools/virt-edit.pl:350 ../tools/virt-win-reg.pl:500
16827 #: ../tools/virt-df.pl:558 ../tools/virt-ls.pl:234
16828 #: ../tools/virt-resize.pl:1429 ../tools/virt-list-filesystems.pl:216
16829 #: ../tools/virt-cat.pl:186 ../tools/virt-tar.pl:281
16830 #: ../tools/virt-rescue.pl:254 ../tools/virt-make-fs.pl:565
16831 #: ../tools/virt-list-partitions.pl:253
16832 msgid ""
16833 "This program is distributed in the hope that it will be useful, but WITHOUT "
16834 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
16835 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
16836 "more details."
16837 msgstr ""
16838
16839 # type: textblock
16840 #: ../fish/guestfish.pod:986 ../test-tool/libguestfs-test-tool.pod:134
16841 #: ../fuse/guestmount.pod:208 ../inspector/virt-inspector.pl:875
16842 #: ../tools/virt-edit.pl:355 ../tools/virt-win-reg.pl:505
16843 #: ../tools/virt-df.pl:563 ../tools/virt-ls.pl:239
16844 #: ../tools/virt-resize.pl:1434 ../tools/virt-list-filesystems.pl:221
16845 #: ../tools/virt-cat.pl:191 ../tools/virt-tar.pl:286
16846 #: ../tools/virt-rescue.pl:259 ../tools/virt-make-fs.pl:570
16847 #: ../tools/virt-list-partitions.pl:258
16848 msgid ""
16849 "You should have received a copy of the GNU General Public License along with "
16850 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
16851 "Ave, Cambridge, MA 02139, USA."
16852 msgstr ""
16853
16854 # type: =head2
16855 #: ../fish/guestfish-actions.pod:1
16856 msgid "add-cdrom"
16857 msgstr ""
16858
16859 # type: =head2
16860 #: ../fish/guestfish-actions.pod:3
16861 msgid "cdrom"
16862 msgstr ""
16863
16864 # type: verbatim
16865 #: ../fish/guestfish-actions.pod:5
16866 #, no-wrap
16867 msgid ""
16868 " add-cdrom filename\n"
16869 "\n"
16870 msgstr ""
16871
16872 # type: textblock
16873 #: ../fish/guestfish-actions.pod:17
16874 msgid ""
16875 "This call checks for the existence of C<filename>.  This stops you from "
16876 "specifying other types of drive which are supported by qemu such as C<nbd:> "
16877 "and C<http:> URLs.  To specify those, use the general L</config> call "
16878 "instead."
16879 msgstr ""
16880
16881 # type: textblock
16882 #: ../fish/guestfish-actions.pod:24
16883 msgid ""
16884 "If you just want to add an ISO file (often you use this as an efficient way "
16885 "to transfer large files into the guest), then you should probably use L</add-"
16886 "drive-ro> instead."
16887 msgstr ""
16888
16889 # type: =head2
16890 #: ../fish/guestfish-actions.pod:30
16891 msgid "add-drive"
16892 msgstr ""
16893
16894 # type: =head2
16895 #: ../fish/guestfish-actions.pod:32
16896 msgid "add"
16897 msgstr ""
16898
16899 # type: verbatim
16900 #: ../fish/guestfish-actions.pod:34
16901 #, no-wrap
16902 msgid ""
16903 " add-drive filename\n"
16904 "\n"
16905 msgstr ""
16906
16907 # type: textblock
16908 #: ../fish/guestfish-actions.pod:53 ../fish/guestfish-actions.pod:81
16909 msgid ""
16910 "C<if=...> is set at compile time by the configuration option C<./configure --"
16911 "with-drive-if=...>.  In the rare case where you might need to change this at "
16912 "run time, use L</add-drive-with-if> or L</add-drive-ro-with-if>."
16913 msgstr ""
16914
16915 # type: textblock
16916 #: ../fish/guestfish-actions.pod:58 ../fish/guestfish-actions.pod:86
16917 msgid ""
16918 "Note that this call checks for the existence of C<filename>.  This stops you "
16919 "from specifying other types of drive which are supported by qemu such as "
16920 "C<nbd:> and C<http:> URLs.  To specify those, use the general L</config> "
16921 "call instead."
16922 msgstr ""
16923
16924 # type: =head2
16925 #: ../fish/guestfish-actions.pod:63
16926 msgid "add-drive-ro"
16927 msgstr ""
16928
16929 # type: =head2
16930 #: ../fish/guestfish-actions.pod:65
16931 msgid "add-ro"
16932 msgstr ""
16933
16934 # type: verbatim
16935 #: ../fish/guestfish-actions.pod:67
16936 #, no-wrap
16937 msgid ""
16938 " add-drive-ro filename\n"
16939 "\n"
16940 msgstr ""
16941
16942 # type: =head2
16943 #: ../fish/guestfish-actions.pod:91
16944 msgid "add-drive-ro-with-if"
16945 msgstr ""
16946
16947 # type: verbatim
16948 #: ../fish/guestfish-actions.pod:93
16949 #, no-wrap
16950 msgid ""
16951 " add-drive-ro-with-if filename iface\n"
16952 "\n"
16953 msgstr ""
16954
16955 # type: textblock
16956 #: ../fish/guestfish-actions.pod:95
16957 msgid ""
16958 "This is the same as L</add-drive-ro> but it allows you to specify the QEMU "
16959 "interface emulation to use at run time."
16960 msgstr ""
16961
16962 # type: =head2
16963 #: ../fish/guestfish-actions.pod:98
16964 msgid "add-drive-with-if"
16965 msgstr ""
16966
16967 # type: verbatim
16968 #: ../fish/guestfish-actions.pod:100
16969 #, no-wrap
16970 msgid ""
16971 " add-drive-with-if filename iface\n"
16972 "\n"
16973 msgstr ""
16974
16975 # type: textblock
16976 #: ../fish/guestfish-actions.pod:102
16977 msgid ""
16978 "This is the same as L</add-drive> but it allows you to specify the QEMU "
16979 "interface emulation to use at run time."
16980 msgstr ""
16981
16982 # type: =head2
16983 #: ../fish/guestfish-actions.pod:105
16984 msgid "aug-clear"
16985 msgstr ""
16986
16987 # type: verbatim
16988 #: ../fish/guestfish-actions.pod:107
16989 #, no-wrap
16990 msgid ""
16991 " aug-clear augpath\n"
16992 "\n"
16993 msgstr ""
16994
16995 # type: =head2
16996 #: ../fish/guestfish-actions.pod:112
16997 msgid "aug-close"
16998 msgstr ""
16999
17000 # type: verbatim
17001 #: ../fish/guestfish-actions.pod:114
17002 #, no-wrap
17003 msgid ""
17004 " aug-close\n"
17005 "\n"
17006 msgstr ""
17007
17008 # type: textblock
17009 #: ../fish/guestfish-actions.pod:116
17010 msgid ""
17011 "Close the current Augeas handle and free up any resources used by it.  After "
17012 "calling this, you have to call L</aug-init> again before you can use any "
17013 "other Augeas functions."
17014 msgstr ""
17015
17016 # type: =head2
17017 #: ../fish/guestfish-actions.pod:121
17018 msgid "aug-defnode"
17019 msgstr ""
17020
17021 # type: verbatim
17022 #: ../fish/guestfish-actions.pod:123
17023 #, no-wrap
17024 msgid ""
17025 " aug-defnode name expr val\n"
17026 "\n"
17027 msgstr ""
17028
17029 # type: textblock
17030 #: ../fish/guestfish-actions.pod:128
17031 msgid ""
17032 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
17033 "calling L</aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
17034 "containing that single node."
17035 msgstr ""
17036
17037 # type: =head2
17038 #: ../fish/guestfish-actions.pod:136
17039 msgid "aug-defvar"
17040 msgstr ""
17041
17042 # type: verbatim
17043 #: ../fish/guestfish-actions.pod:138
17044 #, no-wrap
17045 msgid ""
17046 " aug-defvar name expr\n"
17047 "\n"
17048 msgstr ""
17049
17050 # type: =head2
17051 #: ../fish/guestfish-actions.pod:147
17052 msgid "aug-get"
17053 msgstr ""
17054
17055 # type: verbatim
17056 #: ../fish/guestfish-actions.pod:149
17057 #, no-wrap
17058 msgid ""
17059 " aug-get augpath\n"
17060 "\n"
17061 msgstr ""
17062
17063 # type: =head2
17064 #: ../fish/guestfish-actions.pod:154
17065 msgid "aug-init"
17066 msgstr ""
17067
17068 # type: verbatim
17069 #: ../fish/guestfish-actions.pod:156
17070 #, no-wrap
17071 msgid ""
17072 " aug-init root flags\n"
17073 "\n"
17074 msgstr ""
17075
17076 # type: textblock
17077 #: ../fish/guestfish-actions.pod:162
17078 msgid "You must call this before using any other L</aug-*> commands."
17079 msgstr ""
17080
17081 # type: textblock
17082 #: ../fish/guestfish-actions.pod:197
17083 msgid "Do not load the tree in L</aug-init>."
17084 msgstr ""
17085
17086 # type: textblock
17087 #: ../fish/guestfish-actions.pod:201
17088 msgid "To close the handle, you can call L</aug-close>."
17089 msgstr ""
17090
17091 # type: =head2
17092 #: ../fish/guestfish-actions.pod:205
17093 msgid "aug-insert"
17094 msgstr ""
17095
17096 # type: verbatim
17097 #: ../fish/guestfish-actions.pod:207
17098 #, no-wrap
17099 msgid ""
17100 " aug-insert augpath label true|false\n"
17101 "\n"
17102 msgstr ""
17103
17104 # type: =head2
17105 #: ../fish/guestfish-actions.pod:217
17106 msgid "aug-load"
17107 msgstr ""
17108
17109 # type: verbatim
17110 #: ../fish/guestfish-actions.pod:219
17111 #, no-wrap
17112 msgid ""
17113 " aug-load\n"
17114 "\n"
17115 msgstr ""
17116
17117 # type: =head2
17118 #: ../fish/guestfish-actions.pod:226
17119 msgid "aug-ls"
17120 msgstr ""
17121
17122 # type: verbatim
17123 #: ../fish/guestfish-actions.pod:228
17124 #, no-wrap
17125 msgid ""
17126 " aug-ls augpath\n"
17127 "\n"
17128 msgstr ""
17129
17130 # type: textblock
17131 #: ../fish/guestfish-actions.pod:230
17132 msgid ""
17133 "This is just a shortcut for listing L</aug-match> C<path/*> and sorting the "
17134 "resulting nodes into alphabetical order."
17135 msgstr ""
17136
17137 # type: =head2
17138 #: ../fish/guestfish-actions.pod:233
17139 msgid "aug-match"
17140 msgstr ""
17141
17142 # type: verbatim
17143 #: ../fish/guestfish-actions.pod:235
17144 #, no-wrap
17145 msgid ""
17146 " aug-match augpath\n"
17147 "\n"
17148 msgstr ""
17149
17150 # type: =head2
17151 #: ../fish/guestfish-actions.pod:241
17152 msgid "aug-mv"
17153 msgstr ""
17154
17155 # type: verbatim
17156 #: ../fish/guestfish-actions.pod:243
17157 #, no-wrap
17158 msgid ""
17159 " aug-mv src dest\n"
17160 "\n"
17161 msgstr ""
17162
17163 # type: =head2
17164 #: ../fish/guestfish-actions.pod:248
17165 msgid "aug-rm"
17166 msgstr ""
17167
17168 # type: verbatim
17169 #: ../fish/guestfish-actions.pod:250
17170 #, no-wrap
17171 msgid ""
17172 " aug-rm augpath\n"
17173 "\n"
17174 msgstr ""
17175
17176 # type: =head2
17177 #: ../fish/guestfish-actions.pod:256
17178 msgid "aug-save"
17179 msgstr ""
17180
17181 # type: verbatim
17182 #: ../fish/guestfish-actions.pod:258
17183 #, no-wrap
17184 msgid ""
17185 " aug-save\n"
17186 "\n"
17187 msgstr ""
17188
17189 # type: textblock
17190 #: ../fish/guestfish-actions.pod:262
17191 msgid ""
17192 "The flags which were passed to L</aug-init> affect exactly how files are "
17193 "saved."
17194 msgstr ""
17195
17196 # type: =head2
17197 #: ../fish/guestfish-actions.pod:265
17198 msgid "aug-set"
17199 msgstr ""
17200
17201 # type: verbatim
17202 #: ../fish/guestfish-actions.pod:267
17203 #, no-wrap
17204 msgid ""
17205 " aug-set augpath val\n"
17206 "\n"
17207 msgstr ""
17208
17209 # type: textblock
17210 #: ../fish/guestfish-actions.pod:271
17211 msgid ""
17212 "In the Augeas API, it is possible to clear a node by setting the value to "
17213 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
17214 "this call.  Instead you must use the L</aug-clear> call."
17215 msgstr ""
17216
17217 # type: =head2
17218 #: ../fish/guestfish-actions.pod:276
17219 msgid "available"
17220 msgstr ""
17221
17222 # type: verbatim
17223 #: ../fish/guestfish-actions.pod:278
17224 #, no-wrap
17225 msgid ""
17226 " available 'groups ...'\n"
17227 "\n"
17228 msgstr ""
17229
17230 # type: textblock
17231 #: ../fish/guestfish-actions.pod:284
17232 msgid ""
17233 "The libguestfs groups, and the functions that those groups correspond to, "
17234 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
17235 "runtime by calling L</available-all-groups>."
17236 msgstr ""
17237
17238 # type: textblock
17239 #: ../fish/guestfish-actions.pod:308
17240 msgid "You must call L</launch> before calling this function."
17241 msgstr ""
17242
17243 # type: textblock
17244 #: ../fish/guestfish-actions.pod:330
17245 msgid ""
17246 "This call was added in version C<1.0.80>.  In previous versions of "
17247 "libguestfs all you could do would be to speculatively execute a command to "
17248 "find out if the daemon implemented it.  See also L</version>."
17249 msgstr ""
17250
17251 # type: =head2
17252 #: ../fish/guestfish-actions.pod:337
17253 msgid "available-all-groups"
17254 msgstr ""
17255
17256 # type: verbatim
17257 #: ../fish/guestfish-actions.pod:339
17258 #, no-wrap
17259 msgid ""
17260 " available-all-groups\n"
17261 "\n"
17262 msgstr ""
17263
17264 # type: textblock
17265 #: ../fish/guestfish-actions.pod:341
17266 msgid ""
17267 "This command returns a list of all optional groups that this daemon knows "
17268 "about.  Note this returns both supported and unsupported groups.  To find "
17269 "out which ones the daemon can actually support you have to call L</"
17270 "available> on each member of the returned list."
17271 msgstr ""
17272
17273 # type: textblock
17274 #: ../fish/guestfish-actions.pod:347
17275 msgid "See also L</available> and L<guestfs(3)/AVAILABILITY>."
17276 msgstr ""
17277
17278 # type: =head2
17279 #: ../fish/guestfish-actions.pod:349
17280 msgid "base64-in"
17281 msgstr ""
17282
17283 # type: verbatim
17284 #: ../fish/guestfish-actions.pod:351
17285 #, no-wrap
17286 msgid ""
17287 " base64-in (base64file|-) filename\n"
17288 "\n"
17289 msgstr ""
17290
17291 # type: textblock
17292 #: ../fish/guestfish-actions.pod:356 ../fish/guestfish-actions.pod:365
17293 #: ../fish/guestfish-actions.pod:589 ../fish/guestfish-actions.pod:736
17294 #: ../fish/guestfish-actions.pod:783 ../fish/guestfish-actions.pod:802
17295 #: ../fish/guestfish-actions.pod:1179 ../fish/guestfish-actions.pod:3835
17296 #: ../fish/guestfish-actions.pod:3847 ../fish/guestfish-actions.pod:3858
17297 #: ../fish/guestfish-actions.pod:3869 ../fish/guestfish-actions.pod:3921
17298 #: ../fish/guestfish-actions.pod:3930 ../fish/guestfish-actions.pod:3984
17299 #: ../fish/guestfish-actions.pod:4007
17300 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
17301 msgstr ""
17302
17303 # type: =head2
17304 #: ../fish/guestfish-actions.pod:358
17305 msgid "base64-out"
17306 msgstr ""
17307
17308 # type: verbatim
17309 #: ../fish/guestfish-actions.pod:360
17310 #, no-wrap
17311 msgid ""
17312 " base64-out filename (base64file|-)\n"
17313 "\n"
17314 msgstr ""
17315
17316 # type: =head2
17317 #: ../fish/guestfish-actions.pod:367
17318 msgid "blockdev-flushbufs"
17319 msgstr ""
17320
17321 # type: verbatim
17322 #: ../fish/guestfish-actions.pod:369
17323 #, no-wrap
17324 msgid ""
17325 " blockdev-flushbufs device\n"
17326 "\n"
17327 msgstr ""
17328
17329 # type: =head2
17330 #: ../fish/guestfish-actions.pod:376
17331 msgid "blockdev-getbsz"
17332 msgstr ""
17333
17334 # type: verbatim
17335 #: ../fish/guestfish-actions.pod:378
17336 #, no-wrap
17337 msgid ""
17338 " blockdev-getbsz device\n"
17339 "\n"
17340 msgstr ""
17341
17342 # type: =head2
17343 #: ../fish/guestfish-actions.pod:387
17344 msgid "blockdev-getro"
17345 msgstr ""
17346
17347 # type: verbatim
17348 #: ../fish/guestfish-actions.pod:389
17349 #, no-wrap
17350 msgid ""
17351 " blockdev-getro device\n"
17352 "\n"
17353 msgstr ""
17354
17355 # type: =head2
17356 #: ../fish/guestfish-actions.pod:396
17357 msgid "blockdev-getsize64"
17358 msgstr ""
17359
17360 # type: verbatim
17361 #: ../fish/guestfish-actions.pod:398
17362 #, no-wrap
17363 msgid ""
17364 " blockdev-getsize64 device\n"
17365 "\n"
17366 msgstr ""
17367
17368 # type: textblock
17369 #: ../fish/guestfish-actions.pod:402
17370 msgid "See also L</blockdev-getsz>."
17371 msgstr ""
17372
17373 # type: =head2
17374 #: ../fish/guestfish-actions.pod:406
17375 msgid "blockdev-getss"
17376 msgstr ""
17377
17378 # type: verbatim
17379 #: ../fish/guestfish-actions.pod:408
17380 #, no-wrap
17381 msgid ""
17382 " blockdev-getss device\n"
17383 "\n"
17384 msgstr ""
17385
17386 # type: textblock
17387 #: ../fish/guestfish-actions.pod:413
17388 msgid ""
17389 "(Note, this is not the size in sectors, use L</blockdev-getsz> for that)."
17390 msgstr ""
17391
17392 # type: =head2
17393 #: ../fish/guestfish-actions.pod:418
17394 msgid "blockdev-getsz"
17395 msgstr ""
17396
17397 # type: verbatim
17398 #: ../fish/guestfish-actions.pod:420
17399 #, no-wrap
17400 msgid ""
17401 " blockdev-getsz device\n"
17402 "\n"
17403 msgstr ""
17404
17405 # type: textblock
17406 #: ../fish/guestfish-actions.pod:425
17407 msgid ""
17408 "See also L</blockdev-getss> for the real sector size of the device, and L</"
17409 "blockdev-getsize64> for the more useful I<size in bytes>."
17410 msgstr ""
17411
17412 # type: =head2
17413 #: ../fish/guestfish-actions.pod:431
17414 msgid "blockdev-rereadpt"
17415 msgstr ""
17416
17417 # type: verbatim
17418 #: ../fish/guestfish-actions.pod:433
17419 #, no-wrap
17420 msgid ""
17421 " blockdev-rereadpt device\n"
17422 "\n"
17423 msgstr ""
17424
17425 # type: =head2
17426 #: ../fish/guestfish-actions.pod:439
17427 msgid "blockdev-setbsz"
17428 msgstr ""
17429
17430 # type: verbatim
17431 #: ../fish/guestfish-actions.pod:441
17432 #, no-wrap
17433 msgid ""
17434 " blockdev-setbsz device blocksize\n"
17435 "\n"
17436 msgstr ""
17437
17438 # type: =head2
17439 #: ../fish/guestfish-actions.pod:450
17440 msgid "blockdev-setro"
17441 msgstr ""
17442
17443 # type: verbatim
17444 #: ../fish/guestfish-actions.pod:452
17445 #, no-wrap
17446 msgid ""
17447 " blockdev-setro device\n"
17448 "\n"
17449 msgstr ""
17450
17451 # type: =head2
17452 #: ../fish/guestfish-actions.pod:458
17453 msgid "blockdev-setrw"
17454 msgstr ""
17455
17456 # type: verbatim
17457 #: ../fish/guestfish-actions.pod:460
17458 #, no-wrap
17459 msgid ""
17460 " blockdev-setrw device\n"
17461 "\n"
17462 msgstr ""
17463
17464 # type: =head2
17465 #: ../fish/guestfish-actions.pod:466
17466 msgid "case-sensitive-path"
17467 msgstr ""
17468
17469 # type: verbatim
17470 #: ../fish/guestfish-actions.pod:468
17471 #, no-wrap
17472 msgid ""
17473 " case-sensitive-path path\n"
17474 "\n"
17475 msgstr ""
17476
17477 # type: textblock
17478 #: ../fish/guestfish-actions.pod:492
17479 msgid ""
17480 "Thus L</case-sensitive-path> (\"/Windows/System32\")  might return C<\"/"
17481 "WINDOWS/system32\"> (the exact return value would depend on details of how "
17482 "the directories were originally created under Windows)."
17483 msgstr ""
17484
17485 # type: textblock
17486 #: ../fish/guestfish-actions.pod:500
17487 msgid "See also L</realpath>."
17488 msgstr ""
17489
17490 # type: =head2
17491 #: ../fish/guestfish-actions.pod:502
17492 msgid "cat"
17493 msgstr ""
17494
17495 # type: verbatim
17496 #: ../fish/guestfish-actions.pod:504
17497 #, no-wrap
17498 msgid ""
17499 " cat path\n"
17500 "\n"
17501 msgstr ""
17502
17503 # type: textblock
17504 #: ../fish/guestfish-actions.pod:508
17505 msgid ""
17506 "Note that this function cannot correctly handle binary files (specifically, "
17507 "files containing C<\\0> character which is treated as end of string).  For "
17508 "those you need to use the L</read-file> or L</download> functions which have "
17509 "a more complex interface."
17510 msgstr ""
17511
17512 # type: =head2
17513 #: ../fish/guestfish-actions.pod:516
17514 msgid "checksum"
17515 msgstr ""
17516
17517 # type: verbatim
17518 #: ../fish/guestfish-actions.pod:518
17519 #, no-wrap
17520 msgid ""
17521 " checksum csumtype path\n"
17522 "\n"
17523 msgstr ""
17524
17525 # type: textblock
17526 #: ../fish/guestfish-actions.pod:561
17527 msgid "To get the checksum for a device, use L</checksum-device>."
17528 msgstr ""
17529
17530 # type: textblock
17531 #: ../fish/guestfish-actions.pod:563
17532 msgid "To get the checksums for many files, use L</checksums-out>."
17533 msgstr ""
17534
17535 # type: =head2
17536 #: ../fish/guestfish-actions.pod:565
17537 msgid "checksum-device"
17538 msgstr ""
17539
17540 # type: verbatim
17541 #: ../fish/guestfish-actions.pod:567
17542 #, no-wrap
17543 msgid ""
17544 " checksum-device csumtype device\n"
17545 "\n"
17546 msgstr ""
17547
17548 # type: textblock
17549 #: ../fish/guestfish-actions.pod:569
17550 msgid ""
17551 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
17552 "device named C<device>.  For the types of checksums supported see the L</"
17553 "checksum> command."
17554 msgstr ""
17555
17556 # type: =head2
17557 #: ../fish/guestfish-actions.pod:573
17558 msgid "checksums-out"
17559 msgstr ""
17560
17561 # type: verbatim
17562 #: ../fish/guestfish-actions.pod:575
17563 #, no-wrap
17564 msgid ""
17565 " checksums-out csumtype directory (sumsfile|-)\n"
17566 "\n"
17567 msgstr ""
17568
17569 # type: =head2
17570 #: ../fish/guestfish-actions.pod:591
17571 msgid "chmod"
17572 msgstr ""
17573
17574 # type: verbatim
17575 #: ../fish/guestfish-actions.pod:593
17576 #, no-wrap
17577 msgid ""
17578 " chmod mode path\n"
17579 "\n"
17580 msgstr ""
17581
17582 # type: =head2
17583 #: ../fish/guestfish-actions.pod:604
17584 msgid "chown"
17585 msgstr ""
17586
17587 # type: verbatim
17588 #: ../fish/guestfish-actions.pod:606
17589 #, no-wrap
17590 msgid ""
17591 " chown owner group path\n"
17592 "\n"
17593 msgstr ""
17594
17595 # type: =head2
17596 #: ../fish/guestfish-actions.pod:614
17597 msgid "command"
17598 msgstr ""
17599
17600 # type: verbatim
17601 #: ../fish/guestfish-actions.pod:616
17602 #, no-wrap
17603 msgid ""
17604 " command 'arguments ...'\n"
17605 "\n"
17606 msgstr ""
17607
17608 # type: textblock
17609 #: ../fish/guestfish-actions.pod:623
17610 msgid ""
17611 "The single parameter is an argv-style list of arguments.  The first element "
17612 "is the name of the program to run.  Subsequent elements are parameters.  The "
17613 "list must be non-empty (ie. must contain a program name).  Note that the "
17614 "command runs directly, and is I<not> invoked via the shell (see L</sh>)."
17615 msgstr ""
17616
17617 # type: =head2
17618 #: ../fish/guestfish-actions.pod:651
17619 msgid "command-lines"
17620 msgstr ""
17621
17622 # type: verbatim
17623 #: ../fish/guestfish-actions.pod:653
17624 #, no-wrap
17625 msgid ""
17626 " command-lines 'arguments ...'\n"
17627 "\n"
17628 msgstr ""
17629
17630 # type: textblock
17631 #: ../fish/guestfish-actions.pod:655
17632 msgid ""
17633 "This is the same as L</command>, but splits the result into a list of lines."
17634 msgstr ""
17635
17636 # type: textblock
17637 #: ../fish/guestfish-actions.pod:658
17638 msgid "See also: L</sh-lines>"
17639 msgstr ""
17640
17641 # type: =head2
17642 #: ../fish/guestfish-actions.pod:663
17643 msgid "config"
17644 msgstr ""
17645
17646 # type: verbatim
17647 #: ../fish/guestfish-actions.pod:665
17648 #, no-wrap
17649 msgid ""
17650 " config qemuparam qemuvalue\n"
17651 "\n"
17652 msgstr ""
17653
17654 # type: =head2
17655 #: ../fish/guestfish-actions.pod:676
17656 msgid "copy-size"
17657 msgstr ""
17658
17659 # type: verbatim
17660 #: ../fish/guestfish-actions.pod:678
17661 #, no-wrap
17662 msgid ""
17663 " copy-size src dest size\n"
17664 "\n"
17665 msgstr ""
17666
17667 # type: =head2
17668 #: ../fish/guestfish-actions.pod:686
17669 msgid "cp"
17670 msgstr ""
17671
17672 # type: verbatim
17673 #: ../fish/guestfish-actions.pod:688
17674 #, no-wrap
17675 msgid ""
17676 " cp src dest\n"
17677 "\n"
17678 msgstr ""
17679
17680 # type: =head2
17681 #: ../fish/guestfish-actions.pod:693
17682 msgid "cp-a"
17683 msgstr ""
17684
17685 # type: verbatim
17686 #: ../fish/guestfish-actions.pod:695
17687 #, no-wrap
17688 msgid ""
17689 " cp-a src dest\n"
17690 "\n"
17691 msgstr ""
17692
17693 # type: =head2
17694 #: ../fish/guestfish-actions.pod:700
17695 msgid "dd"
17696 msgstr ""
17697
17698 # type: verbatim
17699 #: ../fish/guestfish-actions.pod:702
17700 #, no-wrap
17701 msgid ""
17702 " dd src dest\n"
17703 "\n"
17704 msgstr ""
17705
17706 # type: textblock
17707 #: ../fish/guestfish-actions.pod:709
17708 msgid ""
17709 "If the destination is a device, it must be as large or larger than the "
17710 "source file or device, otherwise the copy will fail.  This command cannot do "
17711 "partial copies (see L</copy-size>)."
17712 msgstr ""
17713
17714 # type: =head2
17715 #: ../fish/guestfish-actions.pod:713
17716 msgid "debug"
17717 msgstr ""
17718
17719 # type: verbatim
17720 #: ../fish/guestfish-actions.pod:715
17721 #, no-wrap
17722 msgid ""
17723 " debug subcmd 'extraargs ...'\n"
17724 "\n"
17725 msgstr ""
17726
17727 # type: textblock
17728 #: ../fish/guestfish-actions.pod:717
17729 msgid ""
17730 "The L</debug> command exposes some internals of C<guestfsd> (the guestfs "
17731 "daemon) that runs inside the qemu subprocess."
17732 msgstr ""
17733
17734 # type: =head2
17735 #: ../fish/guestfish-actions.pod:725
17736 msgid "debug-upload"
17737 msgstr ""
17738
17739 # type: verbatim
17740 #: ../fish/guestfish-actions.pod:727
17741 #, no-wrap
17742 msgid ""
17743 " debug-upload (filename|-) tmpname mode\n"
17744 "\n"
17745 msgstr ""
17746
17747 # type: textblock
17748 #: ../fish/guestfish-actions.pod:729
17749 msgid ""
17750 "The L</debug-upload> command uploads a file to the libguestfs appliance."
17751 msgstr ""
17752
17753 # type: =head2
17754 #: ../fish/guestfish-actions.pod:738
17755 msgid "df"
17756 msgstr ""
17757
17758 # type: verbatim
17759 #: ../fish/guestfish-actions.pod:740
17760 #, no-wrap
17761 msgid ""
17762 " df\n"
17763 "\n"
17764 msgstr ""
17765
17766 # type: =head2
17767 #: ../fish/guestfish-actions.pod:748
17768 msgid "df-h"
17769 msgstr ""
17770
17771 # type: verbatim
17772 #: ../fish/guestfish-actions.pod:750
17773 #, no-wrap
17774 msgid ""
17775 " df-h\n"
17776 "\n"
17777 msgstr ""
17778
17779 # type: =head2
17780 #: ../fish/guestfish-actions.pod:759
17781 msgid "dmesg"
17782 msgstr ""
17783
17784 # type: verbatim
17785 #: ../fish/guestfish-actions.pod:761
17786 #, no-wrap
17787 msgid ""
17788 " dmesg\n"
17789 "\n"
17790 msgstr ""
17791
17792 # type: textblock
17793 #: ../fish/guestfish-actions.pod:767
17794 msgid ""
17795 "Another way to get the same information is to enable verbose messages with "
17796 "L</set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
17797 "before running the program."
17798 msgstr ""
17799
17800 # type: =head2
17801 #: ../fish/guestfish-actions.pod:772
17802 msgid "download"
17803 msgstr ""
17804
17805 # type: verbatim
17806 #: ../fish/guestfish-actions.pod:774
17807 #, no-wrap
17808 msgid ""
17809 " download remotefilename (filename|-)\n"
17810 "\n"
17811 msgstr ""
17812
17813 # type: textblock
17814 #: ../fish/guestfish-actions.pod:781
17815 msgid "See also L</upload>, L</cat>."
17816 msgstr ""
17817
17818 # type: =head2
17819 #: ../fish/guestfish-actions.pod:785
17820 msgid "download-offset"
17821 msgstr ""
17822
17823 # type: verbatim
17824 #: ../fish/guestfish-actions.pod:787
17825 #, no-wrap
17826 msgid ""
17827 " download-offset remotefilename (filename|-) offset size\n"
17828 "\n"
17829 msgstr ""
17830
17831 # type: textblock
17832 #: ../fish/guestfish-actions.pod:795
17833 msgid ""
17834 "Note that there is no limit on the amount of data that can be downloaded "
17835 "with this call, unlike with L</pread>, and this call always reads the full "
17836 "amount unless an error occurs."
17837 msgstr ""
17838
17839 # type: textblock
17840 #: ../fish/guestfish-actions.pod:800
17841 msgid "See also L</download>, L</pread>."
17842 msgstr ""
17843
17844 # type: =head2
17845 #: ../fish/guestfish-actions.pod:804
17846 msgid "drop-caches"
17847 msgstr ""
17848
17849 # type: verbatim
17850 #: ../fish/guestfish-actions.pod:806
17851 #, no-wrap
17852 msgid ""
17853 " drop-caches whattodrop\n"
17854 "\n"
17855 msgstr ""
17856
17857 # type: =head2
17858 #: ../fish/guestfish-actions.pod:818
17859 msgid "du"
17860 msgstr ""
17861
17862 # type: verbatim
17863 #: ../fish/guestfish-actions.pod:820
17864 #, no-wrap
17865 msgid ""
17866 " du path\n"
17867 "\n"
17868 msgstr ""
17869
17870 # type: =head2
17871 #: ../fish/guestfish-actions.pod:832
17872 msgid "e2fsck-f"
17873 msgstr ""
17874
17875 # type: verbatim
17876 #: ../fish/guestfish-actions.pod:834
17877 #, no-wrap
17878 msgid ""
17879 " e2fsck-f device\n"
17880 "\n"
17881 msgstr ""
17882
17883 # type: textblock
17884 #: ../fish/guestfish-actions.pod:840
17885 msgid ""
17886 "This command is only needed because of L</resize2fs> (q.v.).  Normally you "
17887 "should use L</fsck>."
17888 msgstr ""
17889
17890 # type: =head2
17891 #: ../fish/guestfish-actions.pod:843
17892 msgid "echo-daemon"
17893 msgstr ""
17894
17895 # type: verbatim
17896 #: ../fish/guestfish-actions.pod:845
17897 #, no-wrap
17898 msgid ""
17899 " echo-daemon 'words ...'\n"
17900 "\n"
17901 msgstr ""
17902
17903 # type: textblock
17904 #: ../fish/guestfish-actions.pod:852
17905 msgid "See also L</ping-daemon>."
17906 msgstr ""
17907
17908 # type: =head2
17909 #: ../fish/guestfish-actions.pod:854
17910 msgid "egrep"
17911 msgstr ""
17912
17913 # type: verbatim
17914 #: ../fish/guestfish-actions.pod:856
17915 #, no-wrap
17916 msgid ""
17917 " egrep regex path\n"
17918 "\n"
17919 msgstr ""
17920
17921 # type: =head2
17922 #: ../fish/guestfish-actions.pod:864
17923 msgid "egrepi"
17924 msgstr ""
17925
17926 # type: verbatim
17927 #: ../fish/guestfish-actions.pod:866
17928 #, no-wrap
17929 msgid ""
17930 " egrepi regex path\n"
17931 "\n"
17932 msgstr ""
17933
17934 # type: =head2
17935 #: ../fish/guestfish-actions.pod:874
17936 msgid "equal"
17937 msgstr ""
17938
17939 # type: verbatim
17940 #: ../fish/guestfish-actions.pod:876
17941 #, no-wrap
17942 msgid ""
17943 " equal file1 file2\n"
17944 "\n"
17945 msgstr ""
17946
17947 # type: =head2
17948 #: ../fish/guestfish-actions.pod:883
17949 msgid "exists"
17950 msgstr ""
17951
17952 # type: verbatim
17953 #: ../fish/guestfish-actions.pod:885
17954 #, no-wrap
17955 msgid ""
17956 " exists path\n"
17957 "\n"
17958 msgstr ""
17959
17960 # type: textblock
17961 #: ../fish/guestfish-actions.pod:890
17962 msgid "See also L</is-file>, L</is-dir>, L</stat>."
17963 msgstr ""
17964
17965 # type: =head2
17966 #: ../fish/guestfish-actions.pod:892
17967 msgid "fallocate"
17968 msgstr ""
17969
17970 # type: verbatim
17971 #: ../fish/guestfish-actions.pod:894
17972 #, no-wrap
17973 msgid ""
17974 " fallocate path len\n"
17975 "\n"
17976 msgstr ""
17977
17978 # type: =head2
17979 #: ../fish/guestfish-actions.pod:911
17980 msgid "fallocate64"
17981 msgstr ""
17982
17983 # type: verbatim
17984 #: ../fish/guestfish-actions.pod:913
17985 #, no-wrap
17986 msgid ""
17987 " fallocate64 path len\n"
17988 "\n"
17989 msgstr ""
17990
17991 # type: textblock
17992 #: ../fish/guestfish-actions.pod:919
17993 msgid ""
17994 "Note that this call allocates disk blocks for the file.  To create a sparse "
17995 "file use L</truncate-size> instead."
17996 msgstr ""
17997
17998 # type: textblock
17999 #: ../fish/guestfish-actions.pod:922
18000 msgid ""
18001 "The deprecated call L</fallocate> does the same, but owing to an oversight "
18002 "it only allowed 30 bit lengths to be specified, effectively limiting the "
18003 "maximum size of files created through that call to 1GB."
18004 msgstr ""
18005
18006 # type: =head2
18007 #: ../fish/guestfish-actions.pod:931
18008 msgid "fgrep"
18009 msgstr ""
18010
18011 # type: verbatim
18012 #: ../fish/guestfish-actions.pod:933
18013 #, no-wrap
18014 msgid ""
18015 " fgrep pattern path\n"
18016 "\n"
18017 msgstr ""
18018
18019 # type: =head2
18020 #: ../fish/guestfish-actions.pod:941
18021 msgid "fgrepi"
18022 msgstr ""
18023
18024 # type: verbatim
18025 #: ../fish/guestfish-actions.pod:943
18026 #, no-wrap
18027 msgid ""
18028 " fgrepi pattern path\n"
18029 "\n"
18030 msgstr ""
18031
18032 # type: =head2
18033 #: ../fish/guestfish-actions.pod:951
18034 msgid "file"
18035 msgstr ""
18036
18037 # type: verbatim
18038 #: ../fish/guestfish-actions.pod:953
18039 #, no-wrap
18040 msgid ""
18041 " file path\n"
18042 "\n"
18043 msgstr ""
18044
18045 # type: textblock
18046 #: ../fish/guestfish-actions.pod:965
18047 msgid ""
18048 "This command can also be used on C</dev/> devices (and partitions, LV "
18049 "names).  You can for example use this to determine if a device contains a "
18050 "filesystem, although it's usually better to use L</vfs-type>."
18051 msgstr ""
18052
18053 # type: =head2
18054 #: ../fish/guestfish-actions.pod:975
18055 msgid "file-architecture"
18056 msgstr ""
18057
18058 # type: verbatim
18059 #: ../fish/guestfish-actions.pod:977
18060 #, no-wrap
18061 msgid ""
18062 " file-architecture filename\n"
18063 "\n"
18064 msgstr ""
18065
18066 # type: =head2
18067 #: ../fish/guestfish-actions.pod:1080
18068 msgid "filesize"
18069 msgstr ""
18070
18071 # type: verbatim
18072 #: ../fish/guestfish-actions.pod:1082
18073 #, no-wrap
18074 msgid ""
18075 " filesize file\n"
18076 "\n"
18077 msgstr ""
18078
18079 # type: textblock
18080 #: ../fish/guestfish-actions.pod:1086
18081 msgid ""
18082 "To get other stats about a file, use L</stat>, L</lstat>, L</is-dir>, L</is-"
18083 "file> etc.  To get the size of block devices, use L</blockdev-getsize64>."
18084 msgstr ""
18085
18086 # type: =head2
18087 #: ../fish/guestfish-actions.pod:1090
18088 msgid "fill"
18089 msgstr ""
18090
18091 # type: verbatim
18092 #: ../fish/guestfish-actions.pod:1092
18093 #, no-wrap
18094 msgid ""
18095 " fill c len path\n"
18096 "\n"
18097 msgstr ""
18098
18099 # type: textblock
18100 #: ../fish/guestfish-actions.pod:1098
18101 msgid ""
18102 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
18103 "L</truncate-size>.  To create a file with a pattern of repeating bytes use "
18104 "L</fill-pattern>."
18105 msgstr ""
18106
18107 # type: =head2
18108 #: ../fish/guestfish-actions.pod:1103
18109 msgid "fill-pattern"
18110 msgstr ""
18111
18112 # type: verbatim
18113 #: ../fish/guestfish-actions.pod:1105
18114 #, no-wrap
18115 msgid ""
18116 " fill-pattern pattern len path\n"
18117 "\n"
18118 msgstr ""
18119
18120 # type: textblock
18121 #: ../fish/guestfish-actions.pod:1107
18122 msgid ""
18123 "This function is like L</fill> except that it creates a new file of length "
18124 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
18125 "is truncated if necessary to ensure the length of the file is exactly C<len> "
18126 "bytes."
18127 msgstr ""
18128
18129 # type: =head2
18130 #: ../fish/guestfish-actions.pod:1112
18131 msgid "find"
18132 msgstr ""
18133
18134 # type: verbatim
18135 #: ../fish/guestfish-actions.pod:1114
18136 #, no-wrap
18137 msgid ""
18138 " find directory\n"
18139 "\n"
18140 msgstr ""
18141
18142 # type: textblock
18143 #: ../fish/guestfish-actions.pod:1128
18144 msgid "then the returned list from L</find> C</tmp> would be 4 elements:"
18145 msgstr ""
18146
18147 # type: textblock
18148 #: ../fish/guestfish-actions.pod:1141
18149 msgid "See also L</find0>."
18150 msgstr ""
18151
18152 # type: =head2
18153 #: ../fish/guestfish-actions.pod:1146
18154 msgid "find0"
18155 msgstr ""
18156
18157 # type: verbatim
18158 #: ../fish/guestfish-actions.pod:1148
18159 #, no-wrap
18160 msgid ""
18161 " find0 directory (files|-)\n"
18162 "\n"
18163 msgstr ""
18164
18165 # type: textblock
18166 #: ../fish/guestfish-actions.pod:1154
18167 msgid ""
18168 "This command works the same way as L</find> with the following exceptions:"
18169 msgstr ""
18170
18171 # type: =head2
18172 #: ../fish/guestfish-actions.pod:1181
18173 msgid "findfs-label"
18174 msgstr ""
18175
18176 # type: verbatim
18177 #: ../fish/guestfish-actions.pod:1183
18178 #, no-wrap
18179 msgid ""
18180 " findfs-label label\n"
18181 "\n"
18182 msgstr ""
18183
18184 # type: textblock
18185 #: ../fish/guestfish-actions.pod:1189
18186 msgid "To find the label of a filesystem, use L</vfs-label>."
18187 msgstr ""
18188
18189 # type: =head2
18190 #: ../fish/guestfish-actions.pod:1191
18191 msgid "findfs-uuid"
18192 msgstr ""
18193
18194 # type: verbatim
18195 #: ../fish/guestfish-actions.pod:1193
18196 #, no-wrap
18197 msgid ""
18198 " findfs-uuid uuid\n"
18199 "\n"
18200 msgstr ""
18201
18202 # type: textblock
18203 #: ../fish/guestfish-actions.pod:1199
18204 msgid "To find the UUID of a filesystem, use L</vfs-uuid>."
18205 msgstr ""
18206
18207 # type: =head2
18208 #: ../fish/guestfish-actions.pod:1201
18209 msgid "fsck"
18210 msgstr ""
18211
18212 # type: verbatim
18213 #: ../fish/guestfish-actions.pod:1203
18214 #, no-wrap
18215 msgid ""
18216 " fsck fstype device\n"
18217 "\n"
18218 msgstr ""
18219
18220 # type: =head2
18221 #: ../fish/guestfish-actions.pod:1233
18222 msgid "get-append"
18223 msgstr ""
18224
18225 # type: verbatim
18226 #: ../fish/guestfish-actions.pod:1235
18227 #, no-wrap
18228 msgid ""
18229 " get-append\n"
18230 "\n"
18231 msgstr ""
18232
18233 # type: =head2
18234 #: ../fish/guestfish-actions.pod:1242
18235 msgid "get-autosync"
18236 msgstr ""
18237
18238 # type: verbatim
18239 #: ../fish/guestfish-actions.pod:1244
18240 #, no-wrap
18241 msgid ""
18242 " get-autosync\n"
18243 "\n"
18244 msgstr ""
18245
18246 # type: =head2
18247 #: ../fish/guestfish-actions.pod:1248
18248 msgid "get-direct"
18249 msgstr ""
18250
18251 # type: verbatim
18252 #: ../fish/guestfish-actions.pod:1250
18253 #, no-wrap
18254 msgid ""
18255 " get-direct\n"
18256 "\n"
18257 msgstr ""
18258
18259 # type: =head2
18260 #: ../fish/guestfish-actions.pod:1254
18261 msgid "get-e2label"
18262 msgstr ""
18263
18264 # type: verbatim
18265 #: ../fish/guestfish-actions.pod:1256
18266 #, no-wrap
18267 msgid ""
18268 " get-e2label device\n"
18269 "\n"
18270 msgstr ""
18271
18272 # type: =head2
18273 #: ../fish/guestfish-actions.pod:1268
18274 msgid "get-e2uuid"
18275 msgstr ""
18276
18277 # type: verbatim
18278 #: ../fish/guestfish-actions.pod:1270
18279 #, no-wrap
18280 msgid ""
18281 " get-e2uuid device\n"
18282 "\n"
18283 msgstr ""
18284
18285 # type: =head2
18286 #: ../fish/guestfish-actions.pod:1282
18287 msgid "get-memsize"
18288 msgstr ""
18289
18290 # type: verbatim
18291 #: ../fish/guestfish-actions.pod:1284
18292 #, no-wrap
18293 msgid ""
18294 " get-memsize\n"
18295 "\n"
18296 msgstr ""
18297
18298 # type: textblock
18299 #: ../fish/guestfish-actions.pod:1289
18300 msgid ""
18301 "If L</set-memsize> was not called on this handle, and if "
18302 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
18303 "value for memsize."
18304 msgstr ""
18305
18306 # type: =head2
18307 #: ../fish/guestfish-actions.pod:1296
18308 msgid "get-network"
18309 msgstr ""
18310
18311 # type: verbatim
18312 #: ../fish/guestfish-actions.pod:1298
18313 #, no-wrap
18314 msgid ""
18315 " get-network\n"
18316 "\n"
18317 msgstr ""
18318
18319 # type: =head2
18320 #: ../fish/guestfish-actions.pod:1302
18321 msgid "get-path"
18322 msgstr ""
18323
18324 # type: verbatim
18325 #: ../fish/guestfish-actions.pod:1304
18326 #, no-wrap
18327 msgid ""
18328 " get-path\n"
18329 "\n"
18330 msgstr ""
18331
18332 # type: =head2
18333 #: ../fish/guestfish-actions.pod:1311
18334 msgid "get-pid"
18335 msgstr ""
18336
18337 # type: =head2
18338 #: ../fish/guestfish-actions.pod:1313
18339 msgid "pid"
18340 msgstr ""
18341
18342 # type: verbatim
18343 #: ../fish/guestfish-actions.pod:1315
18344 #, no-wrap
18345 msgid ""
18346 " get-pid\n"
18347 "\n"
18348 msgstr ""
18349
18350 # type: =head2
18351 #: ../fish/guestfish-actions.pod:1322
18352 msgid "get-qemu"
18353 msgstr ""
18354
18355 # type: verbatim
18356 #: ../fish/guestfish-actions.pod:1324
18357 #, no-wrap
18358 msgid ""
18359 " get-qemu\n"
18360 "\n"
18361 msgstr ""
18362
18363 # type: =head2
18364 #: ../fish/guestfish-actions.pod:1331
18365 msgid "get-recovery-proc"
18366 msgstr ""
18367
18368 # type: verbatim
18369 #: ../fish/guestfish-actions.pod:1333
18370 #, no-wrap
18371 msgid ""
18372 " get-recovery-proc\n"
18373 "\n"
18374 msgstr ""
18375
18376 # type: =head2
18377 #: ../fish/guestfish-actions.pod:1337
18378 msgid "get-selinux"
18379 msgstr ""
18380
18381 # type: verbatim
18382 #: ../fish/guestfish-actions.pod:1339
18383 #, no-wrap
18384 msgid ""
18385 " get-selinux\n"
18386 "\n"
18387 msgstr ""
18388
18389 # type: textblock
18390 #: ../fish/guestfish-actions.pod:1341
18391 msgid ""
18392 "This returns the current setting of the selinux flag which is passed to the "
18393 "appliance at boot time.  See L</set-selinux>."
18394 msgstr ""
18395
18396 # type: =head2
18397 #: ../fish/guestfish-actions.pod:1347
18398 msgid "get-state"
18399 msgstr ""
18400
18401 # type: verbatim
18402 #: ../fish/guestfish-actions.pod:1349
18403 #, no-wrap
18404 msgid ""
18405 " get-state\n"
18406 "\n"
18407 msgstr ""
18408
18409 # type: =head2
18410 #: ../fish/guestfish-actions.pod:1356
18411 msgid "get-trace"
18412 msgstr ""
18413
18414 # type: verbatim
18415 #: ../fish/guestfish-actions.pod:1358
18416 #, no-wrap
18417 msgid ""
18418 " get-trace\n"
18419 "\n"
18420 msgstr ""
18421
18422 # type: =head2
18423 #: ../fish/guestfish-actions.pod:1362
18424 msgid "get-umask"
18425 msgstr ""
18426
18427 # type: verbatim
18428 #: ../fish/guestfish-actions.pod:1364
18429 #, no-wrap
18430 msgid ""
18431 " get-umask\n"
18432 "\n"
18433 msgstr ""
18434
18435 # type: textblock
18436 #: ../fish/guestfish-actions.pod:1366
18437 msgid ""
18438 "Return the current umask.  By default the umask is C<022> unless it has been "
18439 "set by calling L</umask>."
18440 msgstr ""
18441
18442 # type: =head2
18443 #: ../fish/guestfish-actions.pod:1369
18444 msgid "get-verbose"
18445 msgstr ""
18446
18447 # type: verbatim
18448 #: ../fish/guestfish-actions.pod:1371
18449 #, no-wrap
18450 msgid ""
18451 " get-verbose\n"
18452 "\n"
18453 msgstr ""
18454
18455 # type: =head2
18456 #: ../fish/guestfish-actions.pod:1375
18457 msgid "getcon"
18458 msgstr ""
18459
18460 # type: verbatim
18461 #: ../fish/guestfish-actions.pod:1377
18462 #, no-wrap
18463 msgid ""
18464 " getcon\n"
18465 "\n"
18466 msgstr ""
18467
18468 # type: textblock
18469 #: ../fish/guestfish-actions.pod:1381
18470 msgid "See the documentation about SELINUX in L<guestfs(3)>, and L</setcon>"
18471 msgstr ""
18472
18473 # type: =head2
18474 #: ../fish/guestfish-actions.pod:1384
18475 msgid "getxattrs"
18476 msgstr ""
18477
18478 # type: verbatim
18479 #: ../fish/guestfish-actions.pod:1386
18480 #, no-wrap
18481 msgid ""
18482 " getxattrs path\n"
18483 "\n"
18484 msgstr ""
18485
18486 # type: textblock
18487 #: ../fish/guestfish-actions.pod:1394
18488 msgid "See also: L</lgetxattrs>, L<attr(5)>."
18489 msgstr ""
18490
18491 # type: =head2
18492 #: ../fish/guestfish-actions.pod:1396
18493 msgid "glob-expand"
18494 msgstr ""
18495
18496 # type: verbatim
18497 #: ../fish/guestfish-actions.pod:1398
18498 #, no-wrap
18499 msgid ""
18500 " glob-expand pattern\n"
18501 "\n"
18502 msgstr ""
18503
18504 # type: =head2
18505 #: ../fish/guestfish-actions.pod:1411
18506 msgid "grep"
18507 msgstr ""
18508
18509 # type: verbatim
18510 #: ../fish/guestfish-actions.pod:1413
18511 #, no-wrap
18512 msgid ""
18513 " grep regex path\n"
18514 "\n"
18515 msgstr ""
18516
18517 # type: =head2
18518 #: ../fish/guestfish-actions.pod:1421
18519 msgid "grepi"
18520 msgstr ""
18521
18522 # type: verbatim
18523 #: ../fish/guestfish-actions.pod:1423
18524 #, no-wrap
18525 msgid ""
18526 " grepi regex path\n"
18527 "\n"
18528 msgstr ""
18529
18530 # type: =head2
18531 #: ../fish/guestfish-actions.pod:1431
18532 msgid "grub-install"
18533 msgstr ""
18534
18535 # type: verbatim
18536 #: ../fish/guestfish-actions.pod:1433
18537 #, no-wrap
18538 msgid ""
18539 " grub-install root device\n"
18540 "\n"
18541 msgstr ""
18542
18543 # type: =head2
18544 #: ../fish/guestfish-actions.pod:1449
18545 msgid "head"
18546 msgstr ""
18547
18548 # type: verbatim
18549 #: ../fish/guestfish-actions.pod:1451
18550 #, no-wrap
18551 msgid ""
18552 " head path\n"
18553 "\n"
18554 msgstr ""
18555
18556 # type: =head2
18557 #: ../fish/guestfish-actions.pod:1459
18558 msgid "head-n"
18559 msgstr ""
18560
18561 # type: verbatim
18562 #: ../fish/guestfish-actions.pod:1461
18563 #, no-wrap
18564 msgid ""
18565 " head-n nrlines path\n"
18566 "\n"
18567 msgstr ""
18568
18569 # type: =head2
18570 #: ../fish/guestfish-actions.pod:1474
18571 msgid "hexdump"
18572 msgstr ""
18573
18574 # type: verbatim
18575 #: ../fish/guestfish-actions.pod:1476
18576 #, no-wrap
18577 msgid ""
18578 " hexdump path\n"
18579 "\n"
18580 msgstr ""
18581
18582 # type: =head2
18583 #: ../fish/guestfish-actions.pod:1484
18584 msgid "initrd-cat"
18585 msgstr ""
18586
18587 # type: verbatim
18588 #: ../fish/guestfish-actions.pod:1486
18589 #, no-wrap
18590 msgid ""
18591 " initrd-cat initrdpath filename\n"
18592 "\n"
18593 msgstr ""
18594
18595 # type: textblock
18596 #: ../fish/guestfish-actions.pod:1498
18597 msgid "See also L</initrd-list>."
18598 msgstr ""
18599
18600 # type: =head2
18601 #: ../fish/guestfish-actions.pod:1503
18602 msgid "initrd-list"
18603 msgstr ""
18604
18605 # type: verbatim
18606 #: ../fish/guestfish-actions.pod:1505
18607 #, no-wrap
18608 msgid ""
18609 " initrd-list path\n"
18610 "\n"
18611 msgstr ""
18612
18613 # type: =head2
18614 #: ../fish/guestfish-actions.pod:1517
18615 msgid "inotify-add-watch"
18616 msgstr ""
18617
18618 # type: verbatim
18619 #: ../fish/guestfish-actions.pod:1519
18620 #, no-wrap
18621 msgid ""
18622 " inotify-add-watch path mask\n"
18623 "\n"
18624 msgstr ""
18625
18626 # type: =head2
18627 #: ../fish/guestfish-actions.pod:1531
18628 msgid "inotify-close"
18629 msgstr ""
18630
18631 # type: verbatim
18632 #: ../fish/guestfish-actions.pod:1533
18633 #, no-wrap
18634 msgid ""
18635 " inotify-close\n"
18636 "\n"
18637 msgstr ""
18638
18639 # type: =head2
18640 #: ../fish/guestfish-actions.pod:1539
18641 msgid "inotify-files"
18642 msgstr ""
18643
18644 # type: verbatim
18645 #: ../fish/guestfish-actions.pod:1541
18646 #, no-wrap
18647 msgid ""
18648 " inotify-files\n"
18649 "\n"
18650 msgstr ""
18651
18652 # type: textblock
18653 #: ../fish/guestfish-actions.pod:1543
18654 msgid ""
18655 "This function is a helpful wrapper around L</inotify-read> which just "
18656 "returns a list of pathnames of objects that were touched.  The returned "
18657 "pathnames are sorted and deduplicated."
18658 msgstr ""
18659
18660 # type: =head2
18661 #: ../fish/guestfish-actions.pod:1547
18662 msgid "inotify-init"
18663 msgstr ""
18664
18665 # type: verbatim
18666 #: ../fish/guestfish-actions.pod:1549
18667 #, no-wrap
18668 msgid ""
18669 " inotify-init maxevents\n"
18670 "\n"
18671 msgstr ""
18672
18673 # type: textblock
18674 #: ../fish/guestfish-actions.pod:1555
18675 msgid ""
18676 "C<maxevents> is the maximum number of events which will be queued up between "
18677 "calls to L</inotify-read> or L</inotify-files>.  If this is passed as C<0>, "
18678 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
18679 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
18680 "but records the fact that it threw them away by setting a flag "
18681 "C<IN_Q_OVERFLOW> in the returned structure list (see L</inotify-read>)."
18682 msgstr ""
18683
18684 # type: textblock
18685 #: ../fish/guestfish-actions.pod:1565
18686 msgid ""
18687 "Before any events are generated, you have to add some watches to the "
18688 "internal watch list.  See: L</inotify-add-watch>, L</inotify-rm-watch> and "
18689 "L</inotify-watch-all>."
18690 msgstr ""
18691
18692 # type: textblock
18693 #: ../fish/guestfish-actions.pod:1571
18694 msgid ""
18695 "Queued up events should be read periodically by calling L</inotify-read> (or "
18696 "L</inotify-files> which is just a helpful wrapper around L</inotify-read>).  "
18697 "If you don't read the events out often enough then you risk the internal "
18698 "queue overflowing."
18699 msgstr ""
18700
18701 # type: textblock
18702 #: ../fish/guestfish-actions.pod:1578
18703 msgid ""
18704 "The handle should be closed after use by calling L</inotify-close>.  This "
18705 "also removes any watches automatically."
18706 msgstr ""
18707
18708 # type: =head2
18709 #: ../fish/guestfish-actions.pod:1587
18710 msgid "inotify-read"
18711 msgstr ""
18712
18713 # type: verbatim
18714 #: ../fish/guestfish-actions.pod:1589
18715 #, no-wrap
18716 msgid ""
18717 " inotify-read\n"
18718 "\n"
18719 msgstr ""
18720
18721 # type: =head2
18722 #: ../fish/guestfish-actions.pod:1602
18723 msgid "inotify-rm-watch"
18724 msgstr ""
18725
18726 # type: verbatim
18727 #: ../fish/guestfish-actions.pod:1604
18728 #, no-wrap
18729 msgid ""
18730 " inotify-rm-watch wd\n"
18731 "\n"
18732 msgstr ""
18733
18734 # type: textblock
18735 #: ../fish/guestfish-actions.pod:1606
18736 msgid "Remove a previously defined inotify watch.  See L</inotify-add-watch>."
18737 msgstr ""
18738
18739 # type: =head2
18740 #: ../fish/guestfish-actions.pod:1609
18741 msgid "inspect-get-arch"
18742 msgstr ""
18743
18744 # type: verbatim
18745 #: ../fish/guestfish-actions.pod:1611
18746 #, no-wrap
18747 msgid ""
18748 " inspect-get-arch root\n"
18749 "\n"
18750 msgstr ""
18751
18752 # type: textblock
18753 #: ../fish/guestfish-actions.pod:1613 ../fish/guestfish-actions.pod:1629
18754 #: ../fish/guestfish-actions.pod:1675 ../fish/guestfish-actions.pod:1693
18755 #: ../fish/guestfish-actions.pod:1714 ../fish/guestfish-actions.pod:1729
18756 #: ../fish/guestfish-actions.pod:1752 ../fish/guestfish-actions.pod:1769
18757 msgid ""
18758 "This function should only be called with a root device string as returned by "
18759 "L</inspect-os>."
18760 msgstr ""
18761
18762 # type: textblock
18763 #: ../fish/guestfish-actions.pod:1616
18764 msgid ""
18765 "This returns the architecture of the inspected operating system.  The "
18766 "possible return values are listed under L</file-architecture>."
18767 msgstr ""
18768
18769 # type: =head2
18770 #: ../fish/guestfish-actions.pod:1625
18771 msgid "inspect-get-distro"
18772 msgstr ""
18773
18774 # type: verbatim
18775 #: ../fish/guestfish-actions.pod:1627
18776 #, no-wrap
18777 msgid ""
18778 " inspect-get-distro root\n"
18779 "\n"
18780 msgstr ""
18781
18782 # type: =head2
18783 #: ../fish/guestfish-actions.pod:1671
18784 msgid "inspect-get-filesystems"
18785 msgstr ""
18786
18787 # type: verbatim
18788 #: ../fish/guestfish-actions.pod:1673
18789 #, no-wrap
18790 msgid ""
18791 " inspect-get-filesystems root\n"
18792 "\n"
18793 msgstr ""
18794
18795 # type: textblock
18796 #: ../fish/guestfish-actions.pod:1686
18797 msgid ""
18798 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18799 "get-mountpoints>."
18800 msgstr ""
18801
18802 # type: =head2
18803 #: ../fish/guestfish-actions.pod:1689
18804 msgid "inspect-get-major-version"
18805 msgstr ""
18806
18807 # type: verbatim
18808 #: ../fish/guestfish-actions.pod:1691
18809 #, no-wrap
18810 msgid ""
18811 " inspect-get-major-version root\n"
18812 "\n"
18813 msgstr ""
18814
18815 # type: =head2
18816 #: ../fish/guestfish-actions.pod:1710
18817 msgid "inspect-get-minor-version"
18818 msgstr ""
18819
18820 # type: verbatim
18821 #: ../fish/guestfish-actions.pod:1712
18822 #, no-wrap
18823 msgid ""
18824 " inspect-get-minor-version root\n"
18825 "\n"
18826 msgstr ""
18827
18828 # type: textblock
18829 #: ../fish/guestfish-actions.pod:1722
18830 msgid ""
18831 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18832 "get-major-version>."
18833 msgstr ""
18834
18835 # type: =head2
18836 #: ../fish/guestfish-actions.pod:1725
18837 msgid "inspect-get-mountpoints"
18838 msgstr ""
18839
18840 # type: verbatim
18841 #: ../fish/guestfish-actions.pod:1727
18842 #, no-wrap
18843 msgid ""
18844 " inspect-get-mountpoints root\n"
18845 "\n"
18846 msgstr ""
18847
18848 # type: textblock
18849 #: ../fish/guestfish-actions.pod:1745
18850 msgid ""
18851 "Please read L<guestfs(3)/INSPECTION> for more details.  See also L</inspect-"
18852 "get-filesystems>."
18853 msgstr ""
18854
18855 # type: =head2
18856 #: ../fish/guestfish-actions.pod:1748
18857 msgid "inspect-get-product-name"
18858 msgstr ""
18859
18860 # type: verbatim
18861 #: ../fish/guestfish-actions.pod:1750
18862 #, no-wrap
18863 msgid ""
18864 " inspect-get-product-name root\n"
18865 "\n"
18866 msgstr ""
18867
18868 # type: =head2
18869 #: ../fish/guestfish-actions.pod:1765
18870 msgid "inspect-get-type"
18871 msgstr ""
18872
18873 # type: verbatim
18874 #: ../fish/guestfish-actions.pod:1767
18875 #, no-wrap
18876 msgid ""
18877 " inspect-get-type root\n"
18878 "\n"
18879 msgstr ""
18880
18881 # type: =head2
18882 #: ../fish/guestfish-actions.pod:1796
18883 msgid "inspect-os"
18884 msgstr ""
18885
18886 # type: verbatim
18887 #: ../fish/guestfish-actions.pod:1798
18888 #, no-wrap
18889 msgid ""
18890 " inspect-os\n"
18891 "\n"
18892 msgstr ""
18893
18894 # type: textblock
18895 #: ../fish/guestfish-actions.pod:1813
18896 msgid ""
18897 "You can pass the root string(s) returned to other L</inspect-get-*> "
18898 "functions in order to query further information about each operating system, "
18899 "such as the name and version."
18900 msgstr ""
18901
18902 # type: textblock
18903 #: ../fish/guestfish-actions.pod:1818
18904 msgid ""
18905 "This function uses other libguestfs features such as L</mount-ro> and L</"
18906 "umount-all> in order to mount and unmount filesystems and look at the "
18907 "contents.  This should be called with no disks currently mounted.  The "
18908 "function may also use Augeas, so any existing Augeas handle will be closed."
18909 msgstr ""
18910
18911 # type: textblock
18912 #: ../fish/guestfish-actions.pod:1830 ../fish/guestfish-actions.pod:1986
18913 #: ../fish/guestfish-actions.pod:2032
18914 msgid "See also L</list-filesystems>."
18915 msgstr ""
18916
18917 # type: =head2
18918 #: ../fish/guestfish-actions.pod:1832
18919 msgid "is-blockdev"
18920 msgstr ""
18921
18922 # type: verbatim
18923 #: ../fish/guestfish-actions.pod:1834
18924 #, no-wrap
18925 msgid ""
18926 " is-blockdev path\n"
18927 "\n"
18928 msgstr ""
18929
18930 # type: textblock
18931 #: ../fish/guestfish-actions.pod:1839 ../fish/guestfish-actions.pod:1857
18932 #: ../fish/guestfish-actions.pod:1876 ../fish/guestfish-actions.pod:1885
18933 #: ../fish/guestfish-actions.pod:1895 ../fish/guestfish-actions.pod:1929
18934 #: ../fish/guestfish-actions.pod:1938
18935 msgid "See also L</stat>."
18936 msgstr ""
18937
18938 # type: =head2
18939 #: ../fish/guestfish-actions.pod:1841
18940 msgid "is-busy"
18941 msgstr ""
18942
18943 # type: verbatim
18944 #: ../fish/guestfish-actions.pod:1843
18945 #, no-wrap
18946 msgid ""
18947 " is-busy\n"
18948 "\n"
18949 msgstr ""
18950
18951 # type: =head2
18952 #: ../fish/guestfish-actions.pod:1850
18953 msgid "is-chardev"
18954 msgstr ""
18955
18956 # type: verbatim
18957 #: ../fish/guestfish-actions.pod:1852
18958 #, no-wrap
18959 msgid ""
18960 " is-chardev path\n"
18961 "\n"
18962 msgstr ""
18963
18964 # type: =head2
18965 #: ../fish/guestfish-actions.pod:1859
18966 msgid "is-config"
18967 msgstr ""
18968
18969 # type: verbatim
18970 #: ../fish/guestfish-actions.pod:1861
18971 #, no-wrap
18972 msgid ""
18973 " is-config\n"
18974 "\n"
18975 msgstr ""
18976
18977 # type: =head2
18978 #: ../fish/guestfish-actions.pod:1868
18979 msgid "is-dir"
18980 msgstr ""
18981
18982 # type: verbatim
18983 #: ../fish/guestfish-actions.pod:1870
18984 #, no-wrap
18985 msgid ""
18986 " is-dir path\n"
18987 "\n"
18988 msgstr ""
18989
18990 # type: =head2
18991 #: ../fish/guestfish-actions.pod:1878
18992 msgid "is-fifo"
18993 msgstr ""
18994
18995 # type: verbatim
18996 #: ../fish/guestfish-actions.pod:1880
18997 #, no-wrap
18998 msgid ""
18999 " is-fifo path\n"
19000 "\n"
19001 msgstr ""
19002
19003 # type: =head2
19004 #: ../fish/guestfish-actions.pod:1887
19005 msgid "is-file"
19006 msgstr ""
19007
19008 # type: verbatim
19009 #: ../fish/guestfish-actions.pod:1889
19010 #, no-wrap
19011 msgid ""
19012 " is-file path\n"
19013 "\n"
19014 msgstr ""
19015
19016 # type: =head2
19017 #: ../fish/guestfish-actions.pod:1897
19018 msgid "is-launching"
19019 msgstr ""
19020
19021 # type: verbatim
19022 #: ../fish/guestfish-actions.pod:1899
19023 #, no-wrap
19024 msgid ""
19025 " is-launching\n"
19026 "\n"
19027 msgstr ""
19028
19029 # type: =head2
19030 #: ../fish/guestfish-actions.pod:1906
19031 msgid "is-lv"
19032 msgstr ""
19033
19034 # type: verbatim
19035 #: ../fish/guestfish-actions.pod:1908
19036 #, no-wrap
19037 msgid ""
19038 " is-lv device\n"
19039 "\n"
19040 msgstr ""
19041
19042 # type: =head2
19043 #: ../fish/guestfish-actions.pod:1913
19044 msgid "is-ready"
19045 msgstr ""
19046
19047 # type: verbatim
19048 #: ../fish/guestfish-actions.pod:1915
19049 #, no-wrap
19050 msgid ""
19051 " is-ready\n"
19052 "\n"
19053 msgstr ""
19054
19055 # type: =head2
19056 #: ../fish/guestfish-actions.pod:1922
19057 msgid "is-socket"
19058 msgstr ""
19059
19060 # type: verbatim
19061 #: ../fish/guestfish-actions.pod:1924
19062 #, no-wrap
19063 msgid ""
19064 " is-socket path\n"
19065 "\n"
19066 msgstr ""
19067
19068 # type: =head2
19069 #: ../fish/guestfish-actions.pod:1931
19070 msgid "is-symlink"
19071 msgstr ""
19072
19073 # type: verbatim
19074 #: ../fish/guestfish-actions.pod:1933
19075 #, no-wrap
19076 msgid ""
19077 " is-symlink path\n"
19078 "\n"
19079 msgstr ""
19080
19081 # type: =head2
19082 #: ../fish/guestfish-actions.pod:1940
19083 msgid "kill-subprocess"
19084 msgstr ""
19085
19086 # type: verbatim
19087 #: ../fish/guestfish-actions.pod:1942
19088 #, no-wrap
19089 msgid ""
19090 " kill-subprocess\n"
19091 "\n"
19092 msgstr ""
19093
19094 # type: =head2
19095 #: ../fish/guestfish-actions.pod:1946
19096 msgid "launch"
19097 msgstr ""
19098
19099 # type: =head2
19100 #: ../fish/guestfish-actions.pod:1948
19101 msgid "run"
19102 msgstr ""
19103
19104 # type: verbatim
19105 #: ../fish/guestfish-actions.pod:1950
19106 #, no-wrap
19107 msgid ""
19108 " launch\n"
19109 "\n"
19110 msgstr ""
19111
19112 # type: =head2
19113 #: ../fish/guestfish-actions.pod:1958
19114 msgid "lchown"
19115 msgstr ""
19116
19117 # type: verbatim
19118 #: ../fish/guestfish-actions.pod:1960
19119 #, no-wrap
19120 msgid ""
19121 " lchown owner group path\n"
19122 "\n"
19123 msgstr ""
19124
19125 # type: textblock
19126 #: ../fish/guestfish-actions.pod:1962
19127 msgid ""
19128 "Change the file owner to C<owner> and group to C<group>.  This is like L</"
19129 "chown> but if C<path> is a symlink then the link itself is changed, not the "
19130 "target."
19131 msgstr ""
19132
19133 # type: =head2
19134 #: ../fish/guestfish-actions.pod:1970
19135 msgid "lgetxattrs"
19136 msgstr ""
19137
19138 # type: verbatim
19139 #: ../fish/guestfish-actions.pod:1972
19140 #, no-wrap
19141 msgid ""
19142 " lgetxattrs path\n"
19143 "\n"
19144 msgstr ""
19145
19146 # type: textblock
19147 #: ../fish/guestfish-actions.pod:1974
19148 msgid ""
19149 "This is the same as L</getxattrs>, but if C<path> is a symbolic link, then "
19150 "it returns the extended attributes of the link itself."
19151 msgstr ""
19152
19153 # type: =head2
19154 #: ../fish/guestfish-actions.pod:1978
19155 msgid "list-devices"
19156 msgstr ""
19157
19158 # type: verbatim
19159 #: ../fish/guestfish-actions.pod:1980
19160 #, no-wrap
19161 msgid ""
19162 " list-devices\n"
19163 "\n"
19164 msgstr ""
19165
19166 # type: =head2
19167 #: ../fish/guestfish-actions.pod:1988
19168 msgid "list-filesystems"
19169 msgstr ""
19170
19171 # type: verbatim
19172 #: ../fish/guestfish-actions.pod:1990
19173 #, no-wrap
19174 msgid ""
19175 " list-filesystems\n"
19176 "\n"
19177 msgstr ""
19178
19179 # type: textblock
19180 #: ../fish/guestfish-actions.pod:2009
19181 msgid ""
19182 "This command runs other libguestfs commands, which might include L</mount> "
19183 "and L</umount>, and therefore you should use this soon after launch and only "
19184 "when nothing is mounted."
19185 msgstr ""
19186
19187 # type: textblock
19188 #: ../fish/guestfish-actions.pod:2013
19189 msgid ""
19190 "Not all of the filesystems returned will be mountable.  In particular, swap "
19191 "partitions are returned in the list.  Also this command does not check that "
19192 "each filesystem found is valid and mountable, and some filesystems might be "
19193 "mountable but require special options.  Filesystems may not all belong to a "
19194 "single logical operating system (use L</inspect-os> to look for OSes)."
19195 msgstr ""
19196
19197 # type: =head2
19198 #: ../fish/guestfish-actions.pod:2021
19199 msgid "list-partitions"
19200 msgstr ""
19201
19202 # type: verbatim
19203 #: ../fish/guestfish-actions.pod:2023
19204 #, no-wrap
19205 msgid ""
19206 " list-partitions\n"
19207 "\n"
19208 msgstr ""
19209
19210 # type: textblock
19211 #: ../fish/guestfish-actions.pod:2029
19212 msgid ""
19213 "This does not return logical volumes.  For that you will need to call L</"
19214 "lvs>."
19215 msgstr ""
19216
19217 # type: =head2
19218 #: ../fish/guestfish-actions.pod:2034
19219 msgid "ll"
19220 msgstr ""
19221
19222 # type: verbatim
19223 #: ../fish/guestfish-actions.pod:2036
19224 #, no-wrap
19225 msgid ""
19226 " ll directory\n"
19227 "\n"
19228 msgstr ""
19229
19230 # type: =head2
19231 #: ../fish/guestfish-actions.pod:2044
19232 msgid "ln"
19233 msgstr ""
19234
19235 # type: verbatim
19236 #: ../fish/guestfish-actions.pod:2046
19237 #, no-wrap
19238 msgid ""
19239 " ln target linkname\n"
19240 "\n"
19241 msgstr ""
19242
19243 # type: =head2
19244 #: ../fish/guestfish-actions.pod:2050
19245 msgid "ln-f"
19246 msgstr ""
19247
19248 # type: verbatim
19249 #: ../fish/guestfish-actions.pod:2052
19250 #, no-wrap
19251 msgid ""
19252 " ln-f target linkname\n"
19253 "\n"
19254 msgstr ""
19255
19256 # type: =head2
19257 #: ../fish/guestfish-actions.pod:2057
19258 msgid "ln-s"
19259 msgstr ""
19260
19261 # type: verbatim
19262 #: ../fish/guestfish-actions.pod:2059
19263 #, no-wrap
19264 msgid ""
19265 " ln-s target linkname\n"
19266 "\n"
19267 msgstr ""
19268
19269 # type: =head2
19270 #: ../fish/guestfish-actions.pod:2063
19271 msgid "ln-sf"
19272 msgstr ""
19273
19274 # type: verbatim
19275 #: ../fish/guestfish-actions.pod:2065
19276 #, no-wrap
19277 msgid ""
19278 " ln-sf target linkname\n"
19279 "\n"
19280 msgstr ""
19281
19282 # type: =head2
19283 #: ../fish/guestfish-actions.pod:2070
19284 msgid "lremovexattr"
19285 msgstr ""
19286
19287 # type: verbatim
19288 #: ../fish/guestfish-actions.pod:2072
19289 #, no-wrap
19290 msgid ""
19291 " lremovexattr xattr path\n"
19292 "\n"
19293 msgstr ""
19294
19295 # type: textblock
19296 #: ../fish/guestfish-actions.pod:2074
19297 msgid ""
19298 "This is the same as L</removexattr>, but if C<path> is a symbolic link, then "
19299 "it removes an extended attribute of the link itself."
19300 msgstr ""
19301
19302 # type: =head2
19303 #: ../fish/guestfish-actions.pod:2078
19304 msgid "ls"
19305 msgstr ""
19306
19307 # type: verbatim
19308 #: ../fish/guestfish-actions.pod:2080
19309 #, no-wrap
19310 msgid ""
19311 " ls directory\n"
19312 "\n"
19313 msgstr ""
19314
19315 # type: textblock
19316 #: ../fish/guestfish-actions.pod:2086
19317 msgid ""
19318 "This command is mostly useful for interactive sessions.  Programs should "
19319 "probably use L</readdir> instead."
19320 msgstr ""
19321
19322 # type: =head2
19323 #: ../fish/guestfish-actions.pod:2089
19324 msgid "lsetxattr"
19325 msgstr ""
19326
19327 # type: verbatim
19328 #: ../fish/guestfish-actions.pod:2091
19329 #, no-wrap
19330 msgid ""
19331 " lsetxattr xattr val vallen path\n"
19332 "\n"
19333 msgstr ""
19334
19335 # type: textblock
19336 #: ../fish/guestfish-actions.pod:2093
19337 msgid ""
19338 "This is the same as L</setxattr>, but if C<path> is a symbolic link, then it "
19339 "sets an extended attribute of the link itself."
19340 msgstr ""
19341
19342 # type: =head2
19343 #: ../fish/guestfish-actions.pod:2097
19344 msgid "lstat"
19345 msgstr ""
19346
19347 # type: verbatim
19348 #: ../fish/guestfish-actions.pod:2099
19349 #, no-wrap
19350 msgid ""
19351 " lstat path\n"
19352 "\n"
19353 msgstr ""
19354
19355 # type: textblock
19356 #: ../fish/guestfish-actions.pod:2103
19357 msgid ""
19358 "This is the same as L</stat> except that if C<path> is a symbolic link, then "
19359 "the link is stat-ed, not the file it refers to."
19360 msgstr ""
19361
19362 # type: =head2
19363 #: ../fish/guestfish-actions.pod:2109
19364 msgid "lstatlist"
19365 msgstr ""
19366
19367 # type: verbatim
19368 #: ../fish/guestfish-actions.pod:2111
19369 #, no-wrap
19370 msgid ""
19371 " lstatlist path 'names ...'\n"
19372 "\n"
19373 msgstr ""
19374
19375 # type: textblock
19376 #: ../fish/guestfish-actions.pod:2113
19377 msgid ""
19378 "This call allows you to perform the L</lstat> operation on multiple files, "
19379 "where all files are in the directory C<path>.  C<names> is the list of files "
19380 "from this directory."
19381 msgstr ""
19382
19383 # type: textblock
19384 #: ../fish/guestfish-actions.pod:2122
19385 msgid ""
19386 "This call is intended for programs that want to efficiently list a directory "
19387 "contents without making many round-trips.  See also L</lxattrlist> for a "
19388 "similarly efficient call for getting extended attributes.  Very long "
19389 "directory listings might cause the protocol message size to be exceeded, "
19390 "causing this call to fail.  The caller must split up such requests into "
19391 "smaller groups of names."
19392 msgstr ""
19393
19394 # type: =head2
19395 #: ../fish/guestfish-actions.pod:2130
19396 msgid "luks-add-key"
19397 msgstr ""
19398
19399 # type: verbatim
19400 #: ../fish/guestfish-actions.pod:2132
19401 #, no-wrap
19402 msgid ""
19403 " luks-add-key device keyslot\n"
19404 "\n"
19405 msgstr ""
19406
19407 # type: textblock
19408 #: ../fish/guestfish-actions.pod:2139
19409 msgid ""
19410 "Note that if C<keyslot> already contains a key, then this command will "
19411 "fail.  You have to use L</luks-kill-slot> first to remove that key."
19412 msgstr ""
19413
19414 # type: textblock
19415 #: ../fish/guestfish-actions.pod:2143 ../fish/guestfish-actions.pod:2165
19416 #: ../fish/guestfish-actions.pod:2178 ../fish/guestfish-actions.pod:2192
19417 #: ../fish/guestfish-actions.pod:2215 ../fish/guestfish-actions.pod:2225
19418 msgid ""
19419 "This command has one or more key or passphrase parameters.  Guestfish will "
19420 "prompt for these separately."
19421 msgstr ""
19422
19423 # type: =head2
19424 #: ../fish/guestfish-actions.pod:2146
19425 msgid "luks-close"
19426 msgstr ""
19427
19428 # type: verbatim
19429 #: ../fish/guestfish-actions.pod:2148
19430 #, no-wrap
19431 msgid ""
19432 " luks-close device\n"
19433 "\n"
19434 msgstr ""
19435
19436 # type: textblock
19437 #: ../fish/guestfish-actions.pod:2150
19438 msgid ""
19439 "This closes a LUKS device that was created earlier by L</luks-open> or L</"
19440 "luks-open-ro>.  The C<device> parameter must be the name of the LUKS mapping "
19441 "device (ie. C</dev/mapper/mapname>) and I<not> the name of the underlying "
19442 "block device."
19443 msgstr ""
19444
19445 # type: =head2
19446 #: ../fish/guestfish-actions.pod:2156
19447 msgid "luks-format"
19448 msgstr ""
19449
19450 # type: verbatim
19451 #: ../fish/guestfish-actions.pod:2158
19452 #, no-wrap
19453 msgid ""
19454 " luks-format device keyslot\n"
19455 "\n"
19456 msgstr ""
19457
19458 # type: =head2
19459 #: ../fish/guestfish-actions.pod:2171
19460 msgid "luks-format-cipher"
19461 msgstr ""
19462
19463 # type: verbatim
19464 #: ../fish/guestfish-actions.pod:2173
19465 #, no-wrap
19466 msgid ""
19467 " luks-format-cipher device keyslot cipher\n"
19468 "\n"
19469 msgstr ""
19470
19471 # type: textblock
19472 #: ../fish/guestfish-actions.pod:2175
19473 msgid ""
19474 "This command is the same as L</luks-format> but it also allows you to set "
19475 "the C<cipher> used."
19476 msgstr ""
19477
19478 # type: =head2
19479 #: ../fish/guestfish-actions.pod:2184
19480 msgid "luks-kill-slot"
19481 msgstr ""
19482
19483 # type: verbatim
19484 #: ../fish/guestfish-actions.pod:2186
19485 #, no-wrap
19486 msgid ""
19487 " luks-kill-slot device keyslot\n"
19488 "\n"
19489 msgstr ""
19490
19491 # type: =head2
19492 #: ../fish/guestfish-actions.pod:2195
19493 msgid "luks-open"
19494 msgstr ""
19495
19496 # type: verbatim
19497 #: ../fish/guestfish-actions.pod:2197
19498 #, no-wrap
19499 msgid ""
19500 " luks-open device mapname\n"
19501 "\n"
19502 msgstr ""
19503
19504 # type: textblock
19505 #: ../fish/guestfish-actions.pod:2211
19506 msgid ""
19507 "If this block device contains LVM volume groups, then calling L</vgscan> "
19508 "followed by L</vg-activate-all> will make them visible."
19509 msgstr ""
19510
19511 # type: =head2
19512 #: ../fish/guestfish-actions.pod:2218
19513 msgid "luks-open-ro"
19514 msgstr ""
19515
19516 # type: verbatim
19517 #: ../fish/guestfish-actions.pod:2220
19518 #, no-wrap
19519 msgid ""
19520 " luks-open-ro device mapname\n"
19521 "\n"
19522 msgstr ""
19523
19524 # type: textblock
19525 #: ../fish/guestfish-actions.pod:2222
19526 msgid ""
19527 "This is the same as L</luks-open> except that a read-only mapping is created."
19528 msgstr ""
19529
19530 # type: =head2
19531 #: ../fish/guestfish-actions.pod:2228
19532 msgid "lvcreate"
19533 msgstr ""
19534
19535 # type: verbatim
19536 #: ../fish/guestfish-actions.pod:2230
19537 #, no-wrap
19538 msgid ""
19539 " lvcreate logvol volgroup mbytes\n"
19540 "\n"
19541 msgstr ""
19542
19543 # type: =head2
19544 #: ../fish/guestfish-actions.pod:2235
19545 msgid "lvm-clear-filter"
19546 msgstr ""
19547
19548 # type: verbatim
19549 #: ../fish/guestfish-actions.pod:2237
19550 #, no-wrap
19551 msgid ""
19552 " lvm-clear-filter\n"
19553 "\n"
19554 msgstr ""
19555
19556 # type: textblock
19557 #: ../fish/guestfish-actions.pod:2239
19558 msgid ""
19559 "This undoes the effect of L</lvm-set-filter>.  LVM will be able to see every "
19560 "block device."
19561 msgstr ""
19562
19563 # type: =head2
19564 #: ../fish/guestfish-actions.pod:2245
19565 msgid "lvm-remove-all"
19566 msgstr ""
19567
19568 # type: verbatim
19569 #: ../fish/guestfish-actions.pod:2247
19570 #, no-wrap
19571 msgid ""
19572 " lvm-remove-all\n"
19573 "\n"
19574 msgstr ""
19575
19576 # type: =head2
19577 #: ../fish/guestfish-actions.pod:2255
19578 msgid "lvm-set-filter"
19579 msgstr ""
19580
19581 # type: verbatim
19582 #: ../fish/guestfish-actions.pod:2257
19583 #, no-wrap
19584 msgid ""
19585 " lvm-set-filter 'devices ...'\n"
19586 "\n"
19587 msgstr ""
19588
19589 # type: =head2
19590 #: ../fish/guestfish-actions.pod:2282
19591 msgid "lvremove"
19592 msgstr ""
19593
19594 # type: verbatim
19595 #: ../fish/guestfish-actions.pod:2284
19596 #, no-wrap
19597 msgid ""
19598 " lvremove device\n"
19599 "\n"
19600 msgstr ""
19601
19602 # type: =head2
19603 #: ../fish/guestfish-actions.pod:2292
19604 msgid "lvrename"
19605 msgstr ""
19606
19607 # type: verbatim
19608 #: ../fish/guestfish-actions.pod:2294
19609 #, no-wrap
19610 msgid ""
19611 " lvrename logvol newlogvol\n"
19612 "\n"
19613 msgstr ""
19614
19615 # type: =head2
19616 #: ../fish/guestfish-actions.pod:2298
19617 msgid "lvresize"
19618 msgstr ""
19619
19620 # type: verbatim
19621 #: ../fish/guestfish-actions.pod:2300
19622 #, no-wrap
19623 msgid ""
19624 " lvresize device mbytes\n"
19625 "\n"
19626 msgstr ""
19627
19628 # type: =head2
19629 #: ../fish/guestfish-actions.pod:2306
19630 msgid "lvresize-free"
19631 msgstr ""
19632
19633 # type: verbatim
19634 #: ../fish/guestfish-actions.pod:2308
19635 #, no-wrap
19636 msgid ""
19637 " lvresize-free lv percent\n"
19638 "\n"
19639 msgstr ""
19640
19641 # type: =head2
19642 #: ../fish/guestfish-actions.pod:2316
19643 msgid "lvs"
19644 msgstr ""
19645
19646 # type: verbatim
19647 #: ../fish/guestfish-actions.pod:2318
19648 #, no-wrap
19649 msgid ""
19650 " lvs\n"
19651 "\n"
19652 msgstr ""
19653
19654 # type: textblock
19655 #: ../fish/guestfish-actions.pod:2326
19656 msgid "See also L</lvs-full>, L</list-filesystems>."
19657 msgstr ""
19658
19659 # type: =head2
19660 #: ../fish/guestfish-actions.pod:2328
19661 msgid "lvs-full"
19662 msgstr ""
19663
19664 # type: verbatim
19665 #: ../fish/guestfish-actions.pod:2330
19666 #, no-wrap
19667 msgid ""
19668 " lvs-full\n"
19669 "\n"
19670 msgstr ""
19671
19672 # type: =head2
19673 #: ../fish/guestfish-actions.pod:2335
19674 msgid "lvuuid"
19675 msgstr ""
19676
19677 # type: verbatim
19678 #: ../fish/guestfish-actions.pod:2337
19679 #, no-wrap
19680 msgid ""
19681 " lvuuid device\n"
19682 "\n"
19683 msgstr ""
19684
19685 # type: =head2
19686 #: ../fish/guestfish-actions.pod:2341
19687 msgid "lxattrlist"
19688 msgstr ""
19689
19690 # type: verbatim
19691 #: ../fish/guestfish-actions.pod:2343
19692 #, no-wrap
19693 msgid ""
19694 " lxattrlist path 'names ...'\n"
19695 "\n"
19696 msgstr ""
19697
19698 # type: textblock
19699 #: ../fish/guestfish-actions.pod:2359
19700 msgid ""
19701 "This call is intended for programs that want to efficiently list a directory "
19702 "contents without making many round-trips.  See also L</lstatlist> for a "
19703 "similarly efficient call for getting standard stats.  Very long directory "
19704 "listings might cause the protocol message size to be exceeded, causing this "
19705 "call to fail.  The caller must split up such requests into smaller groups of "
19706 "names."
19707 msgstr ""
19708
19709 # type: =head2
19710 #: ../fish/guestfish-actions.pod:2367
19711 msgid "mkdir"
19712 msgstr ""
19713
19714 # type: verbatim
19715 #: ../fish/guestfish-actions.pod:2369
19716 #, no-wrap
19717 msgid ""
19718 " mkdir path\n"
19719 "\n"
19720 msgstr ""
19721
19722 # type: =head2
19723 #: ../fish/guestfish-actions.pod:2373
19724 msgid "mkdir-mode"
19725 msgstr ""
19726
19727 # type: verbatim
19728 #: ../fish/guestfish-actions.pod:2375
19729 #, no-wrap
19730 msgid ""
19731 " mkdir-mode path mode\n"
19732 "\n"
19733 msgstr ""
19734
19735 # type: textblock
19736 #: ../fish/guestfish-actions.pod:2384
19737 msgid "See also L</mkdir>, L</umask>"
19738 msgstr ""
19739
19740 # type: =head2
19741 #: ../fish/guestfish-actions.pod:2386
19742 msgid "mkdir-p"
19743 msgstr ""
19744
19745 # type: verbatim
19746 #: ../fish/guestfish-actions.pod:2388
19747 #, no-wrap
19748 msgid ""
19749 " mkdir-p path\n"
19750 "\n"
19751 msgstr ""
19752
19753 # type: =head2
19754 #: ../fish/guestfish-actions.pod:2393
19755 msgid "mkdtemp"
19756 msgstr ""
19757
19758 # type: verbatim
19759 #: ../fish/guestfish-actions.pod:2395
19760 #, no-wrap
19761 msgid ""
19762 " mkdtemp template\n"
19763 "\n"
19764 msgstr ""
19765
19766 # type: =head2
19767 #: ../fish/guestfish-actions.pod:2416
19768 msgid "mke2fs-J"
19769 msgstr ""
19770
19771 # type: verbatim
19772 #: ../fish/guestfish-actions.pod:2418
19773 #, no-wrap
19774 msgid ""
19775 " mke2fs-J fstype blocksize device journal\n"
19776 "\n"
19777 msgstr ""
19778
19779 # type: textblock
19780 #: ../fish/guestfish-actions.pod:2426
19781 msgid "See also L</mke2journal>."
19782 msgstr ""
19783
19784 # type: =head2
19785 #: ../fish/guestfish-actions.pod:2428
19786 msgid "mke2fs-JL"
19787 msgstr ""
19788
19789 # type: verbatim
19790 #: ../fish/guestfish-actions.pod:2430
19791 #, no-wrap
19792 msgid ""
19793 " mke2fs-JL fstype blocksize device label\n"
19794 "\n"
19795 msgstr ""
19796
19797 # type: textblock
19798 #: ../fish/guestfish-actions.pod:2435
19799 msgid "See also L</mke2journal-L>."
19800 msgstr ""
19801
19802 # type: =head2
19803 #: ../fish/guestfish-actions.pod:2437
19804 msgid "mke2fs-JU"
19805 msgstr ""
19806
19807 # type: verbatim
19808 #: ../fish/guestfish-actions.pod:2439
19809 #, no-wrap
19810 msgid ""
19811 " mke2fs-JU fstype blocksize device uuid\n"
19812 "\n"
19813 msgstr ""
19814
19815 # type: textblock
19816 #: ../fish/guestfish-actions.pod:2444
19817 msgid "See also L</mke2journal-U>."
19818 msgstr ""
19819
19820 # type: =head2
19821 #: ../fish/guestfish-actions.pod:2446
19822 msgid "mke2journal"
19823 msgstr ""
19824
19825 # type: verbatim
19826 #: ../fish/guestfish-actions.pod:2448
19827 #, no-wrap
19828 msgid ""
19829 " mke2journal blocksize device\n"
19830 "\n"
19831 msgstr ""
19832
19833 # type: =head2
19834 #: ../fish/guestfish-actions.pod:2455
19835 msgid "mke2journal-L"
19836 msgstr ""
19837
19838 # type: verbatim
19839 #: ../fish/guestfish-actions.pod:2457
19840 #, no-wrap
19841 msgid ""
19842 " mke2journal-L blocksize label device\n"
19843 "\n"
19844 msgstr ""
19845
19846 # type: =head2
19847 #: ../fish/guestfish-actions.pod:2461
19848 msgid "mke2journal-U"
19849 msgstr ""
19850
19851 # type: verbatim
19852 #: ../fish/guestfish-actions.pod:2463
19853 #, no-wrap
19854 msgid ""
19855 " mke2journal-U blocksize uuid device\n"
19856 "\n"
19857 msgstr ""
19858
19859 # type: =head2
19860 #: ../fish/guestfish-actions.pod:2467
19861 msgid "mkfifo"
19862 msgstr ""
19863
19864 # type: verbatim
19865 #: ../fish/guestfish-actions.pod:2469
19866 #, no-wrap
19867 msgid ""
19868 " mkfifo mode path\n"
19869 "\n"
19870 msgstr ""
19871
19872 # type: textblock
19873 #: ../fish/guestfish-actions.pod:2471
19874 msgid ""
19875 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
19876 "is just a convenient wrapper around L</mknod>."
19877 msgstr ""
19878
19879 # type: =head2
19880 #: ../fish/guestfish-actions.pod:2477
19881 msgid "mkfs"
19882 msgstr ""
19883
19884 # type: verbatim
19885 #: ../fish/guestfish-actions.pod:2479
19886 #, no-wrap
19887 msgid ""
19888 " mkfs fstype device\n"
19889 "\n"
19890 msgstr ""
19891
19892 # type: =head2
19893 #: ../fish/guestfish-actions.pod:2485
19894 msgid "mkfs-b"
19895 msgstr ""
19896
19897 # type: verbatim
19898 #: ../fish/guestfish-actions.pod:2487
19899 #, no-wrap
19900 msgid ""
19901 " mkfs-b fstype blocksize device\n"
19902 "\n"
19903 msgstr ""
19904
19905 # type: textblock
19906 #: ../fish/guestfish-actions.pod:2489
19907 msgid ""
19908 "This call is similar to L</mkfs>, but it allows you to control the block "
19909 "size of the resulting filesystem.  Supported block sizes depend on the "
19910 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
19911 msgstr ""
19912
19913 # type: =head2
19914 #: ../fish/guestfish-actions.pod:2497
19915 msgid "mkmountpoint"
19916 msgstr ""
19917
19918 # type: verbatim
19919 #: ../fish/guestfish-actions.pod:2499
19920 #, no-wrap
19921 msgid ""
19922 " mkmountpoint exemptpath\n"
19923 "\n"
19924 msgstr ""
19925
19926 # type: textblock
19927 #: ../fish/guestfish-actions.pod:2501
19928 msgid ""
19929 "L</mkmountpoint> and L</rmmountpoint> are specialized calls that can be used "
19930 "to create extra mountpoints before mounting the first filesystem."
19931 msgstr ""
19932
19933 # type: =head2
19934 #: ../fish/guestfish-actions.pod:2525
19935 msgid "mknod"
19936 msgstr ""
19937
19938 # type: verbatim
19939 #: ../fish/guestfish-actions.pod:2527
19940 #, no-wrap
19941 msgid ""
19942 " mknod mode devmajor devminor path\n"
19943 "\n"
19944 msgstr ""
19945
19946 # type: textblock
19947 #: ../fish/guestfish-actions.pod:2537
19948 msgid ""
19949 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
19950 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
19951 "regular file).  These constants are available in the standard Linux header "
19952 "files, or you can use L</mknod-b>, L</mknod-c> or L</mkfifo> which are "
19953 "wrappers around this command which bitwise OR in the appropriate constant "
19954 "for you."
19955 msgstr ""
19956
19957 # type: =head2
19958 #: ../fish/guestfish-actions.pod:2547
19959 msgid "mknod-b"
19960 msgstr ""
19961
19962 # type: verbatim
19963 #: ../fish/guestfish-actions.pod:2549
19964 #, no-wrap
19965 msgid ""
19966 " mknod-b mode devmajor devminor path\n"
19967 "\n"
19968 msgstr ""
19969
19970 # type: textblock
19971 #: ../fish/guestfish-actions.pod:2551
19972 msgid ""
19973 "This call creates a block device node called C<path> with mode C<mode> and "
19974 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19975 "wrapper around L</mknod>."
19976 msgstr ""
19977
19978 # type: =head2
19979 #: ../fish/guestfish-actions.pod:2557
19980 msgid "mknod-c"
19981 msgstr ""
19982
19983 # type: verbatim
19984 #: ../fish/guestfish-actions.pod:2559
19985 #, no-wrap
19986 msgid ""
19987 " mknod-c mode devmajor devminor path\n"
19988 "\n"
19989 msgstr ""
19990
19991 # type: textblock
19992 #: ../fish/guestfish-actions.pod:2561
19993 msgid ""
19994 "This call creates a char device node called C<path> with mode C<mode> and "
19995 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19996 "wrapper around L</mknod>."
19997 msgstr ""
19998
19999 # type: =head2
20000 #: ../fish/guestfish-actions.pod:2567
20001 msgid "mkswap"
20002 msgstr ""
20003
20004 # type: verbatim
20005 #: ../fish/guestfish-actions.pod:2569
20006 #, no-wrap
20007 msgid ""
20008 " mkswap device\n"
20009 "\n"
20010 msgstr ""
20011
20012 # type: =head2
20013 #: ../fish/guestfish-actions.pod:2573
20014 msgid "mkswap-L"
20015 msgstr ""
20016
20017 # type: verbatim
20018 #: ../fish/guestfish-actions.pod:2575
20019 #, no-wrap
20020 msgid ""
20021 " mkswap-L label device\n"
20022 "\n"
20023 msgstr ""
20024
20025 # type: =head2
20026 #: ../fish/guestfish-actions.pod:2583
20027 msgid "mkswap-U"
20028 msgstr ""
20029
20030 # type: verbatim
20031 #: ../fish/guestfish-actions.pod:2585
20032 #, no-wrap
20033 msgid ""
20034 " mkswap-U uuid device\n"
20035 "\n"
20036 msgstr ""
20037
20038 # type: =head2
20039 #: ../fish/guestfish-actions.pod:2589
20040 msgid "mkswap-file"
20041 msgstr ""
20042
20043 # type: verbatim
20044 #: ../fish/guestfish-actions.pod:2591
20045 #, no-wrap
20046 msgid ""
20047 " mkswap-file path\n"
20048 "\n"
20049 msgstr ""
20050
20051 # type: textblock
20052 #: ../fish/guestfish-actions.pod:2595
20053 msgid ""
20054 "This command just writes a swap file signature to an existing file.  To "
20055 "create the file itself, use something like L</fallocate>."
20056 msgstr ""
20057
20058 # type: =head2
20059 #: ../fish/guestfish-actions.pod:2598
20060 msgid "modprobe"
20061 msgstr ""
20062
20063 # type: verbatim
20064 #: ../fish/guestfish-actions.pod:2600
20065 #, no-wrap
20066 msgid ""
20067 " modprobe modulename\n"
20068 "\n"
20069 msgstr ""
20070
20071 # type: =head2
20072 #: ../fish/guestfish-actions.pod:2607
20073 msgid "mount"
20074 msgstr ""
20075
20076 # type: verbatim
20077 #: ../fish/guestfish-actions.pod:2609
20078 #, no-wrap
20079 msgid ""
20080 " mount device mountpoint\n"
20081 "\n"
20082 msgstr ""
20083
20084 # type: textblock
20085 #: ../fish/guestfish-actions.pod:2625
20086 msgid ""
20087 "B<Important note:> When you use this call, the filesystem options C<sync> "
20088 "and C<noatime> are set implicitly.  This was originally done because we "
20089 "thought it would improve reliability, but it turns out that I<-o sync> has a "
20090 "very large negative performance impact and negligible effect on "
20091 "reliability.  Therefore we recommend that you avoid using L</mount> in any "
20092 "code that needs performance, and instead use L</mount-options> (use an empty "
20093 "string for the first parameter if you don't want any options)."
20094 msgstr ""
20095
20096 # type: =head2
20097 #: ../fish/guestfish-actions.pod:2635
20098 msgid "mount-loop"
20099 msgstr ""
20100
20101 # type: verbatim
20102 #: ../fish/guestfish-actions.pod:2637
20103 #, no-wrap
20104 msgid ""
20105 " mount-loop file mountpoint\n"
20106 "\n"
20107 msgstr ""
20108
20109 # type: =head2
20110 #: ../fish/guestfish-actions.pod:2643
20111 msgid "mount-options"
20112 msgstr ""
20113
20114 # type: verbatim
20115 #: ../fish/guestfish-actions.pod:2645
20116 #, no-wrap
20117 msgid ""
20118 " mount-options options device mountpoint\n"
20119 "\n"
20120 msgstr ""
20121
20122 # type: textblock
20123 #: ../fish/guestfish-actions.pod:2647
20124 msgid ""
20125 "This is the same as the L</mount> command, but it allows you to set the "
20126 "mount options as for the L<mount(8)> I<-o> flag."
20127 msgstr ""
20128
20129 # type: =head2
20130 #: ../fish/guestfish-actions.pod:2655
20131 msgid "mount-ro"
20132 msgstr ""
20133
20134 # type: verbatim
20135 #: ../fish/guestfish-actions.pod:2657
20136 #, no-wrap
20137 msgid ""
20138 " mount-ro device mountpoint\n"
20139 "\n"
20140 msgstr ""
20141
20142 # type: textblock
20143 #: ../fish/guestfish-actions.pod:2659
20144 msgid ""
20145 "This is the same as the L</mount> command, but it mounts the filesystem with "
20146 "the read-only (I<-o ro>) flag."
20147 msgstr ""
20148
20149 # type: =head2
20150 #: ../fish/guestfish-actions.pod:2662
20151 msgid "mount-vfs"
20152 msgstr ""
20153
20154 # type: verbatim
20155 #: ../fish/guestfish-actions.pod:2664
20156 #, no-wrap
20157 msgid ""
20158 " mount-vfs options vfstype device mountpoint\n"
20159 "\n"
20160 msgstr ""
20161
20162 # type: textblock
20163 #: ../fish/guestfish-actions.pod:2666
20164 msgid ""
20165 "This is the same as the L</mount> command, but it allows you to set both the "
20166 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
20167 msgstr ""
20168
20169 # type: =head2
20170 #: ../fish/guestfish-actions.pod:2670
20171 msgid "mountpoints"
20172 msgstr ""
20173
20174 # type: verbatim
20175 #: ../fish/guestfish-actions.pod:2672
20176 #, no-wrap
20177 msgid ""
20178 " mountpoints\n"
20179 "\n"
20180 msgstr ""
20181
20182 # type: textblock
20183 #: ../fish/guestfish-actions.pod:2674
20184 msgid ""
20185 "This call is similar to L</mounts>.  That call returns a list of devices.  "
20186 "This one returns a hash table (map) of device name to directory where the "
20187 "device is mounted."
20188 msgstr ""
20189
20190 # type: =head2
20191 #: ../fish/guestfish-actions.pod:2678
20192 msgid "mounts"
20193 msgstr ""
20194
20195 # type: verbatim
20196 #: ../fish/guestfish-actions.pod:2680
20197 #, no-wrap
20198 msgid ""
20199 " mounts\n"
20200 "\n"
20201 msgstr ""
20202
20203 # type: textblock
20204 #: ../fish/guestfish-actions.pod:2687
20205 msgid "See also: L</mountpoints>"
20206 msgstr ""
20207
20208 # type: =head2
20209 #: ../fish/guestfish-actions.pod:2689
20210 msgid "mv"
20211 msgstr ""
20212
20213 # type: verbatim
20214 #: ../fish/guestfish-actions.pod:2691
20215 #, no-wrap
20216 msgid ""
20217 " mv src dest\n"
20218 "\n"
20219 msgstr ""
20220
20221 # type: =head2
20222 #: ../fish/guestfish-actions.pod:2696
20223 msgid "ntfs-3g-probe"
20224 msgstr ""
20225
20226 # type: verbatim
20227 #: ../fish/guestfish-actions.pod:2698
20228 #, no-wrap
20229 msgid ""
20230 " ntfs-3g-probe true|false device\n"
20231 "\n"
20232 msgstr ""
20233
20234 # type: =head2
20235 #: ../fish/guestfish-actions.pod:2712
20236 msgid "ntfsresize"
20237 msgstr ""
20238
20239 # type: verbatim
20240 #: ../fish/guestfish-actions.pod:2714
20241 #, no-wrap
20242 msgid ""
20243 " ntfsresize device\n"
20244 "\n"
20245 msgstr ""
20246
20247 # type: =head2
20248 #: ../fish/guestfish-actions.pod:2720
20249 msgid "ntfsresize-size"
20250 msgstr ""
20251
20252 # type: verbatim
20253 #: ../fish/guestfish-actions.pod:2722
20254 #, no-wrap
20255 msgid ""
20256 " ntfsresize-size device size\n"
20257 "\n"
20258 msgstr ""
20259
20260 # type: textblock
20261 #: ../fish/guestfish-actions.pod:2724
20262 msgid ""
20263 "This command is the same as L</ntfsresize> except that it allows you to "
20264 "specify the new size (in bytes) explicitly."
20265 msgstr ""
20266
20267 # type: =head2
20268 #: ../fish/guestfish-actions.pod:2727
20269 msgid "part-add"
20270 msgstr ""
20271
20272 # type: verbatim
20273 #: ../fish/guestfish-actions.pod:2729
20274 #, no-wrap
20275 msgid ""
20276 " part-add device prlogex startsect endsect\n"
20277 "\n"
20278 msgstr ""
20279
20280 # type: textblock
20281 #: ../fish/guestfish-actions.pod:2731
20282 msgid ""
20283 "This command adds a partition to C<device>.  If there is no partition table "
20284 "on the device, call L</part-init> first."
20285 msgstr ""
20286
20287 # type: textblock
20288 #: ../fish/guestfish-actions.pod:2743
20289 msgid ""
20290 "Creating a partition which covers the whole disk is not so easy.  Use L</"
20291 "part-disk> to do that."
20292 msgstr ""
20293
20294 # type: =head2
20295 #: ../fish/guestfish-actions.pod:2746
20296 msgid "part-del"
20297 msgstr ""
20298
20299 # type: verbatim
20300 #: ../fish/guestfish-actions.pod:2748
20301 #, no-wrap
20302 msgid ""
20303 " part-del device partnum\n"
20304 "\n"
20305 msgstr ""
20306
20307 # type: =head2
20308 #: ../fish/guestfish-actions.pod:2756
20309 msgid "part-disk"
20310 msgstr ""
20311
20312 # type: verbatim
20313 #: ../fish/guestfish-actions.pod:2758
20314 #, no-wrap
20315 msgid ""
20316 " part-disk device parttype\n"
20317 "\n"
20318 msgstr ""
20319
20320 # type: textblock
20321 #: ../fish/guestfish-actions.pod:2760
20322 msgid ""
20323 "This command is simply a combination of L</part-init> followed by L</part-"
20324 "add> to create a single primary partition covering the whole disk."
20325 msgstr ""
20326
20327 # type: textblock
20328 #: ../fish/guestfish-actions.pod:2764
20329 msgid ""
20330 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
20331 "possible values are described in L</part-init>."
20332 msgstr ""
20333
20334 # type: =head2
20335 #: ../fish/guestfish-actions.pod:2770
20336 msgid "part-get-bootable"
20337 msgstr ""
20338
20339 # type: verbatim
20340 #: ../fish/guestfish-actions.pod:2772
20341 #, no-wrap
20342 msgid ""
20343 " part-get-bootable device partnum\n"
20344 "\n"
20345 msgstr ""
20346
20347 # type: textblock
20348 #: ../fish/guestfish-actions.pod:2777
20349 msgid "See also L</part-set-bootable>."
20350 msgstr ""
20351
20352 # type: =head2
20353 #: ../fish/guestfish-actions.pod:2779
20354 msgid "part-get-mbr-id"
20355 msgstr ""
20356
20357 # type: verbatim
20358 #: ../fish/guestfish-actions.pod:2781
20359 #, no-wrap
20360 msgid ""
20361 " part-get-mbr-id device partnum\n"
20362 "\n"
20363 msgstr ""
20364
20365 # type: textblock
20366 #: ../fish/guestfish-actions.pod:2786 ../fish/guestfish-actions.pod:2924
20367 msgid ""
20368 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
20369 "undefined results for other partition table types (see L</part-get-"
20370 "parttype>)."
20371 msgstr ""
20372
20373 # type: =head2
20374 #: ../fish/guestfish-actions.pod:2790
20375 msgid "part-get-parttype"
20376 msgstr ""
20377
20378 # type: verbatim
20379 #: ../fish/guestfish-actions.pod:2792
20380 #, no-wrap
20381 msgid ""
20382 " part-get-parttype device\n"
20383 "\n"
20384 msgstr ""
20385
20386 # type: textblock
20387 #: ../fish/guestfish-actions.pod:2797
20388 msgid ""
20389 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
20390 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
20391 "possible, although unusual.  See L</part-init> for a full list."
20392 msgstr ""
20393
20394 # type: =head2
20395 #: ../fish/guestfish-actions.pod:2802
20396 msgid "part-init"
20397 msgstr ""
20398
20399 # type: verbatim
20400 #: ../fish/guestfish-actions.pod:2804
20401 #, no-wrap
20402 msgid ""
20403 " part-init device parttype\n"
20404 "\n"
20405 msgstr ""
20406
20407 # type: textblock
20408 #: ../fish/guestfish-actions.pod:2810
20409 msgid ""
20410 "Initially there are no partitions.  Following this, you should call L</part-"
20411 "add> for each partition required."
20412 msgstr ""
20413
20414 # type: =head2
20415 #: ../fish/guestfish-actions.pod:2873
20416 msgid "part-list"
20417 msgstr ""
20418
20419 # type: verbatim
20420 #: ../fish/guestfish-actions.pod:2875
20421 #, no-wrap
20422 msgid ""
20423 " part-list device\n"
20424 "\n"
20425 msgstr ""
20426
20427 # type: textblock
20428 #: ../fish/guestfish-actions.pod:2890
20429 msgid ""
20430 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
20431 "the device's sector size, see L</blockdev-getss>."
20432 msgstr ""
20433
20434 # type: =head2
20435 #: ../fish/guestfish-actions.pod:2903
20436 msgid "part-set-bootable"
20437 msgstr ""
20438
20439 # type: verbatim
20440 #: ../fish/guestfish-actions.pod:2905
20441 #, no-wrap
20442 msgid ""
20443 " part-set-bootable device partnum true|false\n"
20444 "\n"
20445 msgstr ""
20446
20447 # type: =head2
20448 #: ../fish/guestfish-actions.pod:2914
20449 msgid "part-set-mbr-id"
20450 msgstr ""
20451
20452 # type: verbatim
20453 #: ../fish/guestfish-actions.pod:2916
20454 #, no-wrap
20455 msgid ""
20456 " part-set-mbr-id device partnum idbyte\n"
20457 "\n"
20458 msgstr ""
20459
20460 # type: =head2
20461 #: ../fish/guestfish-actions.pod:2928
20462 msgid "part-set-name"
20463 msgstr ""
20464
20465 # type: verbatim
20466 #: ../fish/guestfish-actions.pod:2930
20467 #, no-wrap
20468 msgid ""
20469 " part-set-name device partnum name\n"
20470 "\n"
20471 msgstr ""
20472
20473 # type: =head2
20474 #: ../fish/guestfish-actions.pod:2938
20475 msgid "part-to-dev"
20476 msgstr ""
20477
20478 # type: verbatim
20479 #: ../fish/guestfish-actions.pod:2940
20480 #, no-wrap
20481 msgid ""
20482 " part-to-dev partition\n"
20483 "\n"
20484 msgstr ""
20485
20486 # type: textblock
20487 #: ../fish/guestfish-actions.pod:2946
20488 msgid ""
20489 "The named partition must exist, for example as a string returned from L</"
20490 "list-partitions>."
20491 msgstr ""
20492
20493 # type: =head2
20494 #: ../fish/guestfish-actions.pod:2949
20495 msgid "ping-daemon"
20496 msgstr ""
20497
20498 # type: verbatim
20499 #: ../fish/guestfish-actions.pod:2951
20500 #, no-wrap
20501 msgid ""
20502 " ping-daemon\n"
20503 "\n"
20504 msgstr ""
20505
20506 # type: =head2
20507 #: ../fish/guestfish-actions.pod:2958
20508 msgid "pread"
20509 msgstr ""
20510
20511 # type: verbatim
20512 #: ../fish/guestfish-actions.pod:2960
20513 #, no-wrap
20514 msgid ""
20515 " pread path count offset\n"
20516 "\n"
20517 msgstr ""
20518
20519 # type: textblock
20520 #: ../fish/guestfish-actions.pod:2968
20521 msgid "See also L</pwrite>, L</pread-device>."
20522 msgstr ""
20523
20524 # type: =head2
20525 #: ../fish/guestfish-actions.pod:2973
20526 msgid "pread-device"
20527 msgstr ""
20528
20529 # type: verbatim
20530 #: ../fish/guestfish-actions.pod:2975
20531 #, no-wrap
20532 msgid ""
20533 " pread-device device count offset\n"
20534 "\n"
20535 msgstr ""
20536
20537 # type: textblock
20538 #: ../fish/guestfish-actions.pod:2983
20539 msgid "See also L</pread>."
20540 msgstr ""
20541
20542 # type: =head2
20543 #: ../fish/guestfish-actions.pod:2988
20544 msgid "pvcreate"
20545 msgstr ""
20546
20547 # type: verbatim
20548 #: ../fish/guestfish-actions.pod:2990
20549 #, no-wrap
20550 msgid ""
20551 " pvcreate device\n"
20552 "\n"
20553 msgstr ""
20554
20555 # type: =head2
20556 #: ../fish/guestfish-actions.pod:2996
20557 msgid "pvremove"
20558 msgstr ""
20559
20560 # type: verbatim
20561 #: ../fish/guestfish-actions.pod:2998
20562 #, no-wrap
20563 msgid ""
20564 " pvremove device\n"
20565 "\n"
20566 msgstr ""
20567
20568 # type: =head2
20569 #: ../fish/guestfish-actions.pod:3007
20570 msgid "pvresize"
20571 msgstr ""
20572
20573 # type: verbatim
20574 #: ../fish/guestfish-actions.pod:3009
20575 #, no-wrap
20576 msgid ""
20577 " pvresize device\n"
20578 "\n"
20579 msgstr ""
20580
20581 # type: =head2
20582 #: ../fish/guestfish-actions.pod:3014
20583 msgid "pvresize-size"
20584 msgstr ""
20585
20586 # type: verbatim
20587 #: ../fish/guestfish-actions.pod:3016
20588 #, no-wrap
20589 msgid ""
20590 " pvresize-size device size\n"
20591 "\n"
20592 msgstr ""
20593
20594 # type: textblock
20595 #: ../fish/guestfish-actions.pod:3018
20596 msgid ""
20597 "This command is the same as L</pvresize> except that it allows you to "
20598 "specify the new size (in bytes) explicitly."
20599 msgstr ""
20600
20601 # type: =head2
20602 #: ../fish/guestfish-actions.pod:3021
20603 msgid "pvs"
20604 msgstr ""
20605
20606 # type: verbatim
20607 #: ../fish/guestfish-actions.pod:3023
20608 #, no-wrap
20609 msgid ""
20610 " pvs\n"
20611 "\n"
20612 msgstr ""
20613
20614 # type: textblock
20615 #: ../fish/guestfish-actions.pod:3031
20616 msgid "See also L</pvs-full>."
20617 msgstr ""
20618
20619 # type: =head2
20620 #: ../fish/guestfish-actions.pod:3033
20621 msgid "pvs-full"
20622 msgstr ""
20623
20624 # type: verbatim
20625 #: ../fish/guestfish-actions.pod:3035
20626 #, no-wrap
20627 msgid ""
20628 " pvs-full\n"
20629 "\n"
20630 msgstr ""
20631
20632 # type: =head2
20633 #: ../fish/guestfish-actions.pod:3040
20634 msgid "pvuuid"
20635 msgstr ""
20636
20637 # type: verbatim
20638 #: ../fish/guestfish-actions.pod:3042
20639 #, no-wrap
20640 msgid ""
20641 " pvuuid device\n"
20642 "\n"
20643 msgstr ""
20644
20645 # type: =head2
20646 #: ../fish/guestfish-actions.pod:3046
20647 msgid "pwrite"
20648 msgstr ""
20649
20650 # type: verbatim
20651 #: ../fish/guestfish-actions.pod:3048
20652 #, no-wrap
20653 msgid ""
20654 " pwrite path content offset\n"
20655 "\n"
20656 msgstr ""
20657
20658 # type: textblock
20659 #: ../fish/guestfish-actions.pod:3059
20660 msgid "See also L</pread>, L</pwrite-device>."
20661 msgstr ""
20662
20663 # type: =head2
20664 #: ../fish/guestfish-actions.pod:3064
20665 msgid "pwrite-device"
20666 msgstr ""
20667
20668 # type: verbatim
20669 #: ../fish/guestfish-actions.pod:3066
20670 #, no-wrap
20671 msgid ""
20672 " pwrite-device device content offset\n"
20673 "\n"
20674 msgstr ""
20675
20676 # type: textblock
20677 #: ../fish/guestfish-actions.pod:3076
20678 msgid "See also L</pwrite>."
20679 msgstr ""
20680
20681 # type: =head2
20682 #: ../fish/guestfish-actions.pod:3081
20683 msgid "read-file"
20684 msgstr ""
20685
20686 # type: verbatim
20687 #: ../fish/guestfish-actions.pod:3083
20688 #, no-wrap
20689 msgid ""
20690 " read-file path\n"
20691 "\n"
20692 msgstr ""
20693
20694 # type: textblock
20695 #: ../fish/guestfish-actions.pod:3088
20696 msgid ""
20697 "Unlike L</cat>, this function can correctly handle files that contain "
20698 "embedded ASCII NUL characters.  However unlike L</download>, this function "
20699 "is limited in the total size of file that can be handled."
20700 msgstr ""
20701
20702 # type: =head2
20703 #: ../fish/guestfish-actions.pod:3096
20704 msgid "read-lines"
20705 msgstr ""
20706
20707 # type: verbatim
20708 #: ../fish/guestfish-actions.pod:3098
20709 #, no-wrap
20710 msgid ""
20711 " read-lines path\n"
20712 "\n"
20713 msgstr ""
20714
20715 # type: textblock
20716 #: ../fish/guestfish-actions.pod:3105
20717 msgid ""
20718 "Note that this function cannot correctly handle binary files (specifically, "
20719 "files containing C<\\0> character which is treated as end of line).  For "
20720 "those you need to use the L</read-file> function which has a more complex "
20721 "interface."
20722 msgstr ""
20723
20724 # type: =head2
20725 #: ../fish/guestfish-actions.pod:3110
20726 msgid "readdir"
20727 msgstr ""
20728
20729 # type: verbatim
20730 #: ../fish/guestfish-actions.pod:3112
20731 #, no-wrap
20732 msgid ""
20733 " readdir dir\n"
20734 "\n"
20735 msgstr ""
20736
20737 # type: textblock
20738 #: ../fish/guestfish-actions.pod:3164
20739 msgid ""
20740 "This function is primarily intended for use by programs.  To get a simple "
20741 "list of names, use L</ls>.  To get a printable directory for human "
20742 "consumption, use L</ll>."
20743 msgstr ""
20744
20745 # type: =head2
20746 #: ../fish/guestfish-actions.pod:3168
20747 msgid "readlink"
20748 msgstr ""
20749
20750 # type: verbatim
20751 #: ../fish/guestfish-actions.pod:3170
20752 #, no-wrap
20753 msgid ""
20754 " readlink path\n"
20755 "\n"
20756 msgstr ""
20757
20758 # type: =head2
20759 #: ../fish/guestfish-actions.pod:3174
20760 msgid "readlinklist"
20761 msgstr ""
20762
20763 # type: verbatim
20764 #: ../fish/guestfish-actions.pod:3176
20765 #, no-wrap
20766 msgid ""
20767 " readlinklist path 'names ...'\n"
20768 "\n"
20769 msgstr ""
20770
20771 # type: =head2
20772 #: ../fish/guestfish-actions.pod:3200
20773 msgid "realpath"
20774 msgstr ""
20775
20776 # type: verbatim
20777 #: ../fish/guestfish-actions.pod:3202
20778 #, no-wrap
20779 msgid ""
20780 " realpath path\n"
20781 "\n"
20782 msgstr ""
20783
20784 # type: =head2
20785 #: ../fish/guestfish-actions.pod:3207
20786 msgid "removexattr"
20787 msgstr ""
20788
20789 # type: verbatim
20790 #: ../fish/guestfish-actions.pod:3209
20791 #, no-wrap
20792 msgid ""
20793 " removexattr xattr path\n"
20794 "\n"
20795 msgstr ""
20796
20797 # type: textblock
20798 #: ../fish/guestfish-actions.pod:3214
20799 msgid "See also: L</lremovexattr>, L<attr(5)>."
20800 msgstr ""
20801
20802 # type: =head2
20803 #: ../fish/guestfish-actions.pod:3216
20804 msgid "resize2fs"
20805 msgstr ""
20806
20807 # type: verbatim
20808 #: ../fish/guestfish-actions.pod:3218
20809 #, no-wrap
20810 msgid ""
20811 " resize2fs device\n"
20812 "\n"
20813 msgstr ""
20814
20815 # type: textblock
20816 #: ../fish/guestfish-actions.pod:3223
20817 msgid ""
20818 "I<Note:> It is sometimes required that you run L</e2fsck-f> on the C<device> "
20819 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
20820 "gives an error about this and sometimes not.  In any case, it is always safe "
20821 "to call L</e2fsck-f> before calling this function."
20822 msgstr ""
20823
20824 # type: =head2
20825 #: ../fish/guestfish-actions.pod:3229
20826 msgid "resize2fs-size"
20827 msgstr ""
20828
20829 # type: verbatim
20830 #: ../fish/guestfish-actions.pod:3231
20831 #, no-wrap
20832 msgid ""
20833 " resize2fs-size device size\n"
20834 "\n"
20835 msgstr ""
20836
20837 # type: textblock
20838 #: ../fish/guestfish-actions.pod:3233
20839 msgid ""
20840 "This command is the same as L</resize2fs> except that it allows you to "
20841 "specify the new size (in bytes) explicitly."
20842 msgstr ""
20843
20844 # type: =head2
20845 #: ../fish/guestfish-actions.pod:3236
20846 msgid "rm"
20847 msgstr ""
20848
20849 # type: verbatim
20850 #: ../fish/guestfish-actions.pod:3238
20851 #, no-wrap
20852 msgid ""
20853 " rm path\n"
20854 "\n"
20855 msgstr ""
20856
20857 # type: =head2
20858 #: ../fish/guestfish-actions.pod:3242
20859 msgid "rm-rf"
20860 msgstr ""
20861
20862 # type: verbatim
20863 #: ../fish/guestfish-actions.pod:3244
20864 #, no-wrap
20865 msgid ""
20866 " rm-rf path\n"
20867 "\n"
20868 msgstr ""
20869
20870 # type: =head2
20871 #: ../fish/guestfish-actions.pod:3250
20872 msgid "rmdir"
20873 msgstr ""
20874
20875 # type: verbatim
20876 #: ../fish/guestfish-actions.pod:3252
20877 #, no-wrap
20878 msgid ""
20879 " rmdir path\n"
20880 "\n"
20881 msgstr ""
20882
20883 # type: =head2
20884 #: ../fish/guestfish-actions.pod:3256
20885 msgid "rmmountpoint"
20886 msgstr ""
20887
20888 # type: verbatim
20889 #: ../fish/guestfish-actions.pod:3258
20890 #, no-wrap
20891 msgid ""
20892 " rmmountpoint exemptpath\n"
20893 "\n"
20894 msgstr ""
20895
20896 # type: textblock
20897 #: ../fish/guestfish-actions.pod:3260
20898 msgid ""
20899 "This calls removes a mountpoint that was previously created with L</"
20900 "mkmountpoint>.  See L</mkmountpoint> for full details."
20901 msgstr ""
20902
20903 # type: =head2
20904 #: ../fish/guestfish-actions.pod:3264
20905 msgid "scrub-device"
20906 msgstr ""
20907
20908 # type: verbatim
20909 #: ../fish/guestfish-actions.pod:3266
20910 #, no-wrap
20911 msgid ""
20912 " scrub-device device\n"
20913 "\n"
20914 msgstr ""
20915
20916 # type: =head2
20917 #: ../fish/guestfish-actions.pod:3277
20918 msgid "scrub-file"
20919 msgstr ""
20920
20921 # type: verbatim
20922 #: ../fish/guestfish-actions.pod:3279
20923 #, no-wrap
20924 msgid ""
20925 " scrub-file file\n"
20926 "\n"
20927 msgstr ""
20928
20929 # type: =head2
20930 #: ../fish/guestfish-actions.pod:3289
20931 msgid "scrub-freespace"
20932 msgstr ""
20933
20934 # type: verbatim
20935 #: ../fish/guestfish-actions.pod:3291
20936 #, no-wrap
20937 msgid ""
20938 " scrub-freespace dir\n"
20939 "\n"
20940 msgstr ""
20941
20942 # type: textblock
20943 #: ../fish/guestfish-actions.pod:3293
20944 msgid ""
20945 "This command creates the directory C<dir> and then fills it with files until "
20946 "the filesystem is full, and scrubs the files as for L</scrub-file>, and "
20947 "deletes them.  The intention is to scrub any free space on the partition "
20948 "containing C<dir>."
20949 msgstr ""
20950
20951 # type: =head2
20952 #: ../fish/guestfish-actions.pod:3302
20953 msgid "set-append"
20954 msgstr ""
20955
20956 # type: =head2
20957 #: ../fish/guestfish-actions.pod:3304
20958 msgid "append"
20959 msgstr ""
20960
20961 # type: verbatim
20962 #: ../fish/guestfish-actions.pod:3306
20963 #, no-wrap
20964 msgid ""
20965 " set-append append\n"
20966 "\n"
20967 msgstr ""
20968
20969 # type: =head2
20970 #: ../fish/guestfish-actions.pod:3317
20971 msgid "set-autosync"
20972 msgstr ""
20973
20974 # type: =head2
20975 #: ../fish/guestfish-actions.pod:3319
20976 msgid "autosync"
20977 msgstr ""
20978
20979 # type: verbatim
20980 #: ../fish/guestfish-actions.pod:3321
20981 #, no-wrap
20982 msgid ""
20983 " set-autosync true|false\n"
20984 "\n"
20985 msgstr ""
20986
20987 # type: textblock
20988 #: ../fish/guestfish-actions.pod:3323
20989 msgid ""
20990 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
20991 "effort attempt to run L</umount-all> followed by L</sync> when the handle is "
20992 "closed (also if the program exits without closing handles)."
20993 msgstr ""
20994
20995 # type: =head2
20996 #: ../fish/guestfish-actions.pod:3331
20997 msgid "set-direct"
20998 msgstr ""
20999
21000 # type: =head2
21001 #: ../fish/guestfish-actions.pod:3333
21002 msgid "direct"
21003 msgstr ""
21004
21005 # type: verbatim
21006 #: ../fish/guestfish-actions.pod:3335
21007 #, no-wrap
21008 msgid ""
21009 " set-direct true|false\n"
21010 "\n"
21011 msgstr ""
21012
21013 # type: textblock
21014 #: ../fish/guestfish-actions.pod:3341
21015 msgid ""
21016 "One consequence of this is that log messages aren't caught by the library "
21017 "and handled by L</set-log-message-callback>, but go straight to stdout."
21018 msgstr ""
21019
21020 # type: =head2
21021 #: ../fish/guestfish-actions.pod:3350
21022 msgid "set-e2label"
21023 msgstr ""
21024
21025 # type: verbatim
21026 #: ../fish/guestfish-actions.pod:3352
21027 #, no-wrap
21028 msgid ""
21029 " set-e2label device label\n"
21030 "\n"
21031 msgstr ""
21032
21033 # type: textblock
21034 #: ../fish/guestfish-actions.pod:3358
21035 msgid ""
21036 "You can use either L</tune2fs-l> or L</get-e2label> to return the existing "
21037 "label on a filesystem."
21038 msgstr ""
21039
21040 # type: =head2
21041 #: ../fish/guestfish-actions.pod:3361
21042 msgid "set-e2uuid"
21043 msgstr ""
21044
21045 # type: verbatim
21046 #: ../fish/guestfish-actions.pod:3363
21047 #, no-wrap
21048 msgid ""
21049 " set-e2uuid device uuid\n"
21050 "\n"
21051 msgstr ""
21052
21053 # type: textblock
21054 #: ../fish/guestfish-actions.pod:3370
21055 msgid ""
21056 "You can use either L</tune2fs-l> or L</get-e2uuid> to return the existing "
21057 "UUID of a filesystem."
21058 msgstr ""
21059
21060 # type: =head2
21061 #: ../fish/guestfish-actions.pod:3373
21062 msgid "set-memsize"
21063 msgstr ""
21064
21065 # type: =head2
21066 #: ../fish/guestfish-actions.pod:3375
21067 msgid "memsize"
21068 msgstr ""
21069
21070 # type: verbatim
21071 #: ../fish/guestfish-actions.pod:3377
21072 #, no-wrap
21073 msgid ""
21074 " set-memsize memsize\n"
21075 "\n"
21076 msgstr ""
21077
21078 # type: textblock
21079 #: ../fish/guestfish-actions.pod:3379
21080 msgid ""
21081 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
21082 "This only has any effect if called before L</launch>."
21083 msgstr ""
21084
21085 # type: =head2
21086 #: ../fish/guestfish-actions.pod:3390
21087 msgid "set-network"
21088 msgstr ""
21089
21090 # type: =head2
21091 #: ../fish/guestfish-actions.pod:3392
21092 msgid "network"
21093 msgstr ""
21094
21095 # type: verbatim
21096 #: ../fish/guestfish-actions.pod:3394
21097 #, no-wrap
21098 msgid ""
21099 " set-network true|false\n"
21100 "\n"
21101 msgstr ""
21102
21103 # type: textblock
21104 #: ../fish/guestfish-actions.pod:3402
21105 msgid ""
21106 "You must call this before calling L</launch>, otherwise it has no effect."
21107 msgstr ""
21108
21109 # type: =head2
21110 #: ../fish/guestfish-actions.pod:3405
21111 msgid "set-path"
21112 msgstr ""
21113
21114 # type: =head2
21115 #: ../fish/guestfish-actions.pod:3407
21116 msgid "path"
21117 msgstr ""
21118
21119 # type: verbatim
21120 #: ../fish/guestfish-actions.pod:3409
21121 #, no-wrap
21122 msgid ""
21123 " set-path searchpath\n"
21124 "\n"
21125 msgstr ""
21126
21127 # type: =head2
21128 #: ../fish/guestfish-actions.pod:3418
21129 msgid "set-qemu"
21130 msgstr ""
21131
21132 # type: =head2
21133 #: ../fish/guestfish-actions.pod:3420
21134 msgid "qemu"
21135 msgstr ""
21136
21137 # type: verbatim
21138 #: ../fish/guestfish-actions.pod:3422
21139 #, no-wrap
21140 msgid ""
21141 " set-qemu qemu\n"
21142 "\n"
21143 msgstr ""
21144
21145 # type: =head2
21146 #: ../fish/guestfish-actions.pod:3442
21147 msgid "set-recovery-proc"
21148 msgstr ""
21149
21150 # type: =head2
21151 #: ../fish/guestfish-actions.pod:3444
21152 msgid "recovery-proc"
21153 msgstr ""
21154
21155 # type: verbatim
21156 #: ../fish/guestfish-actions.pod:3446
21157 #, no-wrap
21158 msgid ""
21159 " set-recovery-proc true|false\n"
21160 "\n"
21161 msgstr ""
21162
21163 # type: textblock
21164 #: ../fish/guestfish-actions.pod:3448
21165 msgid ""
21166 "If this is called with the parameter C<false> then L</launch> does not "
21167 "create a recovery process.  The purpose of the recovery process is to stop "
21168 "runaway qemu processes in the case where the main program aborts abruptly."
21169 msgstr ""
21170
21171 # type: textblock
21172 #: ../fish/guestfish-actions.pod:3453
21173 msgid ""
21174 "This only has any effect if called before L</launch>, and the default is "
21175 "true."
21176 msgstr ""
21177
21178 # type: =head2
21179 #: ../fish/guestfish-actions.pod:3462
21180 msgid "set-selinux"
21181 msgstr ""
21182
21183 # type: =head2
21184 #: ../fish/guestfish-actions.pod:3464
21185 msgid "selinux"
21186 msgstr ""
21187
21188 # type: verbatim
21189 #: ../fish/guestfish-actions.pod:3466
21190 #, no-wrap
21191 msgid ""
21192 " set-selinux true|false\n"
21193 "\n"
21194 msgstr ""
21195
21196 # type: =head2
21197 #: ../fish/guestfish-actions.pod:3477
21198 msgid "set-trace"
21199 msgstr ""
21200
21201 # type: =head2
21202 #: ../fish/guestfish-actions.pod:3479
21203 msgid "trace"
21204 msgstr ""
21205
21206 # type: verbatim
21207 #: ../fish/guestfish-actions.pod:3481
21208 #, no-wrap
21209 msgid ""
21210 " set-trace true|false\n"
21211 "\n"
21212 msgstr ""
21213
21214 # type: =head2
21215 #: ../fish/guestfish-actions.pod:3497
21216 msgid "set-verbose"
21217 msgstr ""
21218
21219 # type: =head2
21220 #: ../fish/guestfish-actions.pod:3499
21221 msgid "verbose"
21222 msgstr ""
21223
21224 # type: verbatim
21225 #: ../fish/guestfish-actions.pod:3501
21226 #, no-wrap
21227 msgid ""
21228 " set-verbose true|false\n"
21229 "\n"
21230 msgstr ""
21231
21232 # type: =head2
21233 #: ../fish/guestfish-actions.pod:3508
21234 msgid "setcon"
21235 msgstr ""
21236
21237 # type: verbatim
21238 #: ../fish/guestfish-actions.pod:3510
21239 #, no-wrap
21240 msgid ""
21241 " setcon context\n"
21242 "\n"
21243 msgstr ""
21244
21245 # type: =head2
21246 #: ../fish/guestfish-actions.pod:3517
21247 msgid "setxattr"
21248 msgstr ""
21249
21250 # type: verbatim
21251 #: ../fish/guestfish-actions.pod:3519
21252 #, no-wrap
21253 msgid ""
21254 " setxattr xattr val vallen path\n"
21255 "\n"
21256 msgstr ""
21257
21258 # type: textblock
21259 #: ../fish/guestfish-actions.pod:3525
21260 msgid "See also: L</lsetxattr>, L<attr(5)>."
21261 msgstr ""
21262
21263 # type: =head2
21264 #: ../fish/guestfish-actions.pod:3527
21265 msgid "sfdisk"
21266 msgstr ""
21267
21268 # type: verbatim
21269 #: ../fish/guestfish-actions.pod:3529
21270 #, no-wrap
21271 msgid ""
21272 " sfdisk device cyls heads sectors 'lines ...'\n"
21273 "\n"
21274 msgstr ""
21275
21276 # type: textblock
21277 #: ../fish/guestfish-actions.pod:3551
21278 msgid "See also: L</sfdisk-l>, L</sfdisk-N>, L</part-init>"
21279 msgstr ""
21280
21281 # type: =head2
21282 #: ../fish/guestfish-actions.pod:3557
21283 msgid "sfdiskM"
21284 msgstr ""
21285
21286 # type: verbatim
21287 #: ../fish/guestfish-actions.pod:3559
21288 #, no-wrap
21289 msgid ""
21290 " sfdiskM device 'lines ...'\n"
21291 "\n"
21292 msgstr ""
21293
21294 # type: textblock
21295 #: ../fish/guestfish-actions.pod:3561
21296 msgid ""
21297 "This is a simplified interface to the L</sfdisk> command, where partition "
21298 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
21299 "you don't need to specify the cyls, heads and sectors parameters which were "
21300 "rarely if ever used anyway."
21301 msgstr ""
21302
21303 # type: textblock
21304 #: ../fish/guestfish-actions.pod:3567
21305 msgid "See also: L</sfdisk>, the L<sfdisk(8)> manpage and L</part-disk>"
21306 msgstr ""
21307
21308 # type: =head2
21309 #: ../fish/guestfish-actions.pod:3573
21310 msgid "sfdisk-N"
21311 msgstr ""
21312
21313 # type: verbatim
21314 #: ../fish/guestfish-actions.pod:3575
21315 #, no-wrap
21316 msgid ""
21317 " sfdisk-N device partnum cyls heads sectors line\n"
21318 "\n"
21319 msgstr ""
21320
21321 # type: textblock
21322 #: ../fish/guestfish-actions.pod:3580
21323 msgid ""
21324 "For other parameters, see L</sfdisk>.  You should usually pass C<0> for the "
21325 "cyls/heads/sectors parameters."
21326 msgstr ""
21327
21328 # type: textblock
21329 #: ../fish/guestfish-actions.pod:3583
21330 msgid "See also: L</part-add>"
21331 msgstr ""
21332
21333 # type: =head2
21334 #: ../fish/guestfish-actions.pod:3588
21335 msgid "sfdisk-disk-geometry"
21336 msgstr ""
21337
21338 # type: verbatim
21339 #: ../fish/guestfish-actions.pod:3590
21340 #, no-wrap
21341 msgid ""
21342 " sfdisk-disk-geometry device\n"
21343 "\n"
21344 msgstr ""
21345
21346 # type: textblock
21347 #: ../fish/guestfish-actions.pod:3592
21348 msgid ""
21349 "This displays the disk geometry of C<device> read from the partition table.  "
21350 "Especially in the case where the underlying block device has been resized, "
21351 "this can be different from the kernel's idea of the geometry (see L</sfdisk-"
21352 "kernel-geometry>)."
21353 msgstr ""
21354
21355 # type: =head2
21356 #: ../fish/guestfish-actions.pod:3600
21357 msgid "sfdisk-kernel-geometry"
21358 msgstr ""
21359
21360 # type: verbatim
21361 #: ../fish/guestfish-actions.pod:3602
21362 #, no-wrap
21363 msgid ""
21364 " sfdisk-kernel-geometry device\n"
21365 "\n"
21366 msgstr ""
21367
21368 # type: =head2
21369 #: ../fish/guestfish-actions.pod:3609
21370 msgid "sfdisk-l"
21371 msgstr ""
21372
21373 # type: verbatim
21374 #: ../fish/guestfish-actions.pod:3611
21375 #, no-wrap
21376 msgid ""
21377 " sfdisk-l device\n"
21378 "\n"
21379 msgstr ""
21380
21381 # type: textblock
21382 #: ../fish/guestfish-actions.pod:3617
21383 msgid "See also: L</part-list>"
21384 msgstr ""
21385
21386 # type: =head2
21387 #: ../fish/guestfish-actions.pod:3619
21388 msgid "sh"
21389 msgstr ""
21390
21391 # type: verbatim
21392 #: ../fish/guestfish-actions.pod:3621
21393 #, no-wrap
21394 msgid ""
21395 " sh command\n"
21396 "\n"
21397 msgstr ""
21398
21399 # type: textblock
21400 #: ../fish/guestfish-actions.pod:3626
21401 msgid "This is like L</command>, but passes the command to:"
21402 msgstr ""
21403
21404 # type: textblock
21405 #: ../fish/guestfish-actions.pod:3634
21406 msgid "All the provisos about L</command> apply to this call."
21407 msgstr ""
21408
21409 # type: =head2
21410 #: ../fish/guestfish-actions.pod:3636
21411 msgid "sh-lines"
21412 msgstr ""
21413
21414 # type: verbatim
21415 #: ../fish/guestfish-actions.pod:3638
21416 #, no-wrap
21417 msgid ""
21418 " sh-lines command\n"
21419 "\n"
21420 msgstr ""
21421
21422 # type: textblock
21423 #: ../fish/guestfish-actions.pod:3640
21424 msgid "This is the same as L</sh>, but splits the result into a list of lines."
21425 msgstr ""
21426
21427 # type: textblock
21428 #: ../fish/guestfish-actions.pod:3643
21429 msgid "See also: L</command-lines>"
21430 msgstr ""
21431
21432 # type: =head2
21433 #: ../fish/guestfish-actions.pod:3645
21434 msgid "sleep"
21435 msgstr ""
21436
21437 # type: verbatim
21438 #: ../fish/guestfish-actions.pod:3647
21439 #, no-wrap
21440 msgid ""
21441 " sleep secs\n"
21442 "\n"
21443 msgstr ""
21444
21445 # type: =head2
21446 #: ../fish/guestfish-actions.pod:3651
21447 msgid "stat"
21448 msgstr ""
21449
21450 # type: verbatim
21451 #: ../fish/guestfish-actions.pod:3653
21452 #, no-wrap
21453 msgid ""
21454 " stat path\n"
21455 "\n"
21456 msgstr ""
21457
21458 # type: =head2
21459 #: ../fish/guestfish-actions.pod:3659
21460 msgid "statvfs"
21461 msgstr ""
21462
21463 # type: verbatim
21464 #: ../fish/guestfish-actions.pod:3661
21465 #, no-wrap
21466 msgid ""
21467 " statvfs path\n"
21468 "\n"
21469 msgstr ""
21470
21471 # type: =head2
21472 #: ../fish/guestfish-actions.pod:3669
21473 msgid "strings"
21474 msgstr ""
21475
21476 # type: verbatim
21477 #: ../fish/guestfish-actions.pod:3671
21478 #, no-wrap
21479 msgid ""
21480 " strings path\n"
21481 "\n"
21482 msgstr ""
21483
21484 # type: =head2
21485 #: ../fish/guestfish-actions.pod:3679
21486 msgid "strings-e"
21487 msgstr ""
21488
21489 # type: verbatim
21490 #: ../fish/guestfish-actions.pod:3681
21491 #, no-wrap
21492 msgid ""
21493 " strings-e encoding path\n"
21494 "\n"
21495 msgstr ""
21496
21497 # type: textblock
21498 #: ../fish/guestfish-actions.pod:3683
21499 msgid ""
21500 "This is like the L</strings> command, but allows you to specify the encoding "
21501 "of strings that are looked for in the source file C<path>."
21502 msgstr ""
21503
21504 # type: textblock
21505 #: ../fish/guestfish-actions.pod:3693
21506 msgid ""
21507 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
21508 "ISO-8859-X (this is what L</strings> uses)."
21509 msgstr ""
21510
21511 # type: =head2
21512 #: ../fish/guestfish-actions.pod:3725
21513 msgid "swapoff-device"
21514 msgstr ""
21515
21516 # type: verbatim
21517 #: ../fish/guestfish-actions.pod:3727
21518 #, no-wrap
21519 msgid ""
21520 " swapoff-device device\n"
21521 "\n"
21522 msgstr ""
21523
21524 # type: textblock
21525 #: ../fish/guestfish-actions.pod:3729
21526 msgid ""
21527 "This command disables the libguestfs appliance swap device or partition "
21528 "named C<device>.  See L</swapon-device>."
21529 msgstr ""
21530
21531 # type: =head2
21532 #: ../fish/guestfish-actions.pod:3733
21533 msgid "swapoff-file"
21534 msgstr ""
21535
21536 # type: verbatim
21537 #: ../fish/guestfish-actions.pod:3735
21538 #, no-wrap
21539 msgid ""
21540 " swapoff-file file\n"
21541 "\n"
21542 msgstr ""
21543
21544 # type: =head2
21545 #: ../fish/guestfish-actions.pod:3739
21546 msgid "swapoff-label"
21547 msgstr ""
21548
21549 # type: verbatim
21550 #: ../fish/guestfish-actions.pod:3741
21551 #, no-wrap
21552 msgid ""
21553 " swapoff-label label\n"
21554 "\n"
21555 msgstr ""
21556
21557 # type: =head2
21558 #: ../fish/guestfish-actions.pod:3746
21559 msgid "swapoff-uuid"
21560 msgstr ""
21561
21562 # type: verbatim
21563 #: ../fish/guestfish-actions.pod:3748
21564 #, no-wrap
21565 msgid ""
21566 " swapoff-uuid uuid\n"
21567 "\n"
21568 msgstr ""
21569
21570 # type: =head2
21571 #: ../fish/guestfish-actions.pod:3753
21572 msgid "swapon-device"
21573 msgstr ""
21574
21575 # type: verbatim
21576 #: ../fish/guestfish-actions.pod:3755
21577 #, no-wrap
21578 msgid ""
21579 " swapon-device device\n"
21580 "\n"
21581 msgstr ""
21582
21583 # type: textblock
21584 #: ../fish/guestfish-actions.pod:3757
21585 msgid ""
21586 "This command enables the libguestfs appliance to use the swap device or "
21587 "partition named C<device>.  The increased memory is made available for all "
21588 "commands, for example those run using L</command> or L</sh>."
21589 msgstr ""
21590
21591 # type: =head2
21592 #: ../fish/guestfish-actions.pod:3769
21593 msgid "swapon-file"
21594 msgstr ""
21595
21596 # type: verbatim
21597 #: ../fish/guestfish-actions.pod:3771
21598 #, no-wrap
21599 msgid ""
21600 " swapon-file file\n"
21601 "\n"
21602 msgstr ""
21603
21604 # type: textblock
21605 #: ../fish/guestfish-actions.pod:3773
21606 msgid ""
21607 "This command enables swap to a file.  See L</swapon-device> for other notes."
21608 msgstr ""
21609
21610 # type: =head2
21611 #: ../fish/guestfish-actions.pod:3776
21612 msgid "swapon-label"
21613 msgstr ""
21614
21615 # type: verbatim
21616 #: ../fish/guestfish-actions.pod:3778
21617 #, no-wrap
21618 msgid ""
21619 " swapon-label label\n"
21620 "\n"
21621 msgstr ""
21622
21623 # type: textblock
21624 #: ../fish/guestfish-actions.pod:3780
21625 msgid ""
21626 "This command enables swap to a labeled swap partition.  See L</swapon-"
21627 "device> for other notes."
21628 msgstr ""
21629
21630 # type: =head2
21631 #: ../fish/guestfish-actions.pod:3783
21632 msgid "swapon-uuid"
21633 msgstr ""
21634
21635 # type: verbatim
21636 #: ../fish/guestfish-actions.pod:3785
21637 #, no-wrap
21638 msgid ""
21639 " swapon-uuid uuid\n"
21640 "\n"
21641 msgstr ""
21642
21643 # type: textblock
21644 #: ../fish/guestfish-actions.pod:3787
21645 msgid ""
21646 "This command enables swap to a swap partition with the given UUID.  See L</"
21647 "swapon-device> for other notes."
21648 msgstr ""
21649
21650 # type: =head2
21651 #: ../fish/guestfish-actions.pod:3790
21652 msgid "sync"
21653 msgstr ""
21654
21655 # type: verbatim
21656 #: ../fish/guestfish-actions.pod:3792
21657 #, no-wrap
21658 msgid ""
21659 " sync\n"
21660 "\n"
21661 msgstr ""
21662
21663 # type: =head2
21664 #: ../fish/guestfish-actions.pod:3800
21665 msgid "tail"
21666 msgstr ""
21667
21668 # type: verbatim
21669 #: ../fish/guestfish-actions.pod:3802
21670 #, no-wrap
21671 msgid ""
21672 " tail path\n"
21673 "\n"
21674 msgstr ""
21675
21676 # type: =head2
21677 #: ../fish/guestfish-actions.pod:3810
21678 msgid "tail-n"
21679 msgstr ""
21680
21681 # type: verbatim
21682 #: ../fish/guestfish-actions.pod:3812
21683 #, no-wrap
21684 msgid ""
21685 " tail-n nrlines path\n"
21686 "\n"
21687 msgstr ""
21688
21689 # type: =head2
21690 #: ../fish/guestfish-actions.pod:3825
21691 msgid "tar-in"
21692 msgstr ""
21693
21694 # type: verbatim
21695 #: ../fish/guestfish-actions.pod:3827
21696 #, no-wrap
21697 msgid ""
21698 " tar-in (tarfile|-) directory\n"
21699 "\n"
21700 msgstr ""
21701
21702 # type: textblock
21703 #: ../fish/guestfish-actions.pod:3832
21704 msgid "To upload a compressed tarball, use L</tgz-in> or L</txz-in>."
21705 msgstr ""
21706
21707 # type: =head2
21708 #: ../fish/guestfish-actions.pod:3837
21709 msgid "tar-out"
21710 msgstr ""
21711
21712 # type: verbatim
21713 #: ../fish/guestfish-actions.pod:3839
21714 #, no-wrap
21715 msgid ""
21716 " tar-out directory (tarfile|-)\n"
21717 "\n"
21718 msgstr ""
21719
21720 # type: textblock
21721 #: ../fish/guestfish-actions.pod:3844
21722 msgid "To download a compressed tarball, use L</tgz-out> or L</txz-out>."
21723 msgstr ""
21724
21725 # type: =head2
21726 #: ../fish/guestfish-actions.pod:3849
21727 msgid "tgz-in"
21728 msgstr ""
21729
21730 # type: verbatim
21731 #: ../fish/guestfish-actions.pod:3851
21732 #, no-wrap
21733 msgid ""
21734 " tgz-in (tarball|-) directory\n"
21735 "\n"
21736 msgstr ""
21737
21738 # type: textblock
21739 #: ../fish/guestfish-actions.pod:3856
21740 msgid "To upload an uncompressed tarball, use L</tar-in>."
21741 msgstr ""
21742
21743 # type: =head2
21744 #: ../fish/guestfish-actions.pod:3860
21745 msgid "tgz-out"
21746 msgstr ""
21747
21748 # type: verbatim
21749 #: ../fish/guestfish-actions.pod:3862
21750 #, no-wrap
21751 msgid ""
21752 " tgz-out directory (tarball|-)\n"
21753 "\n"
21754 msgstr ""
21755
21756 # type: textblock
21757 #: ../fish/guestfish-actions.pod:3867
21758 msgid "To download an uncompressed tarball, use L</tar-out>."
21759 msgstr ""
21760
21761 # type: =head2
21762 #: ../fish/guestfish-actions.pod:3871
21763 msgid "touch"
21764 msgstr ""
21765
21766 # type: verbatim
21767 #: ../fish/guestfish-actions.pod:3873
21768 #, no-wrap
21769 msgid ""
21770 " touch path\n"
21771 "\n"
21772 msgstr ""
21773
21774 # type: =head2
21775 #: ../fish/guestfish-actions.pod:3882
21776 msgid "truncate"
21777 msgstr ""
21778
21779 # type: verbatim
21780 #: ../fish/guestfish-actions.pod:3884
21781 #, no-wrap
21782 msgid ""
21783 " truncate path\n"
21784 "\n"
21785 msgstr ""
21786
21787 # type: =head2
21788 #: ../fish/guestfish-actions.pod:3889
21789 msgid "truncate-size"
21790 msgstr ""
21791
21792 # type: verbatim
21793 #: ../fish/guestfish-actions.pod:3891
21794 #, no-wrap
21795 msgid ""
21796 " truncate-size path size\n"
21797 "\n"
21798 msgstr ""
21799
21800 # type: textblock
21801 #: ../fish/guestfish-actions.pod:3896
21802 msgid ""
21803 "If the current file size is less than C<size> then the file is extended to "
21804 "the required size with zero bytes.  This creates a sparse file (ie. disk "
21805 "blocks are not allocated for the file until you write to it).  To create a "
21806 "non-sparse file of zeroes, use L</fallocate64> instead."
21807 msgstr ""
21808
21809 # type: =head2
21810 #: ../fish/guestfish-actions.pod:3902
21811 msgid "tune2fs-l"
21812 msgstr ""
21813
21814 # type: verbatim
21815 #: ../fish/guestfish-actions.pod:3904
21816 #, no-wrap
21817 msgid ""
21818 " tune2fs-l device\n"
21819 "\n"
21820 msgstr ""
21821
21822 # type: =head2
21823 #: ../fish/guestfish-actions.pod:3914
21824 msgid "txz-in"
21825 msgstr ""
21826
21827 # type: verbatim
21828 #: ../fish/guestfish-actions.pod:3916
21829 #, no-wrap
21830 msgid ""
21831 " txz-in (tarball|-) directory\n"
21832 "\n"
21833 msgstr ""
21834
21835 # type: =head2
21836 #: ../fish/guestfish-actions.pod:3923
21837 msgid "txz-out"
21838 msgstr ""
21839
21840 # type: verbatim
21841 #: ../fish/guestfish-actions.pod:3925
21842 #, no-wrap
21843 msgid ""
21844 " txz-out directory (tarball|-)\n"
21845 "\n"
21846 msgstr ""
21847
21848 # type: =head2
21849 #: ../fish/guestfish-actions.pod:3932
21850 msgid "umask"
21851 msgstr ""
21852
21853 # type: verbatim
21854 #: ../fish/guestfish-actions.pod:3934
21855 #, no-wrap
21856 msgid ""
21857 " umask mask\n"
21858 "\n"
21859 msgstr ""
21860
21861 # type: textblock
21862 #: ../fish/guestfish-actions.pod:3948
21863 msgid "See also L</get-umask>, L<umask(2)>, L</mknod>, L</mkdir>."
21864 msgstr ""
21865
21866 # type: =head2
21867 #: ../fish/guestfish-actions.pod:3953
21868 msgid "umount"
21869 msgstr ""
21870
21871 # type: =head2
21872 #: ../fish/guestfish-actions.pod:3955
21873 msgid "unmount"
21874 msgstr ""
21875
21876 # type: verbatim
21877 #: ../fish/guestfish-actions.pod:3957
21878 #, no-wrap
21879 msgid ""
21880 " umount pathordevice\n"
21881 "\n"
21882 msgstr ""
21883
21884 # type: =head2
21885 #: ../fish/guestfish-actions.pod:3963
21886 msgid "umount-all"
21887 msgstr ""
21888
21889 # type: =head2
21890 #: ../fish/guestfish-actions.pod:3965
21891 msgid "unmount-all"
21892 msgstr ""
21893
21894 # type: verbatim
21895 #: ../fish/guestfish-actions.pod:3967
21896 #, no-wrap
21897 msgid ""
21898 " umount-all\n"
21899 "\n"
21900 msgstr ""
21901
21902 # type: =head2
21903 #: ../fish/guestfish-actions.pod:3973
21904 msgid "upload"
21905 msgstr ""
21906
21907 # type: verbatim
21908 #: ../fish/guestfish-actions.pod:3975
21909 #, no-wrap
21910 msgid ""
21911 " upload (filename|-) remotefilename\n"
21912 "\n"
21913 msgstr ""
21914
21915 # type: textblock
21916 #: ../fish/guestfish-actions.pod:3982
21917 msgid "See also L</download>."
21918 msgstr ""
21919
21920 # type: =head2
21921 #: ../fish/guestfish-actions.pod:3986
21922 msgid "upload-offset"
21923 msgstr ""
21924
21925 # type: verbatim
21926 #: ../fish/guestfish-actions.pod:3988
21927 #, no-wrap
21928 msgid ""
21929 " upload-offset (filename|-) remotefilename offset\n"
21930 "\n"
21931 msgstr ""
21932
21933 # type: textblock
21934 #: ../fish/guestfish-actions.pod:4000
21935 msgid ""
21936 "Note that there is no limit on the amount of data that can be uploaded with "
21937 "this call, unlike with L</pwrite>, and this call always writes the full "
21938 "amount unless an error occurs."
21939 msgstr ""
21940
21941 # type: textblock
21942 #: ../fish/guestfish-actions.pod:4005
21943 msgid "See also L</upload>, L</pwrite>."
21944 msgstr ""
21945
21946 # type: =head2
21947 #: ../fish/guestfish-actions.pod:4009
21948 msgid "utimens"
21949 msgstr ""
21950
21951 # type: verbatim
21952 #: ../fish/guestfish-actions.pod:4011
21953 #, no-wrap
21954 msgid ""
21955 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
21956 "\n"
21957 msgstr ""
21958
21959 # type: =head2
21960 #: ../fish/guestfish-actions.pod:4030
21961 msgid "version"
21962 msgstr ""
21963
21964 # type: verbatim
21965 #: ../fish/guestfish-actions.pod:4032
21966 #, no-wrap
21967 msgid ""
21968 " version\n"
21969 "\n"
21970 msgstr ""
21971
21972 # type: textblock
21973 #: ../fish/guestfish-actions.pod:4059
21974 msgid ""
21975 "I<Note:> Don't use this call to test for availability of features.  In "
21976 "enterprise distributions we backport features from later versions into "
21977 "earlier versions, making this an unreliable way to test for features.  Use "
21978 "L</available> instead."
21979 msgstr ""
21980
21981 # type: =head2
21982 #: ../fish/guestfish-actions.pod:4065
21983 msgid "vfs-label"
21984 msgstr ""
21985
21986 # type: verbatim
21987 #: ../fish/guestfish-actions.pod:4067
21988 #, no-wrap
21989 msgid ""
21990 " vfs-label device\n"
21991 "\n"
21992 msgstr ""
21993
21994 # type: textblock
21995 #: ../fish/guestfish-actions.pod:4074
21996 msgid "To find a filesystem from the label, use L</findfs-label>."
21997 msgstr ""
21998
21999 # type: =head2
22000 #: ../fish/guestfish-actions.pod:4076
22001 msgid "vfs-type"
22002 msgstr ""
22003
22004 # type: verbatim
22005 #: ../fish/guestfish-actions.pod:4078
22006 #, no-wrap
22007 msgid ""
22008 " vfs-type device\n"
22009 "\n"
22010 msgstr ""
22011
22012 # type: =head2
22013 #: ../fish/guestfish-actions.pod:4088
22014 msgid "vfs-uuid"
22015 msgstr ""
22016
22017 # type: verbatim
22018 #: ../fish/guestfish-actions.pod:4090
22019 #, no-wrap
22020 msgid ""
22021 " vfs-uuid device\n"
22022 "\n"
22023 msgstr ""
22024
22025 # type: textblock
22026 #: ../fish/guestfish-actions.pod:4097
22027 msgid "To find a filesystem from the UUID, use L</findfs-uuid>."
22028 msgstr ""
22029
22030 # type: =head2
22031 #: ../fish/guestfish-actions.pod:4099
22032 msgid "vg-activate"
22033 msgstr ""
22034
22035 # type: verbatim
22036 #: ../fish/guestfish-actions.pod:4101
22037 #, no-wrap
22038 msgid ""
22039 " vg-activate true|false 'volgroups ...'\n"
22040 "\n"
22041 msgstr ""
22042
22043 # type: =head2
22044 #: ../fish/guestfish-actions.pod:4114
22045 msgid "vg-activate-all"
22046 msgstr ""
22047
22048 # type: verbatim
22049 #: ../fish/guestfish-actions.pod:4116
22050 #, no-wrap
22051 msgid ""
22052 " vg-activate-all true|false\n"
22053 "\n"
22054 msgstr ""
22055
22056 # type: =head2
22057 #: ../fish/guestfish-actions.pod:4126
22058 msgid "vgcreate"
22059 msgstr ""
22060
22061 # type: verbatim
22062 #: ../fish/guestfish-actions.pod:4128
22063 #, no-wrap
22064 msgid ""
22065 " vgcreate volgroup 'physvols ...'\n"
22066 "\n"
22067 msgstr ""
22068
22069 # type: =head2
22070 #: ../fish/guestfish-actions.pod:4133
22071 msgid "vglvuuids"
22072 msgstr ""
22073
22074 # type: verbatim
22075 #: ../fish/guestfish-actions.pod:4135
22076 #, no-wrap
22077 msgid ""
22078 " vglvuuids vgname\n"
22079 "\n"
22080 msgstr ""
22081
22082 # type: textblock
22083 #: ../fish/guestfish-actions.pod:4140
22084 msgid ""
22085 "You can use this along with L</lvs> and L</lvuuid> calls to associate "
22086 "logical volumes and volume groups."
22087 msgstr ""
22088
22089 # type: textblock
22090 #: ../fish/guestfish-actions.pod:4143
22091 msgid "See also L</vgpvuuids>."
22092 msgstr ""
22093
22094 # type: =head2
22095 #: ../fish/guestfish-actions.pod:4145
22096 msgid "vgpvuuids"
22097 msgstr ""
22098
22099 # type: verbatim
22100 #: ../fish/guestfish-actions.pod:4147
22101 #, no-wrap
22102 msgid ""
22103 " vgpvuuids vgname\n"
22104 "\n"
22105 msgstr ""
22106
22107 # type: textblock
22108 #: ../fish/guestfish-actions.pod:4152
22109 msgid ""
22110 "You can use this along with L</pvs> and L</pvuuid> calls to associate "
22111 "physical volumes and volume groups."
22112 msgstr ""
22113
22114 # type: textblock
22115 #: ../fish/guestfish-actions.pod:4155
22116 msgid "See also L</vglvuuids>."
22117 msgstr ""
22118
22119 # type: =head2
22120 #: ../fish/guestfish-actions.pod:4157
22121 msgid "vgremove"
22122 msgstr ""
22123
22124 # type: verbatim
22125 #: ../fish/guestfish-actions.pod:4159
22126 #, no-wrap
22127 msgid ""
22128 " vgremove vgname\n"
22129 "\n"
22130 msgstr ""
22131
22132 # type: =head2
22133 #: ../fish/guestfish-actions.pod:4166
22134 msgid "vgrename"
22135 msgstr ""
22136
22137 # type: verbatim
22138 #: ../fish/guestfish-actions.pod:4168
22139 #, no-wrap
22140 msgid ""
22141 " vgrename volgroup newvolgroup\n"
22142 "\n"
22143 msgstr ""
22144
22145 # type: =head2
22146 #: ../fish/guestfish-actions.pod:4172
22147 msgid "vgs"
22148 msgstr ""
22149
22150 # type: verbatim
22151 #: ../fish/guestfish-actions.pod:4174
22152 #, no-wrap
22153 msgid ""
22154 " vgs\n"
22155 "\n"
22156 msgstr ""
22157
22158 # type: textblock
22159 #: ../fish/guestfish-actions.pod:4182
22160 msgid "See also L</vgs-full>."
22161 msgstr ""
22162
22163 # type: =head2
22164 #: ../fish/guestfish-actions.pod:4184
22165 msgid "vgs-full"
22166 msgstr ""
22167
22168 # type: verbatim
22169 #: ../fish/guestfish-actions.pod:4186
22170 #, no-wrap
22171 msgid ""
22172 " vgs-full\n"
22173 "\n"
22174 msgstr ""
22175
22176 # type: =head2
22177 #: ../fish/guestfish-actions.pod:4191
22178 msgid "vgscan"
22179 msgstr ""
22180
22181 # type: verbatim
22182 #: ../fish/guestfish-actions.pod:4193
22183 #, no-wrap
22184 msgid ""
22185 " vgscan\n"
22186 "\n"
22187 msgstr ""
22188
22189 # type: =head2
22190 #: ../fish/guestfish-actions.pod:4198
22191 msgid "vguuid"
22192 msgstr ""
22193
22194 # type: verbatim
22195 #: ../fish/guestfish-actions.pod:4200
22196 #, no-wrap
22197 msgid ""
22198 " vguuid vgname\n"
22199 "\n"
22200 msgstr ""
22201
22202 # type: =head2
22203 #: ../fish/guestfish-actions.pod:4204
22204 msgid "wc-c"
22205 msgstr ""
22206
22207 # type: verbatim
22208 #: ../fish/guestfish-actions.pod:4206
22209 #, no-wrap
22210 msgid ""
22211 " wc-c path\n"
22212 "\n"
22213 msgstr ""
22214
22215 # type: =head2
22216 #: ../fish/guestfish-actions.pod:4211
22217 msgid "wc-l"
22218 msgstr ""
22219
22220 # type: verbatim
22221 #: ../fish/guestfish-actions.pod:4213
22222 #, no-wrap
22223 msgid ""
22224 " wc-l path\n"
22225 "\n"
22226 msgstr ""
22227
22228 # type: =head2
22229 #: ../fish/guestfish-actions.pod:4218
22230 msgid "wc-w"
22231 msgstr ""
22232
22233 # type: verbatim
22234 #: ../fish/guestfish-actions.pod:4220
22235 #, no-wrap
22236 msgid ""
22237 " wc-w path\n"
22238 "\n"
22239 msgstr ""
22240
22241 # type: =head2
22242 #: ../fish/guestfish-actions.pod:4225
22243 msgid "write"
22244 msgstr ""
22245
22246 # type: verbatim
22247 #: ../fish/guestfish-actions.pod:4227
22248 #, no-wrap
22249 msgid ""
22250 " write path content\n"
22251 "\n"
22252 msgstr ""
22253
22254 # type: =head2
22255 #: ../fish/guestfish-actions.pod:4235
22256 msgid "write-file"
22257 msgstr ""
22258
22259 # type: verbatim
22260 #: ../fish/guestfish-actions.pod:4237
22261 #, no-wrap
22262 msgid ""
22263 " write-file path content size\n"
22264 "\n"
22265 msgstr ""
22266
22267 # type: =head2
22268 #: ../fish/guestfish-actions.pod:4260
22269 msgid "zegrep"
22270 msgstr ""
22271
22272 # type: verbatim
22273 #: ../fish/guestfish-actions.pod:4262
22274 #, no-wrap
22275 msgid ""
22276 " zegrep regex path\n"
22277 "\n"
22278 msgstr ""
22279
22280 # type: =head2
22281 #: ../fish/guestfish-actions.pod:4270
22282 msgid "zegrepi"
22283 msgstr ""
22284
22285 # type: verbatim
22286 #: ../fish/guestfish-actions.pod:4272
22287 #, no-wrap
22288 msgid ""
22289 " zegrepi regex path\n"
22290 "\n"
22291 msgstr ""
22292
22293 # type: =head2
22294 #: ../fish/guestfish-actions.pod:4280
22295 msgid "zero"
22296 msgstr ""
22297
22298 # type: verbatim
22299 #: ../fish/guestfish-actions.pod:4282
22300 #, no-wrap
22301 msgid ""
22302 " zero device\n"
22303 "\n"
22304 msgstr ""
22305
22306 # type: textblock
22307 #: ../fish/guestfish-actions.pod:4290
22308 msgid "See also: L</zero-device>, L</scrub-device>."
22309 msgstr ""
22310
22311 # type: =head2
22312 #: ../fish/guestfish-actions.pod:4292
22313 msgid "zero-device"
22314 msgstr ""
22315
22316 # type: verbatim
22317 #: ../fish/guestfish-actions.pod:4294
22318 #, no-wrap
22319 msgid ""
22320 " zero-device device\n"
22321 "\n"
22322 msgstr ""
22323
22324 # type: textblock
22325 #: ../fish/guestfish-actions.pod:4296
22326 msgid ""
22327 "This command writes zeroes over the entire C<device>.  Compare with L</zero> "
22328 "which just zeroes the first few blocks of a device."
22329 msgstr ""
22330
22331 # type: =head2
22332 #: ../fish/guestfish-actions.pod:4303
22333 msgid "zerofree"
22334 msgstr ""
22335
22336 # type: verbatim
22337 #: ../fish/guestfish-actions.pod:4305
22338 #, no-wrap
22339 msgid ""
22340 " zerofree device\n"
22341 "\n"
22342 msgstr ""
22343
22344 # type: =head2
22345 #: ../fish/guestfish-actions.pod:4318
22346 msgid "zfgrep"
22347 msgstr ""
22348
22349 # type: verbatim
22350 #: ../fish/guestfish-actions.pod:4320
22351 #, no-wrap
22352 msgid ""
22353 " zfgrep pattern path\n"
22354 "\n"
22355 msgstr ""
22356
22357 # type: =head2
22358 #: ../fish/guestfish-actions.pod:4328
22359 msgid "zfgrepi"
22360 msgstr ""
22361
22362 # type: verbatim
22363 #: ../fish/guestfish-actions.pod:4330
22364 #, no-wrap
22365 msgid ""
22366 " zfgrepi pattern path\n"
22367 "\n"
22368 msgstr ""
22369
22370 # type: =head2
22371 #: ../fish/guestfish-actions.pod:4338
22372 msgid "zfile"
22373 msgstr ""
22374
22375 # type: verbatim
22376 #: ../fish/guestfish-actions.pod:4340
22377 #, no-wrap
22378 msgid ""
22379 " zfile meth path\n"
22380 "\n"
22381 msgstr ""
22382
22383 # type: textblock
22384 #: ../fish/guestfish-actions.pod:4347
22385 msgid ""
22386 "Since 1.0.63, use L</file> instead which can now process compressed files."
22387 msgstr ""
22388
22389 # type: =head2
22390 #: ../fish/guestfish-actions.pod:4357
22391 msgid "zgrep"
22392 msgstr ""
22393
22394 # type: verbatim
22395 #: ../fish/guestfish-actions.pod:4359
22396 #, no-wrap
22397 msgid ""
22398 " zgrep regex path\n"
22399 "\n"
22400 msgstr ""
22401
22402 # type: =head2
22403 #: ../fish/guestfish-actions.pod:4367
22404 msgid "zgrepi"
22405 msgstr ""
22406
22407 # type: verbatim
22408 #: ../fish/guestfish-actions.pod:4369
22409 #, no-wrap
22410 msgid ""
22411 " zgrepi regex path\n"
22412 "\n"
22413 msgstr ""
22414
22415 # type: =head2
22416 #: ../fish/guestfish-commands.pod:1
22417 msgid "alloc"
22418 msgstr ""
22419
22420 # type: =head2
22421 #: ../fish/guestfish-commands.pod:3
22422 msgid "allocate"
22423 msgstr ""
22424
22425 # type: verbatim
22426 #: ../fish/guestfish-commands.pod:5
22427 #, no-wrap
22428 msgid ""
22429 " alloc filename size\n"
22430 "\n"
22431 msgstr ""
22432
22433 # type: textblock
22434 #: ../fish/guestfish-commands.pod:7
22435 msgid ""
22436 "This creates an empty (zeroed) file of the given size, and then adds so it "
22437 "can be further examined."
22438 msgstr ""
22439
22440 # type: textblock
22441 #: ../fish/guestfish-commands.pod:10 ../fish/guestfish-commands.pod:168
22442 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
22443 msgstr ""
22444
22445 # type: textblock
22446 #: ../fish/guestfish-commands.pod:12 ../fish/guestfish-commands.pod:170
22447 msgid "Size can be specified using standard suffixes, eg. C<1M>."
22448 msgstr ""
22449
22450 # type: textblock
22451 #: ../fish/guestfish-commands.pod:14
22452 msgid ""
22453 "To create a sparse file, use L</sparse> instead.  To create a prepared disk "
22454 "image, see L</PREPARED DISK IMAGES>."
22455 msgstr ""
22456
22457 # type: =head2
22458 #: ../fish/guestfish-commands.pod:17
22459 msgid "copy-in"
22460 msgstr ""
22461
22462 # type: verbatim
22463 #: ../fish/guestfish-commands.pod:19
22464 #, no-wrap
22465 msgid ""
22466 " copy-in local [local ...] /remotedir\n"
22467 "\n"
22468 msgstr ""
22469
22470 # type: textblock
22471 #: ../fish/guestfish-commands.pod:21
22472 msgid ""
22473 "C<copy-in> copies local files or directories recursively into the disk "
22474 "image, placing them in the directory called C</remotedir> (which must "
22475 "exist).  This guestfish meta-command turns into a sequence of L</tar-in> and "
22476 "other commands as necessary."
22477 msgstr ""
22478
22479 # type: textblock
22480 #: ../fish/guestfish-commands.pod:26
22481 msgid ""
22482 "Multiple local files and directories can be specified, but the last "
22483 "parameter must always be a remote directory.  Wildcards cannot be used."
22484 msgstr ""
22485
22486 # type: =head2
22487 #: ../fish/guestfish-commands.pod:30
22488 msgid "copy-out"
22489 msgstr ""
22490
22491 # type: verbatim
22492 #: ../fish/guestfish-commands.pod:32
22493 #, no-wrap
22494 msgid ""
22495 " copy-out remote [remote ...] localdir\n"
22496 "\n"
22497 msgstr ""
22498
22499 # type: textblock
22500 #: ../fish/guestfish-commands.pod:34
22501 msgid ""
22502 "C<copy-out> copies remote files or directories recursively out of the disk "
22503 "image, placing them on the host disk in a local directory called C<localdir> "
22504 "(which must exist).  This guestfish meta-command turns into a sequence of L</"
22505 "download>, L</tar-out> and other commands as necessary."
22506 msgstr ""
22507
22508 # type: textblock
22509 #: ../fish/guestfish-commands.pod:40
22510 msgid ""
22511 "Multiple remote files and directories can be specified, but the last "
22512 "parameter must always be a local directory.  To download to the current "
22513 "directory, use C<.> as in:"
22514 msgstr ""
22515
22516 # type: verbatim
22517 #: ../fish/guestfish-commands.pod:44
22518 #, no-wrap
22519 msgid ""
22520 " copy-out /home .\n"
22521 "\n"
22522 msgstr ""
22523
22524 # type: textblock
22525 #: ../fish/guestfish-commands.pod:46
22526 msgid ""
22527 "Wildcards cannot be used in the ordinary command, but you can use them with "
22528 "the help of L</glob> like this:"
22529 msgstr ""
22530
22531 # type: verbatim
22532 #: ../fish/guestfish-commands.pod:49
22533 #, no-wrap
22534 msgid ""
22535 " glob copy-out /home/* .\n"
22536 "\n"
22537 msgstr ""
22538
22539 # type: =head2
22540 #: ../fish/guestfish-commands.pod:51
22541 msgid "echo"
22542 msgstr ""
22543
22544 # type: verbatim
22545 #: ../fish/guestfish-commands.pod:53
22546 #, no-wrap
22547 msgid ""
22548 " echo [params ...]\n"
22549 "\n"
22550 msgstr ""
22551
22552 # type: textblock
22553 #: ../fish/guestfish-commands.pod:55
22554 msgid "This echos the parameters to the terminal."
22555 msgstr ""
22556
22557 # type: =head2
22558 #: ../fish/guestfish-commands.pod:57
22559 msgid "edit"
22560 msgstr ""
22561
22562 # type: =head2
22563 #: ../fish/guestfish-commands.pod:59
22564 msgid "vi"
22565 msgstr ""
22566
22567 # type: =head2
22568 #: ../fish/guestfish-commands.pod:61
22569 msgid "emacs"
22570 msgstr ""
22571
22572 # type: verbatim
22573 #: ../fish/guestfish-commands.pod:63
22574 #, no-wrap
22575 msgid ""
22576 " edit filename\n"
22577 "\n"
22578 msgstr ""
22579
22580 # type: textblock
22581 #: ../fish/guestfish-commands.pod:65
22582 msgid ""
22583 "This is used to edit a file.  It downloads the file, edits it locally using "
22584 "your editor, then uploads the result."
22585 msgstr ""
22586
22587 # type: textblock
22588 #: ../fish/guestfish-commands.pod:68
22589 msgid ""
22590 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
22591 "or C<emacs> you will get those corresponding editors."
22592 msgstr ""
22593
22594 # type: =head2
22595 #: ../fish/guestfish-commands.pod:72
22596 msgid "glob"
22597 msgstr ""
22598
22599 # type: verbatim
22600 #: ../fish/guestfish-commands.pod:74
22601 #, no-wrap
22602 msgid ""
22603 " glob command args...\n"
22604 "\n"
22605 msgstr ""
22606
22607 # type: textblock
22608 #: ../fish/guestfish-commands.pod:76
22609 msgid ""
22610 "Expand wildcards in any paths in the args list, and run C<command> "
22611 "repeatedly on each matching path."
22612 msgstr ""
22613
22614 # type: textblock
22615 #: ../fish/guestfish-commands.pod:79
22616 msgid "See L</WILDCARDS AND GLOBBING>."
22617 msgstr ""
22618
22619 # type: =head2
22620 #: ../fish/guestfish-commands.pod:81
22621 msgid "hexedit"
22622 msgstr ""
22623
22624 # type: verbatim
22625 #: ../fish/guestfish-commands.pod:83
22626 #, no-wrap
22627 msgid ""
22628 " hexedit <filename|device>\n"
22629 " hexedit <filename|device> <max>\n"
22630 " hexedit <filename|device> <start> <max>\n"
22631 "\n"
22632 msgstr ""
22633
22634 # type: textblock
22635 #: ../fish/guestfish-commands.pod:87
22636 msgid ""
22637 "Use hexedit (a hex editor) to edit all or part of a binary file or block "
22638 "device."
22639 msgstr ""
22640
22641 # type: textblock
22642 #: ../fish/guestfish-commands.pod:90
22643 msgid ""
22644 "This command works by downloading potentially the whole file or device, "
22645 "editing it locally, then uploading it.  If the file or device is large, you "
22646 "have to specify which part you wish to edit by using C<max> and/or C<start> "
22647 "C<max> parameters.  C<start> and C<max> are specified in bytes, with the "
22648 "usual modifiers allowed such as C<1M> (1 megabyte)."
22649 msgstr ""
22650
22651 # type: textblock
22652 #: ../fish/guestfish-commands.pod:97
22653 msgid "For example to edit the first few sectors of a disk you might do:"
22654 msgstr ""
22655
22656 # type: verbatim
22657 #: ../fish/guestfish-commands.pod:100
22658 #, no-wrap
22659 msgid ""
22660 " hexedit /dev/sda 1M\n"
22661 "\n"
22662 msgstr ""
22663
22664 # type: textblock
22665 #: ../fish/guestfish-commands.pod:102
22666 msgid ""
22667 "which would allow you to edit anywhere within the first megabyte of the disk."
22668 msgstr ""
22669
22670 # type: textblock
22671 #: ../fish/guestfish-commands.pod:105
22672 msgid "To edit the superblock of an ext2 filesystem on C</dev/sda1>, do:"
22673 msgstr ""
22674
22675 # type: verbatim
22676 #: ../fish/guestfish-commands.pod:107
22677 #, no-wrap
22678 msgid ""
22679 " hexedit /dev/sda1 0x400 0x400\n"
22680 "\n"
22681 msgstr ""
22682
22683 # type: textblock
22684 #: ../fish/guestfish-commands.pod:109
22685 msgid "(assuming the superblock is in the standard location)."
22686 msgstr ""
22687
22688 # type: textblock
22689 #: ../fish/guestfish-commands.pod:111
22690 msgid ""
22691 "This command requires the external L<hexedit(1)> program.  You can specify "
22692 "another program to use by setting the C<HEXEDITOR> environment variable."
22693 msgstr ""
22694
22695 # type: textblock
22696 #: ../fish/guestfish-commands.pod:115
22697 msgid "See also L</hexdump>."
22698 msgstr ""
22699
22700 # type: =head2
22701 #: ../fish/guestfish-commands.pod:117
22702 msgid "lcd"
22703 msgstr ""
22704
22705 # type: verbatim
22706 #: ../fish/guestfish-commands.pod:119
22707 #, no-wrap
22708 msgid ""
22709 " lcd directory\n"
22710 "\n"
22711 msgstr ""
22712
22713 # type: textblock
22714 #: ../fish/guestfish-commands.pod:121
22715 msgid ""
22716 "Change the local directory, ie. the current directory of guestfish itself."
22717 msgstr ""
22718
22719 # type: textblock
22720 #: ../fish/guestfish-commands.pod:124
22721 msgid "Note that C<!cd> won't do what you might expect."
22722 msgstr ""
22723
22724 # type: =head2
22725 #: ../fish/guestfish-commands.pod:126
22726 msgid "man"
22727 msgstr ""
22728
22729 # type: =head2
22730 #: ../fish/guestfish-commands.pod:128
22731 msgid "manual"
22732 msgstr ""
22733
22734 # type: verbatim
22735 #: ../fish/guestfish-commands.pod:130
22736 #, no-wrap
22737 msgid ""
22738 "  man\n"
22739 "\n"
22740 msgstr ""
22741
22742 # type: textblock
22743 #: ../fish/guestfish-commands.pod:132
22744 msgid "Opens the manual page for guestfish."
22745 msgstr ""
22746
22747 # type: =head2
22748 #: ../fish/guestfish-commands.pod:134
22749 msgid "more"
22750 msgstr ""
22751
22752 # type: =head2
22753 #: ../fish/guestfish-commands.pod:136
22754 msgid "less"
22755 msgstr ""
22756
22757 # type: verbatim
22758 #: ../fish/guestfish-commands.pod:138
22759 #, no-wrap
22760 msgid ""
22761 " more filename\n"
22762 "\n"
22763 msgstr ""
22764
22765 # type: verbatim
22766 #: ../fish/guestfish-commands.pod:140
22767 #, no-wrap
22768 msgid ""
22769 " less filename\n"
22770 "\n"
22771 msgstr ""
22772
22773 # type: textblock
22774 #: ../fish/guestfish-commands.pod:142
22775 msgid "This is used to view a file."
22776 msgstr ""
22777
22778 # type: textblock
22779 #: ../fish/guestfish-commands.pod:144
22780 msgid ""
22781 "The default viewer is C<$PAGER>.  However if you use the alternate command "
22782 "C<less> you will get the C<less> command specifically."
22783 msgstr ""
22784
22785 # type: =head2
22786 #: ../fish/guestfish-commands.pod:147
22787 msgid "reopen"
22788 msgstr ""
22789
22790 # type: verbatim
22791 #: ../fish/guestfish-commands.pod:149
22792 #, no-wrap
22793 msgid ""
22794 "  reopen\n"
22795 "\n"
22796 msgstr ""
22797
22798 # type: textblock
22799 #: ../fish/guestfish-commands.pod:151
22800 msgid ""
22801 "Close and reopen the libguestfs handle.  It is not necessary to use this "
22802 "normally, because the handle is closed properly when guestfish exits.  "
22803 "However this is occasionally useful for testing."
22804 msgstr ""
22805
22806 # type: =head2
22807 #: ../fish/guestfish-commands.pod:155
22808 msgid "sparse"
22809 msgstr ""
22810
22811 # type: verbatim
22812 #: ../fish/guestfish-commands.pod:157
22813 #, no-wrap
22814 msgid ""
22815 " sparse filename size\n"
22816 "\n"
22817 msgstr ""
22818
22819 # type: textblock
22820 #: ../fish/guestfish-commands.pod:159
22821 msgid ""
22822 "This creates an empty sparse file of the given size, and then adds so it can "
22823 "be further examined."
22824 msgstr ""
22825
22826 # type: textblock
22827 #: ../fish/guestfish-commands.pod:162
22828 msgid ""
22829 "In all respects it works the same as the L</alloc> command, except that the "
22830 "image file is allocated sparsely, which means that disk blocks are not "
22831 "assigned to the file until they are needed.  Sparse disk files only use "
22832 "space when written to, but they are slower and there is a danger you could "
22833 "run out of real disk space during a write operation."
22834 msgstr ""
22835
22836 # type: =head2
22837 #: ../fish/guestfish-commands.pod:172
22838 msgid "supported"
22839 msgstr ""
22840
22841 # type: verbatim
22842 #: ../fish/guestfish-commands.pod:174
22843 #, no-wrap
22844 msgid ""
22845 " supported\n"
22846 "\n"
22847 msgstr ""
22848
22849 # type: textblock
22850 #: ../fish/guestfish-commands.pod:176
22851 msgid ""
22852 "This command returns a list of the optional groups known to the daemon, and "
22853 "indicates which ones are supported by this build of the libguestfs appliance."
22854 msgstr ""
22855
22856 # type: textblock
22857 #: ../fish/guestfish-commands.pod:180
22858 msgid "See also L<guestfs(3)/AVAILABILITY>."
22859 msgstr ""
22860
22861 # type: =head2
22862 #: ../fish/guestfish-commands.pod:182
22863 msgid "time"
22864 msgstr ""
22865
22866 # type: verbatim
22867 #: ../fish/guestfish-commands.pod:184
22868 #, no-wrap
22869 msgid ""
22870 " time command args...\n"
22871 "\n"
22872 msgstr ""
22873
22874 # type: textblock
22875 #: ../fish/guestfish-commands.pod:186
22876 msgid ""
22877 "Run the command as usual, but print the elapsed time afterwards.  This can "
22878 "be useful for benchmarking operations."
22879 msgstr ""
22880
22881 # type: textblock
22882 #: ../test-tool/libguestfs-test-tool.pod:5
22883 msgid "libguestfs-test-tool - End user tests for libguestfs"
22884 msgstr ""
22885
22886 # type: verbatim
22887 #: ../test-tool/libguestfs-test-tool.pod:9
22888 #, no-wrap
22889 msgid ""
22890 " libguestfs-test-tool [--options]\n"
22891 "\n"
22892 msgstr ""
22893
22894 # type: textblock
22895 #: ../test-tool/libguestfs-test-tool.pod:13
22896 msgid ""
22897 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
22898 "and developers, to allow them to check basic libguestfs functionality is "
22899 "working.  This is needed because libguestfs occasionally breaks for reasons "
22900 "beyond our control: usually because of changes in the underlying qemu or "
22901 "kernel packages, or the host environment."
22902 msgstr ""
22903
22904 # type: textblock
22905 #: ../test-tool/libguestfs-test-tool.pod:20
22906 msgid "If you suspect a problem in libguestfs, then just run:"
22907 msgstr ""
22908
22909 # type: verbatim
22910 #: ../test-tool/libguestfs-test-tool.pod:22
22911 #, no-wrap
22912 msgid ""
22913 " libguestfs-test-tool\n"
22914 "\n"
22915 msgstr ""
22916
22917 # type: textblock
22918 #: ../test-tool/libguestfs-test-tool.pod:24
22919 msgid "It will print lots of diagnostic messages."
22920 msgstr ""
22921
22922 # type: textblock
22923 #: ../test-tool/libguestfs-test-tool.pod:26
22924 msgid "If it runs to completion successfully, you will see this near the end:"
22925 msgstr ""
22926
22927 # type: verbatim
22928 #: ../test-tool/libguestfs-test-tool.pod:28
22929 #, no-wrap
22930 msgid ""
22931 " ===== TEST FINISHED OK =====\n"
22932 "\n"
22933 msgstr ""
22934
22935 # type: textblock
22936 #: ../test-tool/libguestfs-test-tool.pod:30
22937 msgid "and the test tool will exit with code 0."
22938 msgstr ""
22939
22940 # type: textblock
22941 #: ../test-tool/libguestfs-test-tool.pod:32
22942 msgid ""
22943 "If it fails (and/or exits with non-zero error code), please paste the "
22944 "B<complete, unedited> output of the test tool into a bug report.  More "
22945 "information about reporting bugs can be found on the L<http://libguestfs.org/"
22946 "> website."
22947 msgstr ""
22948
22949 # type: =item
22950 #: ../test-tool/libguestfs-test-tool.pod:41
22951 msgid "I<--help>"
22952 msgstr ""
22953
22954 # type: textblock
22955 #: ../test-tool/libguestfs-test-tool.pod:43
22956 msgid "Display short usage information and exit."
22957 msgstr ""
22958
22959 # type: =item
22960 #: ../test-tool/libguestfs-test-tool.pod:45
22961 msgid "I<--helper /path/to/libguestfs-test-tool-helper>"
22962 msgstr ""
22963
22964 # type: textblock
22965 #: ../test-tool/libguestfs-test-tool.pod:47
22966 msgid ""
22967 "Pass an alternate name for the helper program.  libguestfs-test-tool will "
22968 "normally look in the C<$libexec> directory that was configured when the tool "
22969 "was built."
22970 msgstr ""
22971
22972 # type: =item
22973 #: ../test-tool/libguestfs-test-tool.pod:51
22974 msgid "I<--qemu qemu_binary>"
22975 msgstr ""
22976
22977 # type: textblock
22978 #: ../test-tool/libguestfs-test-tool.pod:53
22979 msgid ""
22980 "If you have downloaded another qemu binary, point this option at the full "
22981 "path of the binary to try it."
22982 msgstr ""
22983
22984 # type: =item
22985 #: ../test-tool/libguestfs-test-tool.pod:56
22986 msgid "I<--qemudir qemu_source_dir>"
22987 msgstr ""
22988
22989 # type: textblock
22990 #: ../test-tool/libguestfs-test-tool.pod:58
22991 msgid ""
22992 "If you have compiled qemu from source, point this option at the source "
22993 "directory to try it."
22994 msgstr ""
22995
22996 # type: =item
22997 #: ../test-tool/libguestfs-test-tool.pod:61
22998 msgid "I<--timeout N>"
22999 msgstr ""
23000
23001 # type: textblock
23002 #: ../test-tool/libguestfs-test-tool.pod:63
23003 msgid ""
23004 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
23005 "does not usually need to be adjusted unless your machine is very slow."
23006 msgstr ""
23007
23008 # type: =head1
23009 #: ../test-tool/libguestfs-test-tool.pod:69
23010 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
23011 msgstr ""
23012
23013 # type: textblock
23014 #: ../test-tool/libguestfs-test-tool.pod:71
23015 msgid ""
23016 "If you have compiled another version of qemu from source and would like to "
23017 "try that, then you can use the I<--qemudir> option to point to the qemu "
23018 "source directory."
23019 msgstr ""
23020
23021 # type: textblock
23022 #: ../test-tool/libguestfs-test-tool.pod:75
23023 msgid ""
23024 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
23025 "option to point to the binary."
23026 msgstr ""
23027
23028 # type: textblock
23029 #: ../test-tool/libguestfs-test-tool.pod:78
23030 msgid ""
23031 "When using an alternate qemu with libguestfs, usually you would need to "
23032 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in L<guestfs(3)"
23033 ">).  libguestfs-test-tool writes a temporary qemu wrapper script when you "
23034 "use either of the I<--qemudir> or I<--qemu> options."
23035 msgstr ""
23036
23037 # type: textblock
23038 #: ../test-tool/libguestfs-test-tool.pod:85
23039 msgid ""
23040 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
23041 "I<1> if there was an error."
23042 msgstr ""
23043
23044 # type: =item
23045 #: ../test-tool/libguestfs-test-tool.pod:92
23046 msgid "/usr/libexec/libguestfs-test-tool-helper"
23047 msgstr ""
23048
23049 # type: textblock
23050 #: ../test-tool/libguestfs-test-tool.pod:94
23051 msgid ""
23052 "This helper program is run inside the appliance and provides additional "
23053 "tests."
23054 msgstr ""
23055
23056 # type: =item
23057 #: ../test-tool/libguestfs-test-tool.pod:97
23058 msgid "/usr/bin/mkisofs"
23059 msgstr ""
23060
23061 # type: textblock
23062 #: ../test-tool/libguestfs-test-tool.pod:99
23063 msgid ""
23064 "The C<mkisofs> command is required in order to construct a CD-ROM ISO file "
23065 "which is used as part of the tests."
23066 msgstr ""
23067
23068 # type: textblock
23069 #: ../test-tool/libguestfs-test-tool.pod:106
23070 msgid ""
23071 "For the full list of environment variables which may affect libguestfs, "
23072 "please see the L<guestfs(3)> manual page."
23073 msgstr ""
23074
23075 # type: textblock
23076 #: ../test-tool/libguestfs-test-tool.pod:111
23077 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
23078 msgstr ""
23079
23080 # type: textblock
23081 #: ../test-tool/libguestfs-test-tool.pod:121 ../fuse/guestmount.pod:195
23082 msgid "Copyright (C) 2009 Red Hat Inc.  L<http://libguestfs.org/>"
23083 msgstr ""
23084
23085 # type: textblock
23086 #: ../fuse/guestmount.pod:5
23087 msgid ""
23088 "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
23089 msgstr ""
23090
23091 # type: verbatim
23092 #: ../fuse/guestmount.pod:9
23093 #, no-wrap
23094 msgid ""
23095 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
23096 "\n"
23097 msgstr ""
23098
23099 # type: textblock
23100 #: ../fuse/guestmount.pod:13
23101 msgid ""
23102 "You must I<not> use C<guestmount> in read-write mode on live virtual "
23103 "machines.  If you do this, you risk disk corruption in the VM."
23104 msgstr ""
23105
23106 # type: textblock
23107 #: ../fuse/guestmount.pod:18
23108 msgid ""
23109 "The guestmount program can be used to mount virtual machine filesystems and "
23110 "other disk images on the host.  It uses libguestfs for access to the guest "
23111 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
23112 "a mountable device."
23113 msgstr ""
23114
23115 # type: textblock
23116 #: ../fuse/guestmount.pod:23
23117 msgid ""
23118 "Along with other options, you have to give at least one device (I<-a> "
23119 "option) and at least one mountpoint (I<-m> option).  How this works is "
23120 "better explained in the L<guestfish(1)> manual page, or you can use L<virt-"
23121 "inspector(1)> and/or the wrapper script C<guestmount-wrapper> to help you."
23122 msgstr ""
23123
23124 # type: textblock
23125 #: ../fuse/guestmount.pod:29
23126 msgid ""
23127 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
23128 "by you, and the filesystem will not be visible to any other users unless you "
23129 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
23130 "the filesystem, use the C<fusermount -u> command."
23131 msgstr ""
23132
23133 # type: textblock
23134 #: ../fuse/guestmount.pod:37
23135 msgid ""
23136 "For a typical Windows guest which has its main filesystem on the first "
23137 "partition:"
23138 msgstr ""
23139
23140 # type: verbatim
23141 #: ../fuse/guestmount.pod:40
23142 #, no-wrap
23143 msgid ""
23144 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
23145 "\n"
23146 msgstr ""
23147
23148 # type: textblock
23149 #: ../fuse/guestmount.pod:42
23150 msgid ""
23151 "For a typical Linux guest which has a /boot filesystem on the first "
23152 "partition, and the root filesystem on a logical volume:"
23153 msgstr ""
23154
23155 # type: verbatim
23156 #: ../fuse/guestmount.pod:45
23157 #, no-wrap
23158 msgid ""
23159 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
23160 "\n"
23161 msgstr ""
23162
23163 # type: textblock
23164 #: ../fuse/guestmount.pod:47
23165 msgid ""
23166 "To get L<virt-inspector(1)> to do the hard work of detecting guest "
23167 "mountpoints for you:"
23168 msgstr ""
23169
23170 # type: verbatim
23171 #: ../fuse/guestmount.pod:50
23172 #, no-wrap
23173 msgid ""
23174 " guestmount $(virt-inspector --ro-fish MyGuest) /mnt\n"
23175 "\n"
23176 msgstr ""
23177
23178 # type: textblock
23179 #: ../fuse/guestmount.pod:52
23180 msgid ""
23181 "(or use --fish if you don't want it to be a read only mount).  The option is "
23182 "called I<--ro-fish> or I<--fish> because these parameters are compatible "
23183 "with L<guestfish(1)>."
23184 msgstr ""
23185
23186 # type: textblock
23187 #: ../fuse/guestmount.pod:56
23188 msgid ""
23189 "If you don't know what filesystems are contained in a guest or disk image, "
23190 "use L<virt-list-filesystems(1)> first:"
23191 msgstr ""
23192
23193 # type: verbatim
23194 #: ../fuse/guestmount.pod:59
23195 #, no-wrap
23196 msgid ""
23197 " virt-list-filesystems MyGuest\n"
23198 "\n"
23199 msgstr ""
23200
23201 # type: textblock
23202 #: ../fuse/guestmount.pod:61
23203 msgid ""
23204 "If you want to trace the libguestfs calls but without excessive debugging, "
23205 "we recommend:"
23206 msgstr ""
23207
23208 # type: verbatim
23209 #: ../fuse/guestmount.pod:64
23210 #, no-wrap
23211 msgid ""
23212 " guestmount [-a ... -m ...] --trace /mnt\n"
23213 "\n"
23214 msgstr ""
23215
23216 # type: textblock
23217 #: ../fuse/guestmount.pod:66
23218 msgid "If you want to debug the program, we recommend:"
23219 msgstr ""
23220
23221 # type: verbatim
23222 #: ../fuse/guestmount.pod:68
23223 #, no-wrap
23224 msgid ""
23225 " guestmount [-a ... -m ...] --trace --verbose /mnt\n"
23226 "\n"
23227 msgstr ""
23228
23229 # type: textblock
23230 #: ../fuse/guestmount.pod:76
23231 msgid "Add a block device or virtual machine image."
23232 msgstr ""
23233
23234 # type: =item
23235 #: ../fuse/guestmount.pod:78
23236 msgid "B<--dir-cache-timeout N>"
23237 msgstr ""
23238
23239 # type: textblock
23240 #: ../fuse/guestmount.pod:80
23241 msgid ""
23242 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
23243 "seconds.  The readdir cache [actually, there are several semi-independent "
23244 "caches] is populated after a readdir(2) call with the stat and extended "
23245 "attributes of the files in the directory, in anticipation that they will be "
23246 "requested soon after."
23247 msgstr ""
23248
23249 # type: textblock
23250 #: ../fuse/guestmount.pod:86
23251 msgid ""
23252 "There is also a different attribute cache implemented by FUSE (see the FUSE "
23253 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
23254 "requests, only cache existing ones."
23255 msgstr ""
23256
23257 # type: =item
23258 #: ../fuse/guestmount.pod:90
23259 msgid "B<--fuse-help>"
23260 msgstr ""
23261
23262 # type: textblock
23263 #: ../fuse/guestmount.pod:92
23264 msgid "Display help on special FUSE options (see I<-o> below)."
23265 msgstr ""
23266
23267 # type: textblock
23268 #: ../fuse/guestmount.pod:96
23269 msgid "Display brief help and exit."
23270 msgstr ""
23271
23272 # type: =item
23273 #: ../fuse/guestmount.pod:98
23274 msgid "B<-m dev[:mnt]> | B<--mount dev[:mnt]>"
23275 msgstr ""
23276
23277 # type: textblock
23278 #: ../fuse/guestmount.pod:100
23279 msgid ""
23280 "Mount the named partition or logical volume on the given mountpoint B<in the "
23281 "guest> (this has nothing to do with mountpoints in the host)."
23282 msgstr ""
23283
23284 # type: textblock
23285 #: ../fuse/guestmount.pod:103
23286 msgid ""
23287 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
23288 "something on C</>."
23289 msgstr ""
23290
23291 # type: textblock
23292 #: ../fuse/guestmount.pod:108
23293 msgid ""
23294 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
23295 "unmounted.  If you specify this option, then we don't attempt to sync the "
23296 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
23297 msgstr ""
23298
23299 # type: =item
23300 #: ../fuse/guestmount.pod:113
23301 msgid "B<-o option> | B<--option option>"
23302 msgstr ""
23303
23304 # type: textblock
23305 #: ../fuse/guestmount.pod:115
23306 msgid "Pass extra options to FUSE."
23307 msgstr ""
23308
23309 # type: textblock
23310 #: ../fuse/guestmount.pod:117
23311 msgid ""
23312 "To get a list of all the extra options supported by FUSE, use the command "
23313 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
23314 "of them are a good idea."
23315 msgstr ""
23316
23317 # type: verbatim
23318 #: ../fuse/guestmount.pod:121
23319 #, no-wrap
23320 msgid ""
23321 " guestmount --fuse-help\n"
23322 "\n"
23323 msgstr ""
23324
23325 # type: textblock
23326 #: ../fuse/guestmount.pod:123
23327 msgid "Some potentially useful FUSE options:"
23328 msgstr ""
23329
23330 # type: =item
23331 #: ../fuse/guestmount.pod:127
23332 msgid "B<-o allow_other>"
23333 msgstr ""
23334
23335 # type: textblock
23336 #: ../fuse/guestmount.pod:129
23337 msgid "Allow other users to see the filesystem."
23338 msgstr ""
23339
23340 # type: =item
23341 #: ../fuse/guestmount.pod:131
23342 msgid "B<-o attr_timeout=N>"
23343 msgstr ""
23344
23345 # type: textblock
23346 #: ../fuse/guestmount.pod:133
23347 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
23348 msgstr ""
23349
23350 # type: =item
23351 #: ../fuse/guestmount.pod:135
23352 msgid "B<-o kernel_cache>"
23353 msgstr ""
23354
23355 # type: textblock
23356 #: ../fuse/guestmount.pod:137
23357 msgid ""
23358 "Allow the kernel to cache files (reduces the number of reads that have to go "
23359 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
23360 "afford the extra memory usage."
23361 msgstr ""
23362
23363 # type: =item
23364 #: ../fuse/guestmount.pod:141
23365 msgid "B<-o uid=N> B<-o gid=N>"
23366 msgstr ""
23367
23368 # type: textblock
23369 #: ../fuse/guestmount.pod:143
23370 msgid ""
23371 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
23372 "the chosen values."
23373 msgstr ""
23374
23375 # type: textblock
23376 #: ../fuse/guestmount.pod:150
23377 msgid ""
23378 "Add devices and mount everything read-only.  Also disallow writes and make "
23379 "the disk appear read-only to FUSE."
23380 msgstr ""
23381
23382 # type: textblock
23383 #: ../fuse/guestmount.pod:153
23384 msgid ""
23385 "This is highly recommended if you are not going to edit the guest disk.  If "
23386 "the guest is running and this option is I<not> supplied, then there is a "
23387 "strong risk of disk corruption in the guest.  We try to prevent this from "
23388 "happening, but it is not always possible."
23389 msgstr ""
23390
23391 # type: textblock
23392 #: ../fuse/guestmount.pod:160
23393 msgid "Enable SELinux support for the guest."
23394 msgstr ""
23395
23396 # type: =item
23397 #: ../fuse/guestmount.pod:162
23398 msgid "B<--trace>"
23399 msgstr ""
23400
23401 # type: textblock
23402 #: ../fuse/guestmount.pod:164
23403 msgid "Trace libguestfs calls (to stderr)."
23404 msgstr ""
23405
23406 # type: textblock
23407 #: ../fuse/guestmount.pod:166
23408 msgid "This also stops the daemon from forking into the background."
23409 msgstr ""
23410
23411 # type: textblock
23412 #: ../fuse/guestmount.pod:170
23413 msgid "Enable verbose messages from underlying libguestfs."
23414 msgstr ""
23415
23416 # type: textblock
23417 #: ../fuse/guestmount.pod:174
23418 msgid "Display the program version and exit."
23419 msgstr ""
23420
23421 # type: textblock
23422 #: ../fuse/guestmount.pod:180
23423 msgid ""
23424 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
23425 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, L<http://fuse.sf."
23426 "net/>."
23427 msgstr ""
23428
23429 # type: textblock
23430 #: ../inspector/virt-inspector.pl:40
23431 msgid ""
23432 "virt-inspector - Display OS version, kernel, drivers, mount points, "
23433 "applications, etc. in a virtual machine"
23434 msgstr ""
23435
23436 # type: verbatim
23437 #: ../inspector/virt-inspector.pl:44
23438 #, no-wrap
23439 msgid ""
23440 " virt-inspector [--connect URI] domname\n"
23441 "\n"
23442 msgstr ""
23443
23444 # type: verbatim
23445 #: ../inspector/virt-inspector.pl:46
23446 #, no-wrap
23447 msgid ""
23448 " virt-inspector guest.img [guest.img ...]\n"
23449 "\n"
23450 msgstr ""
23451
23452 # type: textblock
23453 #: ../inspector/virt-inspector.pl:50
23454 msgid ""
23455 "B<virt-inspector> examines a virtual machine and tries to determine the "
23456 "version of the OS, the kernel version, what drivers are installed, whether "
23457 "the virtual machine is fully virtualized (FV) or para-virtualized (PV), what "
23458 "applications are installed and more."
23459 msgstr ""
23460
23461 # type: textblock
23462 #: ../inspector/virt-inspector.pl:55
23463 msgid ""
23464 "Virt-inspector can produce output in several formats, including a readable "
23465 "text report, and XML for feeding into other programs."
23466 msgstr ""
23467
23468 # type: textblock
23469 #: ../inspector/virt-inspector.pl:58
23470 msgid ""
23471 "In the normal usage, use C<virt-inspector domname> where C<domname> is the "
23472 "libvirt domain (see: C<virsh list --all>)."
23473 msgstr ""
23474
23475 # type: textblock
23476 #: ../inspector/virt-inspector.pl:61
23477 msgid ""
23478 "You can also run virt-inspector directly on disk images from a single "
23479 "virtual machine.  Use C<virt-inspector guest.img>.  In rare cases a domain "
23480 "has several block devices, in which case you should list them one after "
23481 "another, with the first corresponding to the guest's C</dev/sda>, the second "
23482 "to the guest's C</dev/sdb> and so on."
23483 msgstr ""
23484
23485 # type: textblock
23486 #: ../inspector/virt-inspector.pl:67
23487 msgid ""
23488 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
23489 "inspect several virtual machines, you have to run virt-inspector several "
23490 "times (for example, from a shell script for-loop)."
23491 msgstr ""
23492
23493 # type: textblock
23494 #: ../inspector/virt-inspector.pl:72
23495 msgid ""
23496 "Because virt-inspector needs direct access to guest images, it won't "
23497 "normally work over remote libvirt connections."
23498 msgstr ""
23499
23500 # type: textblock
23501 #: ../inspector/virt-inspector.pl:85 ../tools/virt-edit.pl:83
23502 #: ../tools/virt-win-reg.pl:182 ../tools/virt-df.pl:81 ../tools/virt-ls.pl:89
23503 #: ../tools/virt-list-filesystems.pl:60 ../tools/virt-cat.pl:90
23504 #: ../tools/virt-tar.pl:109 ../tools/virt-rescue.pl:113
23505 #: ../tools/virt-make-fs.pl:163 ../tools/virt-list-partitions.pl:61
23506 msgid "Display brief help."
23507 msgstr ""
23508
23509 # type: =item
23510 #: ../inspector/virt-inspector.pl:91 ../tools/virt-edit.pl:89
23511 #: ../tools/virt-win-reg.pl:188 ../tools/virt-df.pl:87 ../tools/virt-ls.pl:95
23512 #: ../tools/virt-resize.pl:249 ../tools/virt-list-filesystems.pl:66
23513 #: ../tools/virt-cat.pl:96 ../tools/virt-tar.pl:115
23514 #: ../tools/virt-rescue.pl:119 ../tools/virt-make-fs.pl:169
23515 #: ../tools/virt-list-partitions.pl:67
23516 msgid "B<--version>"
23517 msgstr ""
23518
23519 # type: textblock
23520 #: ../inspector/virt-inspector.pl:93 ../tools/virt-edit.pl:91
23521 #: ../tools/virt-win-reg.pl:190 ../tools/virt-df.pl:89 ../tools/virt-ls.pl:97
23522 #: ../tools/virt-resize.pl:251 ../tools/virt-list-filesystems.pl:68
23523 #: ../tools/virt-cat.pl:98 ../tools/virt-tar.pl:117
23524 #: ../tools/virt-rescue.pl:121 ../tools/virt-make-fs.pl:171
23525 #: ../tools/virt-list-partitions.pl:69
23526 msgid "Display version number and exit."
23527 msgstr ""
23528
23529 # type: =item
23530 #: ../inspector/virt-inspector.pl:99 ../tools/virt-edit.pl:113
23531 #: ../tools/virt-win-reg.pl:204 ../tools/virt-df.pl:95 ../tools/virt-ls.pl:103
23532 #: ../tools/virt-list-filesystems.pl:74 ../tools/virt-cat.pl:104
23533 #: ../tools/virt-tar.pl:123 ../tools/virt-rescue.pl:135
23534 #: ../tools/virt-list-partitions.pl:75
23535 msgid "B<--connect URI> | B<-c URI>"
23536 msgstr ""
23537
23538 # type: textblock
23539 #: ../inspector/virt-inspector.pl:101 ../tools/virt-edit.pl:115
23540 #: ../tools/virt-win-reg.pl:206 ../tools/virt-df.pl:97 ../tools/virt-ls.pl:105
23541 #: ../tools/virt-list-filesystems.pl:76 ../tools/virt-cat.pl:106
23542 #: ../tools/virt-tar.pl:125 ../tools/virt-rescue.pl:137
23543 #: ../tools/virt-list-partitions.pl:77
23544 msgid ""
23545 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
23546 "to the default libvirt hypervisor."
23547 msgstr ""
23548
23549 # type: textblock
23550 #: ../inspector/virt-inspector.pl:104
23551 msgid ""
23552 "Libvirt is only used if you specify a C<domname> on the command line.  If "
23553 "you specify guest block devices directly, then libvirt is not used at all."
23554 msgstr ""
23555
23556 # type: textblock
23557 #: ../inspector/virt-inspector.pl:114
23558 msgid ""
23559 "The following options select the output format.  Use only one of them.  The "
23560 "default is a readable text report."
23561 msgstr ""
23562
23563 # type: =item
23564 #: ../inspector/virt-inspector.pl:119
23565 msgid "B<--text> (default)"
23566 msgstr ""
23567
23568 # type: textblock
23569 #: ../inspector/virt-inspector.pl:121
23570 msgid "Plain text report."
23571 msgstr ""
23572
23573 # type: =item
23574 #: ../inspector/virt-inspector.pl:123
23575 msgid "B<--none>"
23576 msgstr ""
23577
23578 # type: textblock
23579 #: ../inspector/virt-inspector.pl:125
23580 msgid "Produce no output at all."
23581 msgstr ""
23582
23583 # type: =item
23584 #: ../inspector/virt-inspector.pl:127
23585 msgid "B<--xml>"
23586 msgstr ""
23587
23588 # type: textblock
23589 #: ../inspector/virt-inspector.pl:129
23590 msgid ""
23591 "If you select I<--xml> then you get XML output which can be fed to other "
23592 "programs."
23593 msgstr ""
23594
23595 # type: =item
23596 #: ../inspector/virt-inspector.pl:132
23597 msgid "B<--yaml>"
23598 msgstr ""
23599
23600 # type: textblock
23601 #: ../inspector/virt-inspector.pl:134
23602 msgid ""
23603 "If you select I<--yaml> then you get YAML output which can be fed to other "
23604 "programs."
23605 msgstr ""
23606
23607 # type: =item
23608 #: ../inspector/virt-inspector.pl:137
23609 msgid "B<--perl>"
23610 msgstr ""
23611
23612 # type: textblock
23613 #: ../inspector/virt-inspector.pl:139
23614 msgid ""
23615 "If you select I<--perl> then you get Perl structures output which can be "
23616 "used directly in another Perl program."
23617 msgstr ""
23618
23619 # type: =item
23620 #: ../inspector/virt-inspector.pl:142
23621 msgid "B<--fish>"
23622 msgstr ""
23623
23624 # type: =item
23625 #: ../inspector/virt-inspector.pl:144
23626 msgid "B<--ro-fish>"
23627 msgstr ""
23628
23629 # type: textblock
23630 #: ../inspector/virt-inspector.pl:146
23631 msgid ""
23632 "If you select I<--fish> then we print a L<guestfish(1)> command line which "
23633 "will automatically mount up the filesystems on the correct mount points.  "
23634 "Try this for example:"
23635 msgstr ""
23636
23637 # type: verbatim
23638 #: ../inspector/virt-inspector.pl:150
23639 #, no-wrap
23640 msgid ""
23641 " guestfish $(virt-inspector --fish guest.img)\n"
23642 "\n"
23643 msgstr ""
23644
23645 # type: textblock
23646 #: ../inspector/virt-inspector.pl:152
23647 msgid ""
23648 "I<--ro-fish> is the same, but the I<--ro> option is passed to guestfish so "
23649 "that the filesystems are mounted read-only."
23650 msgstr ""
23651
23652 # type: =item
23653 #: ../inspector/virt-inspector.pl:155
23654 msgid "B<--query>"
23655 msgstr ""
23656
23657 # type: textblock
23658 #: ../inspector/virt-inspector.pl:157
23659 msgid ""
23660 "In \"query mode\" we answer common questions about the guest, such as "
23661 "whether it is fullvirt or needs a Xen hypervisor to run."
23662 msgstr ""
23663
23664 # type: textblock
23665 #: ../inspector/virt-inspector.pl:160
23666 msgid "See section I<QUERY MODE> below."
23667 msgstr ""
23668
23669 # type: =item
23670 #: ../inspector/virt-inspector.pl:166
23671 msgid "B<--windows-registry>"
23672 msgstr ""
23673
23674 # type: textblock
23675 #: ../inspector/virt-inspector.pl:168
23676 msgid ""
23677 "This flag is ignored for compatibility with earlier releases of the software."
23678 msgstr ""
23679
23680 # type: textblock
23681 #: ../inspector/virt-inspector.pl:171
23682 msgid ""
23683 "In this version, if L<Win::Hivex(3)> is available, then we attempt to parse "
23684 "information out of the Registry for any Windows guest."
23685 msgstr ""
23686
23687 # type: =head1
23688 #: ../inspector/virt-inspector.pl:218
23689 msgid "OUTPUT FORMAT"
23690 msgstr ""
23691
23692 # type: verbatim
23693 #: ../inspector/virt-inspector.pl:220
23694 #, no-wrap
23695 msgid ""
23696 " Operating system(s)\n"
23697 " -------------------\n"
23698 " Linux (distro + version)\n"
23699 " Windows (version)\n"
23700 "    |\n"
23701 "    |\n"
23702 "    +--- Filesystems ---------- Installed apps --- Kernel & drivers\n"
23703 "         -----------            --------------     ----------------\n"
23704 "         mount point => device  List of apps       Extra information\n"
23705 "         mount point => device  and versions       about kernel(s)\n"
23706 "              ...                                  and drivers\n"
23707 "         swap => swap device\n"
23708 "         (plus lots of extra information\n"
23709 "         about each filesystem)\n"
23710 "\n"
23711 msgstr ""
23712
23713 # type: textblock
23714 #: ../inspector/virt-inspector.pl:235
23715 msgid "The output of virt-inspector is a complex two-level data structure."
23716 msgstr ""
23717
23718 # type: textblock
23719 #: ../inspector/virt-inspector.pl:237
23720 msgid ""
23721 "At the top level is a list of the operating systems installed on the guest.  "
23722 "(For the vast majority of guests, only a single OS is installed.)  The data "
23723 "returned for the OS includes the name (Linux, Windows), the distribution and "
23724 "version."
23725 msgstr ""
23726
23727 # type: textblock
23728 #: ../inspector/virt-inspector.pl:242
23729 msgid "The diagram above shows what we return for each OS."
23730 msgstr ""
23731
23732 # type: textblock
23733 #: ../inspector/virt-inspector.pl:244
23734 msgid ""
23735 "With the I<--xml> option the output is mapped into an XML document.  There "
23736 "is a RELAX-NG schema for this XML in the file I<virt-inspector.rng> which "
23737 "normally ships with virt-inspector, or can be found in the source."
23738 msgstr ""
23739
23740 # type: textblock
23741 #: ../inspector/virt-inspector.pl:249
23742 msgid ""
23743 "With the I<--fish> or I<--ro-fish> option the mount points are mapped to "
23744 "L<guestfish(1)> command line parameters, so that you can go in afterwards "
23745 "and inspect the guest with everything mounted in the right place.  For "
23746 "example:"
23747 msgstr ""
23748
23749 # type: verbatim
23750 #: ../inspector/virt-inspector.pl:254
23751 #, no-wrap
23752 msgid ""
23753 " guestfish $(virt-inspector --ro-fish guest.img)\n"
23754 " ==> guestfish --ro -a guest.img -m /dev/VG/LV:/ -m /dev/sda1:/boot\n"
23755 "\n"
23756 msgstr ""
23757
23758 # type: =head1
23759 #: ../inspector/virt-inspector.pl:589
23760 msgid "QUERY MODE"
23761 msgstr ""
23762
23763 # type: textblock
23764 #: ../inspector/virt-inspector.pl:591
23765 msgid ""
23766 "When you use C<virt-inspector --query>, the output is a series of lines of "
23767 "the form:"
23768 msgstr ""
23769
23770 # type: verbatim
23771 #: ../inspector/virt-inspector.pl:594
23772 #, no-wrap
23773 msgid ""
23774 " windows=no\n"
23775 " linux=yes\n"
23776 " fullvirt=yes\n"
23777 " xen_pv_drivers=no\n"
23778 "\n"
23779 msgstr ""
23780
23781 # type: textblock
23782 #: ../inspector/virt-inspector.pl:599
23783 msgid ""
23784 "(each answer is usually C<yes> or C<no>, or the line is completely missing "
23785 "if we could not determine the answer at all)."
23786 msgstr ""
23787
23788 # type: textblock
23789 #: ../inspector/virt-inspector.pl:602
23790 msgid ""
23791 "If the guest is multiboot, you can get apparently conflicting answers (eg. "
23792 "C<windows=yes> and C<linux=yes>, or a guest which is both fullvirt and has a "
23793 "Xen PV kernel).  This is normal, and just means that the guest can do both "
23794 "things, although it might require operator intervention such as selecting a "
23795 "boot option when the guest is booting."
23796 msgstr ""
23797
23798 # type: textblock
23799 #: ../inspector/virt-inspector.pl:609
23800 msgid "This section describes the full range of answers possible."
23801 msgstr ""
23802
23803 # type: =item
23804 #: ../inspector/virt-inspector.pl:630
23805 msgid "windows=(yes|no)"
23806 msgstr ""
23807
23808 # type: textblock
23809 #: ../inspector/virt-inspector.pl:632
23810 msgid "Answer C<yes> if Microsoft Windows is installed in the guest."
23811 msgstr ""
23812
23813 # type: =item
23814 #: ../inspector/virt-inspector.pl:645
23815 msgid "linux=(yes|no)"
23816 msgstr ""
23817
23818 # type: textblock
23819 #: ../inspector/virt-inspector.pl:647
23820 msgid "Answer C<yes> if a Linux kernel is installed in the guest."
23821 msgstr ""
23822
23823 # type: =item
23824 #: ../inspector/virt-inspector.pl:660
23825 msgid "rhel=(yes|no)"
23826 msgstr ""
23827
23828 # type: textblock
23829 #: ../inspector/virt-inspector.pl:662
23830 msgid "Answer C<yes> if the guest contains Red Hat Enterprise Linux."
23831 msgstr ""
23832
23833 # type: =item
23834 #: ../inspector/virt-inspector.pl:676
23835 msgid "fedora=(yes|no)"
23836 msgstr ""
23837
23838 # type: textblock
23839 #: ../inspector/virt-inspector.pl:678
23840 msgid "Answer C<yes> if the guest contains the Fedora Linux distribution."
23841 msgstr ""
23842
23843 # type: =item
23844 #: ../inspector/virt-inspector.pl:691
23845 msgid "debian=(yes|no)"
23846 msgstr ""
23847
23848 # type: textblock
23849 #: ../inspector/virt-inspector.pl:693
23850 msgid "Answer C<yes> if the guest contains the Debian Linux distribution."
23851 msgstr ""
23852
23853 # type: =item
23854 #: ../inspector/virt-inspector.pl:706
23855 msgid "fullvirt=(yes|no)"
23856 msgstr ""
23857
23858 # type: textblock
23859 #: ../inspector/virt-inspector.pl:708
23860 msgid ""
23861 "Answer C<yes> if there is at least one operating system kernel installed in "
23862 "the guest which runs fully virtualized.  Such a guest would require a "
23863 "hypervisor which supports full system virtualization."
23864 msgstr ""
23865
23866 # type: =item
23867 #: ../inspector/virt-inspector.pl:731
23868 msgid "xen_domU_kernel=(yes|no)"
23869 msgstr ""
23870
23871 # type: textblock
23872 #: ../inspector/virt-inspector.pl:733
23873 msgid ""
23874 "Answer C<yes> if there is at least one Linux kernel installed in the guest "
23875 "which is compiled as a Xen DomU (a Xen paravirtualized guest)."
23876 msgstr ""
23877
23878 # type: =item
23879 #: ../inspector/virt-inspector.pl:753
23880 msgid "xen_pv_drivers=(yes|no)"
23881 msgstr ""
23882
23883 # type: textblock
23884 #: ../inspector/virt-inspector.pl:755
23885 msgid ""
23886 "Answer C<yes> if the guest has Xen paravirtualized drivers installed "
23887 "(usually the kernel itself will be fully virtualized, but the PV drivers "
23888 "have been installed by the administrator for performance reasons)."
23889 msgstr ""
23890
23891 # type: =item
23892 #: ../inspector/virt-inspector.pl:777
23893 msgid "virtio_drivers=(yes|no)"
23894 msgstr ""
23895
23896 # type: textblock
23897 #: ../inspector/virt-inspector.pl:779
23898 msgid ""
23899 "Answer C<yes> if the guest has virtio paravirtualized drivers installed.  "
23900 "Virtio drivers are commonly used to improve the performance of KVM."
23901 msgstr ""
23902
23903 # type: =item
23904 #: ../inspector/virt-inspector.pl:800
23905 msgid "userspace_arch=(x86_64|...)"
23906 msgstr ""
23907
23908 # type: textblock
23909 #: ../inspector/virt-inspector.pl:802
23910 msgid "Print the architecture of userspace."
23911 msgstr ""
23912
23913 # type: textblock
23914 #: ../inspector/virt-inspector.pl:804 ../inspector/virt-inspector.pl:825
23915 msgid "NB. For multi-boot VMs this can print several lines."
23916 msgstr ""
23917
23918 # type: =item
23919 #: ../inspector/virt-inspector.pl:821
23920 msgid "kernel_arch=(x86_64|...)"
23921 msgstr ""
23922
23923 # type: textblock
23924 #: ../inspector/virt-inspector.pl:823
23925 msgid "Print the architecture of the kernel."
23926 msgstr ""
23927
23928 # type: textblock
23929 #: ../inspector/virt-inspector.pl:848 ../tools/virt-df.pl:538
23930 msgid ""
23931 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
23932 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23933 msgstr ""
23934
23935 # type: textblock
23936 #: ../inspector/virt-inspector.pl:857 ../tools/virt-edit.pl:339
23937 #: ../tools/virt-win-reg.pl:489 ../tools/virt-df.pl:547
23938 #: ../tools/virt-ls.pl:223 ../tools/virt-resize.pl:1418
23939 #: ../tools/virt-list-filesystems.pl:205 ../tools/virt-cat.pl:175
23940 #: ../tools/virt-tar.pl:270 ../tools/virt-rescue.pl:243
23941 #: ../tools/virt-make-fs.pl:554 ../tools/virt-list-partitions.pl:242
23942 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
23943 msgstr ""
23944
23945 # type: textblock
23946 #: ../inspector/virt-inspector.pl:859
23947 msgid "Matthew Booth L<mbooth@redhat.com>"
23948 msgstr ""
23949
23950 # type: textblock
23951 #: ../inspector/virt-inspector.pl:863 ../tools/virt-ls.pl:227
23952 #: ../tools/virt-list-filesystems.pl:209 ../tools/virt-cat.pl:179
23953 #: ../tools/virt-tar.pl:274
23954 msgid "Copyright (C) 2009 Red Hat Inc."
23955 msgstr ""
23956
23957 # type: textblock
23958 #: ../tools/virt-edit.pl:35
23959 msgid "virt-edit - Edit a file in a virtual machine"
23960 msgstr ""
23961
23962 # type: verbatim
23963 #: ../tools/virt-edit.pl:39
23964 #, no-wrap
23965 msgid ""
23966 " virt-edit [--options] domname file\n"
23967 "\n"
23968 msgstr ""
23969
23970 # type: verbatim
23971 #: ../tools/virt-edit.pl:41
23972 #, no-wrap
23973 msgid ""
23974 " virt-edit [--options] disk.img [disk.img ...] file\n"
23975 "\n"
23976 msgstr ""
23977
23978 # type: verbatim
23979 #: ../tools/virt-edit.pl:43
23980 #, no-wrap
23981 msgid ""
23982 " virt-edit [domname|disk.img] file -e 'expr'\n"
23983 "\n"
23984 msgstr ""
23985
23986 # type: textblock
23987 #: ../tools/virt-edit.pl:47
23988 msgid ""
23989 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
23990 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
23991 "doing this, but doesn't catch all cases."
23992 msgstr ""
23993
23994 # type: textblock
23995 #: ../tools/virt-edit.pl:53
23996 msgid ""
23997 "C<virt-edit> is a command line tool to edit C<file> where C<file> exists in "
23998 "the named virtual machine (or disk image)."
23999 msgstr ""
24000
24001 # type: textblock
24002 #: ../tools/virt-edit.pl:56
24003 msgid ""
24004 "If you want to just view a file, use L<virt-cat(1)>.  For more complex cases "
24005 "you should look at the L<guestfish(1)> tool."
24006 msgstr ""
24007
24008 # type: textblock
24009 #: ../tools/virt-edit.pl:61
24010 msgid "Edit the named files interactively:"
24011 msgstr ""
24012
24013 # type: verbatim
24014 #: ../tools/virt-edit.pl:63
24015 #, no-wrap
24016 msgid ""
24017 " virt-edit mydomain /boot/grub/grub.conf\n"
24018 "\n"
24019 msgstr ""
24020
24021 # type: verbatim
24022 #: ../tools/virt-edit.pl:65
24023 #, no-wrap
24024 msgid ""
24025 " virt-edit mydomain /etc/passwd\n"
24026 "\n"
24027 msgstr ""
24028
24029 # type: textblock
24030 #: ../tools/virt-edit.pl:67
24031 msgid ""
24032 "You can also edit files non-interactively (see L</NON-INTERACTIVE EDITING> "
24033 "below).  To change the init default level to 5:"
24034 msgstr ""
24035
24036 # type: verbatim
24037 #: ../tools/virt-edit.pl:71
24038 #, no-wrap
24039 msgid ""
24040 " virt-edit mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
24041 "\n"
24042 msgstr ""
24043
24044 # type: =item
24045 #: ../tools/virt-edit.pl:97
24046 msgid "B<--backup extension> | B<-b extension>"
24047 msgstr ""
24048
24049 # type: textblock
24050 #: ../tools/virt-edit.pl:99
24051 msgid ""
24052 "Create a backup of the original file I<in the guest disk image>.  The backup "
24053 "has the original filename with C<extension> added."
24054 msgstr ""
24055
24056 # type: textblock
24057 #: ../tools/virt-edit.pl:102
24058 msgid ""
24059 "Usually the first character of C<extension> would be a dot C<.> so you would "
24060 "write:"
24061 msgstr ""
24062
24063 # type: verbatim
24064 #: ../tools/virt-edit.pl:105
24065 #, no-wrap
24066 msgid ""
24067 " virt-edit -b .orig [etc]\n"
24068 "\n"
24069 msgstr ""
24070
24071 # type: textblock
24072 #: ../tools/virt-edit.pl:107
24073 msgid "By default, no backup file is made."
24074 msgstr ""
24075
24076 # type: textblock
24077 #: ../tools/virt-edit.pl:118 ../tools/virt-win-reg.pl:209
24078 #: ../tools/virt-df.pl:100 ../tools/virt-ls.pl:108
24079 #: ../tools/virt-list-filesystems.pl:79 ../tools/virt-cat.pl:109
24080 #: ../tools/virt-tar.pl:128 ../tools/virt-rescue.pl:140
24081 #: ../tools/virt-list-partitions.pl:80
24082 msgid ""
24083 "If you specify guest block devices directly, then libvirt is not used at all."
24084 msgstr ""
24085
24086 # type: =item
24087 #: ../tools/virt-edit.pl:125
24088 msgid "B<--expr EXPR> | B<-e EXPR>"
24089 msgstr ""
24090
24091 # type: textblock
24092 #: ../tools/virt-edit.pl:127
24093 msgid ""
24094 "Instead of launching the external editor, non-interactively apply the Perl "
24095 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
24096 "EDITING> below."
24097 msgstr ""
24098
24099 # type: textblock
24100 #: ../tools/virt-edit.pl:131
24101 msgid ""
24102 "Be careful to properly quote the expression to prevent it from being altered "
24103 "by the shell."
24104 msgstr ""
24105
24106 # type: =head1
24107 #: ../tools/virt-edit.pl:250
24108 msgid "NON-INTERACTIVE EDITING"
24109 msgstr ""
24110
24111 # type: textblock
24112 #: ../tools/virt-edit.pl:252
24113 msgid ""
24114 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
24115 "administrator can interactively edit the file."
24116 msgstr ""
24117
24118 # type: textblock
24119 #: ../tools/virt-edit.pl:255
24120 msgid ""
24121 "There are two ways also to use C<virt-edit> from scripts in order to make "
24122 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
24123 "like this, it's less error-prone to write scripts directly using the "
24124 "libguestfs API and Augeas for configuration file editing.)"
24125 msgstr ""
24126
24127 # type: textblock
24128 #: ../tools/virt-edit.pl:261
24129 msgid ""
24130 "The first method is to temporarily set C<$EDITOR> to any script or program "
24131 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
24132 "update C<tmpfile> in place however it likes."
24133 msgstr ""
24134
24135 # type: textblock
24136 #: ../tools/virt-edit.pl:265
24137 msgid ""
24138 "The second method is to use the C<-e> parameter of C<virt-edit> to run a "
24139 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
24140 "instances of C<foo> with C<bar> in a file:"
24141 msgstr ""
24142
24143 # type: verbatim
24144 #: ../tools/virt-edit.pl:269
24145 #, no-wrap
24146 msgid ""
24147 " virt-edit domname filename -e 's/foo/bar/'\n"
24148 "\n"
24149 msgstr ""
24150
24151 # type: textblock
24152 #: ../tools/virt-edit.pl:271
24153 msgid ""
24154 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
24155 "For example to delete root's password you could do:"
24156 msgstr ""
24157
24158 # type: verbatim
24159 #: ../tools/virt-edit.pl:274
24160 #, no-wrap
24161 msgid ""
24162 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
24163 "\n"
24164 msgstr ""
24165
24166 # type: textblock
24167 #: ../tools/virt-edit.pl:276
24168 msgid ""
24169 "What really happens is that the snippet is evaluated as a Perl expression "
24170 "for each line of the file.  The line, including the final C<\\n>, is passed "
24171 "in C<$_> and the expression should update C<$_> or leave it unchanged."
24172 msgstr ""
24173
24174 # type: textblock
24175 #: ../tools/virt-edit.pl:281
24176 msgid ""
24177 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
24178 "C<apache> user account from the password file you can do:"
24179 msgstr ""
24180
24181 # type: verbatim
24182 #: ../tools/virt-edit.pl:284
24183 #, no-wrap
24184 msgid ""
24185 " virt-edit mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
24186 "\n"
24187 msgstr ""
24188
24189 # type: textblock
24190 #: ../tools/virt-edit.pl:286
24191 msgid ""
24192 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
24193 "the end of the file is rather difficult this way since there is no concept "
24194 "of \"last line of the file\" - your expression just doesn't get called "
24195 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
24196 "want to do this."
24197 msgstr ""
24198
24199 # type: textblock
24200 #: ../tools/virt-edit.pl:292
24201 msgid ""
24202 "The variable C<$lineno> contains the current line number.  As is "
24203 "traditional, the first line in the file is number C<1>."
24204 msgstr ""
24205
24206 # type: textblock
24207 #: ../tools/virt-edit.pl:295
24208 msgid ""
24209 "The return value from the expression is ignored, but the expression may call "
24210 "C<die> in order to abort the whole program, leaving the original file "
24211 "untouched."
24212 msgstr ""
24213
24214 # type: textblock
24215 #: ../tools/virt-edit.pl:299
24216 msgid ""
24217 "Remember when matching the end of a line that C<$_> may contain the final C<"
24218 "\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
24219 "newline then neither of these.  Thus to match or substitute some text at the "
24220 "end of a line, use this regular expression:"
24221 msgstr ""
24222
24223 # type: verbatim
24224 #: ../tools/virt-edit.pl:304
24225 #, no-wrap
24226 msgid ""
24227 " /some text(\\r?\\n)?$/\n"
24228 "\n"
24229 msgstr ""
24230
24231 # type: textblock
24232 #: ../tools/virt-edit.pl:306
24233 msgid ""
24234 "Alternately, use the perl C<chomp> function, being careful not to chomp C<"
24235 "$_> itself (since that would remove all newlines from the file):"
24236 msgstr ""
24237
24238 # type: verbatim
24239 #: ../tools/virt-edit.pl:310
24240 #, no-wrap
24241 msgid ""
24242 " my $m = $_; chomp $m; $m =~ /some text$/\n"
24243 "\n"
24244 msgstr ""
24245
24246 # type: =item
24247 #: ../tools/virt-edit.pl:316
24248 msgid "C<EDITOR>"
24249 msgstr ""
24250
24251 # type: textblock
24252 #: ../tools/virt-edit.pl:318
24253 msgid ""
24254 "If set, this string is used as the editor.  It may contain arguments, eg. C<"
24255 "\"emacs -nw\">"
24256 msgstr ""
24257
24258 # type: textblock
24259 #: ../tools/virt-edit.pl:321
24260 msgid "If not set, C<vi> is used."
24261 msgstr ""
24262
24263 # type: textblock
24264 #: ../tools/virt-edit.pl:327
24265 msgid ""
24266 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
24267 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>, L<perl(1)>, "
24268 "L<perlre(1)>."
24269 msgstr ""
24270
24271 # type: =head1
24272 #: ../tools/virt-edit.pl:337 ../tools/virt-win-reg.pl:487
24273 #: ../tools/virt-df.pl:545 ../tools/virt-ls.pl:221
24274 #: ../tools/virt-resize.pl:1416 ../tools/virt-list-filesystems.pl:203
24275 #: ../tools/virt-cat.pl:173 ../tools/virt-tar.pl:268
24276 #: ../tools/virt-rescue.pl:241 ../tools/virt-make-fs.pl:552
24277 #: ../tools/virt-list-partitions.pl:240
24278 msgid "AUTHOR"
24279 msgstr ""
24280
24281 # type: textblock
24282 #: ../tools/virt-edit.pl:343 ../tools/virt-df.pl:551
24283 #: ../tools/virt-rescue.pl:247 ../tools/virt-list-partitions.pl:246
24284 msgid "Copyright (C) 2009-2010 Red Hat Inc."
24285 msgstr ""
24286
24287 # type: textblock
24288 #: ../tools/virt-win-reg.pl:38
24289 msgid ""
24290 "virt-win-reg - Export and merge Windows Registry entries from a Windows guest"
24291 msgstr ""
24292
24293 # type: verbatim
24294 #: ../tools/virt-win-reg.pl:42
24295 #, no-wrap
24296 msgid ""
24297 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
24298 "\n"
24299 msgstr ""
24300
24301 # type: verbatim
24302 #: ../tools/virt-win-reg.pl:44
24303 #, no-wrap
24304 msgid ""
24305 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
24306 "\n"
24307 msgstr ""
24308
24309 # type: verbatim
24310 #: ../tools/virt-win-reg.pl:46
24311 #, no-wrap
24312 msgid ""
24313 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
24314 "\n"
24315 msgstr ""
24316
24317 # type: verbatim
24318 #: ../tools/virt-win-reg.pl:48
24319 #, no-wrap
24320 msgid ""
24321 " virt-win-reg --merge domname [input.reg ...]\n"
24322 "\n"
24323 msgstr ""
24324
24325 # type: verbatim
24326 #: ../tools/virt-win-reg.pl:50
24327 #, no-wrap
24328 msgid ""
24329 " virt-win-reg [--options] disk.img ... # instead of domname\n"
24330 "\n"
24331 msgstr ""
24332
24333 # type: textblock
24334 #: ../tools/virt-win-reg.pl:54
24335 msgid ""
24336 "You must I<not> use C<virt-win-reg> with the C<--merge> option on live "
24337 "virtual machines.  If you do this, you I<will> get irreversible disk "
24338 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
24339 "but doesn't catch all cases."
24340 msgstr ""
24341
24342 # type: textblock
24343 #: ../tools/virt-win-reg.pl:59
24344 msgid ""
24345 "Modifying the Windows Registry is an inherently risky operation.  The format "
24346 "is deliberately obscure and undocumented, and Registry changes can leave the "
24347 "system unbootable.  Therefore when using the C<--merge> option, make sure "
24348 "you have a reliable backup first."
24349 msgstr ""
24350
24351 # type: textblock
24352 #: ../tools/virt-win-reg.pl:66
24353 msgid ""
24354 "This program can export and merge Windows Registry entries from a Windows "
24355 "guest."
24356 msgstr ""
24357
24358 # type: textblock
24359 #: ../tools/virt-win-reg.pl:69
24360 msgid ""
24361 "The first parameter is the libvirt guest name or the raw disk image of a "
24362 "Windows guest."
24363 msgstr ""
24364
24365 # type: textblock
24366 #: ../tools/virt-win-reg.pl:72
24367 msgid ""
24368 "If C<--merge> is I<not> specified, then the chosen registry key is displayed/"
24369 "exported (recursively).  For example:"
24370 msgstr ""
24371
24372 # type: verbatim
24373 #: ../tools/virt-win-reg.pl:75
24374 #, no-wrap
24375 msgid ""
24376 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
24377 "\n"
24378 msgstr ""
24379
24380 # type: textblock
24381 #: ../tools/virt-win-reg.pl:77
24382 msgid ""
24383 "You can also display single values from within registry keys, for example:"
24384 msgstr ""
24385
24386 # type: verbatim
24387 #: ../tools/virt-win-reg.pl:80
24388 #, no-wrap
24389 msgid ""
24390 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
24391 " $ virt-win-reg Windows7 $cvkey ProductName\n"
24392 " Windows 7 Enterprise\n"
24393 "\n"
24394 msgstr ""
24395
24396 # type: textblock
24397 #: ../tools/virt-win-reg.pl:84
24398 msgid ""
24399 "With C<--merge>, you can merge a textual regedit file into the Windows "
24400 "Registry:"
24401 msgstr ""
24402
24403 # type: verbatim
24404 #: ../tools/virt-win-reg.pl:87
24405 #, no-wrap
24406 msgid ""
24407 " $ virt-win-reg --merge Windows7 changes.reg\n"
24408 "\n"
24409 msgstr ""
24410
24411 # type: =head2
24412 #: ../tools/virt-win-reg.pl:89
24413 msgid "SUPPORTED SYSTEMS"
24414 msgstr ""
24415
24416 # type: textblock
24417 #: ../tools/virt-win-reg.pl:91
24418 msgid ""
24419 "The program currently supports Windows NT-derived guests starting with "
24420 "Windows XP through to at least Windows 7."
24421 msgstr ""
24422
24423 # type: textblock
24424 #: ../tools/virt-win-reg.pl:94
24425 msgid ""
24426 "Registry support is done for C<HKEY_LOCAL_MACHINE\\SAM>, C<HKEY_LOCAL_MACHINE"
24427 "\\SECURITY>, C<HKEY_LOCAL_MACHINE\\SOFTWARE>, C<HKEY_LOCAL_MACHINE\\SYSTEM> "
24428 "and C<HKEY_USERS\\.DEFAULT>."
24429 msgstr ""
24430
24431 # type: textblock
24432 #: ../tools/virt-win-reg.pl:98
24433 msgid ""
24434 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
24435 "C<HKEY_USERS>."
24436 msgstr ""
24437
24438 # type: textblock
24439 #: ../tools/virt-win-reg.pl:101
24440 msgid ""
24441 "C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are B<not> supported at this "
24442 "time."
24443 msgstr ""
24444
24445 # type: =head2
24446 #: ../tools/virt-win-reg.pl:104
24447 msgid "NOTE"
24448 msgstr ""
24449
24450 # type: textblock
24451 #: ../tools/virt-win-reg.pl:106
24452 msgid ""
24453 "This program is only meant for simple access to the registry.  If you want "
24454 "to do complicated things with the registry, we suggest you download the "
24455 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
24456 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
24457 "L<hivexregedit(1)>."
24458 msgstr ""
24459
24460 # type: =head2
24461 #: ../tools/virt-win-reg.pl:112
24462 msgid "ENCODING"
24463 msgstr ""
24464
24465 # type: textblock
24466 #: ../tools/virt-win-reg.pl:114
24467 msgid ""
24468 "C<virt-win-reg> expects that regedit files have already been reencoded in "
24469 "the local encoding.  Usually on Linux hosts, this means UTF-8 with Unix-"
24470 "style line endings.  Since Windows regedit files are often in UTF-16LE with "
24471 "Windows-style line endings, you may need to reencode the whole file before "
24472 "or after processing."
24473 msgstr ""
24474
24475 # type: textblock
24476 #: ../tools/virt-win-reg.pl:120
24477 msgid ""
24478 "To reencode a file from Windows format to Linux (before processing it with "
24479 "the C<--merge> option), you would do something like this:"
24480 msgstr ""
24481
24482 # type: verbatim
24483 #: ../tools/virt-win-reg.pl:123
24484 #, no-wrap
24485 msgid ""
24486 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
24487 "\n"
24488 msgstr ""
24489
24490 # type: textblock
24491 #: ../tools/virt-win-reg.pl:125
24492 msgid ""
24493 "To go in the opposite direction, after exporting and before sending the file "
24494 "to a Windows user, do something like this:"
24495 msgstr ""
24496
24497 # type: verbatim
24498 #: ../tools/virt-win-reg.pl:128
24499 #, no-wrap
24500 msgid ""
24501 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
24502 "\n"
24503 msgstr ""
24504
24505 # type: textblock
24506 #: ../tools/virt-win-reg.pl:130
24507 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
24508 msgstr ""
24509
24510 # type: textblock
24511 #: ../tools/virt-win-reg.pl:132
24512 msgid ""
24513 "If you are unsure about the current encoding, use the L<file(1)> command.  "
24514 "Recent versions of Windows regedit.exe produce a UTF-16LE file with Windows-"
24515 "style (CRLF) line endings, like this:"
24516 msgstr ""
24517
24518 # type: verbatim
24519 #: ../tools/virt-win-reg.pl:136
24520 #, no-wrap
24521 msgid ""
24522 " $ file software.reg\n"
24523 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
24524 " with CRLF line terminators\n"
24525 "\n"
24526 msgstr ""
24527
24528 # type: textblock
24529 #: ../tools/virt-win-reg.pl:140
24530 msgid "This file would need conversion before you could C<--merge> it."
24531 msgstr ""
24532
24533 # type: =head2
24534 #: ../tools/virt-win-reg.pl:142
24535 msgid "SHELL QUOTING"
24536 msgstr ""
24537
24538 # type: textblock
24539 #: ../tools/virt-win-reg.pl:144
24540 msgid ""
24541 "Be careful when passing parameters containing C<\\> (backslash) in the "
24542 "shell.  Usually you will have to use 'single quotes' or double backslashes "
24543 "(but not both) to protect them from the shell."
24544 msgstr ""
24545
24546 # type: textblock
24547 #: ../tools/virt-win-reg.pl:148
24548 msgid "Paths and value names are case-insensitive."
24549 msgstr ""
24550
24551 # type: =head2
24552 #: ../tools/virt-win-reg.pl:150
24553 msgid "CurrentControlSet etc."
24554 msgstr ""
24555
24556 # type: textblock
24557 #: ../tools/virt-win-reg.pl:152
24558 msgid ""
24559 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
24560 "Registry at the level of the hive file, and therefore you cannot modify "
24561 "these."
24562 msgstr ""
24563
24564 # type: textblock
24565 #: ../tools/virt-win-reg.pl:156
24566 msgid ""
24567 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
24568 "circumstances it might refer to another control set.  The way to find out is "
24569 "to look at the C<HKLM\\SYSTEM\\Select> key:"
24570 msgstr ""
24571
24572 # type: verbatim
24573 #: ../tools/virt-win-reg.pl:160
24574 #, no-wrap
24575 msgid ""
24576 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
24577 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
24578 " \"Current\"=dword:00000001\n"
24579 " \"Default\"=dword:00000001\n"
24580 " \"Failed\"=dword:00000000\n"
24581 " \"LastKnownGood\"=dword:00000002\n"
24582 "\n"
24583 msgstr ""
24584
24585 # type: textblock
24586 #: ../tools/virt-win-reg.pl:167
24587 msgid "\"Default\" is the one which Windows will choose when it boots."
24588 msgstr ""
24589
24590 # type: textblock
24591 #: ../tools/virt-win-reg.pl:169
24592 msgid ""
24593 "Similarly, other C<Current...> keys in the path may need to be replaced."
24594 msgstr ""
24595
24596 # type: =item
24597 #: ../tools/virt-win-reg.pl:196 ../tools/virt-make-fs.pl:177
24598 msgid "B<--debug>"
24599 msgstr ""
24600
24601 # type: textblock
24602 #: ../tools/virt-win-reg.pl:198 ../tools/virt-resize.pl:477
24603 msgid "Enable debugging messages."
24604 msgstr ""
24605
24606 # type: =item
24607 #: ../tools/virt-win-reg.pl:216
24608 msgid "B<--merge>"
24609 msgstr ""
24610
24611 # type: textblock
24612 #: ../tools/virt-win-reg.pl:218
24613 msgid ""
24614 "In merge mode, this merges a textual regedit file into the Windows Registry "
24615 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
24616 "displays or exports Registry entries instead."
24617 msgstr ""
24618
24619 # type: textblock
24620 #: ../tools/virt-win-reg.pl:222
24621 msgid ""
24622 "Note that C<--merge> is I<unsafe> to use on live virtual machines, and will "
24623 "result in disk corruption.  However exporting (without this flag)  is always "
24624 "safe."
24625 msgstr ""
24626
24627 # type: =item
24628 #: ../tools/virt-win-reg.pl:230
24629 msgid "B<--encoding> UTF-16LE|ASCII"
24630 msgstr ""
24631
24632 # type: textblock
24633 #: ../tools/virt-win-reg.pl:232
24634 msgid ""
24635 "When merging (only), you may need to specify the encoding for strings to be "
24636 "used in the hive file.  This is explained in detail in L<Win::Hivex::Regedit"
24637 "(3)/ENCODING STRINGS>."
24638 msgstr ""
24639
24640 # type: textblock
24641 #: ../tools/virt-win-reg.pl:236
24642 msgid ""
24643 "The default is to use UTF-16LE, which should work with recent versions of "
24644 "Windows."
24645 msgstr ""
24646
24647 # type: textblock
24648 #: ../tools/virt-win-reg.pl:463
24649 msgid ""
24650 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, L<guestfish(1)"
24651 ">, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Win::Hivex"
24652 "(3)>, L<Win::Hivex::Regedit(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
24653 msgstr ""
24654
24655 # type: textblock
24656 #: ../tools/virt-win-reg.pl:478 ../tools/virt-make-fs.pl:543
24657 msgid ""
24658 "When reporting bugs, please enable debugging and capture the I<complete> "
24659 "output:"
24660 msgstr ""
24661
24662 # type: verbatim
24663 #: ../tools/virt-win-reg.pl:481
24664 #, no-wrap
24665 msgid ""
24666 " export LIBGUESTFS_DEBUG=1\n"
24667 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
24668 "\n"
24669 msgstr ""
24670
24671 # type: textblock
24672 #: ../tools/virt-win-reg.pl:484
24673 msgid ""
24674 "Attach /tmp/virt-win-reg.log to a new bug report at L<https://bugzilla."
24675 "redhat.com/>"
24676 msgstr ""
24677
24678 # type: textblock
24679 #: ../tools/virt-win-reg.pl:493 ../tools/virt-resize.pl:1422
24680 #: ../tools/virt-make-fs.pl:558
24681 msgid "Copyright (C) 2010 Red Hat Inc."
24682 msgstr ""
24683
24684 # type: textblock
24685 #: ../tools/virt-df.pl:36
24686 msgid "virt-df - Display free space on virtual filesystems"
24687 msgstr ""
24688
24689 # type: verbatim
24690 #: ../tools/virt-df.pl:40
24691 #, no-wrap
24692 msgid ""
24693 " virt-df [--options]\n"
24694 "\n"
24695 msgstr ""
24696
24697 # type: verbatim
24698 #: ../tools/virt-df.pl:42
24699 #, no-wrap
24700 msgid ""
24701 " virt-df [--options] domname\n"
24702 "\n"
24703 msgstr ""
24704
24705 # type: verbatim
24706 #: ../tools/virt-df.pl:44
24707 #, no-wrap
24708 msgid ""
24709 " virt-df [--options] disk.img [disk.img ...]\n"
24710 "\n"
24711 msgstr ""
24712
24713 # type: textblock
24714 #: ../tools/virt-df.pl:48
24715 msgid ""
24716 "C<virt-df> is a command line tool to display free space on virtual machine "
24717 "filesystems.  Unlike other tools, it doesn't just display the amount of "
24718 "space allocated to a virtual machine, but can look inside the virtual "
24719 "machine to see how much space is really being used."
24720 msgstr ""
24721
24722 # type: textblock
24723 #: ../tools/virt-df.pl:53
24724 msgid ""
24725 "It is like the L<df(1)> command, but for virtual machines, except that it "
24726 "also works for Windows virtual machines."
24727 msgstr ""
24728
24729 # type: textblock
24730 #: ../tools/virt-df.pl:56
24731 msgid ""
24732 "If used without any arguments, C<virt-df> checks with libvirt to get a list "
24733 "of all active and inactive guests, and performs a C<df>-type operation on "
24734 "each one in turn, printing out the results."
24735 msgstr ""
24736
24737 # type: textblock
24738 #: ../tools/virt-df.pl:60
24739 msgid ""
24740 "If used with any argument(s), C<virt-df> performs a C<df>-type operation on "
24741 "either the single named libvirt domain, or on the disk image(s) listed on "
24742 "the command line (which must all belong to a single VM).  In this mode (with "
24743 "arguments), C<virt-df> will I<only work for a single guest>.  If you want to "
24744 "run on multiple guests, then you have to invoke C<virt-df> multiple times."
24745 msgstr ""
24746
24747 # type: textblock
24748 #: ../tools/virt-df.pl:67
24749 msgid ""
24750 "Use the C<--csv> option to get a format which can be easily parsed by other "
24751 "programs.  Other options are mostly similar to standard C<df> options.  See "
24752 "below for the complete list."
24753 msgstr ""
24754
24755 # type: =item
24756 #: ../tools/virt-df.pl:107
24757 msgid "B<--csv>"
24758 msgstr ""
24759
24760 # type: textblock
24761 #: ../tools/virt-df.pl:109
24762 msgid ""
24763 "Write out the results in CSV format (comma-separated values).  This format "
24764 "can be imported easily into databases and spreadsheets, but read L</NOTE "
24765 "ABOUT CSV FORMAT> below."
24766 msgstr ""
24767
24768 # type: =item
24769 #: ../tools/virt-df.pl:117
24770 msgid "B<--human-readable> | B<-h>"
24771 msgstr ""
24772
24773 # type: textblock
24774 #: ../tools/virt-df.pl:119
24775 msgid "Print sizes in human-readable format."
24776 msgstr ""
24777
24778 # type: textblock
24779 #: ../tools/virt-df.pl:121
24780 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
24781 msgstr ""
24782
24783 # type: =item
24784 #: ../tools/virt-df.pl:127
24785 msgid "B<--inodes> | B<-i>"
24786 msgstr ""
24787
24788 # type: textblock
24789 #: ../tools/virt-df.pl:129
24790 msgid "Print inodes instead of blocks."
24791 msgstr ""
24792
24793 # type: =item
24794 #: ../tools/virt-df.pl:135
24795 msgid "B<--one-per-guest>"
24796 msgstr ""
24797
24798 # type: textblock
24799 #: ../tools/virt-df.pl:137
24800 msgid ""
24801 "Run one libguestfs appliance per guest.  Normally C<virt-df> will add the "
24802 "disks from several guests to a single libguestfs appliance."
24803 msgstr ""
24804
24805 # type: textblock
24806 #: ../tools/virt-df.pl:140
24807 msgid "You might use this option in the following circumstances:"
24808 msgstr ""
24809
24810 # type: textblock
24811 #: ../tools/virt-df.pl:146
24812 msgid ""
24813 "If you think an untrusted guest might actively try to exploit the libguestfs "
24814 "appliance kernel, then this prevents one guest from interfering with the "
24815 "stats printed for another guest."
24816 msgstr ""
24817
24818 # type: textblock
24819 #: ../tools/virt-df.pl:152
24820 msgid ""
24821 "If the kernel has a bug which stops it from accessing a filesystem in one "
24822 "guest (see for example RHBZ#635373) then this allows libguestfs to continue "
24823 "and report stats for further guests."
24824 msgstr ""
24825
24826 # type: =head1
24827 #: ../tools/virt-df.pl:512
24828 msgid "NOTE ABOUT CSV FORMAT"
24829 msgstr ""
24830
24831 # type: textblock
24832 #: ../tools/virt-df.pl:514
24833 msgid ""
24834 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
24835 "should be easy to parse, but it is definitely not easy to parse."
24836 msgstr ""
24837
24838 # type: textblock
24839 #: ../tools/virt-df.pl:517
24840 msgid ""
24841 "Myth: Just split fields at commas.  Reality: This does I<not> work "
24842 "reliably.  This example has two columns:"
24843 msgstr ""
24844
24845 # type: verbatim
24846 #: ../tools/virt-df.pl:520
24847 #, no-wrap
24848 msgid ""
24849 " \"foo,bar\",baz\n"
24850 "\n"
24851 msgstr ""
24852
24853 # type: textblock
24854 #: ../tools/virt-df.pl:522
24855 msgid ""
24856 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
24857 "reliably.  This example has one row:"
24858 msgstr ""
24859
24860 # type: verbatim
24861 #: ../tools/virt-df.pl:525
24862 #, no-wrap
24863 msgid ""
24864 " \"foo\n"
24865 " bar\",baz\n"
24866 "\n"
24867 msgstr ""
24868
24869 # type: textblock
24870 #: ../tools/virt-df.pl:528
24871 msgid ""
24872 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
24873 "packaged in major Linux distributions)."
24874 msgstr ""
24875
24876 # type: textblock
24877 #: ../tools/virt-df.pl:531
24878 msgid ""
24879 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
24880 "or Python's built-in csv library)."
24881 msgstr ""
24882
24883 # type: textblock
24884 #: ../tools/virt-df.pl:534
24885 msgid "Most spreadsheets and databases can import CSV directly."
24886 msgstr ""
24887
24888 # type: textblock
24889 #: ../tools/virt-ls.pl:35
24890 msgid "virt-ls - List files in a virtual machine"
24891 msgstr ""
24892
24893 # type: verbatim
24894 #: ../tools/virt-ls.pl:39
24895 #, no-wrap
24896 msgid ""
24897 " virt-ls [--options] domname directory\n"
24898 "\n"
24899 msgstr ""
24900
24901 # type: verbatim
24902 #: ../tools/virt-ls.pl:41
24903 #, no-wrap
24904 msgid ""
24905 " virt-ls [--options] disk.img [disk.img ...] directory\n"
24906 "\n"
24907 msgstr ""
24908
24909 # type: textblock
24910 #: ../tools/virt-ls.pl:45
24911 msgid ""
24912 "C<virt-ls> is a command line tool to list the names of files in a directory "
24913 "inside a virtual machine or disk image."
24914 msgstr ""
24915
24916 # type: textblock
24917 #: ../tools/virt-ls.pl:48
24918 msgid ""
24919 "C<virt-ls> is just a simple wrapper around L<libguestfs(3)> functionality.  "
24920 "For more complex cases you should look at the L<guestfish(1)> tool."
24921 msgstr ""
24922
24923 # type: textblock
24924 #: ../tools/virt-ls.pl:52
24925 msgid ""
24926 "C<virt-ls> can be used in one of three modes: simple, long and recursive.  A "
24927 "simple listing is like the ordinary L<ls(1)> command:"
24928 msgstr ""
24929
24930 # type: verbatim
24931 #: ../tools/virt-ls.pl:55
24932 #, no-wrap
24933 msgid ""
24934 " $ virt-ls myguest /\n"
24935 " bin\n"
24936 " boot\n"
24937 " [etc.]\n"
24938 "\n"
24939 msgstr ""
24940
24941 # type: textblock
24942 #: ../tools/virt-ls.pl:60
24943 msgid "With the C<-l> (C<--long>) option, C<virt-ls> shows more detail:"
24944 msgstr ""
24945
24946 # type: verbatim
24947 #: ../tools/virt-ls.pl:62
24948 #, no-wrap
24949 msgid ""
24950 " $ virt-ls -l myguest /\n"
24951 " total 204\n"
24952 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
24953 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
24954 " [etc.]\n"
24955 "\n"
24956 msgstr ""
24957
24958 # type: textblock
24959 #: ../tools/virt-ls.pl:68
24960 msgid ""
24961 "With the C<-R> (C<--recursive>) option, C<virt-ls> lists the names of files "
24962 "and directories recursively:"
24963 msgstr ""
24964
24965 # type: verbatim
24966 #: ../tools/virt-ls.pl:71
24967 #, no-wrap
24968 msgid ""
24969 " $ virt-ls -R myguest /tmp\n"
24970 " foo\n"
24971 " foo/bar\n"
24972 " [etc.]\n"
24973 "\n"
24974 msgstr ""
24975
24976 # type: textblock
24977 #: ../tools/virt-ls.pl:76
24978 msgid ""
24979 "You I<cannot> combine these options.  To do more complicated things, use "
24980 "L<guestfish(1)>."
24981 msgstr ""
24982
24983 # type: =item
24984 #: ../tools/virt-ls.pl:115 ../tools/virt-list-filesystems.pl:86
24985 #: ../tools/virt-list-partitions.pl:95
24986 msgid "B<-l> | B<--long>"
24987 msgstr ""
24988
24989 # type: =item
24990 #: ../tools/virt-ls.pl:117
24991 msgid "B<-R> | B<--recursive>"
24992 msgstr ""
24993
24994 # type: textblock
24995 #: ../tools/virt-ls.pl:119
24996 msgid ""
24997 "Select the mode.  With neither of these options, C<virt-ls> produces a "
24998 "simple, flat list of the files in the named directory."
24999 msgstr ""
25000
25001 # type: textblock
25002 #: ../tools/virt-ls.pl:122
25003 msgid ""
25004 "C<virt-ls -l> produces a \"long listing\", which shows more detail (just "
25005 "like the plain C<ls -l> command)."
25006 msgstr ""
25007
25008 # type: textblock
25009 #: ../tools/virt-ls.pl:125
25010 msgid ""
25011 "C<virt-ls -R> produces a recursive list of files starting at the named "
25012 "directory.  See the documentation for the C<guestfs_find> command L<guestfs"
25013 "(3)> for precise details."
25014 msgstr ""
25015
25016 # type: textblock
25017 #: ../tools/virt-ls.pl:129
25018 msgid "You cannot combine these options."
25019 msgstr ""
25020
25021 # type: textblock
25022 #: ../tools/virt-ls.pl:212
25023 msgid ""
25024 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<Sys::"
25025 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
25026 "org/>."
25027 msgstr ""
25028
25029 # type: textblock
25030 #: ../tools/virt-resize.pl:42
25031 msgid "virt-resize - Resize a virtual machine disk"
25032 msgstr ""
25033
25034 # type: verbatim
25035 #: ../tools/virt-resize.pl:46
25036 #, no-wrap
25037 msgid ""
25038 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
25039 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
25040 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
25041 "\n"
25042 msgstr ""
25043
25044 # type: textblock
25045 #: ../tools/virt-resize.pl:52
25046 msgid ""
25047 "Virt-resize is a tool which can resize a virtual machine disk, making it "
25048 "larger or smaller overall, and resizing or deleting any partitions contained "
25049 "within."
25050 msgstr ""
25051
25052 # type: textblock
25053 #: ../tools/virt-resize.pl:56
25054 msgid ""
25055 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
25056 "not> be used on live virtual machines - for consistent results, shut the "
25057 "virtual machine down before resizing it."
25058 msgstr ""
25059
25060 # type: textblock
25061 #: ../tools/virt-resize.pl:60
25062 msgid ""
25063 "If you are not familiar with the associated tools: L<virt-list-partitions(1)"
25064 ">, L<virt-list-filesystems(1)> and L<virt-df(1)>, we recommend you go and "
25065 "read those manual pages first."
25066 msgstr ""
25067
25068 # type: textblock
25069 #: ../tools/virt-resize.pl:68
25070 msgid ""
25071 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
25072 "fill the extra 5GB of space."
25073 msgstr ""
25074
25075 # type: verbatim
25076 #: ../tools/virt-resize.pl:71
25077 #, no-wrap
25078 msgid ""
25079 " truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
25080 " virt-list-partitions -lht olddisk\n"
25081 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
25082 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
25083 "\n"
25084 msgstr ""
25085
25086 # type: textblock
25087 #: ../tools/virt-resize.pl:76
25088 msgid ""
25089 "As above, but make the /boot partition 200MB bigger, while giving the "
25090 "remaining space to /dev/sda2:"
25091 msgstr ""
25092
25093 # type: verbatim
25094 #: ../tools/virt-resize.pl:79
25095 #, no-wrap
25096 msgid ""
25097 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
25098 "\n"
25099 msgstr ""
25100
25101 # type: =head1
25102 #: ../tools/virt-resize.pl:81
25103 msgid "DETAILED USAGE"
25104 msgstr ""
25105
25106 # type: =head2
25107 #: ../tools/virt-resize.pl:83
25108 msgid "EXPANDING A VIRTUAL MACHINE DISK"
25109 msgstr ""
25110
25111 # type: =item
25112 #: ../tools/virt-resize.pl:87
25113 msgid "1. Shut down the virtual machine"
25114 msgstr ""
25115
25116 # type: =item
25117 #: ../tools/virt-resize.pl:89
25118 msgid "2. Locate input disk image"
25119 msgstr ""
25120
25121 # type: textblock
25122 #: ../tools/virt-resize.pl:91
25123 msgid ""
25124 "Locate the input disk image (ie. the file or device on the host containing "
25125 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
25126 "dumpxml> like this to find the disk image name:"
25127 msgstr ""
25128
25129 # type: verbatim
25130 #: ../tools/virt-resize.pl:95
25131 #, no-wrap
25132 msgid ""
25133 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
25134 " Found 1 nodes:\n"
25135 " -- NODE --\n"
25136 " <source dev=\"/dev/vg/lv_guest\" />\n"
25137 "\n"
25138 msgstr ""
25139
25140 # type: =item
25141 #: ../tools/virt-resize.pl:100
25142 msgid "3. Look at current sizing"
25143 msgstr ""
25144
25145 # type: textblock
25146 #: ../tools/virt-resize.pl:102
25147 msgid ""
25148 "Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
25149 msgstr ""
25150
25151 # type: verbatim
25152 #: ../tools/virt-resize.pl:105
25153 #, no-wrap
25154 msgid ""
25155 " # virt-list-partitions -lht /dev/vg/lv_guest\n"
25156 " /dev/sda1 ext3 101.9M\n"
25157 " /dev/sda2 pv 7.9G\n"
25158 " /dev/sda device 8.0G\n"
25159 "\n"
25160 msgstr ""
25161
25162 # type: textblock
25163 #: ../tools/virt-resize.pl:110
25164 msgid ""
25165 "(This example is a virtual machine with an 8 GB disk which we would like to "
25166 "expand up to 10 GB)."
25167 msgstr ""
25168
25169 # type: =item
25170 #: ../tools/virt-resize.pl:113
25171 msgid "4. Create output disk"
25172 msgstr ""
25173
25174 # type: textblock
25175 #: ../tools/virt-resize.pl:115
25176 msgid ""
25177 "Virt-resize cannot do in-place disk modifications.  You have to have space "
25178 "to store the resized output disk."
25179 msgstr ""
25180
25181 # type: textblock
25182 #: ../tools/virt-resize.pl:118
25183 msgid ""
25184 "To store the resized disk image in a file, create a file of a suitable size:"
25185 msgstr ""
25186
25187 # type: verbatim
25188 #: ../tools/virt-resize.pl:121
25189 #, no-wrap
25190 msgid ""
25191 " # rm -f outdisk\n"
25192 " # truncate -s 10G outdisk\n"
25193 "\n"
25194 msgstr ""
25195
25196 # type: textblock
25197 #: ../tools/virt-resize.pl:124
25198 msgid "Or use L<lvcreate(1)> to create a logical volume:"
25199 msgstr ""
25200
25201 # type: verbatim
25202 #: ../tools/virt-resize.pl:126
25203 #, no-wrap
25204 msgid ""
25205 " # lvcreate -L 10G -n lv_name vg_name\n"
25206 "\n"
25207 msgstr ""
25208
25209 # type: textblock
25210 #: ../tools/virt-resize.pl:128
25211 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
25212 msgstr ""
25213
25214 # type: verbatim
25215 #: ../tools/virt-resize.pl:130
25216 #, no-wrap
25217 msgid ""
25218 " # virsh pool-list\n"
25219 " # virsh vol-create-as poolname newvol 10G\n"
25220 "\n"
25221 msgstr ""
25222
25223 # type: =item
25224 #: ../tools/virt-resize.pl:133
25225 msgid "5. Resize"
25226 msgstr ""
25227
25228 # type: textblock
25229 #: ../tools/virt-resize.pl:135
25230 msgid ""
25231 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
25232 "file) and the output disk.  The output disk is the one created in the "
25233 "previous step."
25234 msgstr ""
25235
25236 # type: verbatim
25237 #: ../tools/virt-resize.pl:139
25238 #, no-wrap
25239 msgid ""
25240 " # virt-resize indisk outdisk\n"
25241 "\n"
25242 msgstr ""
25243
25244 # type: textblock
25245 #: ../tools/virt-resize.pl:141
25246 msgid ""
25247 "This command just copies disk image C<indisk> to disk image C<outdisk> "
25248 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
25249 "larger, then an extra, empty partition is created at the end of the disk "
25250 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
25251 "error."
25252 msgstr ""
25253
25254 # type: textblock
25255 #: ../tools/virt-resize.pl:147
25256 msgid ""
25257 "More realistically you'd want to expand existing partitions in the disk "
25258 "image by passing extra options (for the full list see the L</OPTIONS> "
25259 "section below)."
25260 msgstr ""
25261
25262 # type: textblock
25263 #: ../tools/virt-resize.pl:151
25264 msgid ""
25265 "L</--expand> is the most useful option.  It expands the named partition "
25266 "within the disk to fill any extra space:"
25267 msgstr ""
25268
25269 # type: verbatim
25270 #: ../tools/virt-resize.pl:154
25271 #, no-wrap
25272 msgid ""
25273 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
25274 "\n"
25275 msgstr ""
25276
25277 # type: textblock
25278 #: ../tools/virt-resize.pl:156
25279 msgid ""
25280 "(In this case, an extra partition is I<not> created at the end of the disk, "
25281 "because there will be no unused space)."
25282 msgstr ""
25283
25284 # type: textblock
25285 #: ../tools/virt-resize.pl:159
25286 msgid ""
25287 "L</--resize> is the other commonly used option.  The following would "
25288 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
25289 "rest of the available space:"
25290 msgstr ""
25291
25292 # type: verbatim
25293 #: ../tools/virt-resize.pl:163
25294 #, no-wrap
25295 msgid ""
25296 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
25297 "     indisk outdisk\n"
25298 "\n"
25299 msgstr ""
25300
25301 # type: textblock
25302 #: ../tools/virt-resize.pl:166
25303 msgid ""
25304 "If the expanded partition in the image contains a filesystem or LVM PV, then "
25305 "if virt-resize knows how, it will resize the contents, the equivalent of "
25306 "calling a command such as L<pvresize(8)>, L<resize2fs(8)> or L<ntfsresize(8)"
25307 ">.  However virt-resize does not know how to resize some filesystems, so you "
25308 "would have to online resize them after booting the guest.  And virt-resize "
25309 "also does not resize anything inside an LVM PV, it just resizes the PV "
25310 "itself and leaves the user to resize any LVs inside that PV as desired."
25311 msgstr ""
25312
25313 # type: textblock
25314 #: ../tools/virt-resize.pl:175
25315 msgid "Other options are covered below."
25316 msgstr ""
25317
25318 # type: =item
25319 #: ../tools/virt-resize.pl:177
25320 msgid "6. Test"
25321 msgstr ""
25322
25323 # type: textblock
25324 #: ../tools/virt-resize.pl:179
25325 msgid "Thoroughly test the new disk image I<before> discarding the old one."
25326 msgstr ""
25327
25328 # type: textblock
25329 #: ../tools/virt-resize.pl:181
25330 msgid "If you are using libvirt, edit the XML to point at the new disk:"
25331 msgstr ""
25332
25333 # type: verbatim
25334 #: ../tools/virt-resize.pl:183
25335 #, no-wrap
25336 msgid ""
25337 " # virsh edit guestname\n"
25338 "\n"
25339 msgstr ""
25340
25341 # type: textblock
25342 #: ../tools/virt-resize.pl:185
25343 msgid ""
25344 "Change E<lt>source ...E<gt>, see L<http://libvirt.org/formatdomain."
25345 "html#elementsDisks>"
25346 msgstr ""
25347
25348 # type: textblock
25349 #: ../tools/virt-resize.pl:188
25350 msgid "Then start up the domain with the new, resized disk:"
25351 msgstr ""
25352
25353 # type: verbatim
25354 #: ../tools/virt-resize.pl:190
25355 #, no-wrap
25356 msgid ""
25357 " # virsh start guestname\n"
25358 "\n"
25359 msgstr ""
25360
25361 # type: textblock
25362 #: ../tools/virt-resize.pl:192
25363 msgid ""
25364 "and check that it still works.  See also the L</NOTES> section below for "
25365 "additional information."
25366 msgstr ""
25367
25368 # type: =item
25369 #: ../tools/virt-resize.pl:195
25370 msgid "7. Resize LVs etc inside the guest"
25371 msgstr ""
25372
25373 # type: textblock
25374 #: ../tools/virt-resize.pl:197
25375 msgid "(This can also be done offline using L<guestfish(1)>)"
25376 msgstr ""
25377
25378 # type: textblock
25379 #: ../tools/virt-resize.pl:199
25380 msgid ""
25381 "Once the guest has booted you should see the new space available, at least "
25382 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
25383 "may need to resize LVs inside PVs, and also resize filesystem types that "
25384 "virt-resize does not know how to expand."
25385 msgstr ""
25386
25387 # type: =head2
25388 #: ../tools/virt-resize.pl:206
25389 msgid "SHRINKING A VIRTUAL MACHINE DISK"
25390 msgstr ""
25391
25392 # type: textblock
25393 #: ../tools/virt-resize.pl:208
25394 msgid ""
25395 "Shrinking is somewhat more complex than expanding, and only an overview is "
25396 "given here."
25397 msgstr ""
25398
25399 # type: textblock
25400 #: ../tools/virt-resize.pl:211
25401 msgid ""
25402 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
25403 "filesystems).  The user has to shrink content before passing the disk image "
25404 "to virt-resize, and virt-resize will check that the content has been shrunk "
25405 "properly."
25406 msgstr ""
25407
25408 # type: textblock
25409 #: ../tools/virt-resize.pl:216
25410 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
25411 msgstr ""
25412
25413 # type: textblock
25414 #: ../tools/virt-resize.pl:218
25415 msgid ""
25416 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
25417 "steps 3 and 4 above to allocate a new disk image."
25418 msgstr ""
25419
25420 # type: textblock
25421 #: ../tools/virt-resize.pl:221
25422 msgid ""
25423 "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
25424 msgstr ""
25425
25426 # type: =head2
25427 #: ../tools/virt-resize.pl:224
25428 msgid "IGNORING OR DELETING PARTITIONS"
25429 msgstr ""
25430
25431 # type: textblock
25432 #: ../tools/virt-resize.pl:226
25433 msgid ""
25434 "virt-resize also gives a convenient way to ignore or delete partitions when "
25435 "copying from the input disk to the output disk.  Ignoring a partition speeds "
25436 "up the copy where you don't care about the existing contents of a "
25437 "partition.  Deleting a partition removes it completely, but note that it "
25438 "also renumbers any partitions after the one which is deleted, which can "
25439 "leave some guests unbootable."
25440 msgstr ""
25441
25442 # type: textblock
25443 #: ../tools/virt-resize.pl:243
25444 msgid "Display help."
25445 msgstr ""
25446
25447 # type: =item
25448 #: ../tools/virt-resize.pl:257
25449 msgid "B<--resize part=size>"
25450 msgstr ""
25451
25452 # type: textblock
25453 #: ../tools/virt-resize.pl:259
25454 msgid ""
25455 "Resize the named partition (expanding or shrinking it) so that it has the "
25456 "given size."
25457 msgstr ""
25458
25459 # type: textblock
25460 #: ../tools/virt-resize.pl:262
25461 msgid ""
25462 "C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
25463 "mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
25464 "Exabytes; or as a percentage of the current size; or as a relative number or "
25465 "percentage.  For example:"
25466 msgstr ""
25467
25468 # type: verbatim
25469 #: ../tools/virt-resize.pl:267
25470 #, no-wrap
25471 msgid ""
25472 " --resize /dev/sda2=10G\n"
25473 "\n"
25474 msgstr ""
25475
25476 # type: verbatim
25477 #: ../tools/virt-resize.pl:269
25478 #, no-wrap
25479 msgid ""
25480 " --resize /dev/sda4=90%\n"
25481 "\n"
25482 msgstr ""
25483
25484 # type: verbatim
25485 #: ../tools/virt-resize.pl:271
25486 #, no-wrap
25487 msgid ""
25488 " --resize /dev/sda2=+1G\n"
25489 "\n"
25490 msgstr ""
25491
25492 # type: verbatim
25493 #: ../tools/virt-resize.pl:273
25494 #, no-wrap
25495 msgid ""
25496 " --resize /dev/sda2=-200M\n"
25497 "\n"
25498 msgstr ""
25499
25500 # type: verbatim
25501 #: ../tools/virt-resize.pl:275
25502 #, no-wrap
25503 msgid ""
25504 " --resize /dev/sda1=+128K\n"
25505 "\n"
25506 msgstr ""
25507
25508 # type: verbatim
25509 #: ../tools/virt-resize.pl:277
25510 #, no-wrap
25511 msgid ""
25512 " --resize /dev/sda1=+10%\n"
25513 "\n"
25514 msgstr ""
25515
25516 # type: verbatim
25517 #: ../tools/virt-resize.pl:279
25518 #, no-wrap
25519 msgid ""
25520 " --resize /dev/sda1=-10%\n"
25521 "\n"
25522 msgstr ""
25523
25524 # type: textblock
25525 #: ../tools/virt-resize.pl:281
25526 msgid ""
25527 "You can increase the size of any partition.  Virt-resize will expand the "
25528 "direct content of the partition if it knows how (see C<--expand> below)."
25529 msgstr ""
25530
25531 # type: textblock
25532 #: ../tools/virt-resize.pl:285
25533 msgid ""
25534 "You can only I<decrease> the size of partitions that contain filesystems or "
25535 "PVs which have already been shrunk.  Virt-resize will check this has been "
25536 "done before proceeding, or else will print an error (see also C<--resize-"
25537 "force>)."
25538 msgstr ""
25539
25540 # type: textblock
25541 #: ../tools/virt-resize.pl:290 ../tools/virt-resize.pl:382
25542 #: ../tools/virt-resize.pl:399
25543 msgid "You can give this option multiple times."
25544 msgstr ""
25545
25546 # type: =item
25547 #: ../tools/virt-resize.pl:296
25548 msgid "B<--resize-force part=size>"
25549 msgstr ""
25550
25551 # type: textblock
25552 #: ../tools/virt-resize.pl:298
25553 msgid ""
25554 "This is the same as C<--resize> except that it will let you decrease the "
25555 "size of any partition.  Generally this means you will lose any data which "
25556 "was at the end of the partition you shrink, but you may not care about that "
25557 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
25558 "as a swap partition)."
25559 msgstr ""
25560
25561 # type: textblock
25562 #: ../tools/virt-resize.pl:304
25563 msgid "See also the C<--ignore> option."
25564 msgstr ""
25565
25566 # type: =item
25567 #: ../tools/virt-resize.pl:310
25568 msgid "B<--expand part>"
25569 msgstr ""
25570
25571 # type: textblock
25572 #: ../tools/virt-resize.pl:312
25573 msgid ""
25574 "Expand the named partition so it uses up all extra space (space left over "
25575 "after any other resize changes that you request have been done)."
25576 msgstr ""
25577
25578 # type: textblock
25579 #: ../tools/virt-resize.pl:315
25580 msgid ""
25581 "If virt-resize knows how, it will expand the direct content of the "
25582 "partition.  For example, if the partition is an LVM PV, it will expand the "
25583 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
25584 "content it doesn't know about alone."
25585 msgstr ""
25586
25587 # type: textblock
25588 #: ../tools/virt-resize.pl:320
25589 msgid "Currently virt-resize can resize:"
25590 msgstr ""
25591
25592 # type: textblock
25593 #: ../tools/virt-resize.pl:326
25594 msgid ""
25595 "ext2, ext3 and ext4 filesystems when they are contained directly inside a "
25596 "partition."
25597 msgstr ""
25598
25599 # type: textblock
25600 #: ../tools/virt-resize.pl:331
25601 msgid ""
25602 "NTFS filesystems contained directly in a partition, if libguestfs was "
25603 "compiled with support for NTFS."
25604 msgstr ""
25605
25606 # type: textblock
25607 #: ../tools/virt-resize.pl:334
25608 msgid ""
25609 "The filesystem must have been shut down consistently last time it was used.  "
25610 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
25611 "consistency check, so at the first boot after resizing Windows will check "
25612 "the disk."
25613 msgstr ""
25614
25615 # type: textblock
25616 #: ../tools/virt-resize.pl:341
25617 msgid ""
25618 "LVM PVs (physical volumes).  However virt-resize does I<not> resize anything "
25619 "inside the PV.  The user will have to resize LVs as desired."
25620 msgstr ""
25621
25622 # type: textblock
25623 #: ../tools/virt-resize.pl:347 ../tools/virt-resize.pl:369
25624 msgid "Note that you cannot use C<--expand> and C<--shrink> together."
25625 msgstr ""
25626
25627 # type: =item
25628 #: ../tools/virt-resize.pl:353
25629 msgid "B<--shrink part>"
25630 msgstr ""
25631
25632 # type: textblock
25633 #: ../tools/virt-resize.pl:355
25634 msgid ""
25635 "Shrink the named partition until the overall disk image fits in the "
25636 "destination.  The named partition B<must> contain a filesystem or PV which "
25637 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
25638 "online tools).  Virt-resize will check this and give an error if it has not "
25639 "been done."
25640 msgstr ""
25641
25642 # type: textblock
25643 #: ../tools/virt-resize.pl:361
25644 msgid ""
25645 "The amount by which the overall disk must be shrunk (after carrying out all "
25646 "other operations requested by the user) is called the \"deficit\".  For "
25647 "example, a straight copy (assume no other operations)  from a 5GB disk image "
25648 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
25649 "would give an error unless the user specified a partition to shrink and that "
25650 "partition had more than a gigabyte of free space."
25651 msgstr ""
25652
25653 # type: =item
25654 #: ../tools/virt-resize.pl:375
25655 msgid "B<--ignore part>"
25656 msgstr ""
25657
25658 # type: textblock
25659 #: ../tools/virt-resize.pl:377
25660 msgid ""
25661 "Ignore the named partition.  Effectively this means the partition is "
25662 "allocated on the destination disk, but the content is not copied across from "
25663 "the source disk.  The content of the partition will be blank (all zero "
25664 "bytes)."
25665 msgstr ""
25666
25667 # type: =item
25668 #: ../tools/virt-resize.pl:388
25669 msgid "B<--delete part>"
25670 msgstr ""
25671
25672 # type: textblock
25673 #: ../tools/virt-resize.pl:390
25674 msgid ""
25675 "Delete the named partition.  It would be more accurate to describe this as "
25676 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
25677 "the original disk image is left intact."
25678 msgstr ""
25679
25680 # type: textblock
25681 #: ../tools/virt-resize.pl:394
25682 msgid ""
25683 "Note that when you delete a partition, then anything contained in the "
25684 "partition is also deleted.  Furthermore, this causes any partitions that "
25685 "come after to be I<renumbered>, which can easily make your guest unbootable."
25686 msgstr ""
25687
25688 # type: =item
25689 #: ../tools/virt-resize.pl:405
25690 msgid "B<--LV-expand logvol>"
25691 msgstr ""
25692
25693 # type: textblock
25694 #: ../tools/virt-resize.pl:407
25695 msgid ""
25696 "This takes the logical volume and, as a final step, expands it to fill all "
25697 "the space available in its volume group.  A typical usage, assuming a Linux "
25698 "guest with a single PV C</dev/sda2> and a root device called C</dev/vg_guest/"
25699 "lv_root> would be:"
25700 msgstr ""
25701
25702 # type: verbatim
25703 #: ../tools/virt-resize.pl:412
25704 #, no-wrap
25705 msgid ""
25706 " virt-resize indisk outdisk \\\n"
25707 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
25708 "\n"
25709 msgstr ""
25710
25711 # type: textblock
25712 #: ../tools/virt-resize.pl:415
25713 msgid ""
25714 "This would first expand the partition (and PV), and then expand the root "
25715 "device to fill the extra space in the PV."
25716 msgstr ""
25717
25718 # type: textblock
25719 #: ../tools/virt-resize.pl:418
25720 msgid ""
25721 "The contents of the LV are also resized if virt-resize knows how to do "
25722 "that.  You can stop virt-resize from trying to expand the content by using "
25723 "the option C<--no-expand-content>."
25724 msgstr ""
25725
25726 # type: textblock
25727 #: ../tools/virt-resize.pl:422
25728 msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
25729 msgstr ""
25730
25731 # type: textblock
25732 #: ../tools/virt-resize.pl:425
25733 msgid ""
25734 "You can give this option multiple times, I<but> it doesn't make sense to do "
25735 "this unless the logical volumes you specify are all in different volume "
25736 "groups."
25737 msgstr ""
25738
25739 # type: =item
25740 #: ../tools/virt-resize.pl:433
25741 msgid "B<--no-copy-boot-loader>"
25742 msgstr ""
25743
25744 # type: textblock
25745 #: ../tools/virt-resize.pl:435
25746 msgid ""
25747 "By default, virt-resize copies over some sectors at the start of the disk "
25748 "(up to the beginning of the first partition).  Commonly these sectors "
25749 "contain the Master Boot Record (MBR) and the boot loader, and are required "
25750 "in order for the guest to boot correctly."
25751 msgstr ""
25752
25753 # type: textblock
25754 #: ../tools/virt-resize.pl:440
25755 msgid ""
25756 "If you specify this flag, then this initial copy is not done.  You may need "
25757 "to reinstall the boot loader in this case."
25758 msgstr ""
25759
25760 # type: =item
25761 #: ../tools/virt-resize.pl:448
25762 msgid "B<--no-extra-partition>"
25763 msgstr ""
25764
25765 # type: textblock
25766 #: ../tools/virt-resize.pl:450
25767 msgid ""
25768 "By default, virt-resize creates an extra partition if there is any extra, "
25769 "unused space after all resizing has happened.  Use this option to prevent "
25770 "the extra partition from being created.  If you do this then the extra space "
25771 "will be inaccessible until you run fdisk, parted, or some other partitioning "
25772 "tool in the guest."
25773 msgstr ""
25774
25775 # type: textblock
25776 #: ../tools/virt-resize.pl:456
25777 msgid ""
25778 "Note that if the surplus space is smaller than 10 MB, no extra partition "
25779 "will be created."
25780 msgstr ""
25781
25782 # type: =item
25783 #: ../tools/virt-resize.pl:463
25784 msgid "B<--no-expand-content>"
25785 msgstr ""
25786
25787 # type: textblock
25788 #: ../tools/virt-resize.pl:465
25789 msgid ""
25790 "By default, virt-resize will try to expand the direct contents of "
25791 "partitions, if it knows how (see C<--expand> option above)."
25792 msgstr ""
25793
25794 # type: textblock
25795 #: ../tools/virt-resize.pl:468
25796 msgid ""
25797 "If you give the C<--no-expand-content> option then virt-resize will not "
25798 "attempt this."
25799 msgstr ""
25800
25801 # type: =item
25802 #: ../tools/virt-resize.pl:475
25803 msgid "B<-d> | B<--debug>"
25804 msgstr ""
25805
25806 # type: =item
25807 #: ../tools/virt-resize.pl:483
25808 msgid "B<-n> | B<--dryrun>"
25809 msgstr ""
25810
25811 # type: textblock
25812 #: ../tools/virt-resize.pl:485
25813 msgid "Print a summary of what would be done, but don't do anything."
25814 msgstr ""
25815
25816 # type: =item
25817 #: ../tools/virt-resize.pl:491
25818 msgid "B<-q> | B<--quiet>"
25819 msgstr ""
25820
25821 # type: textblock
25822 #: ../tools/virt-resize.pl:493
25823 msgid "Don't print the summary."
25824 msgstr ""
25825
25826 # type: =head1
25827 #: ../tools/virt-resize.pl:1359 ../tools/virt-rescue.pl:90
25828 msgid "NOTES"
25829 msgstr ""
25830
25831 # type: =head2
25832 #: ../tools/virt-resize.pl:1361
25833 msgid "\"Partition 1 does not end on cylinder boundary.\""
25834 msgstr ""
25835
25836 # type: textblock
25837 #: ../tools/virt-resize.pl:1363
25838 msgid ""
25839 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
25840 "means the partitions will not be aligned to the ancient CHS geometry.  "
25841 "However CHS geometry is meaningless for disks manufactured since the early "
25842 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
25843 "cylinders is not required by any modern operating system."
25844 msgstr ""
25845
25846 # type: =head2
25847 #: ../tools/virt-resize.pl:1370
25848 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
25849 msgstr ""
25850
25851 # type: textblock
25852 #: ../tools/virt-resize.pl:1372
25853 msgid ""
25854 "In Windows Vista and later versions, Microsoft switched to using a separate "
25855 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
25856 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
25857 "the boot partition.  Doing so seems to break the guest completely.  However "
25858 "expanding the second partition (ie. C: drive) should work."
25859 msgstr ""
25860
25861 # type: textblock
25862 #: ../tools/virt-resize.pl:1379
25863 msgid ""
25864 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
25865 "NTFS partitions have been expanded.  This is just a safety check and (unless "
25866 "it find errors) is nothing to worry about."
25867 msgstr ""
25868
25869 # type: =head1
25870 #: ../tools/virt-resize.pl:1383
25871 msgid "ALTERNATIVE TOOLS"
25872 msgstr ""
25873
25874 # type: textblock
25875 #: ../tools/virt-resize.pl:1385
25876 msgid ""
25877 "There are several proprietary tools for resizing partitions.  We won't "
25878 "mention any here."
25879 msgstr ""
25880
25881 # type: textblock
25882 #: ../tools/virt-resize.pl:1388
25883 msgid ""
25884 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
25885 "operations on disk images.  They can resize and move partitions, but I don't "
25886 "think they can do anything with the contents, and they certainly don't "
25887 "understand LVM."
25888 msgstr ""
25889
25890 # type: textblock
25891 #: ../tools/virt-resize.pl:1393
25892 msgid ""
25893 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
25894 "but at a much lower level.  You will probably end up hand-calculating sector "
25895 "offsets, which is something that virt-resize was designed to avoid.  If you "
25896 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
25897 "C<--debug> flag."
25898 msgstr ""
25899
25900 # type: textblock
25901 #: ../tools/virt-resize.pl:1401
25902 msgid ""
25903 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)>, L<virt-df(1)>, "
25904 "L<guestfs(3)>, L<guestfish(1)>, L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, "
25905 "L<resize2fs(8)>, L<ntfsresize(8)>, L<virsh(1)>, L<parted(8)>, L<Sys::Guestfs"
25906 "(3)>, L<http://libguestfs.org/>."
25907 msgstr ""
25908
25909 # type: textblock
25910 #: ../tools/virt-list-filesystems.pl:32
25911 msgid ""
25912 "virt-list-filesystems - List filesystems in a virtual machine or disk image"
25913 msgstr ""
25914
25915 # type: verbatim
25916 #: ../tools/virt-list-filesystems.pl:36
25917 #, no-wrap
25918 msgid ""
25919 " virt-list-filesystems [--options] domname\n"
25920 "\n"
25921 msgstr ""
25922
25923 # type: verbatim
25924 #: ../tools/virt-list-filesystems.pl:38
25925 #, no-wrap
25926 msgid ""
25927 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
25928 "\n"
25929 msgstr ""
25930
25931 # type: textblock
25932 #: ../tools/virt-list-filesystems.pl:42
25933 msgid ""
25934 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
25935 "are contained in a virtual machine or disk image."
25936 msgstr ""
25937
25938 # type: textblock
25939 #: ../tools/virt-list-filesystems.pl:46
25940 msgid ""
25941 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
25942 "functionality.  For more complex cases you should look at the L<guestfish(1)"
25943 "> tool."
25944 msgstr ""
25945
25946 # type: textblock
25947 #: ../tools/virt-list-filesystems.pl:88
25948 msgid ""
25949 "With this option, C<virt-list-filesystems> displays the type of each "
25950 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
25951 msgstr ""
25952
25953 # type: =item
25954 #: ../tools/virt-list-filesystems.pl:95
25955 msgid "B<-a> | B<--all>"
25956 msgstr ""
25957
25958 # type: textblock
25959 #: ../tools/virt-list-filesystems.pl:97
25960 msgid ""
25961 "Normally we only show mountable filesystems.  If this option is given then "
25962 "swap devices are shown too."
25963 msgstr ""
25964
25965 # type: textblock
25966 #: ../tools/virt-list-filesystems.pl:193
25967 msgid ""
25968 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, L<virt-list-"
25969 "partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)"
25970 ">, L<http://libguestfs.org/>."
25971 msgstr ""
25972
25973 # type: textblock
25974 #: ../tools/virt-cat.pl:34
25975 msgid "virt-cat - Display a file in a virtual machine"
25976 msgstr ""
25977
25978 # type: verbatim
25979 #: ../tools/virt-cat.pl:38
25980 #, no-wrap
25981 msgid ""
25982 " virt-cat [--options] domname file\n"
25983 "\n"
25984 msgstr ""
25985
25986 # type: verbatim
25987 #: ../tools/virt-cat.pl:40
25988 #, no-wrap
25989 msgid ""
25990 " virt-cat [--options] disk.img [disk.img ...] file\n"
25991 "\n"
25992 msgstr ""
25993
25994 # type: textblock
25995 #: ../tools/virt-cat.pl:44
25996 msgid ""
25997 "C<virt-cat> is a command line tool to display the contents of C<file> where "
25998 "C<file> exists in the named virtual machine (or disk image)."
25999 msgstr ""
26000
26001 # type: textblock
26002 #: ../tools/virt-cat.pl:47
26003 msgid ""
26004 "C<virt-cat> can be used to quickly view a single file.  To edit a file, use "
26005 "C<virt-edit>.  For more complex cases you should look at the L<guestfish(1)> "
26006 "tool."
26007 msgstr ""
26008
26009 # type: textblock
26010 #: ../tools/virt-cat.pl:53
26011 msgid ""
26012 "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
26013 msgstr ""
26014
26015 # type: verbatim
26016 #: ../tools/virt-cat.pl:56
26017 #, no-wrap
26018 msgid ""
26019 " virt-cat mydomain /etc/fstab\n"
26020 "\n"
26021 msgstr ""
26022
26023 # type: textblock
26024 #: ../tools/virt-cat.pl:58
26025 msgid "List syslog messages from a VM:"
26026 msgstr ""
26027
26028 # type: verbatim
26029 #: ../tools/virt-cat.pl:60
26030 #, no-wrap
26031 msgid ""
26032 " virt-cat mydomain /var/log/messages | tail\n"
26033 "\n"
26034 msgstr ""
26035
26036 # type: textblock
26037 #: ../tools/virt-cat.pl:62
26038 msgid "Find out what DHCP IP address a VM acquired:"
26039 msgstr ""
26040
26041 # type: verbatim
26042 #: ../tools/virt-cat.pl:64
26043 #, no-wrap
26044 msgid ""
26045 " virt-cat mydomain /var/log/messages | grep 'dhclient: bound to' | tail\n"
26046 "\n"
26047 msgstr ""
26048
26049 # type: textblock
26050 #: ../tools/virt-cat.pl:66
26051 msgid "Find out what packages were recently installed:"
26052 msgstr ""
26053
26054 # type: verbatim
26055 #: ../tools/virt-cat.pl:68
26056 #, no-wrap
26057 msgid ""
26058 " virt-cat mydomain /var/log/yum.log | tail\n"
26059 "\n"
26060 msgstr ""
26061
26062 # type: textblock
26063 #: ../tools/virt-cat.pl:70
26064 msgid "Find out who is logged on inside a virtual machine:"
26065 msgstr ""
26066
26067 # type: verbatim
26068 #: ../tools/virt-cat.pl:72
26069 #, no-wrap
26070 msgid ""
26071 " virt-cat mydomain /var/run/utmp > /tmp/utmp\n"
26072 " who /tmp/utmp\n"
26073 "\n"
26074 msgstr ""
26075
26076 # type: textblock
26077 #: ../tools/virt-cat.pl:75
26078 msgid "or who was logged on:"
26079 msgstr ""
26080
26081 # type: verbatim
26082 #: ../tools/virt-cat.pl:77
26083 #, no-wrap
26084 msgid ""
26085 " virt-cat mydomain /var/log/wtmp > /tmp/wtmp\n"
26086 " last -f /tmp/wtmp\n"
26087 "\n"
26088 msgstr ""
26089
26090 # type: textblock
26091 #: ../tools/virt-cat.pl:165
26092 msgid ""
26093 "L<guestfs(3)>, L<guestfish(1)>, L<virt-edit(1)>, L<Sys::Guestfs(3)>, L<Sys::"
26094 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26095 msgstr ""
26096
26097 # type: textblock
26098 #: ../tools/virt-tar.pl:34
26099 msgid "virt-tar - Extract or upload files to a virtual machine"
26100 msgstr ""
26101
26102 # type: verbatim
26103 #: ../tools/virt-tar.pl:38
26104 #, no-wrap
26105 msgid ""
26106 " virt-tar [--options] -x domname directory tarball\n"
26107 "\n"
26108 msgstr ""
26109
26110 # type: verbatim
26111 #: ../tools/virt-tar.pl:40
26112 #, no-wrap
26113 msgid ""
26114 " virt-tar [--options] -u domname tarball directory\n"
26115 "\n"
26116 msgstr ""
26117
26118 # type: verbatim
26119 #: ../tools/virt-tar.pl:42
26120 #, no-wrap
26121 msgid ""
26122 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
26123 "\n"
26124 msgstr ""
26125
26126 # type: verbatim
26127 #: ../tools/virt-tar.pl:44
26128 #, no-wrap
26129 msgid ""
26130 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
26131 "\n"
26132 msgstr ""
26133
26134 # type: textblock
26135 #: ../tools/virt-tar.pl:48
26136 msgid "Download C</home> from the VM into a local tarball:"
26137 msgstr ""
26138
26139 # type: verbatim
26140 #: ../tools/virt-tar.pl:50
26141 #, no-wrap
26142 msgid ""
26143 " virt-tar -x domname /home home.tar\n"
26144 "\n"
26145 msgstr ""
26146
26147 # type: verbatim
26148 #: ../tools/virt-tar.pl:52
26149 #, no-wrap
26150 msgid ""
26151 " virt-tar -zx domname /home home.tar.gz\n"
26152 "\n"
26153 msgstr ""
26154
26155 # type: textblock
26156 #: ../tools/virt-tar.pl:54
26157 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
26158 msgstr ""
26159
26160 # type: verbatim
26161 #: ../tools/virt-tar.pl:56
26162 #, no-wrap
26163 msgid ""
26164 " virt-tar -u domname uploadstuff.tar /tmp\n"
26165 "\n"
26166 msgstr ""
26167
26168 # type: verbatim
26169 #: ../tools/virt-tar.pl:58
26170 #, no-wrap
26171 msgid ""
26172 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
26173 "\n"
26174 msgstr ""
26175
26176 # type: textblock
26177 #: ../tools/virt-tar.pl:62
26178 msgid ""
26179 "You must I<not> use C<virt-tar> with the C<-u> option (upload) on live "
26180 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
26181 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
26182 msgstr ""
26183
26184 # type: textblock
26185 #: ../tools/virt-tar.pl:67
26186 msgid ""
26187 "You can use C<-x> (extract) on live virtual machines, but you might get "
26188 "inconsistent results or errors if there is filesystem activity inside the "
26189 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
26190 "work, but the only way to guarantee consistent results is if the virtual "
26191 "machine is shut down."
26192 msgstr ""
26193
26194 # type: textblock
26195 #: ../tools/virt-tar.pl:75
26196 msgid ""
26197 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
26198 "parts of a guest filesystem.  There are many possibilities: making backups, "
26199 "uploading data files, snooping on guest activity, fixing or customizing "
26200 "guests, etc."
26201 msgstr ""
26202
26203 # type: textblock
26204 #: ../tools/virt-tar.pl:80
26205 msgid ""
26206 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
26207 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
26208 "should look at the L<guestfish(1)> tool."
26209 msgstr ""
26210
26211 # type: textblock
26212 #: ../tools/virt-tar.pl:84
26213 msgid ""
26214 "There are two modes of operation: C<-x> (eXtract) downloads a directory and "
26215 "its contents (recursively) from the virtual machine into a local tarball.  "
26216 "C<-u> uploads from a local tarball, unpacking it into a directory inside the "
26217 "virtual machine.  You cannot use these two options together."
26218 msgstr ""
26219
26220 # type: textblock
26221 #: ../tools/virt-tar.pl:90
26222 msgid ""
26223 "In addition, you may need to use the C<-z> (gZip) option to enable "
26224 "compression.  When uploading, you have to specify C<-z> if the upload file "
26225 "is compressed because virt-tar won't detect this on its own."
26226 msgstr ""
26227
26228 # type: textblock
26229 #: ../tools/virt-tar.pl:94
26230 msgid ""
26231 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
26232 "example it cannot do PKZip files or bzip2 compression.  If you want that "
26233 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
26234 "the L<libguestfs(3)> API)."
26235 msgstr ""
26236
26237 # type: =item
26238 #: ../tools/virt-tar.pl:135
26239 msgid "B<-x> | B<--extract> | B<--download>"
26240 msgstr ""
26241
26242 # type: =item
26243 #: ../tools/virt-tar.pl:137
26244 msgid "B<-u> | B<--upload>"
26245 msgstr ""
26246
26247 # type: textblock
26248 #: ../tools/virt-tar.pl:139
26249 msgid ""
26250 "Use C<-x> to extract (download) a directory from a virtual machine to a "
26251 "local tarball."
26252 msgstr ""
26253
26254 # type: textblock
26255 #: ../tools/virt-tar.pl:142
26256 msgid ""
26257 "Use C<-u> to upload and unpack from a local tarball into a virtual machine.  "
26258 "Please read the L</WARNING> section above before using this option."
26259 msgstr ""
26260
26261 # type: textblock
26262 #: ../tools/virt-tar.pl:146
26263 msgid "You must specify exactly one of these options."
26264 msgstr ""
26265
26266 # type: =item
26267 #: ../tools/virt-tar.pl:152
26268 msgid "B<-z> | B<--gzip>"
26269 msgstr ""
26270
26271 # type: textblock
26272 #: ../tools/virt-tar.pl:154
26273 msgid "Specify that the input or output tarball is gzip-compressed."
26274 msgstr ""
26275
26276 # type: textblock
26277 #: ../tools/virt-tar.pl:259
26278 msgid ""
26279 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, L<Sys::"
26280 "Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs."
26281 "org/>."
26282 msgstr ""
26283
26284 # type: textblock
26285 #: ../tools/virt-rescue.pl:33
26286 msgid "virt-rescue - Run a rescue shell on a virtual machine"
26287 msgstr ""
26288
26289 # type: verbatim
26290 #: ../tools/virt-rescue.pl:37
26291 #, no-wrap
26292 msgid ""
26293 " virt-rescue [--options] domname\n"
26294 "\n"
26295 msgstr ""
26296
26297 # type: verbatim
26298 #: ../tools/virt-rescue.pl:39
26299 #, no-wrap
26300 msgid ""
26301 " virt-rescue [--options] disk.img [disk.img ...]\n"
26302 "\n"
26303 msgstr ""
26304
26305 # type: textblock
26306 #: ../tools/virt-rescue.pl:43
26307 msgid ""
26308 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
26309 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
26310 "you from doing this, but doesn't catch all cases."
26311 msgstr ""
26312
26313 # type: textblock
26314 #: ../tools/virt-rescue.pl:47
26315 msgid ""
26316 "However if you use the I<--ro> (read only) option, then you can attach a "
26317 "shell to a live virtual machine.  The results might be strange or "
26318 "inconsistent at times but you won't get disk corruption."
26319 msgstr ""
26320
26321 # type: textblock
26322 #: ../tools/virt-rescue.pl:53
26323 msgid ""
26324 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
26325 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
26326 "recovery tools which you can use to examine or rescue a virtual machine or "
26327 "disk image."
26328 msgstr ""
26329
26330 # type: textblock
26331 #: ../tools/virt-rescue.pl:58
26332 msgid ""
26333 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
26334 "on disk image(s):"
26335 msgstr ""
26336
26337 # type: verbatim
26338 #: ../tools/virt-rescue.pl:61
26339 #, no-wrap
26340 msgid ""
26341 " virt-rescue GuestName\n"
26342 "\n"
26343 msgstr ""
26344
26345 # type: verbatim
26346 #: ../tools/virt-rescue.pl:63
26347 #, no-wrap
26348 msgid ""
26349 " virt-rescue --ro /path/to/disk.img\n"
26350 "\n"
26351 msgstr ""
26352
26353 # type: verbatim
26354 #: ../tools/virt-rescue.pl:65
26355 #, no-wrap
26356 msgid ""
26357 " virt-rescue /dev/sdc\n"
26358 "\n"
26359 msgstr ""
26360
26361 # type: textblock
26362 #: ../tools/virt-rescue.pl:67
26363 msgid "For live VMs you I<must> use the --ro option."
26364 msgstr ""
26365
26366 # type: textblock
26367 #: ../tools/virt-rescue.pl:69
26368 msgid ""
26369 "When you run virt-rescue on a virtual machine or disk image, you are placed "
26370 "in an interactive bash shell where you can use many ordinary Linux "
26371 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
26372 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
26373 "is an empty directory called C</sysroot> where you can mount filesystems."
26374 msgstr ""
26375
26376 # type: textblock
26377 #: ../tools/virt-rescue.pl:76
26378 msgid ""
26379 "In the example below, we list logical volumes, then choose one to mount "
26380 "under C</sysroot>:"
26381 msgstr ""
26382
26383 # type: verbatim
26384 #: ../tools/virt-rescue.pl:79
26385 #, no-wrap
26386 msgid ""
26387 " ><rescue> lvs\n"
26388 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
26389 " lv_root vg_f11x64 -wi-a-   8.83G\n"
26390 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
26391 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
26392 " ><rescue> ls /sysroot\n"
26393 "\n"
26394 msgstr ""
26395
26396 # type: textblock
26397 #: ../tools/virt-rescue.pl:86
26398 msgid ""
26399 "If you don't know what filesystems are available on the virtual machine then "
26400 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
26401 msgstr ""
26402
26403 # type: textblock
26404 #: ../tools/virt-rescue.pl:92
26405 msgid ""
26406 "Virt-rescue can be used on I<any> disk image file or device, not just a "
26407 "virtual machine.  For example you can use it on a blank file if you want to "
26408 "partition that file (although we would recommend using L<guestfish(1)> "
26409 "instead as it is more suitable for this purpose).  You can even use virt-"
26410 "rescue on things like SD cards."
26411 msgstr ""
26412
26413 # type: textblock
26414 #: ../tools/virt-rescue.pl:98
26415 msgid ""
26416 "This tool is just designed for quick interactive hacking on a virtual "
26417 "machine.  For more structured access to a virtual machine disk image, you "
26418 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
26419 "make scripted changes to guests, use L<guestfish(1)>."
26420 msgstr ""
26421
26422 # type: =item
26423 #: ../tools/virt-rescue.pl:127
26424 msgid "B<--append kernelopts>"
26425 msgstr ""
26426
26427 # type: textblock
26428 #: ../tools/virt-rescue.pl:129
26429 msgid "Pass additional options to the rescue kernel."
26430 msgstr ""
26431
26432 # type: =item
26433 #: ../tools/virt-rescue.pl:147
26434 msgid "B<--memsize MB> | B<-m MB>"
26435 msgstr ""
26436
26437 # type: textblock
26438 #: ../tools/virt-rescue.pl:149
26439 msgid ""
26440 "Change the amount of memory allocated to the rescue system.  The default is "
26441 "set by libguestfs and is small but adequate for running system tools.  The "
26442 "occasional program might need more memory.  The parameter is specified in "
26443 "megabytes."
26444 msgstr ""
26445
26446 # type: =item
26447 #: ../tools/virt-rescue.pl:158
26448 msgid "B<--ro> | B<-r>"
26449 msgstr ""
26450
26451 # type: textblock
26452 #: ../tools/virt-rescue.pl:160
26453 msgid "Open the image read-only."
26454 msgstr ""
26455
26456 # type: textblock
26457 #: ../tools/virt-rescue.pl:172
26458 msgid ""
26459 "Enable SELinux in the rescue appliance.  You should read L<guestfs(3)/"
26460 "SELINUX> before using this option."
26461 msgstr ""
26462
26463 # type: textblock
26464 #: ../tools/virt-rescue.pl:228
26465 msgid ""
26466 "Several environment variables affect virt-rescue.  See L<guestfs(3)/"
26467 "ENVIRONMENT VARIABLES> for the complete list."
26468 msgstr ""
26469
26470 # type: textblock
26471 #: ../tools/virt-rescue.pl:233
26472 msgid ""
26473 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, L<Sys::"
26474 "Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
26475 msgstr ""
26476
26477 # type: textblock
26478 #: ../tools/virt-make-fs.pl:37
26479 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
26480 msgstr ""
26481
26482 # type: verbatim
26483 #: ../tools/virt-make-fs.pl:41
26484 #, no-wrap
26485 msgid ""
26486 " virt-make-fs [--options] input.tar output.img\n"
26487 "\n"
26488 msgstr ""
26489
26490 # type: verbatim
26491 #: ../tools/virt-make-fs.pl:43
26492 #, no-wrap
26493 msgid ""
26494 " virt-make-fs [--options] input.tar.gz output.img\n"
26495 "\n"
26496 msgstr ""
26497
26498 # type: verbatim
26499 #: ../tools/virt-make-fs.pl:45
26500 #, no-wrap
26501 msgid ""
26502 " virt-make-fs [--options] directory output.img\n"
26503 "\n"
26504 msgstr ""
26505
26506 # type: textblock
26507 #: ../tools/virt-make-fs.pl:49
26508 msgid ""
26509 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
26510 "archive or some files in a directory.  It is similar to tools like L<mkisofs"
26511 "(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, it can "
26512 "create common filesystem types like ext2/3 or NTFS, which can be useful if "
26513 "you want to attach these filesystems to existing virtual machines (eg. to "
26514 "import large amounts of read-only data to a VM)."
26515 msgstr ""
26516
26517 # type: textblock
26518 #: ../tools/virt-make-fs.pl:57
26519 msgid "Basic usage is:"
26520 msgstr ""
26521
26522 # type: verbatim
26523 #: ../tools/virt-make-fs.pl:59
26524 #, no-wrap
26525 msgid ""
26526 " virt-make-fs input output\n"
26527 "\n"
26528 msgstr ""
26529
26530 # type: textblock
26531 #: ../tools/virt-make-fs.pl:61
26532 msgid ""
26533 "where C<input> is either a directory containing files that you want to add, "
26534 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
26535 "C<output> is a disk image.  The input type is detected automatically.  The "
26536 "output disk image defaults to a raw ext2 image unless you specify extra "
26537 "flags (see L</OPTIONS> below)."
26538 msgstr ""
26539
26540 # type: =head2
26541 #: ../tools/virt-make-fs.pl:67
26542 msgid "EXTRA SPACE"
26543 msgstr ""
26544
26545 # type: textblock
26546 #: ../tools/virt-make-fs.pl:69
26547 msgid ""
26548 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
26549 "the files that it contains, but might have extra space.  Depending on how "
26550 "you are going to use the output, you might think this extra space is wasted "
26551 "and want to minimize it, or you might want to leave space so that more files "
26552 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
26553 "but you can use the C<--size> flag to leave space in the filesystem if you "
26554 "want it."
26555 msgstr ""
26556
26557 # type: textblock
26558 #: ../tools/virt-make-fs.pl:77
26559 msgid ""
26560 "An alternative way to leave extra space but not make the output image any "
26561 "bigger is to use an alternative disk image format (instead of the default "
26562 "\"raw\" format).  Using C<--format=qcow2> will use the native QEmu/KVM qcow2 "
26563 "image format (check your hypervisor supports this before using it).  This "
26564 "allows you to choose a large C<--size> but the extra space won't actually be "
26565 "allocated in the image until you try to store something in it."
26566 msgstr ""
26567
26568 # type: textblock
26569 #: ../tools/virt-make-fs.pl:85
26570 msgid ""
26571 "Don't forget that you can also use local commands including L<resize2fs(8)> "
26572 "and L<virt-resize(1)> to resize existing filesystems, or rerun virt-make-"
26573 "resize to build another image from scratch."
26574 msgstr ""
26575
26576 # type: =head3
26577 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123
26578 #: ../tools/virt-make-fs.pl:142
26579 msgid "EXAMPLE"
26580 msgstr ""
26581
26582 # type: verbatim
26583 #: ../tools/virt-make-fs.pl:91
26584 #, no-wrap
26585 msgid ""
26586 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
26587 "\n"
26588 msgstr ""
26589
26590 # type: =head2
26591 #: ../tools/virt-make-fs.pl:93
26592 msgid "FILESYSTEM TYPE"
26593 msgstr ""
26594
26595 # type: textblock
26596 #: ../tools/virt-make-fs.pl:95
26597 msgid ""
26598 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
26599 "libguestfs supports can be used (but I<not> read-only formats like "
26600 "ISO9660).  Here are some of the more common choices:"
26601 msgstr ""
26602
26603 # type: =item
26604 #: ../tools/virt-make-fs.pl:101
26605 msgid "I<ext3>"
26606 msgstr ""
26607
26608 # type: textblock
26609 #: ../tools/virt-make-fs.pl:103
26610 msgid ""
26611 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
26612 "you are not going to use the filesystem in a way that requires the journal, "
26613 "then this is just wasted overhead."
26614 msgstr ""
26615
26616 # type: =item
26617 #: ../tools/virt-make-fs.pl:107
26618 msgid "I<ntfs> or I<vfat>"
26619 msgstr ""
26620
26621 # type: textblock
26622 #: ../tools/virt-make-fs.pl:109
26623 msgid "Useful if exporting data to a Windows guest."
26624 msgstr ""
26625
26626 # type: textblock
26627 #: ../tools/virt-make-fs.pl:111
26628 msgid ""
26629 "I<Note for vfat>: The tar archive or local directory must only contain files "
26630 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
26631 "program running within libguestfs is unable to change the ownership of non-"
26632 "root files, since vfat itself does not support this."
26633 msgstr ""
26634
26635 # type: =item
26636 #: ../tools/virt-make-fs.pl:116
26637 msgid "I<minix>"
26638 msgstr ""
26639
26640 # type: textblock
26641 #: ../tools/virt-make-fs.pl:118
26642 msgid ""
26643 "Lower overhead than C<ext2>, but certain limitations on filename length and "
26644 "total filesystem size."
26645 msgstr ""
26646
26647 # type: verbatim
26648 #: ../tools/virt-make-fs.pl:125
26649 #, no-wrap
26650 msgid ""
26651 " virt-make-fs --type=minix input minixfs.img\n"
26652 "\n"
26653 msgstr ""
26654
26655 # type: =head2
26656 #: ../tools/virt-make-fs.pl:127
26657 msgid "TO PARTITION OR NOT TO PARTITION"
26658 msgstr ""
26659
26660 # type: textblock
26661 #: ../tools/virt-make-fs.pl:129
26662 msgid "Optionally virt-make-fs can add a partition table to the output disk."
26663 msgstr ""
26664
26665 # type: textblock
26666 #: ../tools/virt-make-fs.pl:131
26667 msgid ""
26668 "Adding a partition can make the disk image more compatible with certain "
26669 "virtualized operating systems which don't expect to see a filesystem "
26670 "directly located on a block device (Linux doesn't care and will happily "
26671 "handle both types)."
26672 msgstr ""
26673
26674 # type: textblock
26675 #: ../tools/virt-make-fs.pl:136
26676 msgid ""
26677 "On the other hand, if you have a partition table then the output image is no "
26678 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
26679 "directly on a partitioned disk image.  (However libguestfs tools such as "
26680 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
26681 msgstr ""
26682
26683 # type: textblock
26684 #: ../tools/virt-make-fs.pl:144
26685 msgid "Add an MBR partition:"
26686 msgstr ""
26687
26688 # type: verbatim
26689 #: ../tools/virt-make-fs.pl:146
26690 #, no-wrap
26691 msgid ""
26692 " virt-make-fs --partition -- input disk.img\n"
26693 "\n"
26694 msgstr ""
26695
26696 # type: textblock
26697 #: ../tools/virt-make-fs.pl:148
26698 msgid ""
26699 "If the output disk image could be terabyte-sized or larger, it's better to "
26700 "use an EFI/GPT-compatible partition table:"
26701 msgstr ""
26702
26703 # type: verbatim
26704 #: ../tools/virt-make-fs.pl:151
26705 #, no-wrap
26706 msgid ""
26707 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
26708 "\n"
26709 msgstr ""
26710
26711 # type: textblock
26712 #: ../tools/virt-make-fs.pl:179
26713 msgid "Enable debugging information."
26714 msgstr ""
26715
26716 # type: =item
26717 #: ../tools/virt-make-fs.pl:185
26718 msgid "B<--size=E<lt>NE<gt>>"
26719 msgstr ""
26720
26721 # type: =item
26722 #: ../tools/virt-make-fs.pl:187
26723 msgid "B<--size=+E<lt>NE<gt>>"
26724 msgstr ""
26725
26726 # type: =item
26727 #: ../tools/virt-make-fs.pl:189
26728 msgid "B<-s E<lt>NE<gt>>"
26729 msgstr ""
26730
26731 # type: =item
26732 #: ../tools/virt-make-fs.pl:191
26733 msgid "B<-s +E<lt>NE<gt>>"
26734 msgstr ""
26735
26736 # type: textblock
26737 #: ../tools/virt-make-fs.pl:193
26738 msgid ""
26739 "Use the C<--size> (or C<-s>) option to choose the size of the output image."
26740 msgstr ""
26741
26742 # type: textblock
26743 #: ../tools/virt-make-fs.pl:196
26744 msgid ""
26745 "If this option is I<not> given, then the output image will be just large "
26746 "enough to contain all the files, with not much wasted space."
26747 msgstr ""
26748
26749 # type: textblock
26750 #: ../tools/virt-make-fs.pl:199
26751 msgid ""
26752 "To choose a fixed size output disk, specify an absolute number followed by b/"
26753 "K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
26754 "Petabytes or Exabytes.  This must be large enough to contain all the input "
26755 "files, else you will get an error."
26756 msgstr ""
26757
26758 # type: textblock
26759 #: ../tools/virt-make-fs.pl:204
26760 msgid ""
26761 "To leave extra space, specify C<+> (plus sign) and a number followed by b/K/"
26762 "M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
26763 "Petabytes or Exabytes.  For example: C<--size=+200M> means enough space for "
26764 "the input files, and (approximately) an extra 200 MB free space."
26765 msgstr ""
26766
26767 # type: textblock
26768 #: ../tools/virt-make-fs.pl:210
26769 msgid ""
26770 "Note that virt-make-fs estimates free space, and therefore will not produce "
26771 "filesystems containing precisely the free space requested.  (It is much more "
26772 "expensive and time-consuming to produce a filesystem which has precisely the "
26773 "desired free space)."
26774 msgstr ""
26775
26776 # type: =item
26777 #: ../tools/virt-make-fs.pl:219
26778 msgid "B<--format=E<lt>fmtE<gt>>"
26779 msgstr ""
26780
26781 # type: =item
26782 #: ../tools/virt-make-fs.pl:221
26783 msgid "B<-F E<lt>fmtE<gt>>"
26784 msgstr ""
26785
26786 # type: textblock
26787 #: ../tools/virt-make-fs.pl:223
26788 msgid "Choose the output disk image format."
26789 msgstr ""
26790
26791 # type: textblock
26792 #: ../tools/virt-make-fs.pl:225
26793 msgid "The default is C<raw> (raw disk image)."
26794 msgstr ""
26795
26796 # type: textblock
26797 #: ../tools/virt-make-fs.pl:227
26798 msgid ""
26799 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
26800 "that would really make sense here is C<qcow2>."
26801 msgstr ""
26802
26803 # type: =item
26804 #: ../tools/virt-make-fs.pl:234
26805 msgid "B<--type=E<lt>fsE<gt>>"
26806 msgstr ""
26807
26808 # type: =item
26809 #: ../tools/virt-make-fs.pl:236
26810 msgid "B<-t E<lt>fsE<gt>>"
26811 msgstr ""
26812
26813 # type: textblock
26814 #: ../tools/virt-make-fs.pl:238
26815 msgid "Choose the output filesystem type."
26816 msgstr ""
26817
26818 # type: textblock
26819 #: ../tools/virt-make-fs.pl:240
26820 msgid "The default is C<ext2>."
26821 msgstr ""
26822
26823 # type: textblock
26824 #: ../tools/virt-make-fs.pl:242
26825 msgid ""
26826 "Any filesystem which is supported read-write by libguestfs can be used here."
26827 msgstr ""
26828
26829 # type: =item
26830 #: ../tools/virt-make-fs.pl:249
26831 msgid "B<--partition>"
26832 msgstr ""
26833
26834 # type: =item
26835 #: ../tools/virt-make-fs.pl:251
26836 msgid "B<--partition=E<lt>parttypeE<gt>>"
26837 msgstr ""
26838
26839 # type: textblock
26840 #: ../tools/virt-make-fs.pl:253
26841 msgid ""
26842 "If specified, this flag adds an MBR partition table to the output disk image."
26843 msgstr ""
26844
26845 # type: textblock
26846 #: ../tools/virt-make-fs.pl:256
26847 msgid ""
26848 "You can change the partition table type, eg. C<--partition=gpt> for large "
26849 "disks."
26850 msgstr ""
26851
26852 # type: textblock
26853 #: ../tools/virt-make-fs.pl:259
26854 msgid ""
26855 "Note that if you just use a lonesome C<--partition>, the Perl option parser "
26856 "might consider the next parameter to be the partition type.  For example:"
26857 msgstr ""
26858
26859 # type: verbatim
26860 #: ../tools/virt-make-fs.pl:263
26861 #, no-wrap
26862 msgid ""
26863 " virt-make-fs --partition input.tar ...\n"
26864 "\n"
26865 msgstr ""
26866
26867 # type: textblock
26868 #: ../tools/virt-make-fs.pl:265
26869 msgid ""
26870 "would cause virt-make-fs to think you wanted to use a partition type of "
26871 "C<input.tar> which is completely wrong.  To avoid this, use C<--> (a double "
26872 "dash) between options and the input file argument:"
26873 msgstr ""
26874
26875 # type: verbatim
26876 #: ../tools/virt-make-fs.pl:269
26877 #, no-wrap
26878 msgid ""
26879 " virt-make-fs --partition -- input.tar ...\n"
26880 "\n"
26881 msgstr ""
26882
26883 # type: textblock
26884 #: ../tools/virt-make-fs.pl:529
26885 msgid ""
26886 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar(1)>, L<mkisofs(1)>, "
26887 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, L<guestfs"
26888 "(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
26889 msgstr ""
26890
26891 # type: verbatim
26892 #: ../tools/virt-make-fs.pl:546
26893 #, no-wrap
26894 msgid ""
26895 " export LIBGUESTFS_DEBUG=1\n"
26896 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
26897 "\n"
26898 msgstr ""
26899
26900 # type: textblock
26901 #: ../tools/virt-make-fs.pl:549
26902 msgid ""
26903 "Attach /tmp/virt-make-fs.log to a new bug report at L<https://bugzilla."
26904 "redhat.com/>"
26905 msgstr ""
26906
26907 # type: textblock
26908 #: ../tools/virt-list-partitions.pl:32
26909 msgid ""
26910 "virt-list-partitions - List partitions in a virtual machine or disk image"
26911 msgstr ""
26912
26913 # type: verbatim
26914 #: ../tools/virt-list-partitions.pl:36
26915 #, no-wrap
26916 msgid ""
26917 " virt-list-partitions [--options] domname\n"
26918 "\n"
26919 msgstr ""
26920
26921 # type: verbatim
26922 #: ../tools/virt-list-partitions.pl:38
26923 #, no-wrap
26924 msgid ""
26925 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
26926 "\n"
26927 msgstr ""
26928
26929 # type: textblock
26930 #: ../tools/virt-list-partitions.pl:42
26931 msgid ""
26932 "C<virt-list-partitions> is a command line tool to list the partitions that "
26933 "are contained in a virtual machine or disk image.  It is mainly useful as a "
26934 "first step to using L<virt-resize(1)>."
26935 msgstr ""
26936
26937 # type: textblock
26938 #: ../tools/virt-list-partitions.pl:47
26939 msgid ""
26940 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
26941 "functionality.  For more complex cases you should look at the L<guestfish(1)"
26942 "> tool."
26943 msgstr ""
26944
26945 # type: =item
26946 #: ../tools/virt-list-partitions.pl:87
26947 msgid "B<-h> | B<--human-readable>"
26948 msgstr ""
26949
26950 # type: textblock
26951 #: ../tools/virt-list-partitions.pl:89
26952 msgid "Show sizes in human-readable form (eg. \"1G\")."
26953 msgstr ""
26954
26955 # type: textblock
26956 #: ../tools/virt-list-partitions.pl:97
26957 msgid ""
26958 "With this option, C<virt-list-partitions> displays the type and size of each "
26959 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
26960 msgstr ""
26961
26962 # type: =item
26963 #: ../tools/virt-list-partitions.pl:104
26964 msgid "B<-t> | B<--total>"
26965 msgstr ""
26966
26967 # type: textblock
26968 #: ../tools/virt-list-partitions.pl:106
26969 msgid ""
26970 "Display the total size of each block device (as a separate row or rows)."
26971 msgstr ""
26972
26973 # type: textblock
26974 #: ../tools/virt-list-partitions.pl:231
26975 msgid ""
26976 "L<guestfs(3)>, L<guestfish(1)>, L<virt-list-filesystems(1)>, L<virt-resize(1)"
26977 ">, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://"
26978 "libguestfs.org/>."
26979 msgstr ""