Version 1.5.9.
[libguestfs.git] / po-docs / libguestfs-docs.pot
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Red Hat Inc.
3 # This file is distributed under the same license as the libguestfs package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: libguestfs 1.5.9\n"
10 "Report-Msgid-Bugs-To: libguestfs@redhat.com\n"
11 "POT-Creation-Date: 2010-09-08 11:40+0200\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 "Language-Team: LANGUAGE <LL@li.org>\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=utf-8\n"
17 "Content-Transfer-Encoding: ENCODING"
18
19 # type: =encoding
20 #: ../src/guestfs.pod:1 ../fish/guestfish.pod:1 ../test-tool/libguestfs-test-tool.pod:1 ../fuse/guestmount.pod:1 ../inspector/virt-inspector.pl:36 ../tools/virt-cat.pl:30 ../tools/virt-df.pl:32 ../tools/virt-edit.pl:31 ../tools/virt-list-filesystems.pl:28 ../tools/virt-list-partitions.pl:28 ../tools/virt-ls.pl:31 ../tools/virt-make-fs.pl:33 ../tools/virt-rescue.pl:29 ../tools/virt-resize.pl:38 ../tools/virt-tar.pl:30 ../tools/virt-win-reg.pl:34
21 msgid "utf8"
22 msgstr ""
23
24 # type: =head1
25 #: ../src/guestfs.pod:3 ../fish/guestfish.pod:3 ../test-tool/libguestfs-test-tool.pod:3 ../fuse/guestmount.pod:3 ../inspector/virt-inspector.pl:38 ../tools/virt-cat.pl:32 ../tools/virt-df.pl:34 ../tools/virt-edit.pl:33 ../tools/virt-list-filesystems.pl:30 ../tools/virt-list-partitions.pl:30 ../tools/virt-ls.pl:33 ../tools/virt-make-fs.pl:35 ../tools/virt-rescue.pl:31 ../tools/virt-resize.pl:40 ../tools/virt-tar.pl:32 ../tools/virt-win-reg.pl:36
26 msgid "NAME"
27 msgstr ""
28
29 # type: textblock
30 #: ../src/guestfs.pod:5
31 msgid "guestfs - Library for accessing and modifying virtual machine images"
32 msgstr ""
33
34 # type: =head1
35 #: ../src/guestfs.pod:7 ../fish/guestfish.pod:7 ../test-tool/libguestfs-test-tool.pod:7 ../fuse/guestmount.pod:7 ../inspector/virt-inspector.pl:42 ../tools/virt-cat.pl:36 ../tools/virt-df.pl:38 ../tools/virt-edit.pl:37 ../tools/virt-list-filesystems.pl:34 ../tools/virt-list-partitions.pl:34 ../tools/virt-ls.pl:37 ../tools/virt-make-fs.pl:39 ../tools/virt-rescue.pl:35 ../tools/virt-resize.pl:44 ../tools/virt-tar.pl:36 ../tools/virt-win-reg.pl:40
36 msgid "SYNOPSIS"
37 msgstr ""
38
39 # type: verbatim
40 #: ../src/guestfs.pod:9
41 #, no-wrap
42 msgid ""
43 " #include <guestfs.h>\n"
44 " \n"
45 msgstr ""
46
47 # type: verbatim
48 #: ../src/guestfs.pod:11
49 #, no-wrap
50 msgid ""
51 " guestfs_h *g = guestfs_create ();\n"
52 " guestfs_add_drive (g, \"guest.img\");\n"
53 " guestfs_launch (g);\n"
54 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
55 " guestfs_touch (g, \"/hello\");\n"
56 " guestfs_umount (g, \"/\");\n"
57 " guestfs_sync (g);\n"
58 " guestfs_close (g);\n"
59 "\n"
60 msgstr ""
61
62 # type: verbatim
63 #: ../src/guestfs.pod:20
64 #, no-wrap
65 msgid ""
66 " cc prog.c -o prog -lguestfs\n"
67 "or:\n"
68 " cc prog.c -o prog `pkg-config libguestfs --cflags --libs`\n"
69 "\n"
70 msgstr ""
71
72 # type: =head1
73 #: ../src/guestfs.pod:24 ../fish/guestfish.pod:115 ../test-tool/libguestfs-test-tool.pod:11 ../fuse/guestmount.pod:16 ../inspector/virt-inspector.pl:48 ../tools/virt-cat.pl:42 ../tools/virt-df.pl:46 ../tools/virt-edit.pl:51 ../tools/virt-list-filesystems.pl:40 ../tools/virt-list-partitions.pl:40 ../tools/virt-ls.pl:43 ../tools/virt-make-fs.pl:47 ../tools/virt-rescue.pl:51 ../tools/virt-resize.pl:50 ../tools/virt-tar.pl:73 ../tools/virt-win-reg.pl:64
74 msgid "DESCRIPTION"
75 msgstr ""
76
77 # type: textblock
78 #: ../src/guestfs.pod:26
79 msgid ""
80 "Libguestfs is a library for accessing and modifying guest disk images.  "
81 "Amongst the things this is good for: making batch configuration changes to "
82 "guests, getting disk used/free statistics (see also: virt-df), migrating "
83 "between virtualization systems (see also: virt-p2v), performing partial "
84 "backups, performing partial guest clones, cloning guests and changing "
85 "registry/UUID/hostname info, and much else besides."
86 msgstr ""
87
88 # type: textblock
89 #: ../src/guestfs.pod:34
90 msgid ""
91 "Libguestfs uses Linux kernel and qemu code, and can access any type of guest "
92 "filesystem that Linux and qemu can, including but not limited to: ext2/3/4, "
93 "btrfs, FAT and NTFS, LVM, many different disk partition schemes, qcow, "
94 "qcow2, vmdk."
95 msgstr ""
96
97 # type: textblock
98 #: ../src/guestfs.pod:39
99 msgid ""
100 "Libguestfs provides ways to enumerate guest storage (eg. partitions, LVs, "
101 "what filesystem is in each LV, etc.).  It can also run commands in the "
102 "context of the guest.  Also you can access filesystems over FUSE."
103 msgstr ""
104
105 # type: textblock
106 #: ../src/guestfs.pod:44
107 msgid ""
108 "Libguestfs is a library that can be linked with C and C++ management "
109 "programs (or management programs written in OCaml, Perl, Python, Ruby, Java, "
110 "PHP, Haskell or C#).  You can also use it from shell scripts or the command "
111 "line."
112 msgstr ""
113
114 # type: textblock
115 #: ../src/guestfs.pod:49
116 msgid ""
117 "You don't need to be root to use libguestfs, although obviously you do need "
118 "enough permissions to access the disk images."
119 msgstr ""
120
121 # type: textblock
122 #: ../src/guestfs.pod:52
123 msgid ""
124 "Libguestfs is a large API because it can do many things.  For a gentle "
125 "introduction, please read the L</API OVERVIEW> section next."
126 msgstr ""
127
128 # type: =head1
129 #: ../src/guestfs.pod:55
130 msgid "API OVERVIEW"
131 msgstr ""
132
133 # type: textblock
134 #: ../src/guestfs.pod:57
135 msgid ""
136 "This section provides a gentler overview of the libguestfs API.  We also try "
137 "to group API calls together, where that may not be obvious from reading "
138 "about the individual calls in the main section of this manual."
139 msgstr ""
140
141 # type: =head2
142 #: ../src/guestfs.pod:62
143 msgid "HANDLES"
144 msgstr ""
145
146 # type: textblock
147 #: ../src/guestfs.pod:64
148 msgid ""
149 "Before you can use libguestfs calls, you have to create a handle.  Then you "
150 "must add at least one disk image to the handle, followed by launching the "
151 "handle, then performing whatever operations you want, and finally closing "
152 "the handle.  By convention we use the single letter C<g> for the name of the "
153 "handle variable, although of course you can use any name you want."
154 msgstr ""
155
156 # type: textblock
157 #: ../src/guestfs.pod:71
158 msgid "The general structure of all libguestfs-using programs looks like this:"
159 msgstr ""
160
161 # type: verbatim
162 #: ../src/guestfs.pod:74
163 #, no-wrap
164 msgid ""
165 " guestfs_h *g = guestfs_create ();\n"
166 " \n"
167 msgstr ""
168
169 # type: verbatim
170 #: ../src/guestfs.pod:76
171 #, no-wrap
172 msgid ""
173 " /* Call guestfs_add_drive additional times if there are\n"
174 "  * multiple disk images.\n"
175 "  */\n"
176 " guestfs_add_drive (g, \"guest.img\");\n"
177 " \n"
178 msgstr ""
179
180 # type: verbatim
181 #: ../src/guestfs.pod:81
182 #, no-wrap
183 msgid ""
184 " /* Most manipulation calls won't work until you've launched\n"
185 "  * the handle 'g'.  You have to do this _after_ adding drives\n"
186 "  * and _before_ other commands.\n"
187 "  */\n"
188 " guestfs_launch (g);\n"
189 " \n"
190 msgstr ""
191
192 # type: verbatim
193 #: ../src/guestfs.pod:87
194 #, no-wrap
195 msgid ""
196 " /* Now you can examine what partitions, LVs etc are available.\n"
197 "  */\n"
198 " char **partitions = guestfs_list_partitions (g);\n"
199 " char **logvols = guestfs_lvs (g);\n"
200 " \n"
201 msgstr ""
202
203 # type: verbatim
204 #: ../src/guestfs.pod:92
205 #, no-wrap
206 msgid ""
207 " /* To access a filesystem in the image, you must mount it.\n"
208 "  */\n"
209 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
210 " \n"
211 msgstr ""
212
213 # type: verbatim
214 #: ../src/guestfs.pod:96
215 #, no-wrap
216 msgid ""
217 " /* Now you can perform filesystem actions on the guest\n"
218 "  * disk image.\n"
219 "  */\n"
220 " guestfs_touch (g, \"/hello\");\n"
221 " \n"
222 msgstr ""
223
224 # type: verbatim
225 #: ../src/guestfs.pod:101
226 #, no-wrap
227 msgid ""
228 " /* You only need to call guestfs_sync if you have made\n"
229 "  * changes to the guest image.  (But if you've made changes\n"
230 "  * then you *must* sync).  See also: guestfs_umount and\n"
231 "  * guestfs_umount_all calls.\n"
232 "  */\n"
233 " guestfs_sync (g);\n"
234 " \n"
235 msgstr ""
236
237 # type: verbatim
238 #: ../src/guestfs.pod:108
239 #, no-wrap
240 msgid ""
241 " /* Close the handle 'g'. */\n"
242 " guestfs_close (g);\n"
243 "\n"
244 msgstr ""
245
246 # type: textblock
247 #: ../src/guestfs.pod:111
248 msgid ""
249 "The code above doesn't include any error checking.  In real code you should "
250 "check return values carefully for errors.  In general all functions that "
251 "return integers return C<-1> on error, and all functions that return "
252 "pointers return C<NULL> on error.  See section L</ERROR HANDLING> below for "
253 "how to handle errors, and consult the documentation for each function call "
254 "below to see precisely how they return error indications."
255 msgstr ""
256
257 # type: =head2
258 #: ../src/guestfs.pod:119
259 msgid "DISK IMAGES"
260 msgstr ""
261
262 # type: textblock
263 #: ../src/guestfs.pod:121
264 msgid ""
265 "The image filename (C<\"guest.img\"> in the example above) could be a disk "
266 "image from a virtual machine, a L<dd(1)> copy of a physical hard disk, an "
267 "actual block device, or simply an empty file of zeroes that you have created "
268 "through L<posix_fallocate(3)>.  Libguestfs lets you do useful things to all "
269 "of these."
270 msgstr ""
271
272 # type: textblock
273 #: ../src/guestfs.pod:127
274 msgid ""
275 "You can add a disk read-only using L</guestfs_add_drive_ro>, in which case "
276 "libguestfs won't modify the file."
277 msgstr ""
278
279 # type: textblock
280 #: ../src/guestfs.pod:130
281 msgid ""
282 "Be extremely cautious if the disk image is in use, eg. if it is being used "
283 "by a virtual machine.  Adding it read-write will almost certainly cause disk "
284 "corruption, but adding it read-only is safe."
285 msgstr ""
286
287 # type: textblock
288 #: ../src/guestfs.pod:134
289 msgid ""
290 "You must add at least one disk image, and you may add multiple disk images.  "
291 "In the API, the disk images are usually referred to as C</dev/sda> (for the "
292 "first one you added), C</dev/sdb> (for the second one you added), etc."
293 msgstr ""
294
295 # type: textblock
296 #: ../src/guestfs.pod:139
297 msgid ""
298 "Once L</guestfs_launch> has been called you cannot add any more images.  You "
299 "can call L</guestfs_list_devices> to get a list of the device names, in the "
300 "order that you added them.  See also L</BLOCK DEVICE NAMING> below."
301 msgstr ""
302
303 # type: =head2
304 #: ../src/guestfs.pod:144
305 msgid "MOUNTING"
306 msgstr ""
307
308 # type: textblock
309 #: ../src/guestfs.pod:146
310 msgid ""
311 "Before you can read or write files, create directories and so on in a disk "
312 "image that contains filesystems, you have to mount those filesystems using "
313 "L</guestfs_mount>.  If you already know that a disk image contains (for "
314 "example) one partition with a filesystem on that partition, then you can "
315 "mount it directly:"
316 msgstr ""
317
318 # type: verbatim
319 #: ../src/guestfs.pod:152
320 #, no-wrap
321 msgid ""
322 " guestfs_mount (g, \"/dev/sda1\", \"/\");\n"
323 "\n"
324 msgstr ""
325
326 # type: textblock
327 #: ../src/guestfs.pod:154
328 msgid ""
329 "where C</dev/sda1> means literally the first partition (C<1>) of the first "
330 "disk image that we added (C</dev/sda>).  If the disk contains Linux LVM2 "
331 "logical volumes you could refer to those instead (eg. C</dev/VG/LV>)."
332 msgstr ""
333
334 # type: textblock
335 #: ../src/guestfs.pod:158
336 msgid ""
337 "If you are given a disk image and you don't know what it contains then you "
338 "have to find out.  Libguestfs can do that too: use "
339 "L</guestfs_list_partitions> and L</guestfs_lvs> to list possible partitions "
340 "and LVs, and either try mounting each to see what is mountable, or else "
341 "examine them with L</guestfs_vfs_type> or L</guestfs_file>.  Libguestfs also "
342 "has a set of APIs for inspection of disk images (see L</INSPECTION> below).  "
343 "But you might find it easier to look at higher level programs built on top "
344 "of libguestfs, in particular L<virt-inspector(1)>."
345 msgstr ""
346
347 # type: textblock
348 #: ../src/guestfs.pod:168
349 msgid ""
350 "To mount a disk image read-only, use L</guestfs_mount_ro>.  There are "
351 "several other variations of the C<guestfs_mount_*> call."
352 msgstr ""
353
354 # type: =head2
355 #: ../src/guestfs.pod:171
356 msgid "FILESYSTEM ACCESS AND MODIFICATION"
357 msgstr ""
358
359 # type: textblock
360 #: ../src/guestfs.pod:173
361 msgid ""
362 "The majority of the libguestfs API consists of fairly low-level calls for "
363 "accessing and modifying the files, directories, symlinks etc on mounted "
364 "filesystems.  There are over a hundred such calls which you can find listed "
365 "in detail below in this man page, and we don't even pretend to cover them "
366 "all in this overview."
367 msgstr ""
368
369 # type: textblock
370 #: ../src/guestfs.pod:179
371 msgid ""
372 "Specify filenames as full paths, starting with C<\"/\"> and including the "
373 "mount point."
374 msgstr ""
375
376 # type: textblock
377 #: ../src/guestfs.pod:182
378 msgid ""
379 "For example, if you mounted a filesystem at C<\"/\"> and you want to read "
380 "the file called C<\"etc/passwd\"> then you could do:"
381 msgstr ""
382
383 # type: verbatim
384 #: ../src/guestfs.pod:185
385 #, no-wrap
386 msgid ""
387 " char *data = guestfs_cat (g, \"/etc/passwd\");\n"
388 "\n"
389 msgstr ""
390
391 # type: textblock
392 #: ../src/guestfs.pod:187
393 msgid ""
394 "This would return C<data> as a newly allocated buffer containing the full "
395 "content of that file (with some conditions: see also L</DOWNLOADING> below), "
396 "or C<NULL> if there was an error."
397 msgstr ""
398
399 # type: textblock
400 #: ../src/guestfs.pod:191
401 msgid ""
402 "As another example, to create a top-level directory on that filesystem "
403 "called C<\"var\"> you would do:"
404 msgstr ""
405
406 # type: verbatim
407 #: ../src/guestfs.pod:194
408 #, no-wrap
409 msgid ""
410 " guestfs_mkdir (g, \"/var\");\n"
411 "\n"
412 msgstr ""
413
414 # type: textblock
415 #: ../src/guestfs.pod:196
416 msgid "To create a symlink you could do:"
417 msgstr ""
418
419 # type: verbatim
420 #: ../src/guestfs.pod:198
421 #, no-wrap
422 msgid ""
423 " guestfs_ln_s (g, \"/etc/init.d/portmap\",\n"
424 "               \"/etc/rc3.d/S30portmap\");\n"
425 "\n"
426 msgstr ""
427
428 # type: textblock
429 #: ../src/guestfs.pod:201
430 msgid ""
431 "Libguestfs will reject attempts to use relative paths and there is no "
432 "concept of a current working directory."
433 msgstr ""
434
435 # type: textblock
436 #: ../src/guestfs.pod:204
437 msgid ""
438 "Libguestfs can return errors in many situations: for example if the "
439 "filesystem isn't writable, or if a file or directory that you requested "
440 "doesn't exist.  If you are using the C API (documented here)  you have to "
441 "check for those error conditions after each call.  (Other language bindings "
442 "turn these errors into exceptions)."
443 msgstr ""
444
445 # type: textblock
446 #: ../src/guestfs.pod:210
447 msgid ""
448 "File writes are affected by the per-handle umask, set by calling "
449 "L</guestfs_umask> and defaulting to 022.  See L</UMASK>."
450 msgstr ""
451
452 # type: =head2
453 #: ../src/guestfs.pod:213
454 msgid "PARTITIONING"
455 msgstr ""
456
457 # type: textblock
458 #: ../src/guestfs.pod:215
459 msgid ""
460 "Libguestfs contains API calls to read, create and modify partition tables on "
461 "disk images."
462 msgstr ""
463
464 # type: textblock
465 #: ../src/guestfs.pod:218
466 msgid ""
467 "In the common case where you want to create a single partition covering the "
468 "whole disk, you should use the L</guestfs_part_disk> call:"
469 msgstr ""
470
471 # type: verbatim
472 #: ../src/guestfs.pod:222
473 #, no-wrap
474 msgid ""
475 " const char *parttype = \"mbr\";\n"
476 " if (disk_is_larger_than_2TB)\n"
477 "   parttype = \"gpt\";\n"
478 " guestfs_part_disk (g, \"/dev/sda\", parttype);\n"
479 "\n"
480 msgstr ""
481
482 # type: textblock
483 #: ../src/guestfs.pod:227
484 msgid ""
485 "Obviously this effectively wipes anything that was on that disk image "
486 "before."
487 msgstr ""
488
489 # type: =head2
490 #: ../src/guestfs.pod:230
491 msgid "LVM2"
492 msgstr ""
493
494 # type: textblock
495 #: ../src/guestfs.pod:232
496 msgid ""
497 "Libguestfs provides access to a large part of the LVM2 API, such as "
498 "L</guestfs_lvcreate> and L</guestfs_vgremove>.  It won't make much sense "
499 "unless you familiarize yourself with the concepts of physical volumes, "
500 "volume groups and logical volumes."
501 msgstr ""
502
503 # type: textblock
504 #: ../src/guestfs.pod:237
505 msgid ""
506 "This author strongly recommends reading the LVM HOWTO, online at "
507 "L<http://tldp.org/HOWTO/LVM-HOWTO/>."
508 msgstr ""
509
510 # type: =head2
511 #: ../src/guestfs.pod:240
512 msgid "DOWNLOADING"
513 msgstr ""
514
515 # type: textblock
516 #: ../src/guestfs.pod:242
517 msgid ""
518 "Use L</guestfs_cat> to download small, text only files.  This call is "
519 "limited to files which are less than 2 MB and which cannot contain any ASCII "
520 "NUL (C<\\0>) characters.  However it has a very simple to use API."
521 msgstr ""
522
523 # type: textblock
524 #: ../src/guestfs.pod:247
525 msgid ""
526 "L</guestfs_read_file> can be used to read files which contain arbitrary 8 "
527 "bit data, since it returns a (pointer, size) pair.  However it is still "
528 "limited to \"small\" files, less than 2 MB."
529 msgstr ""
530
531 # type: textblock
532 #: ../src/guestfs.pod:251
533 msgid ""
534 "L</guestfs_download> can be used to download any file, with no limits on "
535 "content or size (even files larger than 4 GB)."
536 msgstr ""
537
538 # type: textblock
539 #: ../src/guestfs.pod:254
540 msgid "To download multiple files, see L</guestfs_tar_out> and L</guestfs_tgz_out>."
541 msgstr ""
542
543 # type: =head2
544 #: ../src/guestfs.pod:257
545 msgid "UPLOADING"
546 msgstr ""
547
548 # type: textblock
549 #: ../src/guestfs.pod:259
550 msgid ""
551 "It's often the case that you want to write a file or files to the disk "
552 "image."
553 msgstr ""
554
555 # type: textblock
556 #: ../src/guestfs.pod:262
557 msgid ""
558 "To write a small file with fixed content, use L</guestfs_write>.  To create "
559 "a file of all zeroes, use L</guestfs_truncate_size> (sparse) or "
560 "L</guestfs_fallocate64> (with all disk blocks allocated).  There are a "
561 "variety of other functions for creating test files, for example "
562 "L</guestfs_fill> and L</guestfs_fill_pattern>."
563 msgstr ""
564
565 # type: textblock
566 #: ../src/guestfs.pod:268
567 msgid ""
568 "To upload a single file, use L</guestfs_upload>.  This call has no limits on "
569 "file content or size (even files larger than 4 GB)."
570 msgstr ""
571
572 # type: textblock
573 #: ../src/guestfs.pod:271
574 msgid "To upload multiple files, see L</guestfs_tar_in> and L</guestfs_tgz_in>."
575 msgstr ""
576
577 # type: textblock
578 #: ../src/guestfs.pod:273
579 msgid ""
580 "However the fastest way to upload I<large numbers of arbitrary files> is to "
581 "turn them into a squashfs or CD ISO (see L<mksquashfs(8)> and "
582 "L<mkisofs(8)>), then attach this using L</guestfs_add_drive_ro>.  If you add "
583 "the drive in a predictable way (eg. adding it last after all other drives) "
584 "then you can get the device name from L</guestfs_list_devices> and mount it "
585 "directly using L</guestfs_mount_ro>.  Note that squashfs images are "
586 "sometimes non-portable between kernel versions, and they don't support "
587 "labels or UUIDs.  If you want to pre-build an image or you need to mount it "
588 "using a label or UUID, use an ISO image instead."
589 msgstr ""
590
591 # type: =head2
592 #: ../src/guestfs.pod:284
593 msgid "COPYING"
594 msgstr ""
595
596 # type: textblock
597 #: ../src/guestfs.pod:286
598 msgid ""
599 "There are various different commands for copying between files and devices "
600 "and in and out of the guest filesystem.  These are summarised in the table "
601 "below."
602 msgstr ""
603
604 # type: =item
605 #: ../src/guestfs.pod:292
606 msgid "B<file> to B<file>"
607 msgstr ""
608
609 # type: textblock
610 #: ../src/guestfs.pod:294
611 msgid ""
612 "Use L</guestfs_cp> to copy a single file, or L</guestfs_cp_a> to copy "
613 "directories recursively."
614 msgstr ""
615
616 # type: =item
617 #: ../src/guestfs.pod:297
618 msgid "B<file or device> to B<file or device>"
619 msgstr ""
620
621 # type: textblock
622 #: ../src/guestfs.pod:299
623 msgid ""
624 "Use L</guestfs_dd> which efficiently uses L<dd(1)> to copy between files and "
625 "devices in the guest."
626 msgstr ""
627
628 # type: textblock
629 #: ../src/guestfs.pod:302
630 msgid "Example: duplicate the contents of an LV:"
631 msgstr ""
632
633 # type: verbatim
634 #: ../src/guestfs.pod:304
635 #, no-wrap
636 msgid ""
637 " guestfs_dd (g, \"/dev/VG/Original\", \"/dev/VG/Copy\");\n"
638 "\n"
639 msgstr ""
640
641 # type: textblock
642 #: ../src/guestfs.pod:306
643 msgid ""
644 "The destination (C</dev/VG/Copy>) must be at least as large as the source "
645 "(C</dev/VG/Original>).  To copy less than the whole source device, use "
646 "L</guestfs_copy_size>."
647 msgstr ""
648
649 # type: =item
650 #: ../src/guestfs.pod:310
651 msgid "B<file on the host> to B<file or device>"
652 msgstr ""
653
654 # type: textblock
655 #: ../src/guestfs.pod:312
656 msgid "Use L</guestfs_upload>.  See L</UPLOADING> above."
657 msgstr ""
658
659 # type: =item
660 #: ../src/guestfs.pod:314
661 msgid "B<file or device> to B<file on the host>"
662 msgstr ""
663
664 # type: textblock
665 #: ../src/guestfs.pod:316
666 msgid "Use L</guestfs_download>.  See L</DOWNLOADING> above."
667 msgstr ""
668
669 # type: =head2
670 #: ../src/guestfs.pod:320
671 msgid "LISTING FILES"
672 msgstr ""
673
674 # type: textblock
675 #: ../src/guestfs.pod:322
676 msgid ""
677 "L</guestfs_ll> is just designed for humans to read (mainly when using the "
678 "L<guestfish(1)>-equivalent command C<ll>)."
679 msgstr ""
680
681 # type: textblock
682 #: ../src/guestfs.pod:325
683 msgid ""
684 "L</guestfs_ls> is a quick way to get a list of files in a directory from "
685 "programs, as a flat list of strings."
686 msgstr ""
687
688 # type: textblock
689 #: ../src/guestfs.pod:328
690 msgid ""
691 "L</guestfs_readdir> is a programmatic way to get a list of files in a "
692 "directory, plus additional information about each one.  It is more "
693 "equivalent to using the L<readdir(3)> call on a local filesystem."
694 msgstr ""
695
696 # type: textblock
697 #: ../src/guestfs.pod:332
698 msgid ""
699 "L</guestfs_find> and L</guestfs_find0> can be used to recursively list "
700 "files."
701 msgstr ""
702
703 # type: =head2
704 #: ../src/guestfs.pod:335
705 msgid "RUNNING COMMANDS"
706 msgstr ""
707
708 # type: textblock
709 #: ../src/guestfs.pod:337
710 msgid ""
711 "Although libguestfs is a primarily an API for manipulating files inside "
712 "guest images, we also provide some limited facilities for running commands "
713 "inside guests."
714 msgstr ""
715
716 # type: textblock
717 #: ../src/guestfs.pod:341
718 msgid "There are many limitations to this:"
719 msgstr ""
720
721 # type: =item
722 #: ../src/guestfs.pod:345 ../src/guestfs.pod:350 ../src/guestfs.pod:355 ../src/guestfs.pod:359 ../src/guestfs.pod:364 ../src/guestfs.pod:368 ../src/guestfs.pod:373 ../src/guestfs.pod:1226 ../src/guestfs.pod:1231 ../src/guestfs.pod:1235 ../src/guestfs.pod:1337 ../src/guestfs.pod:1341 ../src/guestfs.pod:1345 ../src/guestfs.pod:1350 ../src/guestfs.pod:1358 ../src/guestfs.pod:1377 ../src/guestfs.pod:1385 ../src/guestfs.pod:1599 ../src/guestfs.pod:1605 ../src/guestfs.pod:1610 ../src/guestfs.pod:1616 ../src/guestfs.pod:1723 ../src/guestfs.pod:1727 ../src/guestfs.pod:1731 ../src/guestfs.pod:1735 ../src/guestfs-actions.pod:14 ../src/guestfs-actions.pod:21 ../src/guestfs-actions.pod:372 ../src/guestfs-actions.pod:380 ../src/guestfs-actions.pod:387 ../src/guestfs-actions.pod:394 ../src/guestfs-actions.pod:1257 ../src/guestfs-actions.pod:1261 ../src/guestfs-actions.pod:1265 ../src/guestfs-actions.pod:1269 ../src/guestfs-actions.pod:1277 ../src/guestfs-actions.pod:1281 ../src/guestfs-actions.pod:1285 ../src/guestfs-actions.pod:1295 ../src/guestfs-actions.pod:1299 ../src/guestfs-actions.pod:1303 ../src/guestfs-actions.pod:1426 ../src/guestfs-actions.pod:1430 ../src/guestfs-actions.pod:1435 ../src/guestfs-actions.pod:1440 ../src/guestfs-actions.pod:1492 ../src/guestfs-actions.pod:1496 ../src/guestfs-actions.pod:1501 ../fish/guestfish.pod:309 ../fish/guestfish.pod:313 ../fish/guestfish.pod:317 ../fish/guestfish.pod:321 ../fish/guestfish-actions.pod:13 ../fish/guestfish-actions.pod:20 ../fish/guestfish-actions.pod:300 ../fish/guestfish-actions.pod:308 ../fish/guestfish-actions.pod:315 ../fish/guestfish-actions.pod:322 ../fish/guestfish-actions.pod:998 ../fish/guestfish-actions.pod:1002 ../fish/guestfish-actions.pod:1006 ../fish/guestfish-actions.pod:1010 ../fish/guestfish-actions.pod:1018 ../fish/guestfish-actions.pod:1022 ../fish/guestfish-actions.pod:1026 ../fish/guestfish-actions.pod:1036 ../fish/guestfish-actions.pod:1040 ../fish/guestfish-actions.pod:1044 ../fish/guestfish-actions.pod:1134 ../fish/guestfish-actions.pod:1138 ../fish/guestfish-actions.pod:1143 ../fish/guestfish-actions.pod:1148 ../fish/guestfish-actions.pod:1190 ../fish/guestfish-actions.pod:1194 ../fish/guestfish-actions.pod:1199 ../tools/virt-resize.pl:324 ../tools/virt-resize.pl:329 ../tools/virt-resize.pl:339
723 msgid "*"
724 msgstr ""
725
726 # type: textblock
727 #: ../src/guestfs.pod:347
728 msgid ""
729 "The kernel version that the command runs under will be different from what "
730 "it expects."
731 msgstr ""
732
733 # type: textblock
734 #: ../src/guestfs.pod:352
735 msgid ""
736 "If the command needs to communicate with daemons, then most likely they "
737 "won't be running."
738 msgstr ""
739
740 # type: textblock
741 #: ../src/guestfs.pod:357
742 msgid "The command will be running in limited memory."
743 msgstr ""
744
745 # type: textblock
746 #: ../src/guestfs.pod:361
747 msgid ""
748 "The network may not be available unless you enable it (see "
749 "L</guestfs_set_network>)."
750 msgstr ""
751
752 # type: textblock
753 #: ../src/guestfs.pod:366
754 msgid "Only supports Linux guests (not Windows, BSD, etc)."
755 msgstr ""
756
757 # type: textblock
758 #: ../src/guestfs.pod:370
759 msgid "Architecture limitations (eg. won't work for a PPC guest on an X86 host)."
760 msgstr ""
761
762 # type: textblock
763 #: ../src/guestfs.pod:375
764 msgid ""
765 "For SELinux guests, you may need to enable SELinux and load policy first.  "
766 "See L</SELINUX> in this manpage."
767 msgstr ""
768
769 # type: textblock
770 #: ../src/guestfs.pod:380
771 msgid ""
772 "The two main API calls to run commands are L</guestfs_command> and "
773 "L</guestfs_sh> (there are also variations)."
774 msgstr ""
775
776 # type: textblock
777 #: ../src/guestfs.pod:383
778 msgid ""
779 "The difference is that L</guestfs_sh> runs commands using the shell, so any "
780 "shell globs, redirections, etc will work."
781 msgstr ""
782
783 # type: =head2
784 #: ../src/guestfs.pod:386
785 msgid "CONFIGURATION FILES"
786 msgstr ""
787
788 # type: textblock
789 #: ../src/guestfs.pod:388
790 msgid ""
791 "To read and write configuration files in Linux guest filesystems, we "
792 "strongly recommend using Augeas.  For example, Augeas understands how to "
793 "read and write, say, a Linux shadow password file or X.org configuration "
794 "file, and so avoids you having to write that code."
795 msgstr ""
796
797 # type: textblock
798 #: ../src/guestfs.pod:393
799 msgid ""
800 "The main Augeas calls are bound through the C<guestfs_aug_*> APIs.  We don't "
801 "document Augeas itself here because there is excellent documentation on the "
802 "L<http://augeas.net/> website."
803 msgstr ""
804
805 # type: textblock
806 #: ../src/guestfs.pod:397
807 msgid ""
808 "If you don't want to use Augeas (you fool!) then try calling "
809 "L</guestfs_read_lines> to get the file as a list of lines which you can "
810 "iterate over."
811 msgstr ""
812
813 # type: =head2
814 #: ../src/guestfs.pod:401
815 msgid "SELINUX"
816 msgstr ""
817
818 # type: textblock
819 #: ../src/guestfs.pod:403
820 msgid ""
821 "We support SELinux guests.  To ensure that labeling happens correctly in "
822 "SELinux guests, you need to enable SELinux and load the guest's policy:"
823 msgstr ""
824
825 # type: =item
826 #: ../src/guestfs.pod:409
827 msgid "1."
828 msgstr ""
829
830 # type: textblock
831 #: ../src/guestfs.pod:411
832 msgid "Before launching, do:"
833 msgstr ""
834
835 # type: verbatim
836 #: ../src/guestfs.pod:413
837 #, no-wrap
838 msgid ""
839 " guestfs_set_selinux (g, 1);\n"
840 "\n"
841 msgstr ""
842
843 # type: =item
844 #: ../src/guestfs.pod:415
845 msgid "2."
846 msgstr ""
847
848 # type: textblock
849 #: ../src/guestfs.pod:417
850 msgid ""
851 "After mounting the guest's filesystem(s), load the policy.  This is best "
852 "done by running the L<load_policy(8)> command in the guest itself:"
853 msgstr ""
854
855 # type: verbatim
856 #: ../src/guestfs.pod:421
857 #, no-wrap
858 msgid ""
859 " guestfs_sh (g, \"/usr/sbin/load_policy\");\n"
860 "\n"
861 msgstr ""
862
863 # type: textblock
864 #: ../src/guestfs.pod:423
865 msgid ""
866 "(Older versions of C<load_policy> require you to specify the name of the "
867 "policy file)."
868 msgstr ""
869
870 # type: =item
871 #: ../src/guestfs.pod:426
872 msgid "3."
873 msgstr ""
874
875 # type: textblock
876 #: ../src/guestfs.pod:428
877 msgid ""
878 "Optionally, set the security context for the API.  The correct security "
879 "context to use can only be known by inspecting the guest.  As an example:"
880 msgstr ""
881
882 # type: verbatim
883 #: ../src/guestfs.pod:432
884 #, no-wrap
885 msgid ""
886 " guestfs_setcon (g, \"unconfined_u:unconfined_r:unconfined_t:s0\");\n"
887 "\n"
888 msgstr ""
889
890 # type: textblock
891 #: ../src/guestfs.pod:436
892 msgid "This will work for running commands and editing existing files."
893 msgstr ""
894
895 # type: textblock
896 #: ../src/guestfs.pod:438
897 msgid ""
898 "When new files are created, you may need to label them explicitly, for "
899 "example by running the external command C<restorecon pathname>."
900 msgstr ""
901
902 # type: =head2
903 #: ../src/guestfs.pod:442
904 msgid "UMASK"
905 msgstr ""
906
907 # type: textblock
908 #: ../src/guestfs.pod:444
909 msgid ""
910 "Certain calls are affected by the current file mode creation mask (the "
911 "\"umask\").  In particular ones which create files or directories, such as "
912 "L</guestfs_touch>, L</guestfs_mknod> or L</guestfs_mkdir>.  This affects "
913 "either the default mode that the file is created with or modifies the mode "
914 "that you supply."
915 msgstr ""
916
917 # type: textblock
918 #: ../src/guestfs.pod:450
919 msgid ""
920 "The default umask is C<022>, so files are created with modes such as C<0644> "
921 "and directories with C<0755>."
922 msgstr ""
923
924 # type: textblock
925 #: ../src/guestfs.pod:453
926 msgid ""
927 "There are two ways to avoid being affected by umask.  Either set umask to 0 "
928 "(call C<guestfs_umask (g, 0)> early after launching).  Or call "
929 "L</guestfs_chmod> after creating each file or directory."
930 msgstr ""
931
932 # type: textblock
933 #: ../src/guestfs.pod:457
934 msgid "For more information about umask, see L<umask(2)>."
935 msgstr ""
936
937 # type: =head1
938 #: ../src/guestfs.pod:459 ../fish/guestfish.pod:559
939 msgid "ENCRYPTED DISKS"
940 msgstr ""
941
942 # type: textblock
943 #: ../src/guestfs.pod:461
944 msgid ""
945 "Libguestfs allows you to access Linux guests which have been encrypted using "
946 "whole disk encryption that conforms to the Linux Unified Key Setup (LUKS) "
947 "standard.  This includes nearly all whole disk encryption systems used by "
948 "modern Linux guests."
949 msgstr ""
950
951 # type: textblock
952 #: ../src/guestfs.pod:467
953 msgid ""
954 "Use L</guestfs_vfs_type> to identify LUKS-encrypted block devices (it "
955 "returns the string C<crypto_LUKS>)."
956 msgstr ""
957
958 # type: textblock
959 #: ../src/guestfs.pod:470
960 msgid ""
961 "Then open these devices by calling L</guestfs_luks_open>.  Obviously you "
962 "will require the passphrase!"
963 msgstr ""
964
965 # type: textblock
966 #: ../src/guestfs.pod:473
967 msgid ""
968 "Opening a LUKS device creates a new device mapper device called "
969 "C</dev/mapper/mapname> (where C<mapname> is the string you supply to "
970 "L</guestfs_luks_open>).  Reads and writes to this mapper device are "
971 "decrypted from and encrypted to the underlying block device respectively."
972 msgstr ""
973
974 # type: textblock
975 #: ../src/guestfs.pod:479
976 msgid ""
977 "LVM volume groups on the device can be made visible by calling "
978 "L</guestfs_vgscan> followed by L</guestfs_vg_activate_all>.  The logical "
979 "volume(s) can now be mounted in the usual way."
980 msgstr ""
981
982 # type: textblock
983 #: ../src/guestfs.pod:483
984 msgid ""
985 "Use the reverse process to close a LUKS device.  Unmount any logical volumes "
986 "on it, deactivate the volume groups by caling C<guestfs_vg_activate (g, 0, "
987 "[\"/dev/VG\"])>.  Then close the mapper device by calling "
988 "L</guestfs_luks_close> on the C</dev/mapper/mapname> device (I<not> the "
989 "underlying encrypted block device)."
990 msgstr ""
991
992 # type: =head2
993 #: ../src/guestfs.pod:490
994 msgid "INSPECTION"
995 msgstr ""
996
997 # type: textblock
998 #: ../src/guestfs.pod:492
999 msgid ""
1000 "Libguestfs has APIs for inspecting an unknown disk image to find out if it "
1001 "contains operating systems.  (These APIs used to be in a separate Perl-only "
1002 "library called L<Sys::Guestfs::Lib(3)> but since version 1.5.3 the most "
1003 "frequently used part of this library has been rewritten in C and moved into "
1004 "the core code)."
1005 msgstr ""
1006
1007 # type: textblock
1008 #: ../src/guestfs.pod:498
1009 msgid ""
1010 "Add all disks belonging to the unknown virtual machine and call "
1011 "L</guestfs_launch> in the usual way."
1012 msgstr ""
1013
1014 # type: textblock
1015 #: ../src/guestfs.pod:501
1016 msgid ""
1017 "Then call L</guestfs_inspect_os>.  This function uses other libguestfs calls "
1018 "and certain heuristics, and returns a list of operating systems that were "
1019 "found.  An empty list means none were found.  A single element is the root "
1020 "filesystem of the operating system.  For dual- or multi-boot guests, "
1021 "multiple roots can be returned, each one corresponding to a separate "
1022 "operating system.  (Multi-boot virtual machines are extremely rare in the "
1023 "world of virtualization, but since this scenario can happen, we have built "
1024 "libguestfs to deal with it.)"
1025 msgstr ""
1026
1027 # type: textblock
1028 #: ../src/guestfs.pod:510
1029 msgid ""
1030 "For each root, you can then call various C<guestfs_inspect_get_*> functions "
1031 "to get additional details about that operating system.  For example, call "
1032 "L</guestfs_inspect_get_type> to return the string C<windows> or C<linux> for "
1033 "Windows and Linux-based operating systems respectively."
1034 msgstr ""
1035
1036 # type: textblock
1037 #: ../src/guestfs.pod:516
1038 msgid ""
1039 "Un*x-like and Linux-based operating systems usually consist of several "
1040 "filesystems which are mounted at boot time (for example, a separate boot "
1041 "partition mounted on C</boot>).  The inspection rules are able to detect how "
1042 "filesystems correspond to mount points.  Call "
1043 "C<guestfs_inspect_get_mountpoints> to get this mapping.  It might return a "
1044 "hash table like this example:"
1045 msgstr ""
1046
1047 # type: verbatim
1048 #: ../src/guestfs.pod:523
1049 #, no-wrap
1050 msgid ""
1051 " /boot => /dev/sda1\n"
1052 " /     => /dev/vg_guest/lv_root\n"
1053 " /usr  => /dev/vg_guest/lv_usr\n"
1054 "\n"
1055 msgstr ""
1056
1057 # type: textblock
1058 #: ../src/guestfs.pod:527
1059 msgid ""
1060 "The caller can then make calls to L</guestfs_mount_options> to mount the "
1061 "filesystems as suggested."
1062 msgstr ""
1063
1064 # type: textblock
1065 #: ../src/guestfs.pod:530
1066 msgid ""
1067 "Be careful to mount filesystems in the right order (eg. C</> before "
1068 "C</usr>).  Sorting the keys of the hash by length, shortest first, should "
1069 "work."
1070 msgstr ""
1071
1072 # type: textblock
1073 #: ../src/guestfs.pod:534
1074 msgid ""
1075 "Inspection currently only works for some common operating systems.  "
1076 "Contributors are welcome to send patches for other operating systems that we "
1077 "currently cannot detect."
1078 msgstr ""
1079
1080 # type: textblock
1081 #: ../src/guestfs.pod:538
1082 msgid ""
1083 "Encrypted disks must be opened before inspection.  See L</ENCRYPTED DISKS> "
1084 "for more details.  The L</guestfs_inspect_os> function just ignores any "
1085 "encrypted devices."
1086 msgstr ""
1087
1088 # type: textblock
1089 #: ../src/guestfs.pod:542
1090 msgid ""
1091 "A note on the implementation: The call L</guestfs_inspect_os> performs "
1092 "inspection and caches the results in the guest handle.  Subsequent calls to "
1093 "C<guestfs_inspect_get_*> return this cached information, but I<do not> "
1094 "re-read the disks.  If you change the content of the guest disks, you can "
1095 "redo inspection by calling L</guestfs_inspect_os> again."
1096 msgstr ""
1097
1098 # type: =head2
1099 #: ../src/guestfs.pod:549
1100 msgid "SPECIAL CONSIDERATIONS FOR WINDOWS GUESTS"
1101 msgstr ""
1102
1103 # type: textblock
1104 #: ../src/guestfs.pod:551
1105 msgid ""
1106 "Libguestfs can mount NTFS partitions.  It does this using the "
1107 "L<http://www.ntfs-3g.org/> driver."
1108 msgstr ""
1109
1110 # type: textblock
1111 #: ../src/guestfs.pod:554
1112 msgid ""
1113 "DOS and Windows still use drive letters, and the filesystems are always "
1114 "treated as case insensitive by Windows itself, and therefore you might find "
1115 "a Windows configuration file referring to a path like "
1116 "C<c:\\windows\\system32>.  When the filesystem is mounted in libguestfs, "
1117 "that directory might be referred to as C</WINDOWS/System32>."
1118 msgstr ""
1119
1120 # type: textblock
1121 #: ../src/guestfs.pod:560
1122 msgid ""
1123 "Drive letter mappings are outside the scope of libguestfs.  You have to use "
1124 "libguestfs to read the appropriate Windows Registry and configuration files, "
1125 "to determine yourself how drives are mapped (see also L<hivex(3)> and "
1126 "L<virt-inspector(1)>)."
1127 msgstr ""
1128
1129 # type: textblock
1130 #: ../src/guestfs.pod:565
1131 msgid ""
1132 "Replacing backslash characters with forward slash characters is also outside "
1133 "the scope of libguestfs, but something that you can easily do."
1134 msgstr ""
1135
1136 # type: textblock
1137 #: ../src/guestfs.pod:568
1138 msgid ""
1139 "Where we can help is in resolving the case insensitivity of paths.  For "
1140 "this, call L</guestfs_case_sensitive_path>."
1141 msgstr ""
1142
1143 # type: textblock
1144 #: ../src/guestfs.pod:571
1145 msgid ""
1146 "Libguestfs also provides some help for decoding Windows Registry \"hive\" "
1147 "files, through the library C<hivex> which is part of the libguestfs project "
1148 "although ships as a separate tarball.  You have to locate and download the "
1149 "hive file(s) yourself, and then pass them to C<hivex> functions.  See also "
1150 "the programs L<hivexml(1)>, L<hivexsh(1)>, L<hivexregedit(1)> and "
1151 "L<virt-win-reg(1)> for more help on this issue."
1152 msgstr ""
1153
1154 # type: =head2
1155 #: ../src/guestfs.pod:579
1156 msgid "USING LIBGUESTFS WITH OTHER PROGRAMMING LANGUAGES"
1157 msgstr ""
1158
1159 # type: textblock
1160 #: ../src/guestfs.pod:581
1161 msgid ""
1162 "Although we don't want to discourage you from using the C API, we will "
1163 "mention here that the same API is also available in other languages."
1164 msgstr ""
1165
1166 # type: textblock
1167 #: ../src/guestfs.pod:584
1168 msgid ""
1169 "The API is broadly identical in all supported languages.  This means that "
1170 "the C call C<guestfs_mount(g,path)> is C<$g-E<gt>mount($path)> in Perl, "
1171 "C<g.mount(path)> in Python, and C<Guestfs.mount g path> in OCaml.  In other "
1172 "words, a straightforward, predictable isomorphism between each language."
1173 msgstr ""
1174
1175 # type: textblock
1176 #: ../src/guestfs.pod:590
1177 msgid ""
1178 "Error messages are automatically transformed into exceptions if the language "
1179 "supports it."
1180 msgstr ""
1181
1182 # type: textblock
1183 #: ../src/guestfs.pod:593
1184 msgid ""
1185 "We don't try to \"object orientify\" parts of the API in OO languages, "
1186 "although contributors are welcome to write higher level APIs above what we "
1187 "provide in their favourite languages if they wish."
1188 msgstr ""
1189
1190 # type: =item
1191 #: ../src/guestfs.pod:599
1192 msgid "B<C++>"
1193 msgstr ""
1194
1195 # type: textblock
1196 #: ../src/guestfs.pod:601
1197 msgid ""
1198 "You can use the I<guestfs.h> header file from C++ programs.  The C++ API is "
1199 "identical to the C API.  C++ classes and exceptions are not used."
1200 msgstr ""
1201
1202 # type: =item
1203 #: ../src/guestfs.pod:605
1204 msgid "B<C#>"
1205 msgstr ""
1206
1207 # type: textblock
1208 #: ../src/guestfs.pod:607
1209 msgid ""
1210 "The C# bindings are highly experimental.  Please read the warnings at the "
1211 "top of C<csharp/Libguestfs.cs>."
1212 msgstr ""
1213
1214 # type: =item
1215 #: ../src/guestfs.pod:610
1216 msgid "B<Haskell>"
1217 msgstr ""
1218
1219 # type: textblock
1220 #: ../src/guestfs.pod:612
1221 msgid ""
1222 "This is the only language binding that is working but incomplete.  Only "
1223 "calls which return simple integers have been bound in Haskell, and we are "
1224 "looking for help to complete this binding."
1225 msgstr ""
1226
1227 # type: =item
1228 #: ../src/guestfs.pod:616
1229 msgid "B<Java>"
1230 msgstr ""
1231
1232 # type: textblock
1233 #: ../src/guestfs.pod:618
1234 msgid ""
1235 "Full documentation is contained in the Javadoc which is distributed with "
1236 "libguestfs."
1237 msgstr ""
1238
1239 # type: =item
1240 #: ../src/guestfs.pod:621
1241 msgid "B<OCaml>"
1242 msgstr ""
1243
1244 # type: textblock
1245 #: ../src/guestfs.pod:623
1246 msgid "For documentation see the file C<guestfs.mli>."
1247 msgstr ""
1248
1249 # type: =item
1250 #: ../src/guestfs.pod:625
1251 msgid "B<Perl>"
1252 msgstr ""
1253
1254 # type: textblock
1255 #: ../src/guestfs.pod:627
1256 msgid "For documentation see L<Sys::Guestfs(3)>."
1257 msgstr ""
1258
1259 # type: =item
1260 #: ../src/guestfs.pod:629
1261 msgid "B<PHP>"
1262 msgstr ""
1263
1264 # type: textblock
1265 #: ../src/guestfs.pod:631
1266 msgid ""
1267 "For documentation see C<README-PHP> supplied with libguestfs sources or in "
1268 "the php-libguestfs package for your distribution."
1269 msgstr ""
1270
1271 # type: textblock
1272 #: ../src/guestfs.pod:634
1273 msgid "The PHP binding only works correctly on 64 bit machines."
1274 msgstr ""
1275
1276 # type: =item
1277 #: ../src/guestfs.pod:636
1278 msgid "B<Python>"
1279 msgstr ""
1280
1281 # type: textblock
1282 #: ../src/guestfs.pod:638
1283 msgid "For documentation do:"
1284 msgstr ""
1285
1286 # type: verbatim
1287 #: ../src/guestfs.pod:640
1288 #, no-wrap
1289 msgid ""
1290 " $ python\n"
1291 " >>> import guestfs\n"
1292 " >>> help (guestfs)\n"
1293 "\n"
1294 msgstr ""
1295
1296 # type: =item
1297 #: ../src/guestfs.pod:644
1298 msgid "B<Ruby>"
1299 msgstr ""
1300
1301 # type: textblock
1302 #: ../src/guestfs.pod:646
1303 msgid ""
1304 "Use the Guestfs module.  There is no Ruby-specific documentation, but you "
1305 "can find examples written in Ruby in the libguestfs source."
1306 msgstr ""
1307
1308 # type: =item
1309 #: ../src/guestfs.pod:649
1310 msgid "B<shell scripts>"
1311 msgstr ""
1312
1313 # type: textblock
1314 #: ../src/guestfs.pod:651
1315 msgid "For documentation see L<guestfish(1)>."
1316 msgstr ""
1317
1318 # type: =head2
1319 #: ../src/guestfs.pod:655
1320 msgid "LIBGUESTFS GOTCHAS"
1321 msgstr ""
1322
1323 # type: textblock
1324 #: ../src/guestfs.pod:657
1325 msgid ""
1326 "L<http://en.wikipedia.org/wiki/Gotcha_(programming)>: \"A feature of a "
1327 "system [...] that works in the way it is documented but is counterintuitive "
1328 "and almost invites mistakes.\""
1329 msgstr ""
1330
1331 # type: textblock
1332 #: ../src/guestfs.pod:661
1333 msgid ""
1334 "Since we developed libguestfs and the associated tools, there are several "
1335 "things we would have designed differently, but are now stuck with for "
1336 "backwards compatibility or other reasons.  If there is ever a libguestfs 2.0 "
1337 "release, you can expect these to change.  Beware of them."
1338 msgstr ""
1339
1340 # type: =item
1341 #: ../src/guestfs.pod:669
1342 msgid "Autosync / forgetting to sync."
1343 msgstr ""
1344
1345 # type: textblock
1346 #: ../src/guestfs.pod:671
1347 msgid ""
1348 "When modifying a filesystem from C or another language, you B<must> unmount "
1349 "all filesystems and call L</guestfs_sync> explicitly before you close the "
1350 "libguestfs handle.  You can also call:"
1351 msgstr ""
1352
1353 # type: verbatim
1354 #: ../src/guestfs.pod:675
1355 #, no-wrap
1356 msgid ""
1357 " guestfs_set_autosync (g, 1);\n"
1358 "\n"
1359 msgstr ""
1360
1361 # type: textblock
1362 #: ../src/guestfs.pod:677
1363 msgid ""
1364 "to have the unmount/sync done automatically for you when the handle 'g' is "
1365 "closed.  (This feature is called \"autosync\", L</guestfs_set_autosync> "
1366 "q.v.)"
1367 msgstr ""
1368
1369 # type: textblock
1370 #: ../src/guestfs.pod:681
1371 msgid ""
1372 "If you forget to do this, then it is entirely possible that your changes "
1373 "won't be written out, or will be partially written, or (very rarely) that "
1374 "you'll get disk corruption."
1375 msgstr ""
1376
1377 # type: textblock
1378 #: ../src/guestfs.pod:685
1379 msgid ""
1380 "Note that in L<guestfish(3)> autosync is the default.  So quick and dirty "
1381 "guestfish scripts that forget to sync will work just fine, which can make "
1382 "this very puzzling if you are trying to debug a problem."
1383 msgstr ""
1384
1385 # type: =item
1386 #: ../src/guestfs.pod:689
1387 msgid "Mount option C<-o sync> should not be the default."
1388 msgstr ""
1389
1390 # type: textblock
1391 #: ../src/guestfs.pod:691
1392 msgid ""
1393 "If you use L</guestfs_mount>, then C<-o sync,noatime> are added implicitly.  "
1394 "However C<-o sync> does not add any reliability benefit, but does have a "
1395 "very large performance impact."
1396 msgstr ""
1397
1398 # type: textblock
1399 #: ../src/guestfs.pod:695
1400 msgid ""
1401 "The work around is to use L</guestfs_mount_options> and set the mount "
1402 "options that you actually want to use."
1403 msgstr ""
1404
1405 # type: =item
1406 #: ../src/guestfs.pod:698
1407 msgid "Read-only should be the default."
1408 msgstr ""
1409
1410 # type: textblock
1411 #: ../src/guestfs.pod:700
1412 msgid ""
1413 "In L<guestfish(3)>, I<--ro> should be the default, and you should have to "
1414 "specify I<--rw> if you want to make changes to the image."
1415 msgstr ""
1416
1417 # type: textblock
1418 #: ../src/guestfs.pod:703
1419 msgid "This would reduce the potential to corrupt live VM images."
1420 msgstr ""
1421
1422 # type: textblock
1423 #: ../src/guestfs.pod:705
1424 msgid ""
1425 "Note that many filesystems change the disk when you just mount and unmount, "
1426 "even if you didn't perform any writes.  You need to use "
1427 "L</guestfs_add_drive_ro> to guarantee that the disk is not changed."
1428 msgstr ""
1429
1430 # type: =item
1431 #: ../src/guestfs.pod:709
1432 msgid "guestfish command line is hard to use."
1433 msgstr ""
1434
1435 # type: textblock
1436 #: ../src/guestfs.pod:711
1437 msgid ""
1438 "C<guestfish disk.img> doesn't do what people expect (open C<disk.img> for "
1439 "examination).  It tries to run a guestfish command C<disk.img> which doesn't "
1440 "exist, so it fails.  In earlier versions of guestfish the error message was "
1441 "also unintuitive, but we have corrected this since.  Like the Bourne shell, "
1442 "we should have used C<guestfish -c command> to run commands."
1443 msgstr ""
1444
1445 # type: =item
1446 #: ../src/guestfs.pod:718
1447 msgid "guestfish megabyte modifiers don't work right on all commands"
1448 msgstr ""
1449
1450 # type: textblock
1451 #: ../src/guestfs.pod:720
1452 msgid ""
1453 "In recent guestfish you can use C<1M> to mean 1 megabyte (and similarly for "
1454 "other modifiers).  What guestfish actually does is to multiply the number "
1455 "part by the modifier part and pass the result to the C API.  However this "
1456 "doesn't work for a few APIs which aren't expecting bytes, but are already "
1457 "expecting some other unit (eg. megabytes)."
1458 msgstr ""
1459
1460 # type: textblock
1461 #: ../src/guestfs.pod:727
1462 msgid "The most common is L</guestfs_lvcreate>.  The guestfish command:"
1463 msgstr ""
1464
1465 # type: verbatim
1466 #: ../src/guestfs.pod:729
1467 #, no-wrap
1468 msgid ""
1469 " lvcreate LV VG 100M\n"
1470 "\n"
1471 msgstr ""
1472
1473 # type: textblock
1474 #: ../src/guestfs.pod:731
1475 msgid ""
1476 "does not do what you might expect.  Instead because L</guestfs_lvcreate> is "
1477 "already expecting megabytes, this tries to create a 100 I<terabyte> (100 "
1478 "megabytes * megabytes) logical volume.  The error message you get from this "
1479 "is also a little obscure."
1480 msgstr ""
1481
1482 # type: textblock
1483 #: ../src/guestfs.pod:736
1484 msgid ""
1485 "This could be fixed in the generator by specially marking parameters and "
1486 "return values which take bytes or other units."
1487 msgstr ""
1488
1489 # type: =item
1490 #: ../src/guestfs.pod:739
1491 msgid "Library should return errno with error messages."
1492 msgstr ""
1493
1494 # type: textblock
1495 #: ../src/guestfs.pod:741
1496 msgid ""
1497 "It would be a nice-to-have to be able to get the original value of 'errno' "
1498 "from inside the appliance along error paths (where set).  Currently "
1499 "L<guestmount(1)> goes through hoops to try to reverse the error message "
1500 "string into an errno, see the function error() in fuse/guestmount.c."
1501 msgstr ""
1502
1503 # type: textblock
1504 #: ../src/guestfs.pod:747
1505 msgid ""
1506 "In libguestfs 1.5.4, the protocol was changed so that the Linux errno is "
1507 "sent back from the daemon."
1508 msgstr ""
1509
1510 # type: =head2
1511 #: ../src/guestfs.pod:752
1512 msgid "PROTOCOL LIMITS"
1513 msgstr ""
1514
1515 # type: textblock
1516 #: ../src/guestfs.pod:754
1517 msgid ""
1518 "Internally libguestfs uses a message-based protocol to pass API calls and "
1519 "their responses to and from a small \"appliance\" (see L</INTERNALS> for "
1520 "plenty more detail about this).  The maximum message size used by the "
1521 "protocol is slightly less than 4 MB.  For some API calls you may need to be "
1522 "aware of this limit.  The API calls which may be affected are individually "
1523 "documented, with a link back to this section of the documentation."
1524 msgstr ""
1525
1526 # type: textblock
1527 #: ../src/guestfs.pod:762
1528 msgid ""
1529 "A simple call such as L</guestfs_cat> returns its result (the file data) in "
1530 "a simple string.  Because this string is at some point internally encoded as "
1531 "a message, the maximum size that it can return is slightly under 4 MB.  If "
1532 "the requested file is larger than this then you will get an error."
1533 msgstr ""
1534
1535 # type: textblock
1536 #: ../src/guestfs.pod:768
1537 msgid ""
1538 "In order to transfer large files into and out of the guest filesystem, you "
1539 "need to use particular calls that support this.  The sections L</UPLOADING> "
1540 "and L</DOWNLOADING> document how to do this."
1541 msgstr ""
1542
1543 # type: textblock
1544 #: ../src/guestfs.pod:772
1545 msgid ""
1546 "You might also consider mounting the disk image using our FUSE filesystem "
1547 "support (L<guestmount(1)>)."
1548 msgstr ""
1549
1550 # type: =head2
1551 #: ../src/guestfs.pod:775
1552 msgid "KEYS AND PASSPHRASES"
1553 msgstr ""
1554
1555 # type: textblock
1556 #: ../src/guestfs.pod:777
1557 msgid ""
1558 "Certain libguestfs calls take a parameter that contains sensitive key "
1559 "material, passed in as a C string."
1560 msgstr ""
1561
1562 # type: textblock
1563 #: ../src/guestfs.pod:780
1564 msgid ""
1565 "In the future we would hope to change the libguestfs implementation so that "
1566 "keys are L<mlock(2)>-ed into physical RAM, and thus can never end up in "
1567 "swap.  However this is I<not> done at the moment, because of the complexity "
1568 "of such an implementation."
1569 msgstr ""
1570
1571 # type: textblock
1572 #: ../src/guestfs.pod:785
1573 msgid ""
1574 "Therefore you should be aware that any key parameter you pass to libguestfs "
1575 "might end up being written out to the swap partition.  If this is a concern, "
1576 "scrub the swap partition or don't use libguestfs on encrypted devices."
1577 msgstr ""
1578
1579 # type: =head1
1580 #: ../src/guestfs.pod:790
1581 msgid "CONNECTION MANAGEMENT"
1582 msgstr ""
1583
1584 # type: =head2
1585 #: ../src/guestfs.pod:792
1586 msgid "guestfs_h *"
1587 msgstr ""
1588
1589 # type: textblock
1590 #: ../src/guestfs.pod:794
1591 msgid ""
1592 "C<guestfs_h> is the opaque type representing a connection handle.  Create a "
1593 "handle by calling L</guestfs_create>.  Call L</guestfs_close> to free the "
1594 "handle and release all resources used."
1595 msgstr ""
1596
1597 # type: textblock
1598 #: ../src/guestfs.pod:798
1599 msgid ""
1600 "For information on using multiple handles and threads, see the section "
1601 "L</MULTIPLE HANDLES AND MULTIPLE THREADS> below."
1602 msgstr ""
1603
1604 # type: =head2
1605 #: ../src/guestfs.pod:801
1606 msgid "guestfs_create"
1607 msgstr ""
1608
1609 # type: verbatim
1610 #: ../src/guestfs.pod:803
1611 #, no-wrap
1612 msgid ""
1613 " guestfs_h *guestfs_create (void);\n"
1614 "\n"
1615 msgstr ""
1616
1617 # type: textblock
1618 #: ../src/guestfs.pod:805
1619 msgid "Create a connection handle."
1620 msgstr ""
1621
1622 # type: textblock
1623 #: ../src/guestfs.pod:807
1624 msgid "You have to call L</guestfs_add_drive> on the handle at least once."
1625 msgstr ""
1626
1627 # type: textblock
1628 #: ../src/guestfs.pod:809
1629 msgid ""
1630 "This function returns a non-NULL pointer to a handle on success or NULL on "
1631 "error."
1632 msgstr ""
1633
1634 # type: textblock
1635 #: ../src/guestfs.pod:812
1636 msgid "After configuring the handle, you have to call L</guestfs_launch>."
1637 msgstr ""
1638
1639 # type: textblock
1640 #: ../src/guestfs.pod:814
1641 msgid ""
1642 "You may also want to configure error handling for the handle.  See L</ERROR "
1643 "HANDLING> section below."
1644 msgstr ""
1645
1646 # type: =head2
1647 #: ../src/guestfs.pod:817
1648 msgid "guestfs_close"
1649 msgstr ""
1650
1651 # type: verbatim
1652 #: ../src/guestfs.pod:819
1653 #, no-wrap
1654 msgid ""
1655 " void guestfs_close (guestfs_h *g);\n"
1656 "\n"
1657 msgstr ""
1658
1659 # type: textblock
1660 #: ../src/guestfs.pod:821
1661 msgid "This closes the connection handle and frees up all resources used."
1662 msgstr ""
1663
1664 # type: =head1
1665 #: ../src/guestfs.pod:823
1666 msgid "ERROR HANDLING"
1667 msgstr ""
1668
1669 # type: textblock
1670 #: ../src/guestfs.pod:825
1671 msgid ""
1672 "The convention in all functions that return C<int> is that they return C<-1> "
1673 "to indicate an error.  You can get additional information on errors by "
1674 "calling L</guestfs_last_error> and/or by setting up an error handler with "
1675 "L</guestfs_set_error_handler>."
1676 msgstr ""
1677
1678 # type: textblock
1679 #: ../src/guestfs.pod:830
1680 msgid "The default error handler prints the information string to C<stderr>."
1681 msgstr ""
1682
1683 # type: textblock
1684 #: ../src/guestfs.pod:832
1685 msgid ""
1686 "Out of memory errors are handled differently.  The default action is to call "
1687 "L<abort(3)>.  If this is undesirable, then you can set a handler using "
1688 "L</guestfs_set_out_of_memory_handler>."
1689 msgstr ""
1690
1691 # type: =head2
1692 #: ../src/guestfs.pod:836
1693 msgid "guestfs_last_error"
1694 msgstr ""
1695
1696 # type: verbatim
1697 #: ../src/guestfs.pod:838
1698 #, no-wrap
1699 msgid ""
1700 " const char *guestfs_last_error (guestfs_h *g);\n"
1701 "\n"
1702 msgstr ""
1703
1704 # type: textblock
1705 #: ../src/guestfs.pod:840
1706 msgid ""
1707 "This returns the last error message that happened on C<g>.  If there has not "
1708 "been an error since the handle was created, then this returns C<NULL>."
1709 msgstr ""
1710
1711 # type: textblock
1712 #: ../src/guestfs.pod:844
1713 msgid ""
1714 "The lifetime of the returned string is until the next error occurs, or "
1715 "L</guestfs_close> is called."
1716 msgstr ""
1717
1718 # type: textblock
1719 #: ../src/guestfs.pod:847
1720 msgid ""
1721 "The error string is not localized (ie. is always in English), because this "
1722 "makes searching for error messages in search engines give the largest number "
1723 "of results."
1724 msgstr ""
1725
1726 # type: =head2
1727 #: ../src/guestfs.pod:851
1728 msgid "guestfs_set_error_handler"
1729 msgstr ""
1730
1731 # type: verbatim
1732 #: ../src/guestfs.pod:853
1733 #, no-wrap
1734 msgid ""
1735 " typedef void (*guestfs_error_handler_cb) (guestfs_h *g,\n"
1736 "                                           void *opaque,\n"
1737 "                                           const char *msg);\n"
1738 " void guestfs_set_error_handler (guestfs_h *g,\n"
1739 "                                 guestfs_error_handler_cb cb,\n"
1740 "                                 void *opaque);\n"
1741 "\n"
1742 msgstr ""
1743
1744 # type: textblock
1745 #: ../src/guestfs.pod:860
1746 msgid ""
1747 "The callback C<cb> will be called if there is an error.  The parameters "
1748 "passed to the callback are an opaque data pointer and the error message "
1749 "string."
1750 msgstr ""
1751
1752 # type: textblock
1753 #: ../src/guestfs.pod:864
1754 msgid ""
1755 "Note that the message string C<msg> is freed as soon as the callback "
1756 "function returns, so if you want to stash it somewhere you must make your "
1757 "own copy."
1758 msgstr ""
1759
1760 # type: textblock
1761 #: ../src/guestfs.pod:868
1762 msgid "The default handler prints messages on C<stderr>."
1763 msgstr ""
1764
1765 # type: textblock
1766 #: ../src/guestfs.pod:870
1767 msgid "If you set C<cb> to C<NULL> then I<no> handler is called."
1768 msgstr ""
1769
1770 # type: =head2
1771 #: ../src/guestfs.pod:872
1772 msgid "guestfs_get_error_handler"
1773 msgstr ""
1774
1775 # type: verbatim
1776 #: ../src/guestfs.pod:874
1777 #, no-wrap
1778 msgid ""
1779 " guestfs_error_handler_cb guestfs_get_error_handler (guestfs_h *g,\n"
1780 "                                                     void **opaque_rtn);\n"
1781 "\n"
1782 msgstr ""
1783
1784 # type: textblock
1785 #: ../src/guestfs.pod:877
1786 msgid "Returns the current error handler callback."
1787 msgstr ""
1788
1789 # type: =head2
1790 #: ../src/guestfs.pod:879
1791 msgid "guestfs_set_out_of_memory_handler"
1792 msgstr ""
1793
1794 # type: verbatim
1795 #: ../src/guestfs.pod:881
1796 #, no-wrap
1797 msgid ""
1798 " typedef void (*guestfs_abort_cb) (void);\n"
1799 " int guestfs_set_out_of_memory_handler (guestfs_h *g,\n"
1800 "                                        guestfs_abort_cb);\n"
1801 "\n"
1802 msgstr ""
1803
1804 # type: textblock
1805 #: ../src/guestfs.pod:885
1806 msgid ""
1807 "The callback C<cb> will be called if there is an out of memory situation.  "
1808 "I<Note this callback must not return>."
1809 msgstr ""
1810
1811 # type: textblock
1812 #: ../src/guestfs.pod:888
1813 msgid "The default is to call L<abort(3)>."
1814 msgstr ""
1815
1816 # type: textblock
1817 #: ../src/guestfs.pod:890
1818 msgid "You cannot set C<cb> to C<NULL>.  You can't ignore out of memory situations."
1819 msgstr ""
1820
1821 # type: =head2
1822 #: ../src/guestfs.pod:893
1823 msgid "guestfs_get_out_of_memory_handler"
1824 msgstr ""
1825
1826 # type: verbatim
1827 #: ../src/guestfs.pod:895
1828 #, no-wrap
1829 msgid ""
1830 " guestfs_abort_fn guestfs_get_out_of_memory_handler (guestfs_h *g);\n"
1831 "\n"
1832 msgstr ""
1833
1834 # type: textblock
1835 #: ../src/guestfs.pod:897
1836 msgid "This returns the current out of memory handler."
1837 msgstr ""
1838
1839 # type: =head1
1840 #: ../src/guestfs.pod:899
1841 msgid "PATH"
1842 msgstr ""
1843
1844 # type: textblock
1845 #: ../src/guestfs.pod:901
1846 msgid ""
1847 "Libguestfs needs a kernel and initrd.img, which it finds by looking along an "
1848 "internal path."
1849 msgstr ""
1850
1851 # type: textblock
1852 #: ../src/guestfs.pod:904
1853 msgid ""
1854 "By default it looks for these in the directory C<$libdir/guestfs> "
1855 "(eg. C</usr/local/lib/guestfs> or C</usr/lib64/guestfs>)."
1856 msgstr ""
1857
1858 # type: textblock
1859 #: ../src/guestfs.pod:907
1860 msgid ""
1861 "Use L</guestfs_set_path> or set the environment variable L</LIBGUESTFS_PATH> "
1862 "to change the directories that libguestfs will search in.  The value is a "
1863 "colon-separated list of paths.  The current directory is I<not> searched "
1864 "unless the path contains an empty element or C<.>.  For example "
1865 "C<LIBGUESTFS_PATH=:/usr/lib/guestfs> would search the current directory and "
1866 "then C</usr/lib/guestfs>."
1867 msgstr ""
1868
1869 # type: =head1
1870 #: ../src/guestfs.pod:914
1871 msgid "HIGH-LEVEL API ACTIONS"
1872 msgstr ""
1873
1874 # type: =head2
1875 #: ../src/guestfs.pod:916
1876 msgid "ABI GUARANTEE"
1877 msgstr ""
1878
1879 # type: textblock
1880 #: ../src/guestfs.pod:918
1881 msgid ""
1882 "We guarantee the libguestfs ABI (binary interface), for public, high-level "
1883 "actions as outlined in this section.  Although we will deprecate some "
1884 "actions, for example if they get replaced by newer calls, we will keep the "
1885 "old actions forever.  This allows you the developer to program in confidence "
1886 "against the libguestfs API."
1887 msgstr ""
1888
1889 # type: textblock
1890 #: ../src/guestfs.pod:924 ../fish/guestfish.pod:898
1891 msgid "@ACTIONS@"
1892 msgstr ""
1893
1894 # type: =head1
1895 #: ../src/guestfs.pod:926
1896 msgid "STRUCTURES"
1897 msgstr ""
1898
1899 # type: textblock
1900 #: ../src/guestfs.pod:928
1901 msgid "@STRUCTS@"
1902 msgstr ""
1903
1904 # type: =head1
1905 #: ../src/guestfs.pod:930
1906 msgid "AVAILABILITY"
1907 msgstr ""
1908
1909 # type: =head2
1910 #: ../src/guestfs.pod:932
1911 msgid "GROUPS OF FUNCTIONALITY IN THE APPLIANCE"
1912 msgstr ""
1913
1914 # type: textblock
1915 #: ../src/guestfs.pod:934
1916 msgid ""
1917 "Using L</guestfs_available> you can test availability of the following "
1918 "groups of functions.  This test queries the appliance to see if the "
1919 "appliance you are currently using supports the functionality."
1920 msgstr ""
1921
1922 # type: textblock
1923 #: ../src/guestfs.pod:939
1924 msgid "@AVAILABILITY@"
1925 msgstr ""
1926
1927 # type: =head2
1928 #: ../src/guestfs.pod:941
1929 msgid "GUESTFISH supported COMMAND"
1930 msgstr ""
1931
1932 # type: textblock
1933 #: ../src/guestfs.pod:943
1934 msgid ""
1935 "In L<guestfish(3)> there is a handy interactive command C<supported> which "
1936 "prints out the available groups and whether they are supported by this build "
1937 "of libguestfs.  Note however that you have to do C<run> first."
1938 msgstr ""
1939
1940 # type: =head2
1941 #: ../src/guestfs.pod:948
1942 msgid "SINGLE CALLS AT COMPILE TIME"
1943 msgstr ""
1944
1945 # type: textblock
1946 #: ../src/guestfs.pod:950
1947 msgid ""
1948 "Since version 1.5.8, C<E<lt>guestfs.hE<gt>> defines symbols for each C API "
1949 "function, such as:"
1950 msgstr ""
1951
1952 # type: verbatim
1953 #: ../src/guestfs.pod:953
1954 #, no-wrap
1955 msgid ""
1956 " #define LIBGUESTFS_HAVE_DD 1\n"
1957 "\n"
1958 msgstr ""
1959
1960 # type: textblock
1961 #: ../src/guestfs.pod:955
1962 msgid "if L</guestfs_dd> is available."
1963 msgstr ""
1964
1965 # type: textblock
1966 #: ../src/guestfs.pod:957
1967 msgid ""
1968 "Before version 1.5.8, if you needed to test whether a single libguestfs "
1969 "function is available at compile time, we recommended using build tools such "
1970 "as autoconf or cmake.  For example in autotools you could use:"
1971 msgstr ""
1972
1973 # type: verbatim
1974 #: ../src/guestfs.pod:962
1975 #, no-wrap
1976 msgid ""
1977 " AC_CHECK_LIB([guestfs],[guestfs_create])\n"
1978 " AC_CHECK_FUNCS([guestfs_dd])\n"
1979 "\n"
1980 msgstr ""
1981
1982 # type: textblock
1983 #: ../src/guestfs.pod:965
1984 msgid ""
1985 "which would result in C<HAVE_GUESTFS_DD> being either defined or not defined "
1986 "in your program."
1987 msgstr ""
1988
1989 # type: =head2
1990 #: ../src/guestfs.pod:968
1991 msgid "SINGLE CALLS AT RUN TIME"
1992 msgstr ""
1993
1994 # type: textblock
1995 #: ../src/guestfs.pod:970
1996 msgid ""
1997 "Testing at compile time doesn't guarantee that a function really exists in "
1998 "the library.  The reason is that you might be dynamically linked against a "
1999 "previous I<libguestfs.so> (dynamic library)  which doesn't have the call.  "
2000 "This situation unfortunately results in a segmentation fault, which is a "
2001 "shortcoming of the C dynamic linking system itself."
2002 msgstr ""
2003
2004 # type: textblock
2005 #: ../src/guestfs.pod:977
2006 msgid ""
2007 "You can use L<dlopen(3)> to test if a function is available at run time, as "
2008 "in this example program (note that you still need the compile time check as "
2009 "well):"
2010 msgstr ""
2011
2012 # type: verbatim
2013 #: ../src/guestfs.pod:981
2014 #, no-wrap
2015 msgid ""
2016 " #include <stdio.h>\n"
2017 " #include <stdlib.h>\n"
2018 " #include <unistd.h>\n"
2019 " #include <dlfcn.h>\n"
2020 " #include <guestfs.h>\n"
2021 " \n"
2022 msgstr ""
2023
2024 # type: verbatim
2025 #: ../src/guestfs.pod:987
2026 #, no-wrap
2027 msgid ""
2028 " main ()\n"
2029 " {\n"
2030 " #ifdef LIBGUESTFS_HAVE_DD\n"
2031 "   void *dl;\n"
2032 "   int has_function;\n"
2033 " \n"
2034 msgstr ""
2035
2036 # type: verbatim
2037 #: ../src/guestfs.pod:993
2038 #, no-wrap
2039 msgid ""
2040 "   /* Test if the function guestfs_dd is really available. */\n"
2041 "   dl = dlopen (NULL, RTLD_LAZY);\n"
2042 "   if (!dl) {\n"
2043 "     fprintf (stderr, \"dlopen: %s\\n\", dlerror ());\n"
2044 "     exit (EXIT_FAILURE);\n"
2045 "   }\n"
2046 "   has_function = dlsym (dl, \"guestfs_dd\") != NULL;\n"
2047 "   dlclose (dl);\n"
2048 " \n"
2049 msgstr ""
2050
2051 # type: verbatim
2052 #: ../src/guestfs.pod:1002
2053 #, no-wrap
2054 msgid ""
2055 "   if (!has_function)\n"
2056 "     printf (\"this libguestfs.so does NOT have guestfs_dd function\\n\");\n"
2057 "   else {\n"
2058 "     printf (\"this libguestfs.so has guestfs_dd function\\n\");\n"
2059 "     /* Now it's safe to call\n"
2060 "     guestfs_dd (g, \"foo\", \"bar\");\n"
2061 "     */\n"
2062 "   }\n"
2063 " #else\n"
2064 "   printf (\"guestfs_dd function was not found at compile time\\n\");\n"
2065 " #endif\n"
2066 "  }\n"
2067 "\n"
2068 msgstr ""
2069
2070 # type: textblock
2071 #: ../src/guestfs.pod:1015
2072 msgid ""
2073 "You may think the above is an awful lot of hassle, and it is.  There are "
2074 "other ways outside of the C linking system to ensure that this kind of "
2075 "incompatibility never arises, such as using package versioning:"
2076 msgstr ""
2077
2078 # type: verbatim
2079 #: ../src/guestfs.pod:1020
2080 #, no-wrap
2081 msgid ""
2082 " Requires: libguestfs >= 1.0.80\n"
2083 "\n"
2084 msgstr ""
2085
2086 # type: =end
2087 #: ../src/guestfs.pod:1022 ../src/guestfs.pod:1027
2088 msgid "html"
2089 msgstr ""
2090
2091 # type: textblock
2092 #: ../src/guestfs.pod:1024
2093 msgid ""
2094 "<!-- old anchor for the next section --> <a "
2095 "name=\"state_machine_and_low_level_event_api\"/>"
2096 msgstr ""
2097
2098 # type: =head1
2099 #: ../src/guestfs.pod:1029
2100 msgid "ARCHITECTURE"
2101 msgstr ""
2102
2103 # type: textblock
2104 #: ../src/guestfs.pod:1031
2105 msgid ""
2106 "Internally, libguestfs is implemented by running an appliance (a special "
2107 "type of small virtual machine) using L<qemu(1)>.  Qemu runs as a child "
2108 "process of the main program."
2109 msgstr ""
2110
2111 # type: verbatim
2112 #: ../src/guestfs.pod:1035
2113 #, no-wrap
2114 msgid ""
2115 "  ___________________\n"
2116 " /                   \\\n"
2117 " | main program      |\n"
2118 " |                   |\n"
2119 " |                   |           child process / appliance\n"
2120 " |                   |           __________________________\n"
2121 " |                   |          / qemu                     \\\n"
2122 " +-------------------+   RPC    |      +-----------------+ |\n"
2123 " | libguestfs     <--------------------> guestfsd        | |\n"
2124 " |                   |          |      +-----------------+ |\n"
2125 " \\___________________/          |      | Linux kernel    | |\n"
2126 "                                |      +--^--------------+ |\n"
2127 "                                \\_________|________________/\n"
2128 "                                          |\n"
2129 "                                   _______v______\n"
2130 "                                  /              \\\n"
2131 "                                  | Device or    |\n"
2132 "                                  | disk image   |\n"
2133 "                                  \\______________/\n"
2134 "\n"
2135 msgstr ""
2136
2137 # type: textblock
2138 #: ../src/guestfs.pod:1055
2139 msgid ""
2140 "The library, linked to the main program, creates the child process and hence "
2141 "the appliance in the L</guestfs_launch> function."
2142 msgstr ""
2143
2144 # type: textblock
2145 #: ../src/guestfs.pod:1058
2146 msgid ""
2147 "Inside the appliance is a Linux kernel and a complete stack of userspace "
2148 "tools (such as LVM and ext2 programs) and a small controlling daemon called "
2149 "L</guestfsd>.  The library talks to L</guestfsd> using remote procedure "
2150 "calls (RPC).  There is a mostly one-to-one correspondence between libguestfs "
2151 "API calls and RPC calls to the daemon.  Lastly the disk image(s) are "
2152 "attached to the qemu process which translates device access by the "
2153 "appliance's Linux kernel into accesses to the image."
2154 msgstr ""
2155
2156 # type: textblock
2157 #: ../src/guestfs.pod:1067
2158 msgid ""
2159 "A common misunderstanding is that the appliance \"is\" the virtual machine.  "
2160 "Although the disk image you are attached to might also be used by some "
2161 "virtual machine, libguestfs doesn't know or care about this.  (But you will "
2162 "care if both libguestfs's qemu process and your virtual machine are trying "
2163 "to update the disk image at the same time, since these usually results in "
2164 "massive disk corruption)."
2165 msgstr ""
2166
2167 # type: =head1
2168 #: ../src/guestfs.pod:1074
2169 msgid "STATE MACHINE"
2170 msgstr ""
2171
2172 # type: textblock
2173 #: ../src/guestfs.pod:1076
2174 msgid "libguestfs uses a state machine to model the child process:"
2175 msgstr ""
2176
2177 # type: verbatim
2178 #: ../src/guestfs.pod:1078
2179 #, no-wrap
2180 msgid ""
2181 "                         |\n"
2182 "                    guestfs_create\n"
2183 "                         |\n"
2184 "                         |\n"
2185 "                     ____V_____\n"
2186 "                    /          \\\n"
2187 "                    |  CONFIG  |\n"
2188 "                    \\__________/\n"
2189 "                     ^ ^   ^  \\\n"
2190 "                    /  |    \\  \\ guestfs_launch\n"
2191 "                   /   |    _\\__V______\n"
2192 "                  /    |   /           \\\n"
2193 "                 /     |   | LAUNCHING |\n"
2194 "                /      |   \\___________/\n"
2195 "               /       |       /\n"
2196 "              /        |  guestfs_launch\n"
2197 "             /         |     /\n"
2198 "    ______  /        __|____V\n"
2199 "   /      \\ ------> /        \\\n"
2200 "   | BUSY |         | READY  |\n"
2201 "   \\______/ <------ \\________/\n"
2202 "\n"
2203 msgstr ""
2204
2205 # type: textblock
2206 #: ../src/guestfs.pod:1100
2207 msgid ""
2208 "The normal transitions are (1) CONFIG (when the handle is created, but there "
2209 "is no child process), (2) LAUNCHING (when the child process is booting up), "
2210 "(3) alternating between READY and BUSY as commands are issued to, and "
2211 "carried out by, the child process."
2212 msgstr ""
2213
2214 # type: textblock
2215 #: ../src/guestfs.pod:1105
2216 msgid ""
2217 "The guest may be killed by L</guestfs_kill_subprocess>, or may die "
2218 "asynchronously at any time (eg. due to some internal error), and that causes "
2219 "the state to transition back to CONFIG."
2220 msgstr ""
2221
2222 # type: textblock
2223 #: ../src/guestfs.pod:1109
2224 msgid ""
2225 "Configuration commands for qemu such as L</guestfs_add_drive> can only be "
2226 "issued when in the CONFIG state."
2227 msgstr ""
2228
2229 # type: textblock
2230 #: ../src/guestfs.pod:1112
2231 msgid ""
2232 "The high-level API offers two calls that go from CONFIG through LAUNCHING to "
2233 "READY.  L</guestfs_launch> blocks until the child process is READY to accept "
2234 "commands (or until some failure or timeout).  L</guestfs_launch> internally "
2235 "moves the state from CONFIG to LAUNCHING while it is running."
2236 msgstr ""
2237
2238 # type: textblock
2239 #: ../src/guestfs.pod:1118
2240 msgid ""
2241 "High-level API actions such as L</guestfs_mount> can only be issued when in "
2242 "the READY state.  These high-level API calls block waiting for the command "
2243 "to be carried out (ie. the state to transition to BUSY and then back to "
2244 "READY).  But using the low-level event API, you get non-blocking versions.  "
2245 "(But you can still only carry out one operation per handle at a time - that "
2246 "is a limitation of the communications protocol we use)."
2247 msgstr ""
2248
2249 # type: textblock
2250 #: ../src/guestfs.pod:1126
2251 msgid ""
2252 "Finally, the child process sends asynchronous messages back to the main "
2253 "program, such as kernel log messages.  Mostly these are ignored by the "
2254 "high-level API, but using the low-level event API you can register to "
2255 "receive these messages."
2256 msgstr ""
2257
2258 # type: =head2
2259 #: ../src/guestfs.pod:1131
2260 msgid "SETTING CALLBACKS TO HANDLE EVENTS"
2261 msgstr ""
2262
2263 # type: textblock
2264 #: ../src/guestfs.pod:1133
2265 msgid ""
2266 "The child process generates events in some situations.  Current events "
2267 "include: receiving a log message, the child process exits."
2268 msgstr ""
2269
2270 # type: textblock
2271 #: ../src/guestfs.pod:1136
2272 msgid ""
2273 "Use the C<guestfs_set_*_callback> functions to set a callback for different "
2274 "types of events."
2275 msgstr ""
2276
2277 # type: textblock
2278 #: ../src/guestfs.pod:1139
2279 msgid ""
2280 "Only I<one callback of each type> can be registered for each handle.  "
2281 "Calling C<guestfs_set_*_callback> again overwrites the previous callback of "
2282 "that type.  Cancel all callbacks of this type by calling this function with "
2283 "C<cb> set to C<NULL>."
2284 msgstr ""
2285
2286 # type: =head2
2287 #: ../src/guestfs.pod:1144
2288 msgid "guestfs_set_log_message_callback"
2289 msgstr ""
2290
2291 # type: verbatim
2292 #: ../src/guestfs.pod:1146
2293 #, no-wrap
2294 msgid ""
2295 " typedef void (*guestfs_log_message_cb) (guestfs_h *g, void *opaque,\n"
2296 "                                         char *buf, int len);\n"
2297 " void guestfs_set_log_message_callback (guestfs_h *g,\n"
2298 "                                        guestfs_log_message_cb cb,\n"
2299 "                                        void *opaque);\n"
2300 "\n"
2301 msgstr ""
2302
2303 # type: textblock
2304 #: ../src/guestfs.pod:1152
2305 msgid ""
2306 "The callback function C<cb> will be called whenever qemu or the guest writes "
2307 "anything to the console."
2308 msgstr ""
2309
2310 # type: textblock
2311 #: ../src/guestfs.pod:1155
2312 msgid "Use this function to capture kernel messages and similar."
2313 msgstr ""
2314
2315 # type: textblock
2316 #: ../src/guestfs.pod:1157
2317 msgid ""
2318 "Normally there is no log message handler, and log messages are just "
2319 "discarded."
2320 msgstr ""
2321
2322 # type: =head2
2323 #: ../src/guestfs.pod:1160
2324 msgid "guestfs_set_subprocess_quit_callback"
2325 msgstr ""
2326
2327 # type: verbatim
2328 #: ../src/guestfs.pod:1162
2329 #, no-wrap
2330 msgid ""
2331 " typedef void (*guestfs_subprocess_quit_cb) (guestfs_h *g, void *opaque);\n"
2332 " void guestfs_set_subprocess_quit_callback (guestfs_h *g,\n"
2333 "                                            guestfs_subprocess_quit_cb cb,\n"
2334 "                                            void *opaque);\n"
2335 "\n"
2336 msgstr ""
2337
2338 # type: textblock
2339 #: ../src/guestfs.pod:1167
2340 msgid ""
2341 "The callback function C<cb> will be called when the child process quits, "
2342 "either asynchronously or if killed by L</guestfs_kill_subprocess>.  (This "
2343 "corresponds to a transition from any state to the CONFIG state)."
2344 msgstr ""
2345
2346 # type: =head2
2347 #: ../src/guestfs.pod:1172
2348 msgid "guestfs_set_launch_done_callback"
2349 msgstr ""
2350
2351 # type: verbatim
2352 #: ../src/guestfs.pod:1174
2353 #, no-wrap
2354 msgid ""
2355 " typedef void (*guestfs_launch_done_cb) (guestfs_h *g, void *opaque);\n"
2356 " void guestfs_set_launch_done_callback (guestfs_h *g,\n"
2357 "                                        guestfs_launch_done_cb cb,\n"
2358 "                                        void *opaque);\n"
2359 "\n"
2360 msgstr ""
2361
2362 # type: textblock
2363 #: ../src/guestfs.pod:1179
2364 msgid ""
2365 "The callback function C<cb> will be called when the child process becomes "
2366 "ready first time after it has been launched.  (This corresponds to a "
2367 "transition from LAUNCHING to the READY state)."
2368 msgstr ""
2369
2370 # type: =head2
2371 #: ../src/guestfs.pod:1183
2372 msgid "guestfs_set_close_callback"
2373 msgstr ""
2374
2375 # type: verbatim
2376 #: ../src/guestfs.pod:1185
2377 #, no-wrap
2378 msgid ""
2379 " typedef void (*guestfs_close_cb) (guestfs_h *g, void *opaque);\n"
2380 " void guestfs_set_close_callback (guestfs_h *g,\n"
2381 "                                  guestfs_close_cb cb,\n"
2382 "                                  void *opaque);\n"
2383 "\n"
2384 msgstr ""
2385
2386 # type: textblock
2387 #: ../src/guestfs.pod:1190
2388 msgid ""
2389 "The callback function C<cb> will be called while the handle is being closed "
2390 "(synchronously from L</guestfs_close>)."
2391 msgstr ""
2392
2393 # type: textblock
2394 #: ../src/guestfs.pod:1193
2395 msgid ""
2396 "Note that libguestfs installs an L<atexit(3)> handler to try to clean up "
2397 "handles that are open when the program exits.  This means that this callback "
2398 "might be called indirectly from L<exit(3)>, which can cause unexpected "
2399 "problems in higher-level languages (eg. if your HLL interpreter has already "
2400 "been cleaned up by the time this is called, and if your callback then jumps "
2401 "into some HLL function)."
2402 msgstr ""
2403
2404 # type: =head2
2405 #: ../src/guestfs.pod:1201
2406 msgid "guestfs_set_progress_callback"
2407 msgstr ""
2408
2409 # type: verbatim
2410 #: ../src/guestfs.pod:1203
2411 #, no-wrap
2412 msgid ""
2413 " typedef void (*guestfs_progress_cb) (guestfs_h *g, void *opaque,\n"
2414 "                                      int proc_nr, int serial,\n"
2415 "                                      uint64_t position, uint64_t total);\n"
2416 " void guestfs_set_progress_callback (guestfs_h *g,\n"
2417 "                                     guestfs_progress_cb cb,\n"
2418 "                                     void *opaque);\n"
2419 "\n"
2420 msgstr ""
2421
2422 # type: textblock
2423 #: ../src/guestfs.pod:1210
2424 msgid ""
2425 "Some long-running operations can generate progress messages.  If this "
2426 "callback is registered, then it will be called each time a progress message "
2427 "is generated (usually two seconds after the operation started, and three "
2428 "times per second thereafter until it completes, although the frequency may "
2429 "change in future versions)."
2430 msgstr ""
2431
2432 # type: textblock
2433 #: ../src/guestfs.pod:1216
2434 msgid ""
2435 "The callback receives two numbers: C<position> and C<total>.  The units of "
2436 "C<total> are not defined, although for some operations C<total> may relate "
2437 "in some way to the amount of data to be transferred (eg. in bytes or "
2438 "megabytes), and C<position> may be the portion which has been transferred."
2439 msgstr ""
2440
2441 # type: textblock
2442 #: ../src/guestfs.pod:1222
2443 msgid "The only defined and stable parts of the API are:"
2444 msgstr ""
2445
2446 # type: textblock
2447 #: ../src/guestfs.pod:1228
2448 msgid ""
2449 "The callback can display to the user some type of progress bar or indicator "
2450 "which shows the ratio of C<position>:C<total>."
2451 msgstr ""
2452
2453 # type: textblock
2454 #: ../src/guestfs.pod:1233
2455 msgid "0 E<lt>= C<position> E<lt>= C<total>"
2456 msgstr ""
2457
2458 # type: textblock
2459 #: ../src/guestfs.pod:1237
2460 msgid ""
2461 "If any progress notification is sent during a call, then a final progress "
2462 "notification is always sent when C<position> = C<total>."
2463 msgstr ""
2464
2465 # type: textblock
2466 #: ../src/guestfs.pod:1240
2467 msgid ""
2468 "This is to simplify caller code, so callers can easily set the progress "
2469 "indicator to \"100%\" at the end of the operation, without requiring special "
2470 "code to detect this case."
2471 msgstr ""
2472
2473 # type: textblock
2474 #: ../src/guestfs.pod:1246
2475 msgid ""
2476 "The callback also receives the procedure number and serial number of the "
2477 "call.  These are only useful for debugging protocol issues, and the callback "
2478 "can normally ignore them.  The callback may want to print these numbers in "
2479 "error messages or debugging messages."
2480 msgstr ""
2481
2482 # type: =head1
2483 #: ../src/guestfs.pod:1251
2484 msgid "PRIVATE DATA AREA"
2485 msgstr ""
2486
2487 # type: textblock
2488 #: ../src/guestfs.pod:1253
2489 msgid ""
2490 "You can attach named pieces of private data to the libguestfs handle, and "
2491 "fetch them by name for the lifetime of the handle.  This is called the "
2492 "private data area and is only available from the C API."
2493 msgstr ""
2494
2495 # type: textblock
2496 #: ../src/guestfs.pod:1257
2497 msgid "To attach a named piece of data, use the following call:"
2498 msgstr ""
2499
2500 # type: verbatim
2501 #: ../src/guestfs.pod:1259
2502 #, no-wrap
2503 msgid ""
2504 " void guestfs_set_private (guestfs_h *g, const char *key, void *data);\n"
2505 "\n"
2506 msgstr ""
2507
2508 # type: textblock
2509 #: ../src/guestfs.pod:1261
2510 msgid ""
2511 "C<key> is the name to associate with this data, and C<data> is an arbitrary "
2512 "pointer (which can be C<NULL>).  Any previous item with the same name is "
2513 "overwritten."
2514 msgstr ""
2515
2516 # type: textblock
2517 #: ../src/guestfs.pod:1265
2518 msgid ""
2519 "You can use any C<key> you want, but names beginning with an underscore "
2520 "character are reserved for internal libguestfs purposes (for implementing "
2521 "language bindings).  It is recommended to prefix the name with some unique "
2522 "string to avoid collisions with other users."
2523 msgstr ""
2524
2525 # type: textblock
2526 #: ../src/guestfs.pod:1270
2527 msgid "To retrieve the pointer, use:"
2528 msgstr ""
2529
2530 # type: verbatim
2531 #: ../src/guestfs.pod:1272
2532 #, no-wrap
2533 msgid ""
2534 " void *guestfs_get_private (guestfs_h *g, const char *key);\n"
2535 "\n"
2536 msgstr ""
2537
2538 # type: textblock
2539 #: ../src/guestfs.pod:1274
2540 msgid ""
2541 "This function returns C<NULL> if either no data is found associated with "
2542 "C<key>, or if the user previously set the C<key>'s C<data> pointer to "
2543 "C<NULL>."
2544 msgstr ""
2545
2546 # type: textblock
2547 #: ../src/guestfs.pod:1278
2548 msgid ""
2549 "Libguestfs does not try to look at or interpret the C<data> pointer in any "
2550 "way.  As far as libguestfs is concerned, it need not be a valid pointer at "
2551 "all.  In particular, libguestfs does I<not> try to free the data when the "
2552 "handle is closed.  If the data must be freed, then the caller must either "
2553 "free it before calling L</guestfs_close> or must set up a close callback to "
2554 "do it (see L</guestfs_set_close_callback>, and note that only one callback "
2555 "can be registered for a handle)."
2556 msgstr ""
2557
2558 # type: textblock
2559 #: ../src/guestfs.pod:1286
2560 msgid ""
2561 "The private data area is implemented using a hash table, and should be "
2562 "reasonably efficient for moderate numbers of keys."
2563 msgstr ""
2564
2565 # type: =head1
2566 #: ../src/guestfs.pod:1289
2567 msgid "BLOCK DEVICE NAMING"
2568 msgstr ""
2569
2570 # type: textblock
2571 #: ../src/guestfs.pod:1291
2572 msgid ""
2573 "In the kernel there is now quite a profusion of schemata for naming block "
2574 "devices (in this context, by I<block device> I mean a physical or virtual "
2575 "hard drive).  The original Linux IDE driver used names starting with "
2576 "C</dev/hd*>.  SCSI devices have historically used a different naming scheme, "
2577 "C</dev/sd*>.  When the Linux kernel I<libata> driver became a popular "
2578 "replacement for the old IDE driver (particularly for SATA devices) those "
2579 "devices also used the C</dev/sd*> scheme.  Additionally we now have virtual "
2580 "machines with paravirtualized drivers.  This has created several different "
2581 "naming systems, such as C</dev/vd*> for virtio disks and C</dev/xvd*> for "
2582 "Xen PV disks."
2583 msgstr ""
2584
2585 # type: textblock
2586 #: ../src/guestfs.pod:1303
2587 msgid ""
2588 "As discussed above, libguestfs uses a qemu appliance running an embedded "
2589 "Linux kernel to access block devices.  We can run a variety of appliances "
2590 "based on a variety of Linux kernels."
2591 msgstr ""
2592
2593 # type: textblock
2594 #: ../src/guestfs.pod:1307
2595 msgid ""
2596 "This causes a problem for libguestfs because many API calls use device or "
2597 "partition names.  Working scripts and the recipe (example) scripts that we "
2598 "make available over the internet could fail if the naming scheme changes."
2599 msgstr ""
2600
2601 # type: textblock
2602 #: ../src/guestfs.pod:1312
2603 msgid ""
2604 "Therefore libguestfs defines C</dev/sd*> as the I<standard naming scheme>.  "
2605 "Internally C</dev/sd*> names are translated, if necessary, to other names as "
2606 "required.  For example, under RHEL 5 which uses the C</dev/hd*> scheme, any "
2607 "device parameter C</dev/sda2> is translated to C</dev/hda2> transparently."
2608 msgstr ""
2609
2610 # type: textblock
2611 #: ../src/guestfs.pod:1318
2612 msgid ""
2613 "Note that this I<only> applies to parameters.  The L</guestfs_list_devices>, "
2614 "L</guestfs_list_partitions> and similar calls return the true names of the "
2615 "devices and partitions as known to the appliance."
2616 msgstr ""
2617
2618 # type: =head2
2619 #: ../src/guestfs.pod:1323
2620 msgid "ALGORITHM FOR BLOCK DEVICE NAME TRANSLATION"
2621 msgstr ""
2622
2623 # type: textblock
2624 #: ../src/guestfs.pod:1325
2625 msgid ""
2626 "Usually this translation is transparent.  However in some (very rare)  cases "
2627 "you may need to know the exact algorithm.  Such cases include where you use "
2628 "L</guestfs_config> to add a mixture of virtio and IDE devices to the "
2629 "qemu-based appliance, so have a mixture of C</dev/sd*> and C</dev/vd*> "
2630 "devices."
2631 msgstr ""
2632
2633 # type: textblock
2634 #: ../src/guestfs.pod:1331
2635 msgid ""
2636 "The algorithm is applied only to I<parameters> which are known to be either "
2637 "device or partition names.  Return values from functions such as "
2638 "L</guestfs_list_devices> are never changed."
2639 msgstr ""
2640
2641 # type: textblock
2642 #: ../src/guestfs.pod:1339
2643 msgid "Is the string a parameter which is a device or partition name?"
2644 msgstr ""
2645
2646 # type: textblock
2647 #: ../src/guestfs.pod:1343
2648 msgid "Does the string begin with C</dev/sd>?"
2649 msgstr ""
2650
2651 # type: textblock
2652 #: ../src/guestfs.pod:1347
2653 msgid ""
2654 "Does the named device exist? If so, we use that device.  However if I<not> "
2655 "then we continue with this algorithm."
2656 msgstr ""
2657
2658 # type: textblock
2659 #: ../src/guestfs.pod:1352
2660 msgid "Replace initial C</dev/sd> string with C</dev/hd>."
2661 msgstr ""
2662
2663 # type: textblock
2664 #: ../src/guestfs.pod:1354
2665 msgid "For example, change C</dev/sda2> to C</dev/hda2>."
2666 msgstr ""
2667
2668 # type: textblock
2669 #: ../src/guestfs.pod:1356
2670 msgid "If that named device exists, use it.  If not, continue."
2671 msgstr ""
2672
2673 # type: textblock
2674 #: ../src/guestfs.pod:1360
2675 msgid "Replace initial C</dev/sd> string with C</dev/vd>."
2676 msgstr ""
2677
2678 # type: textblock
2679 #: ../src/guestfs.pod:1362
2680 msgid "If that named device exists, use it.  If not, return an error."
2681 msgstr ""
2682
2683 # type: =head2
2684 #: ../src/guestfs.pod:1366
2685 msgid "PORTABILITY CONCERNS"
2686 msgstr ""
2687
2688 # type: textblock
2689 #: ../src/guestfs.pod:1368
2690 msgid ""
2691 "Although the standard naming scheme and automatic translation is useful for "
2692 "simple programs and guestfish scripts, for larger programs it is best not to "
2693 "rely on this mechanism."
2694 msgstr ""
2695
2696 # type: textblock
2697 #: ../src/guestfs.pod:1372
2698 msgid ""
2699 "Where possible for maximum future portability programs using libguestfs "
2700 "should use these future-proof techniques:"
2701 msgstr ""
2702
2703 # type: textblock
2704 #: ../src/guestfs.pod:1379
2705 msgid ""
2706 "Use L</guestfs_list_devices> or L</guestfs_list_partitions> to list actual "
2707 "device names, and then use those names directly."
2708 msgstr ""
2709
2710 # type: textblock
2711 #: ../src/guestfs.pod:1382
2712 msgid "Since those device names exist by definition, they will never be translated."
2713 msgstr ""
2714
2715 # type: textblock
2716 #: ../src/guestfs.pod:1387
2717 msgid ""
2718 "Use higher level ways to identify filesystems, such as LVM names, UUIDs and "
2719 "filesystem labels."
2720 msgstr ""
2721
2722 # type: =head1
2723 #: ../src/guestfs.pod:1392
2724 msgid "INTERNALS"
2725 msgstr ""
2726
2727 # type: =head2
2728 #: ../src/guestfs.pod:1394
2729 msgid "COMMUNICATION PROTOCOL"
2730 msgstr ""
2731
2732 # type: textblock
2733 #: ../src/guestfs.pod:1396
2734 msgid ""
2735 "Don't rely on using this protocol directly.  This section documents how it "
2736 "currently works, but it may change at any time."
2737 msgstr ""
2738
2739 # type: textblock
2740 #: ../src/guestfs.pod:1399
2741 msgid ""
2742 "The protocol used to talk between the library and the daemon running inside "
2743 "the qemu virtual machine is a simple RPC mechanism built on top of XDR (RFC "
2744 "1014, RFC 1832, RFC 4506)."
2745 msgstr ""
2746
2747 # type: textblock
2748 #: ../src/guestfs.pod:1403
2749 msgid ""
2750 "The detailed format of structures is in C<src/guestfs_protocol.x> (note: "
2751 "this file is automatically generated)."
2752 msgstr ""
2753
2754 # type: textblock
2755 #: ../src/guestfs.pod:1406
2756 msgid ""
2757 "There are two broad cases, ordinary functions that don't have any C<FileIn> "
2758 "and C<FileOut> parameters, which are handled with very simple request/reply "
2759 "messages.  Then there are functions that have any C<FileIn> or C<FileOut> "
2760 "parameters, which use the same request and reply messages, but they may also "
2761 "be followed by files sent using a chunked encoding."
2762 msgstr ""
2763
2764 # type: =head3
2765 #: ../src/guestfs.pod:1413
2766 msgid "ORDINARY FUNCTIONS (NO FILEIN/FILEOUT PARAMS)"
2767 msgstr ""
2768
2769 # type: textblock
2770 #: ../src/guestfs.pod:1415
2771 msgid "For ordinary functions, the request message is:"
2772 msgstr ""
2773
2774 # type: verbatim
2775 #: ../src/guestfs.pod:1417
2776 #, no-wrap
2777 msgid ""
2778 " total length (header + arguments,\n"
2779 "      but not including the length word itself)\n"
2780 " struct guestfs_message_header (encoded as XDR)\n"
2781 " struct guestfs_<foo>_args (encoded as XDR)\n"
2782 "\n"
2783 msgstr ""
2784
2785 # type: textblock
2786 #: ../src/guestfs.pod:1422
2787 msgid ""
2788 "The total length field allows the daemon to allocate a fixed size buffer "
2789 "into which it slurps the rest of the message.  As a result, the total length "
2790 "is limited to C<GUESTFS_MESSAGE_MAX> bytes (currently 4MB), which means the "
2791 "effective size of any request is limited to somewhere under this size."
2792 msgstr ""
2793
2794 # type: textblock
2795 #: ../src/guestfs.pod:1428
2796 msgid ""
2797 "Note also that many functions don't take any arguments, in which case the "
2798 "C<guestfs_I<foo>_args> is completely omitted."
2799 msgstr ""
2800
2801 # type: textblock
2802 #: ../src/guestfs.pod:1431
2803 msgid ""
2804 "The header contains the procedure number (C<guestfs_proc>) which is how the "
2805 "receiver knows what type of args structure to expect, or none at all."
2806 msgstr ""
2807
2808 # type: textblock
2809 #: ../src/guestfs.pod:1435
2810 msgid "The reply message for ordinary functions is:"
2811 msgstr ""
2812
2813 # type: verbatim
2814 #: ../src/guestfs.pod:1437
2815 #, no-wrap
2816 msgid ""
2817 " total length (header + ret,\n"
2818 "      but not including the length word itself)\n"
2819 " struct guestfs_message_header (encoded as XDR)\n"
2820 " struct guestfs_<foo>_ret (encoded as XDR)\n"
2821 "\n"
2822 msgstr ""
2823
2824 # type: textblock
2825 #: ../src/guestfs.pod:1442
2826 msgid ""
2827 "As above the C<guestfs_I<foo>_ret> structure may be completely omitted for "
2828 "functions that return no formal return values."
2829 msgstr ""
2830
2831 # type: textblock
2832 #: ../src/guestfs.pod:1445
2833 msgid "As above the total length of the reply is limited to C<GUESTFS_MESSAGE_MAX>."
2834 msgstr ""
2835
2836 # type: textblock
2837 #: ../src/guestfs.pod:1448
2838 msgid ""
2839 "In the case of an error, a flag is set in the header, and the reply message "
2840 "is slightly changed:"
2841 msgstr ""
2842
2843 # type: verbatim
2844 #: ../src/guestfs.pod:1451
2845 #, no-wrap
2846 msgid ""
2847 " total length (header + error,\n"
2848 "      but not including the length word itself)\n"
2849 " struct guestfs_message_header (encoded as XDR)\n"
2850 " struct guestfs_message_error (encoded as XDR)\n"
2851 "\n"
2852 msgstr ""
2853
2854 # type: textblock
2855 #: ../src/guestfs.pod:1456
2856 msgid ""
2857 "The C<guestfs_message_error> structure contains the error message as a "
2858 "string."
2859 msgstr ""
2860
2861 # type: =head3
2862 #: ../src/guestfs.pod:1459
2863 msgid "FUNCTIONS THAT HAVE FILEIN PARAMETERS"
2864 msgstr ""
2865
2866 # type: textblock
2867 #: ../src/guestfs.pod:1461
2868 msgid ""
2869 "A C<FileIn> parameter indicates that we transfer a file I<into> the guest.  "
2870 "The normal request message is sent (see above).  However this is followed by "
2871 "a sequence of file chunks."
2872 msgstr ""
2873
2874 # type: verbatim
2875 #: ../src/guestfs.pod:1465
2876 #, no-wrap
2877 msgid ""
2878 " total length (header + arguments,\n"
2879 "      but not including the length word itself,\n"
2880 "      and not including the chunks)\n"
2881 " struct guestfs_message_header (encoded as XDR)\n"
2882 " struct guestfs_<foo>_args (encoded as XDR)\n"
2883 " sequence of chunks for FileIn param #0\n"
2884 " sequence of chunks for FileIn param #1 etc.\n"
2885 "\n"
2886 msgstr ""
2887
2888 # type: textblock
2889 #: ../src/guestfs.pod:1473
2890 msgid "The \"sequence of chunks\" is:"
2891 msgstr ""
2892
2893 # type: verbatim
2894 #: ../src/guestfs.pod:1475
2895 #, no-wrap
2896 msgid ""
2897 " length of chunk (not including length word itself)\n"
2898 " struct guestfs_chunk (encoded as XDR)\n"
2899 " length of chunk\n"
2900 " struct guestfs_chunk (encoded as XDR)\n"
2901 "   ...\n"
2902 " length of chunk\n"
2903 " struct guestfs_chunk (with data.data_len == 0)\n"
2904 "\n"
2905 msgstr ""
2906
2907 # type: textblock
2908 #: ../src/guestfs.pod:1483
2909 msgid ""
2910 "The final chunk has the C<data_len> field set to zero.  Additionally a flag "
2911 "is set in the final chunk to indicate either successful completion or early "
2912 "cancellation."
2913 msgstr ""
2914
2915 # type: textblock
2916 #: ../src/guestfs.pod:1487
2917 msgid ""
2918 "At time of writing there are no functions that have more than one FileIn "
2919 "parameter.  However this is (theoretically) supported, by sending the "
2920 "sequence of chunks for each FileIn parameter one after another (from left to "
2921 "right)."
2922 msgstr ""
2923
2924 # type: textblock
2925 #: ../src/guestfs.pod:1492
2926 msgid ""
2927 "Both the library (sender) I<and> the daemon (receiver) may cancel the "
2928 "transfer.  The library does this by sending a chunk with a special flag set "
2929 "to indicate cancellation.  When the daemon sees this, it cancels the whole "
2930 "RPC, does I<not> send any reply, and goes back to reading the next request."
2931 msgstr ""
2932
2933 # type: textblock
2934 #: ../src/guestfs.pod:1498
2935 msgid ""
2936 "The daemon may also cancel.  It does this by writing a special word "
2937 "C<GUESTFS_CANCEL_FLAG> to the socket.  The library listens for this during "
2938 "the transfer, and if it gets it, it will cancel the transfer (it sends a "
2939 "cancel chunk).  The special word is chosen so that even if cancellation "
2940 "happens right at the end of the transfer (after the library has finished "
2941 "writing and has started listening for the reply), the \"spurious\" cancel "
2942 "flag will not be confused with the reply message."
2943 msgstr ""
2944
2945 # type: textblock
2946 #: ../src/guestfs.pod:1507
2947 msgid ""
2948 "This protocol allows the transfer of arbitrary sized files (no 32 bit "
2949 "limit), and also files where the size is not known in advance (eg. from "
2950 "pipes or sockets).  However the chunks are rather small "
2951 "(C<GUESTFS_MAX_CHUNK_SIZE>), so that neither the library nor the daemon need "
2952 "to keep much in memory."
2953 msgstr ""
2954
2955 # type: =head3
2956 #: ../src/guestfs.pod:1513
2957 msgid "FUNCTIONS THAT HAVE FILEOUT PARAMETERS"
2958 msgstr ""
2959
2960 # type: textblock
2961 #: ../src/guestfs.pod:1515
2962 msgid ""
2963 "The protocol for FileOut parameters is exactly the same as for FileIn "
2964 "parameters, but with the roles of daemon and library reversed."
2965 msgstr ""
2966
2967 # type: verbatim
2968 #: ../src/guestfs.pod:1518
2969 #, no-wrap
2970 msgid ""
2971 " total length (header + ret,\n"
2972 "      but not including the length word itself,\n"
2973 "      and not including the chunks)\n"
2974 " struct guestfs_message_header (encoded as XDR)\n"
2975 " struct guestfs_<foo>_ret (encoded as XDR)\n"
2976 " sequence of chunks for FileOut param #0\n"
2977 " sequence of chunks for FileOut param #1 etc.\n"
2978 "\n"
2979 msgstr ""
2980
2981 # type: =head3
2982 #: ../src/guestfs.pod:1526
2983 msgid "INITIAL MESSAGE"
2984 msgstr ""
2985
2986 # type: textblock
2987 #: ../src/guestfs.pod:1528
2988 msgid ""
2989 "Because the underlying channel (QEmu -net channel) doesn't have any sort of "
2990 "connection control, when the daemon launches it sends an initial word "
2991 "(C<GUESTFS_LAUNCH_FLAG>) which indicates that the guest and daemon is "
2992 "alive.  This is what L</guestfs_launch> waits for."
2993 msgstr ""
2994
2995 # type: =head1
2996 #: ../src/guestfs.pod:1533
2997 msgid "MULTIPLE HANDLES AND MULTIPLE THREADS"
2998 msgstr ""
2999
3000 # type: textblock
3001 #: ../src/guestfs.pod:1535
3002 msgid ""
3003 "All high-level libguestfs actions are synchronous.  If you want to use "
3004 "libguestfs asynchronously then you must create a thread."
3005 msgstr ""
3006
3007 # type: textblock
3008 #: ../src/guestfs.pod:1538
3009 msgid ""
3010 "Only use the handle from a single thread.  Either use the handle exclusively "
3011 "from one thread, or provide your own mutex so that two threads cannot issue "
3012 "calls on the same handle at the same time."
3013 msgstr ""
3014
3015 # type: =head1
3016 #: ../src/guestfs.pod:1542
3017 msgid "QEMU WRAPPERS"
3018 msgstr ""
3019
3020 # type: textblock
3021 #: ../src/guestfs.pod:1544
3022 msgid ""
3023 "If you want to compile your own qemu, run qemu from a non-standard location, "
3024 "or pass extra arguments to qemu, then you can write a shell-script wrapper "
3025 "around qemu."
3026 msgstr ""
3027
3028 # type: textblock
3029 #: ../src/guestfs.pod:1548
3030 msgid ""
3031 "There is one important rule to remember: you I<must C<exec qemu>> as the "
3032 "last command in the shell script (so that qemu replaces the shell and "
3033 "becomes the direct child of the libguestfs-using program).  If you don't do "
3034 "this, then the qemu process won't be cleaned up correctly."
3035 msgstr ""
3036
3037 # type: textblock
3038 #: ../src/guestfs.pod:1553
3039 msgid ""
3040 "Here is an example of a wrapper, where I have built my own copy of qemu from "
3041 "source:"
3042 msgstr ""
3043
3044 # type: verbatim
3045 #: ../src/guestfs.pod:1556
3046 #, no-wrap
3047 msgid ""
3048 " #!/bin/sh -\n"
3049 " qemudir=/home/rjones/d/qemu\n"
3050 " exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios "
3051 "\"$@\"\n"
3052 "\n"
3053 msgstr ""
3054
3055 # type: textblock
3056 #: ../src/guestfs.pod:1560
3057 msgid ""
3058 "Save this script as C</tmp/qemu.wrapper> (or wherever), C<chmod +x>, and "
3059 "then use it by setting the LIBGUESTFS_QEMU environment variable.  For "
3060 "example:"
3061 msgstr ""
3062
3063 # type: verbatim
3064 #: ../src/guestfs.pod:1564
3065 #, no-wrap
3066 msgid ""
3067 " LIBGUESTFS_QEMU=/tmp/qemu.wrapper guestfish\n"
3068 "\n"
3069 msgstr ""
3070
3071 # type: textblock
3072 #: ../src/guestfs.pod:1566
3073 msgid ""
3074 "Note that libguestfs also calls qemu with the -help and -version options in "
3075 "order to determine features."
3076 msgstr ""
3077
3078 # type: =head1
3079 #: ../src/guestfs.pod:1569
3080 msgid "LIBGUESTFS VERSION NUMBERS"
3081 msgstr ""
3082
3083 # type: textblock
3084 #: ../src/guestfs.pod:1571
3085 msgid ""
3086 "Since April 2010, libguestfs has started to make separate development and "
3087 "stable releases, along with corresponding branches in our git repository.  "
3088 "These separate releases can be identified by version number:"
3089 msgstr ""
3090
3091 # type: verbatim
3092 #: ../src/guestfs.pod:1576
3093 #, no-wrap
3094 msgid ""
3095 "                 even numbers for stable: 1.2.x, 1.4.x, ...\n"
3096 "       .-------- odd numbers for development: 1.3.x, 1.5.x, ...\n"
3097 "       |\n"
3098 "       v\n"
3099 " 1  .  3  .  5\n"
3100 " ^           ^\n"
3101 " |           |\n"
3102 " |           `-------- sub-version\n"
3103 " |\n"
3104 " `------ always '1' because we don't change the ABI\n"
3105 "\n"
3106 msgstr ""
3107
3108 # type: textblock
3109 #: ../src/guestfs.pod:1587
3110 msgid "Thus \"1.3.5\" is the 5th update to the development branch \"1.3\"."
3111 msgstr ""
3112
3113 # type: textblock
3114 #: ../src/guestfs.pod:1589
3115 msgid ""
3116 "As time passes we cherry pick fixes from the development branch and backport "
3117 "those into the stable branch, the effect being that the stable branch should "
3118 "get more stable and less buggy over time.  So the stable releases are ideal "
3119 "for people who don't need new features but would just like the software to "
3120 "work."
3121 msgstr ""
3122
3123 # type: textblock
3124 #: ../src/guestfs.pod:1595
3125 msgid "Our criteria for backporting changes are:"
3126 msgstr ""
3127
3128 # type: textblock
3129 #: ../src/guestfs.pod:1601
3130 msgid ""
3131 "Documentation changes which don't affect any code are backported unless the "
3132 "documentation refers to a future feature which is not in stable."
3133 msgstr ""
3134
3135 # type: textblock
3136 #: ../src/guestfs.pod:1607
3137 msgid ""
3138 "Bug fixes which are not controversial, fix obvious problems, and have been "
3139 "well tested are backported."
3140 msgstr ""
3141
3142 # type: textblock
3143 #: ../src/guestfs.pod:1612
3144 msgid ""
3145 "Simple rearrangements of code which shouldn't affect how it works get "
3146 "backported.  This is so that the code in the two branches doesn't get too "
3147 "far out of step, allowing us to backport future fixes more easily."
3148 msgstr ""
3149
3150 # type: textblock
3151 #: ../src/guestfs.pod:1618
3152 msgid ""
3153 "We I<don't> backport new features, new APIs, new tools etc, except in one "
3154 "exceptional case: the new feature is required in order to implement an "
3155 "important bug fix."
3156 msgstr ""
3157
3158 # type: textblock
3159 #: ../src/guestfs.pod:1624
3160 msgid ""
3161 "A new stable branch starts when we think the new features in development are "
3162 "substantial and compelling enough over the current stable branch to warrant "
3163 "it.  When that happens we create new stable and development versions 1.N.0 "
3164 "and 1.(N+1).0 [N is even].  The new dot-oh release won't necessarily be so "
3165 "stable at this point, but by backporting fixes from development, that branch "
3166 "will stabilize over time."
3167 msgstr ""
3168
3169 # type: =head1
3170 #: ../src/guestfs.pod:1632 ../fish/guestfish.pod:905 ../test-tool/libguestfs-test-tool.pod:104 ../tools/virt-edit.pl:312 ../tools/virt-rescue.pl:226
3171 msgid "ENVIRONMENT VARIABLES"
3172 msgstr ""
3173
3174 # type: =item
3175 #: ../src/guestfs.pod:1636 ../fish/guestfish.pod:925
3176 msgid "LIBGUESTFS_APPEND"
3177 msgstr ""
3178
3179 # type: textblock
3180 #: ../src/guestfs.pod:1638 ../fish/guestfish.pod:927
3181 msgid "Pass additional options to the guest kernel."
3182 msgstr ""
3183
3184 # type: =item
3185 #: ../src/guestfs.pod:1640 ../fish/guestfish.pod:929
3186 msgid "LIBGUESTFS_DEBUG"
3187 msgstr ""
3188
3189 # type: textblock
3190 #: ../src/guestfs.pod:1642
3191 msgid ""
3192 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
3193 "effect as calling C<guestfs_set_verbose (g, 1)>."
3194 msgstr ""
3195
3196 # type: =item
3197 #: ../src/guestfs.pod:1645 ../fish/guestfish.pod:934
3198 msgid "LIBGUESTFS_MEMSIZE"
3199 msgstr ""
3200
3201 # type: textblock
3202 #: ../src/guestfs.pod:1647 ../fish/guestfish.pod:936
3203 msgid "Set the memory allocated to the qemu process, in megabytes.  For example:"
3204 msgstr ""
3205
3206 # type: verbatim
3207 #: ../src/guestfs.pod:1650 ../fish/guestfish.pod:939
3208 #, no-wrap
3209 msgid ""
3210 " LIBGUESTFS_MEMSIZE=700\n"
3211 "\n"
3212 msgstr ""
3213
3214 # type: =item
3215 #: ../src/guestfs.pod:1652 ../fish/guestfish.pod:941
3216 msgid "LIBGUESTFS_PATH"
3217 msgstr ""
3218
3219 # type: textblock
3220 #: ../src/guestfs.pod:1654
3221 msgid ""
3222 "Set the path that libguestfs uses to search for kernel and initrd.img.  See "
3223 "the discussion of paths in section PATH above."
3224 msgstr ""
3225
3226 # type: =item
3227 #: ../src/guestfs.pod:1657 ../fish/guestfish.pod:946
3228 msgid "LIBGUESTFS_QEMU"
3229 msgstr ""
3230
3231 # type: textblock
3232 #: ../src/guestfs.pod:1659 ../fish/guestfish.pod:948
3233 msgid ""
3234 "Set the default qemu binary that libguestfs uses.  If not set, then the qemu "
3235 "which was found at compile time by the configure script is used."
3236 msgstr ""
3237
3238 # type: textblock
3239 #: ../src/guestfs.pod:1663
3240 msgid "See also L</QEMU WRAPPERS> above."
3241 msgstr ""
3242
3243 # type: =item
3244 #: ../src/guestfs.pod:1665 ../fish/guestfish.pod:952
3245 msgid "LIBGUESTFS_TRACE"
3246 msgstr ""
3247
3248 # type: textblock
3249 #: ../src/guestfs.pod:1667
3250 msgid ""
3251 "Set C<LIBGUESTFS_TRACE=1> to enable command traces.  This has the same "
3252 "effect as calling C<guestfs_set_trace (g, 1)>."
3253 msgstr ""
3254
3255 # type: =item
3256 #: ../src/guestfs.pod:1670 ../fish/guestfish.pod:961
3257 msgid "TMPDIR"
3258 msgstr ""
3259
3260 # type: textblock
3261 #: ../src/guestfs.pod:1672 ../fish/guestfish.pod:963
3262 msgid "Location of temporary directory, defaults to C</tmp>."
3263 msgstr ""
3264
3265 # type: textblock
3266 #: ../src/guestfs.pod:1674 ../fish/guestfish.pod:965
3267 msgid ""
3268 "If libguestfs was compiled to use the supermin appliance then each handle "
3269 "will require rather a large amount of space in this directory for short "
3270 "periods of time (~ 80 MB).  You can use C<$TMPDIR> to configure another "
3271 "directory to use in case C</tmp> is not large enough."
3272 msgstr ""
3273
3274 # type: =head1
3275 #: ../src/guestfs.pod:1682 ../fish/guestfish.pod:1023 ../test-tool/libguestfs-test-tool.pod:109 ../fuse/guestmount.pod:178 ../inspector/virt-inspector.pl:846 ../tools/virt-cat.pl:163 ../tools/virt-df.pl:482 ../tools/virt-edit.pl:325 ../tools/virt-list-filesystems.pl:191 ../tools/virt-list-partitions.pl:229 ../tools/virt-ls.pl:210 ../tools/virt-make-fs.pl:527 ../tools/virt-rescue.pl:231 ../tools/virt-resize.pl:1390 ../tools/virt-tar.pl:257 ../tools/virt-win-reg.pl:461
3276 msgid "SEE ALSO"
3277 msgstr ""
3278
3279 # type: textblock
3280 #: ../src/guestfs.pod:1684
3281 msgid ""
3282 "L<guestfish(1)>, L<guestmount(1)>, L<virt-cat(1)>, L<virt-df(1)>, "
3283 "L<virt-edit(1)>, L<virt-inspector(1)>, L<virt-list-filesystems(1)>, "
3284 "L<virt-list-partitions(1)>, L<virt-ls(1)>, L<virt-make-fs(1)>, "
3285 "L<virt-rescue(1)>, L<virt-tar(1)>, L<virt-win-reg(1)>, L<qemu(1)>, "
3286 "L<febootstrap(1)>, L<hivex(3)>, L<http://libguestfs.org/>."
3287 msgstr ""
3288
3289 # type: textblock
3290 #: ../src/guestfs.pod:1702
3291 msgid ""
3292 "Tools with a similar purpose: L<fdisk(8)>, L<parted(8)>, L<kpartx(8)>, "
3293 "L<lvm(8)>, L<disktype(1)>."
3294 msgstr ""
3295
3296 # type: =head1
3297 #: ../src/guestfs.pod:1709 ../tools/virt-make-fs.pl:541 ../tools/virt-win-reg.pl:476
3298 msgid "BUGS"
3299 msgstr ""
3300
3301 # type: textblock
3302 #: ../src/guestfs.pod:1711
3303 msgid "To get a list of bugs against libguestfs use this link:"
3304 msgstr ""
3305
3306 # type: textblock
3307 #: ../src/guestfs.pod:1713
3308 msgid "L<https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools>"
3309 msgstr ""
3310
3311 # type: textblock
3312 #: ../src/guestfs.pod:1715
3313 msgid "To report a new bug against libguestfs use this link:"
3314 msgstr ""
3315
3316 # type: textblock
3317 #: ../src/guestfs.pod:1717
3318 msgid "L<https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools>"
3319 msgstr ""
3320
3321 # type: textblock
3322 #: ../src/guestfs.pod:1719
3323 msgid "When reporting a bug, please check:"
3324 msgstr ""
3325
3326 # type: textblock
3327 #: ../src/guestfs.pod:1725
3328 msgid "That the bug hasn't been reported already."
3329 msgstr ""
3330
3331 # type: textblock
3332 #: ../src/guestfs.pod:1729
3333 msgid "That you are testing a recent version."
3334 msgstr ""
3335
3336 # type: textblock
3337 #: ../src/guestfs.pod:1733
3338 msgid "Describe the bug accurately, and give a way to reproduce it."
3339 msgstr ""
3340
3341 # type: textblock
3342 #: ../src/guestfs.pod:1737
3343 msgid ""
3344 "Run libguestfs-test-tool and paste the B<complete, unedited> output into the "
3345 "bug report."
3346 msgstr ""
3347
3348 # type: =head1
3349 #: ../src/guestfs.pod:1742 ../fish/guestfish.pod:1039 ../test-tool/libguestfs-test-tool.pod:115 ../fuse/guestmount.pod:189 ../inspector/virt-inspector.pl:855
3350 msgid "AUTHORS"
3351 msgstr ""
3352
3353 # type: textblock
3354 #: ../src/guestfs.pod:1744 ../fish/guestfish.pod:1041 ../test-tool/libguestfs-test-tool.pod:117 ../fuse/guestmount.pod:191
3355 msgid "Richard W.M. Jones (C<rjones at redhat dot com>)"
3356 msgstr ""
3357
3358 # type: =head1
3359 #: ../src/guestfs.pod:1746 ../fish/guestfish.pod:1043 ../test-tool/libguestfs-test-tool.pod:119 ../fuse/guestmount.pod:193 ../inspector/virt-inspector.pl:861 ../tools/virt-cat.pl:177 ../tools/virt-df.pl:495 ../tools/virt-edit.pl:341 ../tools/virt-list-filesystems.pl:207 ../tools/virt-list-partitions.pl:244 ../tools/virt-ls.pl:225 ../tools/virt-make-fs.pl:556 ../tools/virt-rescue.pl:245 ../tools/virt-resize.pl:1411 ../tools/virt-tar.pl:272 ../tools/virt-win-reg.pl:491
3360 msgid "COPYRIGHT"
3361 msgstr ""
3362
3363 # type: textblock
3364 #: ../src/guestfs.pod:1748 ../fish/guestfish.pod:1045
3365 msgid "Copyright (C) 2009-2010 Red Hat Inc.  L<http://libguestfs.org/>"
3366 msgstr ""
3367
3368 # type: textblock
3369 #: ../src/guestfs.pod:1751
3370 msgid ""
3371 "This library is free software; you can redistribute it and/or modify it "
3372 "under the terms of the GNU Lesser General Public License as published by the "
3373 "Free Software Foundation; either version 2 of the License, or (at your "
3374 "option) any later version."
3375 msgstr ""
3376
3377 # type: textblock
3378 #: ../src/guestfs.pod:1756
3379 msgid ""
3380 "This library is distributed in the hope that it will be useful, but WITHOUT "
3381 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
3382 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License "
3383 "for more details."
3384 msgstr ""
3385
3386 # type: textblock
3387 #: ../src/guestfs.pod:1761
3388 msgid ""
3389 "You should have received a copy of the GNU Lesser General Public License "
3390 "along with this library; if not, write to the Free Software Foundation, "
3391 "Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
3392 msgstr ""
3393
3394 # type: =head2
3395 #: ../src/guestfs-actions.pod:1
3396 msgid "guestfs_add_cdrom"
3397 msgstr ""
3398
3399 # type: verbatim
3400 #: ../src/guestfs-actions.pod:3
3401 #, no-wrap
3402 msgid ""
3403 " int guestfs_add_cdrom (guestfs_h *g,\n"
3404 "\t\tconst char *filename);\n"
3405 "\n"
3406 msgstr ""
3407
3408 # type: textblock
3409 #: ../src/guestfs-actions.pod:6 ../fish/guestfish-actions.pod:5
3410 msgid "This function adds a virtual CD-ROM disk image to the guest."
3411 msgstr ""
3412
3413 # type: textblock
3414 #: ../src/guestfs-actions.pod:8 ../fish/guestfish-actions.pod:7
3415 msgid "This is equivalent to the qemu parameter C<-cdrom filename>."
3416 msgstr ""
3417
3418 # type: textblock
3419 #: ../src/guestfs-actions.pod:10 ../src/guestfs-actions.pod:1488 ../fish/guestfish-actions.pod:9 ../fish/guestfish-actions.pod:1186
3420 msgid "Notes:"
3421 msgstr ""
3422
3423 # type: textblock
3424 #: ../src/guestfs-actions.pod:16
3425 msgid ""
3426 "This call checks for the existence of C<filename>.  This stops you from "
3427 "specifying other types of drive which are supported by qemu such as C<nbd:> "
3428 "and C<http:> URLs.  To specify those, use the general C<guestfs_config> call "
3429 "instead."
3430 msgstr ""
3431
3432 # type: textblock
3433 #: ../src/guestfs-actions.pod:23
3434 msgid ""
3435 "If you just want to add an ISO file (often you use this as an efficient way "
3436 "to transfer large files into the guest), then you should probably use "
3437 "C<guestfs_add_drive_ro> instead."
3438 msgstr ""
3439
3440 # type: textblock
3441 #: ../src/guestfs-actions.pod:29 ../src/guestfs-actions.pod:63 ../src/guestfs-actions.pod:92 ../src/guestfs-actions.pod:103 ../src/guestfs-actions.pod:114 ../src/guestfs-actions.pod:124 ../src/guestfs-actions.pod:135 ../src/guestfs-actions.pod:238 ../src/guestfs-actions.pod:255 ../src/guestfs-actions.pod:266 ../src/guestfs-actions.pod:302 ../src/guestfs-actions.pod:324 ../src/guestfs-actions.pod:339 ../src/guestfs-actions.pod:403 ../src/guestfs-actions.pod:430 ../src/guestfs-actions.pod:441 ../src/guestfs-actions.pod:453 ../src/guestfs-actions.pod:534 ../src/guestfs-actions.pod:549 ../src/guestfs-actions.pod:560 ../src/guestfs-actions.pod:571 ../src/guestfs-actions.pod:717 ../src/guestfs-actions.pod:734 ../src/guestfs-actions.pod:749 ../src/guestfs-actions.pod:824 ../src/guestfs-actions.pod:839 ../src/guestfs-actions.pod:855 ../src/guestfs-actions.pod:866 ../src/guestfs-actions.pod:883 ../src/guestfs-actions.pod:916 ../src/guestfs-actions.pod:974 ../src/guestfs-actions.pod:996 ../src/guestfs-actions.pod:1027 ../src/guestfs-actions.pod:1115 ../src/guestfs-actions.pod:1146 ../src/guestfs-actions.pod:1346 ../src/guestfs-actions.pod:1365 ../src/guestfs-actions.pod:1446 ../src/guestfs-actions.pod:1794 ../src/guestfs-actions.pod:1917 ../src/guestfs-actions.pod:1972 ../src/guestfs-actions.pod:2002 ../src/guestfs-actions.pod:2349 ../src/guestfs-actions.pod:2361 ../src/guestfs-actions.pod:2378 ../src/guestfs-actions.pod:2443 ../src/guestfs-actions.pod:2454 ../src/guestfs-actions.pod:2464 ../src/guestfs-actions.pod:2475 ../src/guestfs-actions.pod:2487 ../src/guestfs-actions.pod:2517 ../src/guestfs-actions.pod:2581 ../src/guestfs-actions.pod:2598 ../src/guestfs-actions.pod:2612 ../src/guestfs-actions.pod:2632 ../src/guestfs-actions.pod:2652 ../src/guestfs-actions.pod:2681 ../src/guestfs-actions.pod:2697 ../src/guestfs-actions.pod:2713 ../src/guestfs-actions.pod:2725 ../src/guestfs-actions.pod:2734 ../src/guestfs-actions.pod:2767 ../src/guestfs-actions.pod:2780 ../src/guestfs-actions.pod:2790 ../src/guestfs-actions.pod:2802 ../src/guestfs-actions.pod:2816 ../src/guestfs-actions.pod:2896 ../src/guestfs-actions.pod:2913 ../src/guestfs-actions.pod:2923 ../src/guestfs-actions.pod:2968 ../src/guestfs-actions.pod:2983 ../src/guestfs-actions.pod:2998 ../src/guestfs-actions.pod:3011 ../src/guestfs-actions.pod:3022 ../src/guestfs-actions.pod:3033 ../src/guestfs-actions.pod:3047 ../src/guestfs-actions.pod:3059 ../src/guestfs-actions.pod:3076 ../src/guestfs-actions.pod:3107 ../src/guestfs-actions.pod:3135 ../src/guestfs-actions.pod:3151 ../src/guestfs-actions.pod:3167 ../src/guestfs-actions.pod:3176 ../src/guestfs-actions.pod:3190 ../src/guestfs-actions.pod:3200 ../src/guestfs-actions.pod:3212 ../src/guestfs-actions.pod:3224 ../src/guestfs-actions.pod:3256 ../src/guestfs-actions.pod:3268 ../src/guestfs-actions.pod:3285 ../src/guestfs-actions.pod:3296 ../src/guestfs-actions.pod:3310 ../src/guestfs-actions.pod:3350 ../src/guestfs-actions.pod:3381 ../src/guestfs-actions.pod:3392 ../src/guestfs-actions.pod:3417 ../src/guestfs-actions.pod:3431 ../src/guestfs-actions.pod:3446 ../src/guestfs-actions.pod:3568 ../src/guestfs-actions.pod:3620 ../src/guestfs-actions.pod:3639 ../src/guestfs-actions.pod:3654 ../src/guestfs-actions.pod:3665 ../src/guestfs-actions.pod:3699 ../src/guestfs-actions.pod:3713 ../src/guestfs-actions.pod:3723 ../src/guestfs-actions.pod:3734 ../src/guestfs-actions.pod:3966 ../src/guestfs-actions.pod:3982 ../src/guestfs-actions.pod:3993 ../src/guestfs-actions.pod:4002 ../src/guestfs-actions.pod:4013 ../src/guestfs-actions.pod:4022 ../src/guestfs-actions.pod:4033 ../src/guestfs-actions.pod:4046 ../src/guestfs-actions.pod:4064 ../src/guestfs-actions.pod:4080 ../src/guestfs-actions.pod:4096 ../src/guestfs-actions.pod:4111 ../src/guestfs-actions.pod:4131 ../src/guestfs-actions.pod:4146 ../src/guestfs-actions.pod:4162 ../src/guestfs-actions.pod:4180 ../src/guestfs-actions.pod:4196 ../src/guestfs-actions.pod:4210 ../src/guestfs-actions.pod:4235 ../src/guestfs-actions.pod:4256 ../src/guestfs-actions.pod:4272 ../src/guestfs-actions.pod:4293 ../src/guestfs-actions.pod:4305 ../src/guestfs-actions.pod:4317 ../src/guestfs-actions.pod:4333 ../src/guestfs-actions.pod:4367 ../src/guestfs-actions.pod:4387 ../src/guestfs-actions.pod:4410 ../src/guestfs-actions.pod:4500 ../src/guestfs-actions.pod:4606 ../src/guestfs-actions.pod:4615 ../src/guestfs-actions.pod:4625 ../src/guestfs-actions.pod:4635 ../src/guestfs-actions.pod:4654 ../src/guestfs-actions.pod:4664 ../src/guestfs-actions.pod:4674 ../src/guestfs-actions.pod:4684 ../src/guestfs-actions.pod:4696 ../src/guestfs-actions.pod:4746 ../src/guestfs-actions.pod:4760 ../src/guestfs-actions.pod:4773 ../src/guestfs-actions.pod:4786 ../src/guestfs-actions.pod:4800 ../src/guestfs-actions.pod:4810 ../src/guestfs-actions.pod:4827 ../src/guestfs-actions.pod:4857 ../src/guestfs-actions.pod:4868 ../src/guestfs-actions.pod:4903 ../src/guestfs-actions.pod:4913 ../src/guestfs-actions.pod:4928 ../src/guestfs-actions.pod:4956 ../src/guestfs-actions.pod:5060 ../src/guestfs-actions.pod:5075 ../src/guestfs-actions.pod:5086 ../src/guestfs-actions.pod:5132 ../src/guestfs-actions.pod:5142 ../src/guestfs-actions.pod:5179 ../src/guestfs-actions.pod:5206 ../src/guestfs-actions.pod:5248 ../src/guestfs-actions.pod:5271 ../src/guestfs-actions.pod:5328 ../src/guestfs-actions.pod:5344 ../src/guestfs-actions.pod:5370
3442 msgid "This function returns 0 on success or -1 on error."
3443 msgstr ""
3444
3445 # type: =head2
3446 #: ../src/guestfs-actions.pod:31
3447 msgid "guestfs_add_drive"
3448 msgstr ""
3449
3450 # type: verbatim
3451 #: ../src/guestfs-actions.pod:33
3452 #, no-wrap
3453 msgid ""
3454 " int guestfs_add_drive (guestfs_h *g,\n"
3455 "\t\tconst char *filename);\n"
3456 "\n"
3457 msgstr ""
3458
3459 # type: textblock
3460 #: ../src/guestfs-actions.pod:36 ../fish/guestfish-actions.pod:32
3461 msgid ""
3462 "This function adds a virtual machine disk image C<filename> to the guest.  "
3463 "The first time you call this function, the disk appears as IDE disk 0 "
3464 "(C</dev/sda>) in the guest, the second time as C</dev/sdb>, and so on."
3465 msgstr ""
3466
3467 # type: textblock
3468 #: ../src/guestfs-actions.pod:41 ../fish/guestfish-actions.pod:37
3469 msgid ""
3470 "You don't necessarily need to be root when using libguestfs.  However you "
3471 "obviously do need sufficient permissions to access the filename for whatever "
3472 "operations you want to perform (ie. read access if you just want to read the "
3473 "image or write access if you want to modify the image)."
3474 msgstr ""
3475
3476 # type: textblock
3477 #: ../src/guestfs-actions.pod:47 ../fish/guestfish-actions.pod:43
3478 msgid ""
3479 "This is equivalent to the qemu parameter C<-drive "
3480 "file=filename,cache=off,if=...>."
3481 msgstr ""
3482
3483 # type: textblock
3484 #: ../src/guestfs-actions.pod:50 ../fish/guestfish-actions.pod:46
3485 msgid ""
3486 "C<cache=off> is omitted in cases where it is not supported by the underlying "
3487 "filesystem."
3488 msgstr ""
3489
3490 # type: textblock
3491 #: ../src/guestfs-actions.pod:53 ../src/guestfs-actions.pod:82
3492 msgid ""
3493 "C<if=...> is set at compile time by the configuration option C<./configure "
3494 "--with-drive-if=...>.  In the rare case where you might need to change this "
3495 "at run time, use C<guestfs_add_drive_with_if> or "
3496 "C<guestfs_add_drive_ro_with_if>."
3497 msgstr ""
3498
3499 # type: textblock
3500 #: ../src/guestfs-actions.pod:58 ../src/guestfs-actions.pod:87
3501 msgid ""
3502 "Note that this call checks for the existence of C<filename>.  This stops you "
3503 "from specifying other types of drive which are supported by qemu such as "
3504 "C<nbd:> and C<http:> URLs.  To specify those, use the general "
3505 "C<guestfs_config> call instead."
3506 msgstr ""
3507
3508 # type: =head2
3509 #: ../src/guestfs-actions.pod:65
3510 msgid "guestfs_add_drive_ro"
3511 msgstr ""
3512
3513 # type: verbatim
3514 #: ../src/guestfs-actions.pod:67
3515 #, no-wrap
3516 msgid ""
3517 " int guestfs_add_drive_ro (guestfs_h *g,\n"
3518 "\t\tconst char *filename);\n"
3519 "\n"
3520 msgstr ""
3521
3522 # type: textblock
3523 #: ../src/guestfs-actions.pod:70 ../fish/guestfish-actions.pod:63
3524 msgid "This adds a drive in snapshot mode, making it effectively read-only."
3525 msgstr ""
3526
3527 # type: textblock
3528 #: ../src/guestfs-actions.pod:73 ../fish/guestfish-actions.pod:66
3529 msgid ""
3530 "Note that writes to the device are allowed, and will be seen for the "
3531 "duration of the guestfs handle, but they are written to a temporary file "
3532 "which is discarded as soon as the guestfs handle is closed.  We don't "
3533 "currently have any method to enable changes to be committed, although qemu "
3534 "can support this."
3535 msgstr ""
3536
3537 # type: textblock
3538 #: ../src/guestfs-actions.pod:79 ../fish/guestfish-actions.pod:72
3539 msgid ""
3540 "This is equivalent to the qemu parameter C<-drive "
3541 "file=filename,snapshot=on,if=...>."
3542 msgstr ""
3543
3544 # type: =head2
3545 #: ../src/guestfs-actions.pod:94
3546 msgid "guestfs_add_drive_ro_with_if"
3547 msgstr ""
3548
3549 # type: verbatim
3550 #: ../src/guestfs-actions.pod:96
3551 #, no-wrap
3552 msgid ""
3553 " int guestfs_add_drive_ro_with_if (guestfs_h *g,\n"
3554 "\t\tconst char *filename,\n"
3555 "\t\tconst char *iface);\n"
3556 "\n"
3557 msgstr ""
3558
3559 # type: textblock
3560 #: ../src/guestfs-actions.pod:100
3561 msgid ""
3562 "This is the same as C<guestfs_add_drive_ro> but it allows you to specify the "
3563 "QEMU interface emulation to use at run time."
3564 msgstr ""
3565
3566 # type: =head2
3567 #: ../src/guestfs-actions.pod:105
3568 msgid "guestfs_add_drive_with_if"
3569 msgstr ""
3570
3571 # type: verbatim
3572 #: ../src/guestfs-actions.pod:107
3573 #, no-wrap
3574 msgid ""
3575 " int guestfs_add_drive_with_if (guestfs_h *g,\n"
3576 "\t\tconst char *filename,\n"
3577 "\t\tconst char *iface);\n"
3578 "\n"
3579 msgstr ""
3580
3581 # type: textblock
3582 #: ../src/guestfs-actions.pod:111
3583 msgid ""
3584 "This is the same as C<guestfs_add_drive> but it allows you to specify the "
3585 "QEMU interface emulation to use at run time."
3586 msgstr ""
3587
3588 # type: =head2
3589 #: ../src/guestfs-actions.pod:116
3590 msgid "guestfs_aug_clear"
3591 msgstr ""
3592
3593 # type: verbatim
3594 #: ../src/guestfs-actions.pod:118
3595 #, no-wrap
3596 msgid ""
3597 " int guestfs_aug_clear (guestfs_h *g,\n"
3598 "\t\tconst char *augpath);\n"
3599 "\n"
3600 msgstr ""
3601
3602 # type: textblock
3603 #: ../src/guestfs-actions.pod:121 ../fish/guestfish-actions.pod:103
3604 msgid ""
3605 "Set the value associated with C<path> to C<NULL>.  This is the same as the "
3606 "L<augtool(1)> C<clear> command."
3607 msgstr ""
3608
3609 # type: =head2
3610 #: ../src/guestfs-actions.pod:126
3611 msgid "guestfs_aug_close"
3612 msgstr ""
3613
3614 # type: verbatim
3615 #: ../src/guestfs-actions.pod:128
3616 #, no-wrap
3617 msgid ""
3618 " int guestfs_aug_close (guestfs_h *g);\n"
3619 "\n"
3620 msgstr ""
3621
3622 # type: textblock
3623 #: ../src/guestfs-actions.pod:130
3624 msgid ""
3625 "Close the current Augeas handle and free up any resources used by it.  After "
3626 "calling this, you have to call C<guestfs_aug_init> again before you can use "
3627 "any other Augeas functions."
3628 msgstr ""
3629
3630 # type: =head2
3631 #: ../src/guestfs-actions.pod:137
3632 msgid "guestfs_aug_defnode"
3633 msgstr ""
3634
3635 # type: verbatim
3636 #: ../src/guestfs-actions.pod:139
3637 #, no-wrap
3638 msgid ""
3639 " struct guestfs_int_bool *guestfs_aug_defnode (guestfs_h *g,\n"
3640 "\t\tconst char *name,\n"
3641 "\t\tconst char *expr,\n"
3642 "\t\tconst char *val);\n"
3643 "\n"
3644 msgstr ""
3645
3646 # type: textblock
3647 #: ../src/guestfs-actions.pod:144 ../fish/guestfish-actions.pod:119
3648 msgid "Defines a variable C<name> whose value is the result of evaluating C<expr>."
3649 msgstr ""
3650
3651 # type: textblock
3652 #: ../src/guestfs-actions.pod:147
3653 msgid ""
3654 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
3655 "calling C<guestfs_aug_set> C<expr>, C<value>.  C<name> will be the nodeset "
3656 "containing that single node."
3657 msgstr ""
3658
3659 # type: textblock
3660 #: ../src/guestfs-actions.pod:151 ../fish/guestfish-actions.pod:126
3661 msgid ""
3662 "On success this returns a pair containing the number of nodes in the "
3663 "nodeset, and a boolean flag if a node was created."
3664 msgstr ""
3665
3666 # type: textblock
3667 #: ../src/guestfs-actions.pod:155
3668 msgid ""
3669 "This function returns a C<struct guestfs_int_bool *>, or NULL if there was "
3670 "an error.  I<The caller must call C<guestfs_free_int_bool> after use>."
3671 msgstr ""
3672
3673 # type: =head2
3674 #: ../src/guestfs-actions.pod:159
3675 msgid "guestfs_aug_defvar"
3676 msgstr ""
3677
3678 # type: verbatim
3679 #: ../src/guestfs-actions.pod:161
3680 #, no-wrap
3681 msgid ""
3682 " int guestfs_aug_defvar (guestfs_h *g,\n"
3683 "\t\tconst char *name,\n"
3684 "\t\tconst char *expr);\n"
3685 "\n"
3686 msgstr ""
3687
3688 # type: textblock
3689 #: ../src/guestfs-actions.pod:165 ../fish/guestfish-actions.pod:134
3690 msgid ""
3691 "Defines an Augeas variable C<name> whose value is the result of evaluating "
3692 "C<expr>.  If C<expr> is NULL, then C<name> is undefined."
3693 msgstr ""
3694
3695 # type: textblock
3696 #: ../src/guestfs-actions.pod:169 ../fish/guestfish-actions.pod:138
3697 msgid ""
3698 "On success this returns the number of nodes in C<expr>, or C<0> if C<expr> "
3699 "evaluates to something which is not a nodeset."
3700 msgstr ""
3701
3702 # type: textblock
3703 #: ../src/guestfs-actions.pod:172 ../src/guestfs-actions.pod:313 ../src/guestfs-actions.pod:467 ../src/guestfs-actions.pod:492 ../src/guestfs-actions.pod:507 ../src/guestfs-actions.pod:523 ../src/guestfs-actions.pod:1013 ../src/guestfs-actions.pod:1328 ../src/guestfs-actions.pod:1510 ../src/guestfs-actions.pod:1591 ../src/guestfs-actions.pod:1622 ../src/guestfs-actions.pod:1665 ../src/guestfs-actions.pod:1682 ../src/guestfs-actions.pod:1907 ../src/guestfs-actions.pod:2119 ../src/guestfs-actions.pod:2137 ../src/guestfs-actions.pod:3370 ../src/guestfs-actions.pod:3477 ../src/guestfs-actions.pod:3793 ../src/guestfs-actions.pod:4892 ../src/guestfs-actions.pod:5216 ../src/guestfs-actions.pod:5226 ../src/guestfs-actions.pod:5236
3704 msgid "On error this function returns -1."
3705 msgstr ""
3706
3707 # type: =head2
3708 #: ../src/guestfs-actions.pod:174
3709 msgid "guestfs_aug_get"
3710 msgstr ""
3711
3712 # type: verbatim
3713 #: ../src/guestfs-actions.pod:176
3714 #, no-wrap
3715 msgid ""
3716 " char *guestfs_aug_get (guestfs_h *g,\n"
3717 "\t\tconst char *augpath);\n"
3718 "\n"
3719 msgstr ""
3720
3721 # type: textblock
3722 #: ../src/guestfs-actions.pod:179 ../fish/guestfish-actions.pod:145
3723 msgid ""
3724 "Look up the value associated with C<path>.  If C<path> matches exactly one "
3725 "node, the C<value> is returned."
3726 msgstr ""
3727
3728 # type: textblock
3729 #: ../src/guestfs-actions.pod:182 ../src/guestfs-actions.pod:610 ../src/guestfs-actions.pod:625 ../src/guestfs-actions.pod:682 ../src/guestfs-actions.pod:695 ../src/guestfs-actions.pod:786 ../src/guestfs-actions.pod:899 ../src/guestfs-actions.pod:928 ../src/guestfs-actions.pod:942 ../src/guestfs-actions.pod:958 ../src/guestfs-actions.pod:1041 ../src/guestfs-actions.pod:1205 ../src/guestfs-actions.pod:1314 ../src/guestfs-actions.pod:1459 ../src/guestfs-actions.pod:1473 ../src/guestfs-actions.pod:1549 ../src/guestfs-actions.pod:1567 ../src/guestfs-actions.pod:1701 ../src/guestfs-actions.pod:1840 ../src/guestfs-actions.pod:2021 ../src/guestfs-actions.pod:2071 ../src/guestfs-actions.pod:2187 ../src/guestfs-actions.pod:2222 ../src/guestfs-actions.pod:2432 ../src/guestfs-actions.pod:2853 ../src/guestfs-actions.pod:2949 ../src/guestfs-actions.pod:3492 ../src/guestfs-actions.pod:3771 ../src/guestfs-actions.pod:3909 ../src/guestfs-actions.pod:3952 ../src/guestfs-actions.pod:4428 ../src/guestfs-actions.pod:4441 ../src/guestfs-actions.pod:4455 ../src/guestfs-actions.pod:4476 ../src/guestfs-actions.pod:5009 ../src/guestfs-actions.pod:5025 ../src/guestfs-actions.pod:5040 ../src/guestfs-actions.pod:5188 ../src/guestfs-actions.pod:5418
3730 msgid ""
3731 "This function returns a string, or NULL on error.  I<The caller must free "
3732 "the returned string after use>."
3733 msgstr ""
3734
3735 # type: =head2
3736 #: ../src/guestfs-actions.pod:185
3737 msgid "guestfs_aug_init"
3738 msgstr ""
3739
3740 # type: verbatim
3741 #: ../src/guestfs-actions.pod:187
3742 #, no-wrap
3743 msgid ""
3744 " int guestfs_aug_init (guestfs_h *g,\n"
3745 "\t\tconst char *root,\n"
3746 "\t\tint flags);\n"
3747 "\n"
3748 msgstr ""
3749
3750 # type: textblock
3751 #: ../src/guestfs-actions.pod:191 ../fish/guestfish-actions.pod:152
3752 msgid ""
3753 "Create a new Augeas handle for editing configuration files.  If there was "
3754 "any previous Augeas handle associated with this guestfs session, then it is "
3755 "closed."
3756 msgstr ""
3757
3758 # type: textblock
3759 #: ../src/guestfs-actions.pod:195
3760 msgid "You must call this before using any other C<guestfs_aug_*> commands."
3761 msgstr ""
3762
3763 # type: textblock
3764 #: ../src/guestfs-actions.pod:198 ../fish/guestfish-actions.pod:159
3765 msgid "C<root> is the filesystem root.  C<root> must not be NULL, use C</> instead."
3766 msgstr ""
3767
3768 # type: textblock
3769 #: ../src/guestfs-actions.pod:201 ../fish/guestfish-actions.pod:162
3770 msgid ""
3771 "The flags are the same as the flags defined in E<lt>augeas.hE<gt>, the "
3772 "logical I<or> of the following integers:"
3773 msgstr ""
3774
3775 # type: =item
3776 #: ../src/guestfs-actions.pod:207 ../fish/guestfish-actions.pod:168
3777 msgid "C<AUG_SAVE_BACKUP> = 1"
3778 msgstr ""
3779
3780 # type: textblock
3781 #: ../src/guestfs-actions.pod:209 ../fish/guestfish-actions.pod:170
3782 msgid "Keep the original file with a C<.augsave> extension."
3783 msgstr ""
3784
3785 # type: =item
3786 #: ../src/guestfs-actions.pod:211 ../fish/guestfish-actions.pod:172
3787 msgid "C<AUG_SAVE_NEWFILE> = 2"
3788 msgstr ""
3789
3790 # type: textblock
3791 #: ../src/guestfs-actions.pod:213 ../fish/guestfish-actions.pod:174
3792 msgid ""
3793 "Save changes into a file with extension C<.augnew>, and do not overwrite "
3794 "original.  Overrides C<AUG_SAVE_BACKUP>."
3795 msgstr ""
3796
3797 # type: =item
3798 #: ../src/guestfs-actions.pod:216 ../fish/guestfish-actions.pod:177
3799 msgid "C<AUG_TYPE_CHECK> = 4"
3800 msgstr ""
3801
3802 # type: textblock
3803 #: ../src/guestfs-actions.pod:218 ../fish/guestfish-actions.pod:179
3804 msgid "Typecheck lenses (can be expensive)."
3805 msgstr ""
3806
3807 # type: =item
3808 #: ../src/guestfs-actions.pod:220 ../fish/guestfish-actions.pod:181
3809 msgid "C<AUG_NO_STDINC> = 8"
3810 msgstr ""
3811
3812 # type: textblock
3813 #: ../src/guestfs-actions.pod:222 ../fish/guestfish-actions.pod:183
3814 msgid "Do not use standard load path for modules."
3815 msgstr ""
3816
3817 # type: =item
3818 #: ../src/guestfs-actions.pod:224 ../fish/guestfish-actions.pod:185
3819 msgid "C<AUG_SAVE_NOOP> = 16"
3820 msgstr ""
3821
3822 # type: textblock
3823 #: ../src/guestfs-actions.pod:226 ../fish/guestfish-actions.pod:187
3824 msgid "Make save a no-op, just record what would have been changed."
3825 msgstr ""
3826
3827 # type: =item
3828 #: ../src/guestfs-actions.pod:228 ../fish/guestfish-actions.pod:189
3829 msgid "C<AUG_NO_LOAD> = 32"
3830 msgstr ""
3831
3832 # type: textblock
3833 #: ../src/guestfs-actions.pod:230
3834 msgid "Do not load the tree in C<guestfs_aug_init>."
3835 msgstr ""
3836
3837 # type: textblock
3838 #: ../src/guestfs-actions.pod:234
3839 msgid "To close the handle, you can call C<guestfs_aug_close>."
3840 msgstr ""
3841
3842 # type: textblock
3843 #: ../src/guestfs-actions.pod:236 ../fish/guestfish-actions.pod:197
3844 msgid "To find out more about Augeas, see L<http://augeas.net/>."
3845 msgstr ""
3846
3847 # type: =head2
3848 #: ../src/guestfs-actions.pod:240
3849 msgid "guestfs_aug_insert"
3850 msgstr ""
3851
3852 # type: verbatim
3853 #: ../src/guestfs-actions.pod:242
3854 #, no-wrap
3855 msgid ""
3856 " int guestfs_aug_insert (guestfs_h *g,\n"
3857 "\t\tconst char *augpath,\n"
3858 "\t\tconst char *label,\n"
3859 "\t\tint before);\n"
3860 "\n"
3861 msgstr ""
3862
3863 # type: textblock
3864 #: ../src/guestfs-actions.pod:247 ../fish/guestfish-actions.pod:203
3865 msgid ""
3866 "Create a new sibling C<label> for C<path>, inserting it into the tree before "
3867 "or after C<path> (depending on the boolean flag C<before>)."
3868 msgstr ""
3869
3870 # type: textblock
3871 #: ../src/guestfs-actions.pod:251 ../fish/guestfish-actions.pod:207
3872 msgid ""
3873 "C<path> must match exactly one existing node in the tree, and C<label> must "
3874 "be a label, ie. not contain C</>, C<*> or end with a bracketed index C<[N]>."
3875 msgstr ""
3876
3877 # type: =head2
3878 #: ../src/guestfs-actions.pod:257
3879 msgid "guestfs_aug_load"
3880 msgstr ""
3881
3882 # type: verbatim
3883 #: ../src/guestfs-actions.pod:259
3884 #, no-wrap
3885 msgid ""
3886 " int guestfs_aug_load (guestfs_h *g);\n"
3887 "\n"
3888 msgstr ""
3889
3890 # type: textblock
3891 #: ../src/guestfs-actions.pod:261 ../fish/guestfish-actions.pod:215
3892 msgid "Load files into the tree."
3893 msgstr ""
3894
3895 # type: textblock
3896 #: ../src/guestfs-actions.pod:263 ../fish/guestfish-actions.pod:217
3897 msgid "See C<aug_load> in the Augeas documentation for the full gory details."
3898 msgstr ""
3899
3900 # type: =head2
3901 #: ../src/guestfs-actions.pod:268
3902 msgid "guestfs_aug_ls"
3903 msgstr ""
3904
3905 # type: verbatim
3906 #: ../src/guestfs-actions.pod:270
3907 #, no-wrap
3908 msgid ""
3909 " char **guestfs_aug_ls (guestfs_h *g,\n"
3910 "\t\tconst char *augpath);\n"
3911 "\n"
3912 msgstr ""
3913
3914 # type: textblock
3915 #: ../src/guestfs-actions.pod:273
3916 msgid ""
3917 "This is just a shortcut for listing C<guestfs_aug_match> C<path/*> and "
3918 "sorting the resulting nodes into alphabetical order."
3919 msgstr ""
3920
3921 # type: textblock
3922 #: ../src/guestfs-actions.pod:276 ../src/guestfs-actions.pod:289 ../src/guestfs-actions.pod:417 ../src/guestfs-actions.pod:802 ../src/guestfs-actions.pod:1053 ../src/guestfs-actions.pod:1069 ../src/guestfs-actions.pod:1157 ../src/guestfs-actions.pod:1173 ../src/guestfs-actions.pod:1404 ../src/guestfs-actions.pod:1738 ../src/guestfs-actions.pod:1751 ../src/guestfs-actions.pod:1767 ../src/guestfs-actions.pod:1804 ../src/guestfs-actions.pod:1825 ../src/guestfs-actions.pod:1887 ../src/guestfs-actions.pod:1927 ../src/guestfs-actions.pod:2093 ../src/guestfs-actions.pod:2259 ../src/guestfs-actions.pod:2402 ../src/guestfs-actions.pod:2417 ../src/guestfs-actions.pod:2501 ../src/guestfs-actions.pod:2830 ../src/guestfs-actions.pod:3337 ../src/guestfs-actions.pod:3748 ../src/guestfs-actions.pod:3834 ../src/guestfs-actions.pod:3940 ../src/guestfs-actions.pod:4489 ../src/guestfs-actions.pod:4538 ../src/guestfs-actions.pod:4590 ../src/guestfs-actions.pod:4706 ../src/guestfs-actions.pod:4727 ../src/guestfs-actions.pod:5101 ../src/guestfs-actions.pod:5118 ../src/guestfs-actions.pod:5156 ../src/guestfs-actions.pod:5292 ../src/guestfs-actions.pod:5308 ../src/guestfs-actions.pod:5381 ../src/guestfs-actions.pod:5397 ../src/guestfs-actions.pod:5437 ../src/guestfs-actions.pod:5453
3923 msgid ""
3924 "This function returns a NULL-terminated array of strings (like "
3925 "L<environ(3)>), or NULL if there was an error.  I<The caller must free the "
3926 "strings and the array after use>."
3927 msgstr ""
3928
3929 # type: =head2
3930 #: ../src/guestfs-actions.pod:280
3931 msgid "guestfs_aug_match"
3932 msgstr ""
3933
3934 # type: verbatim
3935 #: ../src/guestfs-actions.pod:282
3936 #, no-wrap
3937 msgid ""
3938 " char **guestfs_aug_match (guestfs_h *g,\n"
3939 "\t\tconst char *augpath);\n"
3940 "\n"
3941 msgstr ""
3942
3943 # type: textblock
3944 #: ../src/guestfs-actions.pod:285 ../fish/guestfish-actions.pod:231
3945 msgid ""
3946 "Returns a list of paths which match the path expression C<path>.  The "
3947 "returned paths are sufficiently qualified so that they match exactly one "
3948 "node in the current tree."
3949 msgstr ""
3950
3951 # type: =head2
3952 #: ../src/guestfs-actions.pod:293
3953 msgid "guestfs_aug_mv"
3954 msgstr ""
3955
3956 # type: verbatim
3957 #: ../src/guestfs-actions.pod:295
3958 #, no-wrap
3959 msgid ""
3960 " int guestfs_aug_mv (guestfs_h *g,\n"
3961 "\t\tconst char *src,\n"
3962 "\t\tconst char *dest);\n"
3963 "\n"
3964 msgstr ""
3965
3966 # type: textblock
3967 #: ../src/guestfs-actions.pod:299 ../fish/guestfish-actions.pod:239
3968 msgid ""
3969 "Move the node C<src> to C<dest>.  C<src> must match exactly one node.  "
3970 "C<dest> is overwritten if it exists."
3971 msgstr ""
3972
3973 # type: =head2
3974 #: ../src/guestfs-actions.pod:304
3975 msgid "guestfs_aug_rm"
3976 msgstr ""
3977
3978 # type: verbatim
3979 #: ../src/guestfs-actions.pod:306
3980 #, no-wrap
3981 msgid ""
3982 " int guestfs_aug_rm (guestfs_h *g,\n"
3983 "\t\tconst char *augpath);\n"
3984 "\n"
3985 msgstr ""
3986
3987 # type: textblock
3988 #: ../src/guestfs-actions.pod:309 ../fish/guestfish-actions.pod:246
3989 msgid "Remove C<path> and all of its children."
3990 msgstr ""
3991
3992 # type: textblock
3993 #: ../src/guestfs-actions.pod:311 ../fish/guestfish-actions.pod:248
3994 msgid "On success this returns the number of entries which were removed."
3995 msgstr ""
3996
3997 # type: =head2
3998 #: ../src/guestfs-actions.pod:315
3999 msgid "guestfs_aug_save"
4000 msgstr ""
4001
4002 # type: verbatim
4003 #: ../src/guestfs-actions.pod:317
4004 #, no-wrap
4005 msgid ""
4006 " int guestfs_aug_save (guestfs_h *g);\n"
4007 "\n"
4008 msgstr ""
4009
4010 # type: textblock
4011 #: ../src/guestfs-actions.pod:319 ../fish/guestfish-actions.pod:254
4012 msgid "This writes all pending changes to disk."
4013 msgstr ""
4014
4015 # type: textblock
4016 #: ../src/guestfs-actions.pod:321
4017 msgid ""
4018 "The flags which were passed to C<guestfs_aug_init> affect exactly how files "
4019 "are saved."
4020 msgstr ""
4021
4022 # type: =head2
4023 #: ../src/guestfs-actions.pod:326
4024 msgid "guestfs_aug_set"
4025 msgstr ""
4026
4027 # type: verbatim
4028 #: ../src/guestfs-actions.pod:328
4029 #, no-wrap
4030 msgid ""
4031 " int guestfs_aug_set (guestfs_h *g,\n"
4032 "\t\tconst char *augpath,\n"
4033 "\t\tconst char *val);\n"
4034 "\n"
4035 msgstr ""
4036
4037 # type: textblock
4038 #: ../src/guestfs-actions.pod:332 ../fish/guestfish-actions.pod:263
4039 msgid "Set the value associated with C<path> to C<val>."
4040 msgstr ""
4041
4042 # type: textblock
4043 #: ../src/guestfs-actions.pod:334
4044 msgid ""
4045 "In the Augeas API, it is possible to clear a node by setting the value to "
4046 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
4047 "this call.  Instead you must use the C<guestfs_aug_clear> call."
4048 msgstr ""
4049
4050 # type: =head2
4051 #: ../src/guestfs-actions.pod:341
4052 msgid "guestfs_available"
4053 msgstr ""
4054
4055 # type: verbatim
4056 #: ../src/guestfs-actions.pod:343
4057 #, no-wrap
4058 msgid ""
4059 " int guestfs_available (guestfs_h *g,\n"
4060 "\t\tchar *const *groups);\n"
4061 "\n"
4062 msgstr ""
4063
4064 # type: textblock
4065 #: ../src/guestfs-actions.pod:346 ../fish/guestfish-actions.pod:274
4066 msgid ""
4067 "This command is used to check the availability of some groups of "
4068 "functionality in the appliance, which not all builds of the libguestfs "
4069 "appliance will be able to provide."
4070 msgstr ""
4071
4072 # type: textblock
4073 #: ../src/guestfs-actions.pod:350
4074 msgid ""
4075 "The libguestfs groups, and the functions that those groups correspond to, "
4076 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
4077 "runtime by calling C<guestfs_available_all_groups>."
4078 msgstr ""
4079
4080 # type: textblock
4081 #: ../src/guestfs-actions.pod:355 ../fish/guestfish-actions.pod:283
4082 msgid ""
4083 "The argument C<groups> is a list of group names, eg: C<[\"inotify\", "
4084 "\"augeas\"]> would check for the availability of the Linux inotify functions "
4085 "and Augeas (configuration file editing) functions."
4086 msgstr ""
4087
4088 # type: textblock
4089 #: ../src/guestfs-actions.pod:360 ../fish/guestfish-actions.pod:288
4090 msgid "The command returns no error if I<all> requested groups are available."
4091 msgstr ""
4092
4093 # type: textblock
4094 #: ../src/guestfs-actions.pod:362 ../fish/guestfish-actions.pod:290
4095 msgid ""
4096 "It fails with an error if one or more of the requested groups is unavailable "
4097 "in the appliance."
4098 msgstr ""
4099
4100 # type: textblock
4101 #: ../src/guestfs-actions.pod:365 ../fish/guestfish-actions.pod:293
4102 msgid ""
4103 "If an unknown group name is included in the list of groups then an error is "
4104 "always returned."
4105 msgstr ""
4106
4107 # type: textblock
4108 #: ../src/guestfs-actions.pod:368 ../fish/guestfish-actions.pod:296
4109 msgid "I<Notes:>"
4110 msgstr ""
4111
4112 # type: textblock
4113 #: ../src/guestfs-actions.pod:374
4114 msgid "You must call C<guestfs_launch> before calling this function."
4115 msgstr ""
4116
4117 # type: textblock
4118 #: ../src/guestfs-actions.pod:376 ../fish/guestfish-actions.pod:304
4119 msgid ""
4120 "The reason is because we don't know what groups are supported by the "
4121 "appliance/daemon until it is running and can be queried."
4122 msgstr ""
4123
4124 # type: textblock
4125 #: ../src/guestfs-actions.pod:382 ../fish/guestfish-actions.pod:310
4126 msgid ""
4127 "If a group of functions is available, this does not necessarily mean that "
4128 "they will work.  You still have to check for errors when calling individual "
4129 "API functions even if they are available."
4130 msgstr ""
4131
4132 # type: textblock
4133 #: ../src/guestfs-actions.pod:389 ../fish/guestfish-actions.pod:317
4134 msgid ""
4135 "It is usually the job of distro packagers to build complete functionality "
4136 "into the libguestfs appliance.  Upstream libguestfs, if built from source "
4137 "with all requirements satisfied, will support everything."
4138 msgstr ""
4139
4140 # type: textblock
4141 #: ../src/guestfs-actions.pod:396
4142 msgid ""
4143 "This call was added in version C<1.0.80>.  In previous versions of "
4144 "libguestfs all you could do would be to speculatively execute a command to "
4145 "find out if the daemon implemented it.  See also C<guestfs_version>."
4146 msgstr ""
4147
4148 # type: =head2
4149 #: ../src/guestfs-actions.pod:405
4150 msgid "guestfs_available_all_groups"
4151 msgstr ""
4152
4153 # type: verbatim
4154 #: ../src/guestfs-actions.pod:407
4155 #, no-wrap
4156 msgid ""
4157 " char **guestfs_available_all_groups (guestfs_h *g);\n"
4158 "\n"
4159 msgstr ""
4160
4161 # type: textblock
4162 #: ../src/guestfs-actions.pod:409
4163 msgid ""
4164 "This command returns a list of all optional groups that this daemon knows "
4165 "about.  Note this returns both supported and unsupported groups.  To find "
4166 "out which ones the daemon can actually support you have to call "
4167 "C<guestfs_available> on each member of the returned list."
4168 msgstr ""
4169
4170 # type: textblock
4171 #: ../src/guestfs-actions.pod:415
4172 msgid "See also C<guestfs_available> and L<guestfs(3)/AVAILABILITY>."
4173 msgstr ""
4174
4175 # type: =head2
4176 #: ../src/guestfs-actions.pod:421
4177 msgid "guestfs_base64_in"
4178 msgstr ""
4179
4180 # type: verbatim
4181 #: ../src/guestfs-actions.pod:423
4182 #, no-wrap
4183 msgid ""
4184 " int guestfs_base64_in (guestfs_h *g,\n"
4185 "\t\tconst char *base64file,\n"
4186 "\t\tconst char *filename);\n"
4187 "\n"
4188 msgstr ""
4189
4190 # type: textblock
4191 #: ../src/guestfs-actions.pod:427 ../fish/guestfish-actions.pod:347
4192 msgid "This command uploads base64-encoded data from C<base64file> to C<filename>."
4193 msgstr ""
4194
4195 # type: =head2
4196 #: ../src/guestfs-actions.pod:432
4197 msgid "guestfs_base64_out"
4198 msgstr ""
4199
4200 # type: verbatim
4201 #: ../src/guestfs-actions.pod:434
4202 #, no-wrap
4203 msgid ""
4204 " int guestfs_base64_out (guestfs_h *g,\n"
4205 "\t\tconst char *filename,\n"
4206 "\t\tconst char *base64file);\n"
4207 "\n"
4208 msgstr ""
4209
4210 # type: textblock
4211 #: ../src/guestfs-actions.pod:438 ../fish/guestfish-actions.pod:356
4212 msgid ""
4213 "This command downloads the contents of C<filename>, writing it out to local "
4214 "file C<base64file> encoded as base64."
4215 msgstr ""
4216
4217 # type: =head2
4218 #: ../src/guestfs-actions.pod:443
4219 msgid "guestfs_blockdev_flushbufs"
4220 msgstr ""
4221
4222 # type: verbatim
4223 #: ../src/guestfs-actions.pod:445
4224 #, no-wrap
4225 msgid ""
4226 " int guestfs_blockdev_flushbufs (guestfs_h *g,\n"
4227 "\t\tconst char *device);\n"
4228 "\n"
4229 msgstr ""
4230
4231 # type: textblock
4232 #: ../src/guestfs-actions.pod:448 ../fish/guestfish-actions.pod:365
4233 msgid "This tells the kernel to flush internal buffers associated with C<device>."
4234 msgstr ""
4235
4236 # type: textblock
4237 #: ../src/guestfs-actions.pod:451 ../src/guestfs-actions.pod:465 ../src/guestfs-actions.pod:477 ../src/guestfs-actions.pod:490 ../src/guestfs-actions.pod:505 ../src/guestfs-actions.pod:521 ../src/guestfs-actions.pod:532 ../src/guestfs-actions.pod:547 ../src/guestfs-actions.pod:558 ../src/guestfs-actions.pod:569 ../fish/guestfish-actions.pod:368 ../fish/guestfish-actions.pod:379 ../fish/guestfish-actions.pod:388 ../fish/guestfish-actions.pod:398 ../fish/guestfish-actions.pod:410 ../fish/guestfish-actions.pod:423 ../fish/guestfish-actions.pod:431 ../fish/guestfish-actions.pod:442 ../fish/guestfish-actions.pod:450 ../fish/guestfish-actions.pod:458
4238 msgid "This uses the L<blockdev(8)> command."
4239 msgstr ""
4240
4241 # type: =head2
4242 #: ../src/guestfs-actions.pod:455
4243 msgid "guestfs_blockdev_getbsz"
4244 msgstr ""
4245
4246 # type: verbatim
4247 #: ../src/guestfs-actions.pod:457
4248 #, no-wrap
4249 msgid ""
4250 " int guestfs_blockdev_getbsz (guestfs_h *g,\n"
4251 "\t\tconst char *device);\n"
4252 "\n"
4253 msgstr ""
4254
4255 # type: textblock
4256 #: ../src/guestfs-actions.pod:460 ../fish/guestfish-actions.pod:374
4257 msgid "This returns the block size of a device."
4258 msgstr ""
4259
4260 # type: textblock
4261 #: ../src/guestfs-actions.pod:462 ../src/guestfs-actions.pod:544 ../fish/guestfish-actions.pod:376 ../fish/guestfish-actions.pod:439
4262 msgid ""
4263 "(Note this is different from both I<size in blocks> and I<filesystem block "
4264 "size>)."
4265 msgstr ""
4266
4267 # type: =head2
4268 #: ../src/guestfs-actions.pod:469
4269 msgid "guestfs_blockdev_getro"
4270 msgstr ""
4271
4272 # type: verbatim
4273 #: ../src/guestfs-actions.pod:471
4274 #, no-wrap
4275 msgid ""
4276 " int guestfs_blockdev_getro (guestfs_h *g,\n"
4277 "\t\tconst char *device);\n"
4278 "\n"
4279 msgstr ""
4280
4281 # type: textblock
4282 #: ../src/guestfs-actions.pod:474 ../fish/guestfish-actions.pod:385
4283 msgid ""
4284 "Returns a boolean indicating if the block device is read-only (true if "
4285 "read-only, false if not)."
4286 msgstr ""
4287
4288 # type: textblock
4289 #: ../src/guestfs-actions.pod:479 ../src/guestfs-actions.pod:1087 ../src/guestfs-actions.pod:1099 ../src/guestfs-actions.pod:1531 ../src/guestfs-actions.pod:1539 ../src/guestfs-actions.pod:1599 ../src/guestfs-actions.pod:1642 ../src/guestfs-actions.pod:1654 ../src/guestfs-actions.pod:1673 ../src/guestfs-actions.pod:1690 ../src/guestfs-actions.pod:2272 ../src/guestfs-actions.pod:2283 ../src/guestfs-actions.pod:2296 ../src/guestfs-actions.pod:2309 ../src/guestfs-actions.pod:2320 ../src/guestfs-actions.pod:2330 ../src/guestfs-actions.pod:2341 ../src/guestfs-actions.pod:3462
4290 msgid "This function returns a C truth value on success or -1 on error."
4291 msgstr ""
4292
4293 # type: =head2
4294 #: ../src/guestfs-actions.pod:481
4295 msgid "guestfs_blockdev_getsize64"
4296 msgstr ""
4297
4298 # type: verbatim
4299 #: ../src/guestfs-actions.pod:483
4300 #, no-wrap
4301 msgid ""
4302 " int64_t guestfs_blockdev_getsize64 (guestfs_h *g,\n"
4303 "\t\tconst char *device);\n"
4304 "\n"
4305 msgstr ""
4306
4307 # type: textblock
4308 #: ../src/guestfs-actions.pod:486 ../fish/guestfish-actions.pod:394
4309 msgid "This returns the size of the device in bytes."
4310 msgstr ""
4311
4312 # type: textblock
4313 #: ../src/guestfs-actions.pod:488
4314 msgid "See also C<guestfs_blockdev_getsz>."
4315 msgstr ""
4316
4317 # type: =head2
4318 #: ../src/guestfs-actions.pod:494
4319 msgid "guestfs_blockdev_getss"
4320 msgstr ""
4321
4322 # type: verbatim
4323 #: ../src/guestfs-actions.pod:496
4324 #, no-wrap
4325 msgid ""
4326 " int guestfs_blockdev_getss (guestfs_h *g,\n"
4327 "\t\tconst char *device);\n"
4328 "\n"
4329 msgstr ""
4330
4331 # type: textblock
4332 #: ../src/guestfs-actions.pod:499 ../fish/guestfish-actions.pod:404
4333 msgid ""
4334 "This returns the size of sectors on a block device.  Usually 512, but can be "
4335 "larger for modern devices."
4336 msgstr ""
4337
4338 # type: textblock
4339 #: ../src/guestfs-actions.pod:502
4340 msgid ""
4341 "(Note, this is not the size in sectors, use C<guestfs_blockdev_getsz> for "
4342 "that)."
4343 msgstr ""
4344
4345 # type: =head2
4346 #: ../src/guestfs-actions.pod:509
4347 msgid "guestfs_blockdev_getsz"
4348 msgstr ""
4349
4350 # type: verbatim
4351 #: ../src/guestfs-actions.pod:511
4352 #, no-wrap
4353 msgid ""
4354 " int64_t guestfs_blockdev_getsz (guestfs_h *g,\n"
4355 "\t\tconst char *device);\n"
4356 "\n"
4357 msgstr ""
4358
4359 # type: textblock
4360 #: ../src/guestfs-actions.pod:514 ../fish/guestfish-actions.pod:416
4361 msgid ""
4362 "This returns the size of the device in units of 512-byte sectors (even if "
4363 "the sectorsize isn't 512 bytes ... weird)."
4364 msgstr ""
4365
4366 # type: textblock
4367 #: ../src/guestfs-actions.pod:517
4368 msgid ""
4369 "See also C<guestfs_blockdev_getss> for the real sector size of the device, "
4370 "and C<guestfs_blockdev_getsize64> for the more useful I<size in bytes>."
4371 msgstr ""
4372
4373 # type: =head2
4374 #: ../src/guestfs-actions.pod:525
4375 msgid "guestfs_blockdev_rereadpt"
4376 msgstr ""
4377
4378 # type: verbatim
4379 #: ../src/guestfs-actions.pod:527
4380 #, no-wrap
4381 msgid ""
4382 " int guestfs_blockdev_rereadpt (guestfs_h *g,\n"
4383 "\t\tconst char *device);\n"
4384 "\n"
4385 msgstr ""
4386
4387 # type: textblock
4388 #: ../src/guestfs-actions.pod:530 ../fish/guestfish-actions.pod:429
4389 msgid "Reread the partition table on C<device>."
4390 msgstr ""
4391
4392 # type: =head2
4393 #: ../src/guestfs-actions.pod:536
4394 msgid "guestfs_blockdev_setbsz"
4395 msgstr ""
4396
4397 # type: verbatim
4398 #: ../src/guestfs-actions.pod:538
4399 #, no-wrap
4400 msgid ""
4401 " int guestfs_blockdev_setbsz (guestfs_h *g,\n"
4402 "\t\tconst char *device,\n"
4403 "\t\tint blocksize);\n"
4404 "\n"
4405 msgstr ""
4406
4407 # type: textblock
4408 #: ../src/guestfs-actions.pod:542 ../fish/guestfish-actions.pod:437
4409 msgid "This sets the block size of a device."
4410 msgstr ""
4411
4412 # type: =head2
4413 #: ../src/guestfs-actions.pod:551
4414 msgid "guestfs_blockdev_setro"
4415 msgstr ""
4416
4417 # type: verbatim
4418 #: ../src/guestfs-actions.pod:553
4419 #, no-wrap
4420 msgid ""
4421 " int guestfs_blockdev_setro (guestfs_h *g,\n"
4422 "\t\tconst char *device);\n"
4423 "\n"
4424 msgstr ""
4425
4426 # type: textblock
4427 #: ../src/guestfs-actions.pod:556 ../fish/guestfish-actions.pod:448
4428 msgid "Sets the block device named C<device> to read-only."
4429 msgstr ""
4430
4431 # type: =head2
4432 #: ../src/guestfs-actions.pod:562
4433 msgid "guestfs_blockdev_setrw"
4434 msgstr ""
4435
4436 # type: verbatim
4437 #: ../src/guestfs-actions.pod:564
4438 #, no-wrap
4439 msgid ""
4440 " int guestfs_blockdev_setrw (guestfs_h *g,\n"
4441 "\t\tconst char *device);\n"
4442 "\n"
4443 msgstr ""
4444
4445 # type: textblock
4446 #: ../src/guestfs-actions.pod:567 ../fish/guestfish-actions.pod:456
4447 msgid "Sets the block device named C<device> to read-write."
4448 msgstr ""
4449
4450 # type: =head2
4451 #: ../src/guestfs-actions.pod:573
4452 msgid "guestfs_case_sensitive_path"
4453 msgstr ""
4454
4455 # type: verbatim
4456 #: ../src/guestfs-actions.pod:575
4457 #, no-wrap
4458 msgid ""
4459 " char *guestfs_case_sensitive_path (guestfs_h *g,\n"
4460 "\t\tconst char *path);\n"
4461 "\n"
4462 msgstr ""
4463
4464 # type: textblock
4465 #: ../src/guestfs-actions.pod:578 ../fish/guestfish-actions.pod:464
4466 msgid ""
4467 "This can be used to resolve case insensitive paths on a filesystem which is "
4468 "case sensitive.  The use case is to resolve paths which you have read from "
4469 "Windows configuration files or the Windows Registry, to the true path."
4470 msgstr ""
4471
4472 # type: textblock
4473 #: ../src/guestfs-actions.pod:583 ../fish/guestfish-actions.pod:469
4474 msgid ""
4475 "The command handles a peculiarity of the Linux ntfs-3g filesystem driver "
4476 "(and probably others), which is that although the underlying filesystem is "
4477 "case-insensitive, the driver exports the filesystem to Linux as "
4478 "case-sensitive."
4479 msgstr ""
4480
4481 # type: textblock
4482 #: ../src/guestfs-actions.pod:588 ../fish/guestfish-actions.pod:474
4483 msgid ""
4484 "One consequence of this is that special directories such as C<c:\\windows> "
4485 "may appear as C</WINDOWS> or C</windows> (or other things) depending on the "
4486 "precise details of how they were created.  In Windows itself this would not "
4487 "be a problem."
4488 msgstr ""
4489
4490 # type: textblock
4491 #: ../src/guestfs-actions.pod:594 ../fish/guestfish-actions.pod:480
4492 msgid ""
4493 "Bug or feature? You decide: "
4494 "L<http://www.tuxera.com/community/ntfs-3g-faq/#posixfilenames1>"
4495 msgstr ""
4496
4497 # type: textblock
4498 #: ../src/guestfs-actions.pod:597 ../fish/guestfish-actions.pod:483
4499 msgid ""
4500 "This function resolves the true case of each element in the path and returns "
4501 "the case-sensitive path."
4502 msgstr ""
4503
4504 # type: textblock
4505 #: ../src/guestfs-actions.pod:600
4506 msgid ""
4507 "Thus C<guestfs_case_sensitive_path> (\"/Windows/System32\")  might return "
4508 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
4509 "how the directories were originally created under Windows)."
4510 msgstr ""
4511
4512 # type: textblock
4513 #: ../src/guestfs-actions.pod:605 ../fish/guestfish-actions.pod:491
4514 msgid "I<Note>: This function does not handle drive names, backslashes etc."
4515 msgstr ""
4516
4517 # type: textblock
4518 #: ../src/guestfs-actions.pod:608
4519 msgid "See also C<guestfs_realpath>."
4520 msgstr ""
4521
4522 # type: =head2
4523 #: ../src/guestfs-actions.pod:613
4524 msgid "guestfs_cat"
4525 msgstr ""
4526
4527 # type: verbatim
4528 #: ../src/guestfs-actions.pod:615
4529 #, no-wrap
4530 msgid ""
4531 " char *guestfs_cat (guestfs_h *g,\n"
4532 "\t\tconst char *path);\n"
4533 "\n"
4534 msgstr ""
4535
4536 # type: textblock
4537 #: ../src/guestfs-actions.pod:618 ../src/guestfs-actions.pod:3824 ../fish/guestfish-actions.pod:500 ../fish/guestfish-actions.pod:2944
4538 msgid "Return the contents of the file named C<path>."
4539 msgstr ""
4540
4541 # type: textblock
4542 #: ../src/guestfs-actions.pod:620
4543 msgid ""
4544 "Note that this function cannot correctly handle binary files (specifically, "
4545 "files containing C<\\0> character which is treated as end of string).  For "
4546 "those you need to use the C<guestfs_read_file> or C<guestfs_download> "
4547 "functions which have a more complex interface."
4548 msgstr ""
4549
4550 # type: textblock
4551 #: ../src/guestfs-actions.pod:628 ../src/guestfs-actions.pod:789 ../src/guestfs-actions.pod:806 ../src/guestfs-actions.pod:1057 ../src/guestfs-actions.pod:1073 ../src/guestfs-actions.pod:1161 ../src/guestfs-actions.pod:1177 ../src/guestfs-actions.pod:1408 ../src/guestfs-actions.pod:1755 ../src/guestfs-actions.pod:1771 ../src/guestfs-actions.pod:1808 ../src/guestfs-actions.pod:1829 ../src/guestfs-actions.pod:1843 ../src/guestfs-actions.pod:1869 ../src/guestfs-actions.pod:3687 ../src/guestfs-actions.pod:3795 ../src/guestfs-actions.pod:3816 ../src/guestfs-actions.pod:4542 ../src/guestfs-actions.pod:4594 ../src/guestfs-actions.pod:4710 ../src/guestfs-actions.pod:4731 ../src/guestfs-actions.pod:5250 ../src/guestfs-actions.pod:5273 ../src/guestfs-actions.pod:5296 ../src/guestfs-actions.pod:5312 ../src/guestfs-actions.pod:5385 ../src/guestfs-actions.pod:5401 ../src/guestfs-actions.pod:5441 ../src/guestfs-actions.pod:5457 ../fish/guestfish-actions.pod:507 ../fish/guestfish-actions.pod:642 ../fish/guestfish-actions.pod:654 ../fish/guestfish-actions.pod:836 ../fish/guestfish-actions.pod:846 ../fish/guestfish-actions.pod:913 ../fish/guestfish-actions.pod:923 ../fish/guestfish-actions.pod:1118 ../fish/guestfish-actions.pod:1391 ../fish/guestfish-actions.pod:1401 ../fish/guestfish-actions.pod:1429 ../fish/guestfish-actions.pod:1444 ../fish/guestfish-actions.pod:1454 ../fish/guestfish-actions.pod:1473 ../fish/guestfish-actions.pod:2846 ../fish/guestfish-actions.pod:2922 ../fish/guestfish-actions.pod:2937 ../fish/guestfish-actions.pod:3498 ../fish/guestfish-actions.pod:3544 ../fish/guestfish-actions.pod:3629 ../fish/guestfish-actions.pod:3644 ../fish/guestfish-actions.pod:4027 ../fish/guestfish-actions.pod:4045 ../fish/guestfish-actions.pod:4062 ../fish/guestfish-actions.pod:4072 ../fish/guestfish-actions.pod:4120 ../fish/guestfish-actions.pod:4130 ../fish/guestfish-actions.pod:4159 ../fish/guestfish-actions.pod:4169
4552 msgid ""
4553 "Because of the message protocol, there is a transfer limit of somewhere "
4554 "between 2MB and 4MB.  See L<guestfs(3)/PROTOCOL LIMITS>."
4555 msgstr ""
4556
4557 # type: =head2
4558 #: ../src/guestfs-actions.pod:631
4559 msgid "guestfs_checksum"
4560 msgstr ""
4561
4562 # type: verbatim
4563 #: ../src/guestfs-actions.pod:633
4564 #, no-wrap
4565 msgid ""
4566 " char *guestfs_checksum (guestfs_h *g,\n"
4567 "\t\tconst char *csumtype,\n"
4568 "\t\tconst char *path);\n"
4569 "\n"
4570 msgstr ""
4571
4572 # type: textblock
4573 #: ../src/guestfs-actions.pod:637 ../fish/guestfish-actions.pod:514
4574 msgid "This call computes the MD5, SHAx or CRC checksum of the file named C<path>."
4575 msgstr ""
4576
4577 # type: textblock
4578 #: ../src/guestfs-actions.pod:640 ../fish/guestfish-actions.pod:517
4579 msgid ""
4580 "The type of checksum to compute is given by the C<csumtype> parameter which "
4581 "must have one of the following values:"
4582 msgstr ""
4583
4584 # type: =item
4585 #: ../src/guestfs-actions.pod:645 ../fish/guestfish-actions.pod:522
4586 msgid "C<crc>"
4587 msgstr ""
4588
4589 # type: textblock
4590 #: ../src/guestfs-actions.pod:647 ../fish/guestfish-actions.pod:524
4591 msgid ""
4592 "Compute the cyclic redundancy check (CRC) specified by POSIX for the "
4593 "C<cksum> command."
4594 msgstr ""
4595
4596 # type: =item
4597 #: ../src/guestfs-actions.pod:650 ../fish/guestfish-actions.pod:527
4598 msgid "C<md5>"
4599 msgstr ""
4600
4601 # type: textblock
4602 #: ../src/guestfs-actions.pod:652 ../fish/guestfish-actions.pod:529
4603 msgid "Compute the MD5 hash (using the C<md5sum> program)."
4604 msgstr ""
4605
4606 # type: =item
4607 #: ../src/guestfs-actions.pod:654 ../fish/guestfish-actions.pod:531
4608 msgid "C<sha1>"
4609 msgstr ""
4610
4611 # type: textblock
4612 #: ../src/guestfs-actions.pod:656 ../fish/guestfish-actions.pod:533
4613 msgid "Compute the SHA1 hash (using the C<sha1sum> program)."
4614 msgstr ""
4615
4616 # type: =item
4617 #: ../src/guestfs-actions.pod:658 ../fish/guestfish-actions.pod:535
4618 msgid "C<sha224>"
4619 msgstr ""
4620
4621 # type: textblock
4622 #: ../src/guestfs-actions.pod:660 ../fish/guestfish-actions.pod:537
4623 msgid "Compute the SHA224 hash (using the C<sha224sum> program)."
4624 msgstr ""
4625
4626 # type: =item
4627 #: ../src/guestfs-actions.pod:662 ../fish/guestfish-actions.pod:539
4628 msgid "C<sha256>"
4629 msgstr ""
4630
4631 # type: textblock
4632 #: ../src/guestfs-actions.pod:664 ../fish/guestfish-actions.pod:541
4633 msgid "Compute the SHA256 hash (using the C<sha256sum> program)."
4634 msgstr ""
4635
4636 # type: =item
4637 #: ../src/guestfs-actions.pod:666 ../fish/guestfish-actions.pod:543
4638 msgid "C<sha384>"
4639 msgstr ""
4640
4641 # type: textblock
4642 #: ../src/guestfs-actions.pod:668 ../fish/guestfish-actions.pod:545
4643 msgid "Compute the SHA384 hash (using the C<sha384sum> program)."
4644 msgstr ""
4645
4646 # type: =item
4647 #: ../src/guestfs-actions.pod:670 ../fish/guestfish-actions.pod:547
4648 msgid "C<sha512>"
4649 msgstr ""
4650
4651 # type: textblock
4652 #: ../src/guestfs-actions.pod:672 ../fish/guestfish-actions.pod:549
4653 msgid "Compute the SHA512 hash (using the C<sha512sum> program)."
4654 msgstr ""
4655
4656 # type: textblock
4657 #: ../src/guestfs-actions.pod:676 ../fish/guestfish-actions.pod:553
4658 msgid "The checksum is returned as a printable string."
4659 msgstr ""
4660
4661 # type: textblock
4662 #: ../src/guestfs-actions.pod:678
4663 msgid "To get the checksum for a device, use C<guestfs_checksum_device>."
4664 msgstr ""
4665
4666 # type: textblock
4667 #: ../src/guestfs-actions.pod:680
4668 msgid "To get the checksums for many files, use C<guestfs_checksums_out>."
4669 msgstr ""
4670
4671 # type: =head2
4672 #: ../src/guestfs-actions.pod:685
4673 msgid "guestfs_checksum_device"
4674 msgstr ""
4675
4676 # type: verbatim
4677 #: ../src/guestfs-actions.pod:687
4678 #, no-wrap
4679 msgid ""
4680 " char *guestfs_checksum_device (guestfs_h *g,\n"
4681 "\t\tconst char *csumtype,\n"
4682 "\t\tconst char *device);\n"
4683 "\n"
4684 msgstr ""
4685
4686 # type: textblock
4687 #: ../src/guestfs-actions.pod:691
4688 msgid ""
4689 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
4690 "device named C<device>.  For the types of checksums supported see the "
4691 "C<guestfs_checksum> command."
4692 msgstr ""
4693
4694 # type: =head2
4695 #: ../src/guestfs-actions.pod:698
4696 msgid "guestfs_checksums_out"
4697 msgstr ""
4698
4699 # type: verbatim
4700 #: ../src/guestfs-actions.pod:700
4701 #, no-wrap
4702 msgid ""
4703 " int guestfs_checksums_out (guestfs_h *g,\n"
4704 "\t\tconst char *csumtype,\n"
4705 "\t\tconst char *directory,\n"
4706 "\t\tconst char *sumsfile);\n"
4707 "\n"
4708 msgstr ""
4709
4710 # type: textblock
4711 #: ../src/guestfs-actions.pod:705 ../fish/guestfish-actions.pod:571
4712 msgid ""
4713 "This command computes the checksums of all regular files in C<directory> and "
4714 "then emits a list of those checksums to the local output file C<sumsfile>."
4715 msgstr ""
4716
4717 # type: textblock
4718 #: ../src/guestfs-actions.pod:709 ../fish/guestfish-actions.pod:575
4719 msgid ""
4720 "This can be used for verifying the integrity of a virtual machine.  However "
4721 "to be properly secure you should pay attention to the output of the checksum "
4722 "command (it uses the ones from GNU coreutils).  In particular when the "
4723 "filename is not printable, coreutils uses a special backslash syntax.  For "
4724 "more information, see the GNU coreutils info file."
4725 msgstr ""
4726
4727 # type: =head2
4728 #: ../src/guestfs-actions.pod:719
4729 msgid "guestfs_chmod"
4730 msgstr ""
4731
4732 # type: verbatim
4733 #: ../src/guestfs-actions.pod:721
4734 #, no-wrap
4735 msgid ""
4736 " int guestfs_chmod (guestfs_h *g,\n"
4737 "\t\tint mode,\n"
4738 "\t\tconst char *path);\n"
4739 "\n"
4740 msgstr ""
4741
4742 # type: textblock
4743 #: ../src/guestfs-actions.pod:725 ../fish/guestfish-actions.pod:589
4744 msgid ""
4745 "Change the mode (permissions) of C<path> to C<mode>.  Only numeric modes are "
4746 "supported."
4747 msgstr ""
4748
4749 # type: textblock
4750 #: ../src/guestfs-actions.pod:728 ../fish/guestfish-actions.pod:592
4751 msgid ""
4752 "I<Note>: When using this command from guestfish, C<mode> by default would be "
4753 "decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not "
4754 "C<700>."
4755 msgstr ""
4756
4757 # type: textblock
4758 #: ../src/guestfs-actions.pod:732 ../src/guestfs-actions.pod:3045 ../src/guestfs-actions.pod:3133 ../src/guestfs-actions.pod:3149 ../src/guestfs-actions.pod:3165 ../fish/guestfish-actions.pod:596 ../fish/guestfish-actions.pod:2362 ../fish/guestfish-actions.pod:2432 ../fish/guestfish-actions.pod:2442 ../fish/guestfish-actions.pod:2452
4759 msgid "The mode actually set is affected by the umask."
4760 msgstr ""
4761
4762 # type: =head2
4763 #: ../src/guestfs-actions.pod:736
4764 msgid "guestfs_chown"
4765 msgstr ""
4766
4767 # type: verbatim
4768 #: ../src/guestfs-actions.pod:738
4769 #, no-wrap
4770 msgid ""
4771 " int guestfs_chown (guestfs_h *g,\n"
4772 "\t\tint owner,\n"
4773 "\t\tint group,\n"
4774 "\t\tconst char *path);\n"
4775 "\n"
4776 msgstr ""
4777
4778 # type: textblock
4779 #: ../src/guestfs-actions.pod:743 ../fish/guestfish-actions.pod:602
4780 msgid "Change the file owner to C<owner> and group to C<group>."
4781 msgstr ""
4782
4783 # type: textblock
4784 #: ../src/guestfs-actions.pod:745 ../src/guestfs-actions.pod:2374 ../fish/guestfish-actions.pod:604 ../fish/guestfish-actions.pod:1890
4785 msgid ""
4786 "Only numeric uid and gid are supported.  If you want to use names, you will "
4787 "need to locate and parse the password file yourself (Augeas support makes "
4788 "this relatively easy)."
4789 msgstr ""
4790
4791 # type: =head2
4792 #: ../src/guestfs-actions.pod:751
4793 msgid "guestfs_command"
4794 msgstr ""
4795
4796 # type: verbatim
4797 #: ../src/guestfs-actions.pod:753
4798 #, no-wrap
4799 msgid ""
4800 " char *guestfs_command (guestfs_h *g,\n"
4801 "\t\tchar *const *arguments);\n"
4802 "\n"
4803 msgstr ""
4804
4805 # type: textblock
4806 #: ../src/guestfs-actions.pod:756 ../fish/guestfish-actions.pod:612
4807 msgid ""
4808 "This call runs a command from the guest filesystem.  The filesystem must be "
4809 "mounted, and must contain a compatible operating system (ie. something "
4810 "Linux, with the same or compatible processor architecture)."
4811 msgstr ""
4812
4813 # type: textblock
4814 #: ../src/guestfs-actions.pod:761
4815 msgid ""
4816 "The single parameter is an argv-style list of arguments.  The first element "
4817 "is the name of the program to run.  Subsequent elements are parameters.  The "
4818 "list must be non-empty (ie. must contain a program name).  Note that the "
4819 "command runs directly, and is I<not> invoked via the shell (see "
4820 "C<guestfs_sh>)."
4821 msgstr ""
4822
4823 # type: textblock
4824 #: ../src/guestfs-actions.pod:768 ../fish/guestfish-actions.pod:624
4825 msgid "The return value is anything printed to I<stdout> by the command."
4826 msgstr ""
4827
4828 # type: textblock
4829 #: ../src/guestfs-actions.pod:771 ../fish/guestfish-actions.pod:627
4830 msgid ""
4831 "If the command returns a non-zero exit status, then this function returns an "
4832 "error message.  The error message string is the content of I<stderr> from "
4833 "the command."
4834 msgstr ""
4835
4836 # type: textblock
4837 #: ../src/guestfs-actions.pod:775 ../fish/guestfish-actions.pod:631
4838 msgid ""
4839 "The C<$PATH> environment variable will contain at least C</usr/bin> and "
4840 "C</bin>.  If you require a program from another location, you should provide "
4841 "the full path in the first parameter."
4842 msgstr ""
4843
4844 # type: textblock
4845 #: ../src/guestfs-actions.pod:780 ../fish/guestfish-actions.pod:636
4846 msgid ""
4847 "Shared libraries and data files required by the program must be available on "
4848 "filesystems which are mounted in the correct places.  It is the caller's "
4849 "responsibility to ensure all filesystems that are needed are mounted at the "
4850 "right locations."
4851 msgstr ""
4852
4853 # type: =head2
4854 #: ../src/guestfs-actions.pod:792
4855 msgid "guestfs_command_lines"
4856 msgstr ""
4857
4858 # type: verbatim
4859 #: ../src/guestfs-actions.pod:794
4860 #, no-wrap
4861 msgid ""
4862 " char **guestfs_command_lines (guestfs_h *g,\n"
4863 "\t\tchar *const *arguments);\n"
4864 "\n"
4865 msgstr ""
4866
4867 # type: textblock
4868 #: ../src/guestfs-actions.pod:797
4869 msgid ""
4870 "This is the same as C<guestfs_command>, but splits the result into a list of "
4871 "lines."
4872 msgstr ""
4873
4874 # type: textblock
4875 #: ../src/guestfs-actions.pod:800
4876 msgid "See also: C<guestfs_sh_lines>"
4877 msgstr ""
4878
4879 # type: =head2
4880 #: ../src/guestfs-actions.pod:809
4881 msgid "guestfs_config"
4882 msgstr ""
4883
4884 # type: verbatim
4885 #: ../src/guestfs-actions.pod:811
4886 #, no-wrap
4887 msgid ""
4888 " int guestfs_config (guestfs_h *g,\n"
4889 "\t\tconst char *qemuparam,\n"
4890 "\t\tconst char *qemuvalue);\n"
4891 "\n"
4892 msgstr ""
4893
4894 # type: textblock
4895 #: ../src/guestfs-actions.pod:815 ../fish/guestfish-actions.pod:661
4896 msgid ""
4897 "This can be used to add arbitrary qemu command line parameters of the form "
4898 "C<-param value>.  Actually it's not quite arbitrary - we prevent you from "
4899 "setting some parameters which would interfere with parameters that we use."
4900 msgstr ""
4901
4902 # type: textblock
4903 #: ../src/guestfs-actions.pod:820 ../fish/guestfish-actions.pod:666
4904 msgid "The first character of C<param> string must be a C<-> (dash)."
4905 msgstr ""
4906
4907 # type: textblock
4908 #: ../src/guestfs-actions.pod:822 ../fish/guestfish-actions.pod:668
4909 msgid "C<value> can be NULL."
4910 msgstr ""
4911
4912 # type: =head2
4913 #: ../src/guestfs-actions.pod:826
4914 msgid "guestfs_copy_size"
4915 msgstr ""
4916
4917 # type: verbatim
4918 #: ../src/guestfs-actions.pod:828
4919 #, no-wrap
4920 msgid ""
4921 " int guestfs_copy_size (guestfs_h *g,\n"
4922 "\t\tconst char *src,\n"
4923 "\t\tconst char *dest,\n"
4924 "\t\tint64_t size);\n"
4925 "\n"
4926 msgstr ""
4927
4928 # type: textblock
4929 #: ../src/guestfs-actions.pod:833 ../fish/guestfish-actions.pod:674
4930 msgid ""
4931 "This command copies exactly C<size> bytes from one source device or file "
4932 "C<src> to another destination device or file C<dest>."
4933 msgstr ""
4934
4935 # type: textblock
4936 #: ../src/guestfs-actions.pod:836 ../fish/guestfish-actions.pod:677
4937 msgid ""
4938 "Note this will fail if the source is too short or if the destination is not "
4939 "large enough."
4940 msgstr ""
4941
4942 # type: textblock
4943 #: ../src/guestfs-actions.pod:841 ../src/guestfs-actions.pod:976 ../src/guestfs-actions.pod:1348 ../src/guestfs-actions.pod:1367 ../src/guestfs-actions.pod:5330 ../src/guestfs-actions.pod:5346
4944 msgid ""
4945 "This long-running command can generate progress notification messages so "
4946 "that the caller can display a progress bar or indicator.  To receive these "
4947 "messages, the caller must register a progress callback.  See "
4948 "L<guestfs(3)/guestfs_set_progress_callback>."
4949 msgstr ""
4950
4951 # type: =head2
4952 #: ../src/guestfs-actions.pod:846
4953 msgid "guestfs_cp"
4954 msgstr ""
4955
4956 # type: verbatim
4957 #: ../src/guestfs-actions.pod:848
4958 #, no-wrap
4959 msgid ""
4960 " int guestfs_cp (guestfs_h *g,\n"
4961 "\t\tconst char *src,\n"
4962 "\t\tconst char *dest);\n"
4963 "\n"
4964 msgstr ""
4965
4966 # type: textblock
4967 #: ../src/guestfs-actions.pod:852 ../fish/guestfish-actions.pod:684
4968 msgid ""
4969 "This copies a file from C<src> to C<dest> where C<dest> is either a "
4970 "destination filename or destination directory."
4971 msgstr ""
4972
4973 # type: =head2
4974 #: ../src/guestfs-actions.pod:857
4975 msgid "guestfs_cp_a"
4976 msgstr ""
4977
4978 # type: verbatim
4979 #: ../src/guestfs-actions.pod:859
4980 #, no-wrap
4981 msgid ""
4982 " int guestfs_cp_a (guestfs_h *g,\n"
4983 "\t\tconst char *src,\n"
4984 "\t\tconst char *dest);\n"
4985 "\n"
4986 msgstr ""
4987
4988 # type: textblock
4989 #: ../src/guestfs-actions.pod:863 ../fish/guestfish-actions.pod:691
4990 msgid ""
4991 "This copies a file or directory from C<src> to C<dest> recursively using the "
4992 "C<cp -a> command."
4993 msgstr ""
4994
4995 # type: =head2
4996 #: ../src/guestfs-actions.pod:868
4997 msgid "guestfs_dd"
4998 msgstr ""
4999
5000 # type: verbatim
5001 #: ../src/guestfs-actions.pod:870
5002 #, no-wrap
5003 msgid ""
5004 " int guestfs_dd (guestfs_h *g,\n"
5005 "\t\tconst char *src,\n"
5006 "\t\tconst char *dest);\n"
5007 "\n"
5008 msgstr ""
5009
5010 # type: textblock
5011 #: ../src/guestfs-actions.pod:874 ../fish/guestfish-actions.pod:698
5012 msgid ""
5013 "This command copies from one source device or file C<src> to another "
5014 "destination device or file C<dest>.  Normally you would use this to copy to "
5015 "or from a device or partition, for example to duplicate a filesystem."
5016 msgstr ""
5017
5018 # type: textblock
5019 #: ../src/guestfs-actions.pod:879
5020 msgid ""
5021 "If the destination is a device, it must be as large or larger than the "
5022 "source file or device, otherwise the copy will fail.  This command cannot do "
5023 "partial copies (see C<guestfs_copy_size>)."
5024 msgstr ""
5025
5026 # type: =head2
5027 #: ../src/guestfs-actions.pod:885
5028 msgid "guestfs_debug"
5029 msgstr ""
5030
5031 # type: verbatim
5032 #: ../src/guestfs-actions.pod:887
5033 #, no-wrap
5034 msgid ""
5035 " char *guestfs_debug (guestfs_h *g,\n"
5036 "\t\tconst char *subcmd,\n"
5037 "\t\tchar *const *extraargs);\n"
5038 "\n"
5039 msgstr ""
5040
5041 # type: textblock
5042 #: ../src/guestfs-actions.pod:891
5043 msgid ""
5044 "The C<guestfs_debug> command exposes some internals of C<guestfsd> (the "
5045 "guestfs daemon) that runs inside the qemu subprocess."
5046 msgstr ""
5047
5048 # type: textblock
5049 #: ../src/guestfs-actions.pod:895 ../fish/guestfish-actions.pod:715
5050 msgid ""
5051 "There is no comprehensive help for this command.  You have to look at the "
5052 "file C<daemon/debug.c> in the libguestfs source to find out what you can do."
5053 msgstr ""
5054
5055 # type: =head2
5056 #: ../src/guestfs-actions.pod:902
5057 msgid "guestfs_debug_upload"
5058 msgstr ""
5059
5060 # type: verbatim
5061 #: ../src/guestfs-actions.pod:904
5062 #, no-wrap
5063 msgid ""
5064 " int guestfs_debug_upload (guestfs_h *g,\n"
5065 "\t\tconst char *filename,\n"
5066 "\t\tconst char *tmpname,\n"
5067 "\t\tint mode);\n"
5068 "\n"
5069 msgstr ""
5070
5071 # type: textblock
5072 #: ../src/guestfs-actions.pod:909
5073 msgid ""
5074 "The C<guestfs_debug_upload> command uploads a file to the libguestfs "
5075 "appliance."
5076 msgstr ""
5077
5078 # type: textblock
5079 #: ../src/guestfs-actions.pod:912 ../fish/guestfish-actions.pod:726
5080 msgid ""
5081 "There is no comprehensive help for this command.  You have to look at the "
5082 "file C<daemon/debug.c> in the libguestfs source to find out what it is for."
5083 msgstr ""
5084
5085 # type: =head2
5086 #: ../src/guestfs-actions.pod:918
5087 msgid "guestfs_df"
5088 msgstr ""
5089
5090 # type: verbatim
5091 #: ../src/guestfs-actions.pod:920
5092 #, no-wrap
5093 msgid ""
5094 " char *guestfs_df (guestfs_h *g);\n"
5095 "\n"
5096 msgstr ""
5097
5098 # type: textblock
5099 #: ../src/guestfs-actions.pod:922 ../fish/guestfish-actions.pod:736
5100 msgid "This command runs the C<df> command to report disk space used."
5101 msgstr ""
5102
5103 # type: textblock
5104 #: ../src/guestfs-actions.pod:924 ../src/guestfs-actions.pod:938 ../fish/guestfish-actions.pod:738 ../fish/guestfish-actions.pod:749
5105 msgid ""
5106 "This command is mostly useful for interactive sessions.  It is I<not> "
5107 "intended that you try to parse the output string.  Use C<statvfs> from "
5108 "programs."
5109 msgstr ""
5110
5111 # type: =head2
5112 #: ../src/guestfs-actions.pod:931
5113 msgid "guestfs_df_h"
5114 msgstr ""
5115
5116 # type: verbatim
5117 #: ../src/guestfs-actions.pod:933
5118 #, no-wrap
5119 msgid ""
5120 " char *guestfs_df_h (guestfs_h *g);\n"
5121 "\n"
5122 msgstr ""
5123
5124 # type: textblock
5125 #: ../src/guestfs-actions.pod:935 ../fish/guestfish-actions.pod:746
5126 msgid ""
5127 "This command runs the C<df -h> command to report disk space used in "
5128 "human-readable format."
5129 msgstr ""
5130
5131 # type: =head2
5132 #: ../src/guestfs-actions.pod:945
5133 msgid "guestfs_dmesg"
5134 msgstr ""
5135
5136 # type: verbatim
5137 #: ../src/guestfs-actions.pod:947
5138 #, no-wrap
5139 msgid ""
5140 " char *guestfs_dmesg (guestfs_h *g);\n"
5141 "\n"
5142 msgstr ""
5143
5144 # type: textblock
5145 #: ../src/guestfs-actions.pod:949 ../fish/guestfish-actions.pod:757
5146 msgid ""
5147 "This returns the kernel messages (C<dmesg> output) from the guest kernel.  "
5148 "This is sometimes useful for extended debugging of problems."
5149 msgstr ""
5150
5151 # type: textblock
5152 #: ../src/guestfs-actions.pod:953
5153 msgid ""
5154 "Another way to get the same information is to enable verbose messages with "
5155 "C<guestfs_set_verbose> or by setting the environment variable "
5156 "C<LIBGUESTFS_DEBUG=1> before running the program."
5157 msgstr ""
5158
5159 # type: =head2
5160 #: ../src/guestfs-actions.pod:961
5161 msgid "guestfs_download"
5162 msgstr ""
5163
5164 # type: verbatim
5165 #: ../src/guestfs-actions.pod:963
5166 #, no-wrap
5167 msgid ""
5168 " int guestfs_download (guestfs_h *g,\n"
5169 "\t\tconst char *remotefilename,\n"
5170 "\t\tconst char *filename);\n"
5171 "\n"
5172 msgstr ""
5173
5174 # type: textblock
5175 #: ../src/guestfs-actions.pod:967 ../fish/guestfish-actions.pod:770
5176 msgid ""
5177 "Download file C<remotefilename> and save it as C<filename> on the local "
5178 "machine."
5179 msgstr ""
5180
5181 # type: textblock
5182 #: ../src/guestfs-actions.pod:970 ../src/guestfs-actions.pod:4924 ../fish/guestfish-actions.pod:773 ../fish/guestfish-actions.pod:3798
5183 msgid "C<filename> can also be a named pipe."
5184 msgstr ""
5185
5186 # type: textblock
5187 #: ../src/guestfs-actions.pod:972
5188 msgid "See also C<guestfs_upload>, C<guestfs_cat>."
5189 msgstr ""
5190
5191 # type: =head2
5192 #: ../src/guestfs-actions.pod:981
5193 msgid "guestfs_drop_caches"
5194 msgstr ""
5195
5196 # type: verbatim
5197 #: ../src/guestfs-actions.pod:983
5198 #, no-wrap
5199 msgid ""
5200 " int guestfs_drop_caches (guestfs_h *g,\n"
5201 "\t\tint whattodrop);\n"
5202 "\n"
5203 msgstr ""
5204
5205 # type: textblock
5206 #: ../src/guestfs-actions.pod:986 ../fish/guestfish-actions.pod:783
5207 msgid ""
5208 "This instructs the guest kernel to drop its page cache, and/or dentries and "
5209 "inode caches.  The parameter C<whattodrop> tells the kernel what precisely "
5210 "to drop, see L<http://linux-mm.org/Drop_Caches>"
5211 msgstr ""
5212
5213 # type: textblock
5214 #: ../src/guestfs-actions.pod:991 ../fish/guestfish-actions.pod:788
5215 msgid "Setting C<whattodrop> to 3 should drop everything."
5216 msgstr ""
5217
5218 # type: textblock
5219 #: ../src/guestfs-actions.pod:993 ../fish/guestfish-actions.pod:790
5220 msgid ""
5221 "This automatically calls L<sync(2)> before the operation, so that the "
5222 "maximum guest memory is freed."
5223 msgstr ""
5224
5225 # type: =head2
5226 #: ../src/guestfs-actions.pod:998
5227 msgid "guestfs_du"
5228 msgstr ""
5229
5230 # type: verbatim
5231 #: ../src/guestfs-actions.pod:1000
5232 #, no-wrap
5233 msgid ""
5234 " int64_t guestfs_du (guestfs_h *g,\n"
5235 "\t\tconst char *path);\n"
5236 "\n"
5237 msgstr ""
5238
5239 # type: textblock
5240 #: ../src/guestfs-actions.pod:1003 ../fish/guestfish-actions.pod:797
5241 msgid ""
5242 "This command runs the C<du -s> command to estimate file space usage for "
5243 "C<path>."
5244 msgstr ""
5245
5246 # type: textblock
5247 #: ../src/guestfs-actions.pod:1006 ../fish/guestfish-actions.pod:800
5248 msgid ""
5249 "C<path> can be a file or a directory.  If C<path> is a directory then the "
5250 "estimate includes the contents of the directory and all subdirectories "
5251 "(recursively)."
5252 msgstr ""
5253
5254 # type: textblock
5255 #: ../src/guestfs-actions.pod:1010 ../fish/guestfish-actions.pod:804
5256 msgid "The result is the estimated size in I<kilobytes> (ie. units of 1024 bytes)."
5257 msgstr ""
5258
5259 # type: =head2
5260 #: ../src/guestfs-actions.pod:1015
5261 msgid "guestfs_e2fsck_f"
5262 msgstr ""
5263
5264 # type: verbatim
5265 #: ../src/guestfs-actions.pod:1017
5266 #, no-wrap
5267 msgid ""
5268 " int guestfs_e2fsck_f (guestfs_h *g,\n"
5269 "\t\tconst char *device);\n"
5270 "\n"
5271 msgstr ""
5272
5273 # type: textblock
5274 #: ../src/guestfs-actions.pod:1020 ../fish/guestfish-actions.pod:811
5275 msgid ""
5276 "This runs C<e2fsck -p -f device>, ie. runs the ext2/ext3 filesystem checker "
5277 "on C<device>, noninteractively (C<-p>), even if the filesystem appears to be "
5278 "clean (C<-f>)."
5279 msgstr ""
5280
5281 # type: textblock
5282 #: ../src/guestfs-actions.pod:1024
5283 msgid ""
5284 "This command is only needed because of C<guestfs_resize2fs> (q.v.).  "
5285 "Normally you should use C<guestfs_fsck>."
5286 msgstr ""
5287
5288 # type: =head2
5289 #: ../src/guestfs-actions.pod:1029
5290 msgid "guestfs_echo_daemon"
5291 msgstr ""
5292
5293 # type: verbatim
5294 #: ../src/guestfs-actions.pod:1031
5295 #, no-wrap
5296 msgid ""
5297 " char *guestfs_echo_daemon (guestfs_h *g,\n"
5298 "\t\tchar *const *words);\n"
5299 "\n"
5300 msgstr ""
5301
5302 # type: textblock
5303 #: ../src/guestfs-actions.pod:1034 ../fish/guestfish-actions.pod:822
5304 msgid ""
5305 "This command concatenates the list of C<words> passed with single spaces "
5306 "between them and returns the resulting string."
5307 msgstr ""
5308
5309 # type: textblock
5310 #: ../src/guestfs-actions.pod:1037 ../fish/guestfish-actions.pod:825
5311 msgid "You can use this command to test the connection through to the daemon."
5312 msgstr ""
5313
5314 # type: textblock
5315 #: ../src/guestfs-actions.pod:1039
5316 msgid "See also C<guestfs_ping_daemon>."
5317 msgstr ""
5318
5319 # type: =head2
5320 #: ../src/guestfs-actions.pod:1044
5321 msgid "guestfs_egrep"
5322 msgstr ""
5323
5324 # type: verbatim
5325 #: ../src/guestfs-actions.pod:1046
5326 #, no-wrap
5327 msgid ""
5328 " char **guestfs_egrep (guestfs_h *g,\n"
5329 "\t\tconst char *regex,\n"
5330 "\t\tconst char *path);\n"
5331 "\n"
5332 msgstr ""
5333
5334 # type: textblock
5335 #: ../src/guestfs-actions.pod:1050 ../fish/guestfish-actions.pod:833
5336 msgid "This calls the external C<egrep> program and returns the matching lines."
5337 msgstr ""
5338
5339 # type: =head2
5340 #: ../src/guestfs-actions.pod:1060
5341 msgid "guestfs_egrepi"
5342 msgstr ""
5343
5344 # type: verbatim
5345 #: ../src/guestfs-actions.pod:1062
5346 #, no-wrap
5347 msgid ""
5348 " char **guestfs_egrepi (guestfs_h *g,\n"
5349 "\t\tconst char *regex,\n"
5350 "\t\tconst char *path);\n"
5351 "\n"
5352 msgstr ""
5353
5354 # type: textblock
5355 #: ../src/guestfs-actions.pod:1066 ../fish/guestfish-actions.pod:843
5356 msgid "This calls the external C<egrep -i> program and returns the matching lines."
5357 msgstr ""
5358
5359 # type: =head2
5360 #: ../src/guestfs-actions.pod:1076
5361 msgid "guestfs_equal"
5362 msgstr ""
5363
5364 # type: verbatim
5365 #: ../src/guestfs-actions.pod:1078
5366 #, no-wrap
5367 msgid ""
5368 " int guestfs_equal (guestfs_h *g,\n"
5369 "\t\tconst char *file1,\n"
5370 "\t\tconst char *file2);\n"
5371 "\n"
5372 msgstr ""
5373
5374 # type: textblock
5375 #: ../src/guestfs-actions.pod:1082 ../fish/guestfish-actions.pod:853
5376 msgid ""
5377 "This compares the two files C<file1> and C<file2> and returns true if their "
5378 "content is exactly equal, or false otherwise."
5379 msgstr ""
5380
5381 # type: textblock
5382 #: ../src/guestfs-actions.pod:1085 ../fish/guestfish-actions.pod:856
5383 msgid "The external L<cmp(1)> program is used for the comparison."
5384 msgstr ""
5385
5386 # type: =head2
5387 #: ../src/guestfs-actions.pod:1089
5388 msgid "guestfs_exists"
5389 msgstr ""
5390
5391 # type: verbatim
5392 #: ../src/guestfs-actions.pod:1091
5393 #, no-wrap
5394 msgid ""
5395 " int guestfs_exists (guestfs_h *g,\n"
5396 "\t\tconst char *path);\n"
5397 "\n"
5398 msgstr ""
5399
5400 # type: textblock
5401 #: ../src/guestfs-actions.pod:1094 ../fish/guestfish-actions.pod:862
5402 msgid ""
5403 "This returns C<true> if and only if there is a file, directory (or anything) "
5404 "with the given C<path> name."
5405 msgstr ""
5406
5407 # type: textblock
5408 #: ../src/guestfs-actions.pod:1097
5409 msgid "See also C<guestfs_is_file>, C<guestfs_is_dir>, C<guestfs_stat>."
5410 msgstr ""
5411
5412 # type: =head2
5413 #: ../src/guestfs-actions.pod:1101
5414 msgid "guestfs_fallocate"
5415 msgstr ""
5416
5417 # type: verbatim
5418 #: ../src/guestfs-actions.pod:1103
5419 #, no-wrap
5420 msgid ""
5421 " int guestfs_fallocate (guestfs_h *g,\n"
5422 "\t\tconst char *path,\n"
5423 "\t\tint len);\n"
5424 "\n"
5425 msgstr ""
5426
5427 # type: textblock
5428 #: ../src/guestfs-actions.pod:1107 ../src/guestfs-actions.pod:1130 ../fish/guestfish-actions.pod:871 ../fish/guestfish-actions.pod:890
5429 msgid ""
5430 "This command preallocates a file (containing zero bytes) named C<path> of "
5431 "size C<len> bytes.  If the file exists already, it is overwritten."
5432 msgstr ""
5433
5434 # type: textblock
5435 #: ../src/guestfs-actions.pod:1111 ../fish/guestfish-actions.pod:875
5436 msgid ""
5437 "Do not confuse this with the guestfish-specific C<alloc> command which "
5438 "allocates a file in the host and attaches it as a device."
5439 msgstr ""
5440
5441 # type: textblock
5442 #: ../src/guestfs-actions.pod:1117 ../fish/guestfish-actions.pod:879
5443 msgid ""
5444 "This function is deprecated.  In new code, use the C<fallocate64> call "
5445 "instead."
5446 msgstr ""
5447
5448 # type: textblock
5449 #: ../src/guestfs-actions.pod:1120 ../src/guestfs-actions.pod:1555 ../src/guestfs-actions.pod:1573 ../src/guestfs-actions.pod:5279 ../src/guestfs-actions.pod:5424 ../fish/guestfish-actions.pod:882 ../fish/guestfish-actions.pod:1239 ../fish/guestfish-actions.pod:1253 ../fish/guestfish-actions.pod:4051 ../fish/guestfish-actions.pod:4148
5450 msgid ""
5451 "Deprecated functions will not be removed from the API, but the fact that "
5452 "they are deprecated indicates that there are problems with correct use of "
5453 "these functions."
5454 msgstr ""
5455
5456 # type: =head2
5457 #: ../src/guestfs-actions.pod:1124
5458 msgid "guestfs_fallocate64"
5459 msgstr ""
5460
5461 # type: verbatim
5462 #: ../src/guestfs-actions.pod:1126
5463 #, no-wrap
5464 msgid ""
5465 " int guestfs_fallocate64 (guestfs_h *g,\n"
5466 "\t\tconst char *path,\n"
5467 "\t\tint64_t len);\n"
5468 "\n"
5469 msgstr ""
5470
5471 # type: textblock
5472 #: ../src/guestfs-actions.pod:1134
5473 msgid ""
5474 "Note that this call allocates disk blocks for the file.  To create a sparse "
5475 "file use C<guestfs_truncate_size> instead."
5476 msgstr ""
5477
5478 # type: textblock
5479 #: ../src/guestfs-actions.pod:1137
5480 msgid ""
5481 "The deprecated call C<guestfs_fallocate> does the same, but owing to an "
5482 "oversight it only allowed 30 bit lengths to be specified, effectively "
5483 "limiting the maximum size of files created through that call to 1GB."
5484 msgstr ""
5485
5486 # type: textblock
5487 #: ../src/guestfs-actions.pod:1142 ../fish/guestfish-actions.pod:902
5488 msgid ""
5489 "Do not confuse this with the guestfish-specific C<alloc> and C<sparse> "
5490 "commands which create a file in the host and attach it as a device."
5491 msgstr ""
5492
5493 # type: =head2
5494 #: ../src/guestfs-actions.pod:1148
5495 msgid "guestfs_fgrep"
5496 msgstr ""
5497
5498 # type: verbatim
5499 #: ../src/guestfs-actions.pod:1150
5500 #, no-wrap
5501 msgid ""
5502 " char **guestfs_fgrep (guestfs_h *g,\n"
5503 "\t\tconst char *pattern,\n"
5504 "\t\tconst char *path);\n"
5505 "\n"
5506 msgstr ""
5507
5508 # type: textblock
5509 #: ../src/guestfs-actions.pod:1154 ../fish/guestfish-actions.pod:910
5510 msgid "This calls the external C<fgrep> program and returns the matching lines."
5511 msgstr ""
5512
5513 # type: =head2
5514 #: ../src/guestfs-actions.pod:1164
5515 msgid "guestfs_fgrepi"
5516 msgstr ""
5517
5518 # type: verbatim
5519 #: ../src/guestfs-actions.pod:1166
5520 #, no-wrap
5521 msgid ""
5522 " char **guestfs_fgrepi (guestfs_h *g,\n"
5523 "\t\tconst char *pattern,\n"
5524 "\t\tconst char *path);\n"
5525 "\n"
5526 msgstr ""
5527
5528 # type: textblock
5529 #: ../src/guestfs-actions.pod:1170 ../fish/guestfish-actions.pod:920
5530 msgid "This calls the external C<fgrep -i> program and returns the matching lines."
5531 msgstr ""
5532
5533 # type: =head2
5534 #: ../src/guestfs-actions.pod:1180
5535 msgid "guestfs_file"
5536 msgstr ""
5537
5538 # type: verbatim
5539 #: ../src/guestfs-actions.pod:1182
5540 #, no-wrap
5541 msgid ""
5542 " char *guestfs_file (guestfs_h *g,\n"
5543 "\t\tconst char *path);\n"
5544 "\n"
5545 msgstr ""
5546
5547 # type: textblock
5548 #: ../src/guestfs-actions.pod:1185 ../fish/guestfish-actions.pod:930
5549 msgid ""
5550 "This call uses the standard L<file(1)> command to determine the type or "
5551 "contents of the file."
5552 msgstr ""
5553
5554 # type: textblock
5555 #: ../src/guestfs-actions.pod:1188 ../fish/guestfish-actions.pod:933
5556 msgid ""
5557 "This call will also transparently look inside various types of compressed "
5558 "file."
5559 msgstr ""
5560
5561 # type: textblock
5562 #: ../src/guestfs-actions.pod:1191 ../fish/guestfish-actions.pod:936
5563 msgid ""
5564 "The exact command which runs is C<file -zb path>.  Note in particular that "
5565 "the filename is not prepended to the output (the C<-b> option)."
5566 msgstr ""
5567
5568 # type: textblock
5569 #: ../src/guestfs-actions.pod:1195
5570 msgid ""
5571 "This command can also be used on C</dev/> devices (and partitions, LV "
5572 "names).  You can for example use this to determine if a device contains a "
5573 "filesystem, although it's usually better to use C<guestfs_vfs_type>."
5574 msgstr ""
5575
5576 # type: textblock
5577 #: ../src/guestfs-actions.pod:1200 ../fish/guestfish-actions.pod:945
5578 msgid ""
5579 "If the C<path> does not begin with C</dev/> then this command only works for "
5580 "the content of regular files.  For other file types (directory, symbolic "
5581 "link etc) it will just return the string C<directory> etc."
5582 msgstr ""
5583
5584 # type: =head2
5585 #: ../src/guestfs-actions.pod:1208
5586 msgid "guestfs_file_architecture"
5587 msgstr ""
5588
5589 # type: verbatim
5590 #: ../src/guestfs-actions.pod:1210
5591 #, no-wrap
5592 msgid ""
5593 " char *guestfs_file_architecture (guestfs_h *g,\n"
5594 "\t\tconst char *filename);\n"
5595 "\n"
5596 msgstr ""
5597
5598 # type: textblock
5599 #: ../src/guestfs-actions.pod:1213 ../fish/guestfish-actions.pod:954
5600 msgid ""
5601 "This detects the architecture of the binary C<filename>, and returns it if "
5602 "known."
5603 msgstr ""
5604
5605 # type: textblock
5606 #: ../src/guestfs-actions.pod:1216 ../fish/guestfish-actions.pod:957
5607 msgid "Currently defined architectures are:"
5608 msgstr ""
5609
5610 # type: =item
5611 #: ../src/guestfs-actions.pod:1220 ../fish/guestfish-actions.pod:961
5612 msgid "\"i386\""
5613 msgstr ""
5614
5615 # type: textblock
5616 #: ../src/guestfs-actions.pod:1222 ../fish/guestfish-actions.pod:963
5617 msgid ""
5618 "This string is returned for all 32 bit i386, i486, i586, i686 binaries "
5619 "irrespective of the precise processor requirements of the binary."
5620 msgstr ""
5621
5622 # type: =item
5623 #: ../src/guestfs-actions.pod:1225 ../fish/guestfish-actions.pod:966
5624 msgid "\"x86_64\""
5625 msgstr ""
5626
5627 # type: textblock
5628 #: ../src/guestfs-actions.pod:1227 ../fish/guestfish-actions.pod:968
5629 msgid "64 bit x86-64."
5630 msgstr ""
5631
5632 # type: =item
5633 #: ../src/guestfs-actions.pod:1229 ../fish/guestfish-actions.pod:970
5634 msgid "\"sparc\""
5635 msgstr ""
5636
5637 # type: textblock
5638 #: ../src/guestfs-actions.pod:1231 ../fish/guestfish-actions.pod:972
5639 msgid "32 bit SPARC."
5640 msgstr ""
5641
5642 # type: =item
5643 #: ../src/guestfs-actions.pod:1233 ../fish/guestfish-actions.pod:974
5644 msgid "\"sparc64\""
5645 msgstr ""
5646
5647 # type: textblock
5648 #: ../src/guestfs-actions.pod:1235 ../fish/guestfish-actions.pod:976
5649 msgid "64 bit SPARC V9 and above."
5650 msgstr ""
5651
5652 # type: =item
5653 #: ../src/guestfs-actions.pod:1237 ../fish/guestfish-actions.pod:978
5654 msgid "\"ia64\""
5655 msgstr ""
5656
5657 # type: textblock
5658 #: ../src/guestfs-actions.pod:1239 ../fish/guestfish-actions.pod:980
5659 msgid "Intel Itanium."
5660 msgstr ""
5661
5662 # type: =item
5663 #: ../src/guestfs-actions.pod:1241 ../fish/guestfish-actions.pod:982
5664 msgid "\"ppc\""
5665 msgstr ""
5666
5667 # type: textblock
5668 #: ../src/guestfs-actions.pod:1243 ../fish/guestfish-actions.pod:984
5669 msgid "32 bit Power PC."
5670 msgstr ""
5671
5672 # type: =item
5673 #: ../src/guestfs-actions.pod:1245 ../fish/guestfish-actions.pod:986
5674 msgid "\"ppc64\""
5675 msgstr ""
5676
5677 # type: textblock
5678 #: ../src/guestfs-actions.pod:1247 ../fish/guestfish-actions.pod:988
5679 msgid "64 bit Power PC."
5680 msgstr ""
5681
5682 # type: textblock
5683 #: ../src/guestfs-actions.pod:1251 ../fish/guestfish-actions.pod:992
5684 msgid "Libguestfs may return other architecture strings in future."
5685 msgstr ""
5686
5687 # type: textblock
5688 #: ../src/guestfs-actions.pod:1253 ../fish/guestfish-actions.pod:994
5689 msgid "The function works on at least the following types of files:"
5690 msgstr ""
5691
5692 # type: textblock
5693 #: ../src/guestfs-actions.pod:1259 ../fish/guestfish-actions.pod:1000
5694 msgid "many types of Un*x and Linux binary"
5695 msgstr ""
5696
5697 # type: textblock
5698 #: ../src/guestfs-actions.pod:1263 ../fish/guestfish-actions.pod:1004
5699 msgid "many types of Un*x and Linux shared library"
5700 msgstr ""
5701
5702 # type: textblock
5703 #: ../src/guestfs-actions.pod:1267 ../fish/guestfish-actions.pod:1008
5704 msgid "Windows Win32 and Win64 binaries"
5705 msgstr ""
5706
5707 # type: textblock
5708 #: ../src/guestfs-actions.pod:1271 ../fish/guestfish-actions.pod:1012
5709 msgid "Windows Win32 and Win64 DLLs"
5710 msgstr ""
5711
5712 # type: textblock
5713 #: ../src/guestfs-actions.pod:1273 ../fish/guestfish-actions.pod:1014
5714 msgid "Win32 binaries and DLLs return C<i386>."
5715 msgstr ""
5716
5717 # type: textblock
5718 #: ../src/guestfs-actions.pod:1275 ../fish/guestfish-actions.pod:1016
5719 msgid "Win64 binaries and DLLs return C<x86_64>."
5720 msgstr ""
5721
5722 # type: textblock
5723 #: ../src/guestfs-actions.pod:1279 ../fish/guestfish-actions.pod:1020
5724 msgid "Linux kernel modules"
5725 msgstr ""
5726
5727 # type: textblock
5728 #: ../src/guestfs-actions.pod:1283 ../fish/guestfish-actions.pod:1024
5729 msgid "Linux new-style initrd images"
5730 msgstr ""
5731
5732 # type: textblock
5733 #: ../src/guestfs-actions.pod:1287 ../fish/guestfish-actions.pod:1028
5734 msgid "some non-x86 Linux vmlinuz kernels"
5735 msgstr ""
5736
5737 # type: textblock
5738 #: ../src/guestfs-actions.pod:1291 ../fish/guestfish-actions.pod:1032
5739 msgid "What it can't do currently:"
5740 msgstr ""
5741
5742 # type: textblock
5743 #: ../src/guestfs-actions.pod:1297 ../fish/guestfish-actions.pod:1038
5744 msgid "static libraries (libfoo.a)"
5745 msgstr ""
5746
5747 # type: textblock
5748 #: ../src/guestfs-actions.pod:1301 ../fish/guestfish-actions.pod:1042
5749 msgid "Linux old-style initrd as compressed ext2 filesystem (RHEL 3)"
5750 msgstr ""
5751
5752 # type: textblock
5753 #: ../src/guestfs-actions.pod:1305 ../fish/guestfish-actions.pod:1046
5754 msgid "x86 Linux vmlinuz kernels"
5755 msgstr ""
5756
5757 # type: textblock
5758 #: ../src/guestfs-actions.pod:1307 ../fish/guestfish-actions.pod:1048
5759 msgid ""
5760 "x86 vmlinuz images (bzImage format) consist of a mix of 16-, 32- and "
5761 "compressed code, and are horribly hard to unpack.  If you want to find the "
5762 "architecture of a kernel, use the architecture of the associated initrd or "
5763 "kernel module(s) instead."
5764 msgstr ""
5765
5766 # type: =head2
5767 #: ../src/guestfs-actions.pod:1317
5768 msgid "guestfs_filesize"
5769 msgstr ""
5770
5771 # type: verbatim
5772 #: ../src/guestfs-actions.pod:1319
5773 #, no-wrap
5774 msgid ""
5775 " int64_t guestfs_filesize (guestfs_h *g,\n"
5776 "\t\tconst char *file);\n"
5777 "\n"
5778 msgstr ""
5779
5780 # type: textblock
5781 #: ../src/guestfs-actions.pod:1322 ../fish/guestfish-actions.pod:1059
5782 msgid "This command returns the size of C<file> in bytes."
5783 msgstr ""
5784
5785 # type: textblock
5786 #: ../src/guestfs-actions.pod:1324
5787 msgid ""
5788 "To get other stats about a file, use C<guestfs_stat>, C<guestfs_lstat>, "
5789 "C<guestfs_is_dir>, C<guestfs_is_file> etc.  To get the size of block "
5790 "devices, use C<guestfs_blockdev_getsize64>."
5791 msgstr ""
5792
5793 # type: =head2
5794 #: ../src/guestfs-actions.pod:1330
5795 msgid "guestfs_fill"
5796 msgstr ""
5797
5798 # type: verbatim
5799 #: ../src/guestfs-actions.pod:1332
5800 #, no-wrap
5801 msgid ""
5802 " int guestfs_fill (guestfs_h *g,\n"
5803 "\t\tint c,\n"
5804 "\t\tint len,\n"
5805 "\t\tconst char *path);\n"
5806 "\n"
5807 msgstr ""
5808
5809 # type: textblock
5810 #: ../src/guestfs-actions.pod:1337 ../fish/guestfish-actions.pod:1069
5811 msgid ""
5812 "This command creates a new file called C<path>.  The initial content of the "
5813 "file is C<len> octets of C<c>, where C<c> must be a number in the range "
5814 "C<[0..255]>."
5815 msgstr ""
5816
5817 # type: textblock
5818 #: ../src/guestfs-actions.pod:1341
5819 msgid ""
5820 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
5821 "C<guestfs_truncate_size>.  To create a file with a pattern of repeating "
5822 "bytes use C<guestfs_fill_pattern>."
5823 msgstr ""
5824
5825 # type: =head2
5826 #: ../src/guestfs-actions.pod:1353
5827 msgid "guestfs_fill_pattern"
5828 msgstr ""
5829
5830 # type: verbatim
5831 #: ../src/guestfs-actions.pod:1355
5832 #, no-wrap
5833 msgid ""
5834 " int guestfs_fill_pattern (guestfs_h *g,\n"
5835 "\t\tconst char *pattern,\n"
5836 "\t\tint len,\n"
5837 "\t\tconst char *path);\n"
5838 "\n"
5839 msgstr ""
5840
5841 # type: textblock
5842 #: ../src/guestfs-actions.pod:1360
5843 msgid ""
5844 "This function is like C<guestfs_fill> except that it creates a new file of "
5845 "length C<len> containing the repeating pattern of bytes in C<pattern>.  The "
5846 "pattern is truncated if necessary to ensure the length of the file is "
5847 "exactly C<len> bytes."
5848 msgstr ""
5849
5850 # type: =head2
5851 #: ../src/guestfs-actions.pod:1372
5852 msgid "guestfs_find"
5853 msgstr ""
5854
5855 # type: verbatim
5856 #: ../src/guestfs-actions.pod:1374
5857 #, no-wrap
5858 msgid ""
5859 " char **guestfs_find (guestfs_h *g,\n"
5860 "\t\tconst char *directory);\n"
5861 "\n"
5862 msgstr ""
5863
5864 # type: textblock
5865 #: ../src/guestfs-actions.pod:1377 ../fish/guestfish-actions.pod:1091
5866 msgid ""
5867 "This command lists out all files and directories, recursively, starting at "
5868 "C<directory>.  It is essentially equivalent to running the shell command "
5869 "C<find directory -print> but some post-processing happens on the output, "
5870 "described below."
5871 msgstr ""
5872
5873 # type: textblock
5874 #: ../src/guestfs-actions.pod:1382 ../fish/guestfish-actions.pod:1096
5875 msgid ""
5876 "This returns a list of strings I<without any prefix>.  Thus if the directory "
5877 "structure was:"
5878 msgstr ""
5879
5880 # type: verbatim
5881 #: ../src/guestfs-actions.pod:1385 ../fish/guestfish-actions.pod:1099
5882 #, no-wrap
5883 msgid ""
5884 " /tmp/a\n"
5885 " /tmp/b\n"
5886 " /tmp/c/d\n"
5887 "\n"
5888 msgstr ""
5889
5890 # type: textblock
5891 #: ../src/guestfs-actions.pod:1389
5892 msgid "then the returned list from C<guestfs_find> C</tmp> would be 4 elements:"
5893 msgstr ""
5894
5895 # type: verbatim
5896 #: ../src/guestfs-actions.pod:1392 ../fish/guestfish-actions.pod:1106
5897 #, no-wrap
5898 msgid ""
5899 " a\n"
5900 " b\n"
5901 " c\n"
5902 " c/d\n"
5903 "\n"
5904 msgstr ""
5905
5906 # type: textblock
5907 #: ../src/guestfs-actions.pod:1397 ../fish/guestfish-actions.pod:1111
5908 msgid "If C<directory> is not a directory, then this command returns an error."
5909 msgstr ""
5910
5911 # type: textblock
5912 #: ../src/guestfs-actions.pod:1400 ../fish/guestfish-actions.pod:1114
5913 msgid "The returned list is sorted."
5914 msgstr ""
5915
5916 # type: textblock
5917 #: ../src/guestfs-actions.pod:1402
5918 msgid "See also C<guestfs_find0>."
5919 msgstr ""
5920
5921 # type: =head2
5922 #: ../src/guestfs-actions.pod:1411
5923 msgid "guestfs_find0"
5924 msgstr ""
5925
5926 # type: verbatim
5927 #: ../src/guestfs-actions.pod:1413
5928 #, no-wrap
5929 msgid ""
5930 " int guestfs_find0 (guestfs_h *g,\n"
5931 "\t\tconst char *directory,\n"
5932 "\t\tconst char *files);\n"
5933 "\n"
5934 msgstr ""
5935
5936 # type: textblock
5937 #: ../src/guestfs-actions.pod:1417 ../fish/guestfish-actions.pod:1125
5938 msgid ""
5939 "This command lists out all files and directories, recursively, starting at "
5940 "C<directory>, placing the resulting list in the external file called "
5941 "C<files>."
5942 msgstr ""
5943
5944 # type: textblock
5945 #: ../src/guestfs-actions.pod:1421
5946 msgid ""
5947 "This command works the same way as C<guestfs_find> with the following "
5948 "exceptions:"
5949 msgstr ""
5950
5951 # type: textblock
5952 #: ../src/guestfs-actions.pod:1428 ../fish/guestfish-actions.pod:1136
5953 msgid "The resulting list is written to an external file."
5954 msgstr ""
5955
5956 # type: textblock
5957 #: ../src/guestfs-actions.pod:1432 ../fish/guestfish-actions.pod:1140
5958 msgid ""
5959 "Items (filenames) in the result are separated by C<\\0> characters.  See "
5960 "L<find(1)> option I<-print0>."
5961 msgstr ""
5962
5963 # type: textblock
5964 #: ../src/guestfs-actions.pod:1437 ../fish/guestfish-actions.pod:1145
5965 msgid "This command is not limited in the number of names that it can return."
5966 msgstr ""
5967
5968 # type: textblock
5969 #: ../src/guestfs-actions.pod:1442 ../fish/guestfish-actions.pod:1150
5970 msgid "The result list is not sorted."
5971 msgstr ""
5972
5973 # type: =head2
5974 #: ../src/guestfs-actions.pod:1448
5975 msgid "guestfs_findfs_label"
5976 msgstr ""
5977
5978 # type: verbatim
5979 #: ../src/guestfs-actions.pod:1450
5980 #, no-wrap
5981 msgid ""
5982 " char *guestfs_findfs_label (guestfs_h *g,\n"
5983 "\t\tconst char *label);\n"
5984 "\n"
5985 msgstr ""
5986
5987 # type: textblock
5988 #: ../src/guestfs-actions.pod:1453 ../fish/guestfish-actions.pod:1160
5989 msgid ""
5990 "This command searches the filesystems and returns the one which has the "
5991 "given label.  An error is returned if no such filesystem can be found."
5992 msgstr ""
5993
5994 # type: textblock
5995 #: ../src/guestfs-actions.pod:1457
5996 msgid "To find the label of a filesystem, use C<guestfs_vfs_label>."
5997 msgstr ""
5998
5999 # type: =head2
6000 #: ../src/guestfs-actions.pod:1462
6001 msgid "guestfs_findfs_uuid"
6002 msgstr ""
6003
6004 # type: verbatim
6005 #: ../src/guestfs-actions.pod:1464
6006 #, no-wrap
6007 msgid ""
6008 " char *guestfs_findfs_uuid (guestfs_h *g,\n"
6009 "\t\tconst char *uuid);\n"
6010 "\n"
6011 msgstr ""
6012
6013 # type: textblock
6014 #: ../src/guestfs-actions.pod:1467 ../fish/guestfish-actions.pod:1170
6015 msgid ""
6016 "This command searches the filesystems and returns the one which has the "
6017 "given UUID.  An error is returned if no such filesystem can be found."
6018 msgstr ""
6019
6020 # type: textblock
6021 #: ../src/guestfs-actions.pod:1471
6022 msgid "To find the UUID of a filesystem, use C<guestfs_vfs_uuid>."
6023 msgstr ""
6024
6025 # type: =head2
6026 #: ../src/guestfs-actions.pod:1476
6027 msgid "guestfs_fsck"
6028 msgstr ""
6029
6030 # type: verbatim
6031 #: ../src/guestfs-actions.pod:1478
6032 #, no-wrap
6033 msgid ""
6034 " int guestfs_fsck (guestfs_h *g,\n"
6035 "\t\tconst char *fstype,\n"
6036 "\t\tconst char *device);\n"
6037 "\n"
6038 msgstr ""
6039
6040 # type: textblock
6041 #: ../src/guestfs-actions.pod:1482 ../fish/guestfish-actions.pod:1180
6042 msgid ""
6043 "This runs the filesystem checker (fsck) on C<device> which should have "
6044 "filesystem type C<fstype>."
6045 msgstr ""
6046
6047 # type: textblock
6048 #: ../src/guestfs-actions.pod:1485 ../fish/guestfish-actions.pod:1183
6049 msgid ""
6050 "The returned integer is the status.  See L<fsck(8)> for the list of status "
6051 "codes from C<fsck>."
6052 msgstr ""
6053
6054 # type: textblock
6055 #: ../src/guestfs-actions.pod:1494 ../fish/guestfish-actions.pod:1192
6056 msgid "Multiple status codes can be summed together."
6057 msgstr ""
6058
6059 # type: textblock
6060 #: ../src/guestfs-actions.pod:1498 ../fish/guestfish-actions.pod:1196
6061 msgid ""
6062 "A non-zero return code can mean \"success\", for example if errors have been "
6063 "corrected on the filesystem."
6064 msgstr ""
6065
6066 # type: textblock
6067 #: ../src/guestfs-actions.pod:1503 ../fish/guestfish-actions.pod:1201
6068 msgid "Checking or repairing NTFS volumes is not supported (by linux-ntfs)."
6069 msgstr ""
6070
6071 # type: textblock
6072 #: ../src/guestfs-actions.pod:1508 ../fish/guestfish-actions.pod:1206
6073 msgid "This command is entirely equivalent to running C<fsck -a -t fstype device>."
6074 msgstr ""
6075
6076 # type: =head2
6077 #: ../src/guestfs-actions.pod:1512
6078 msgid "guestfs_get_append"
6079 msgstr ""
6080
6081 # type: verbatim
6082 #: ../src/guestfs-actions.pod:1514
6083 #, no-wrap
6084 msgid ""
6085 " const char *guestfs_get_append (guestfs_h *g);\n"
6086 "\n"
6087 msgstr ""
6088
6089 # type: textblock
6090 #: ../src/guestfs-actions.pod:1516 ../fish/guestfish-actions.pod:1212
6091 msgid ""
6092 "Return the additional kernel options which are added to the guest kernel "
6093 "command line."
6094 msgstr ""
6095
6096 # type: textblock
6097 #: ../src/guestfs-actions.pod:1519 ../fish/guestfish-actions.pod:1215
6098 msgid "If C<NULL> then no options are added."
6099 msgstr ""
6100
6101 # type: textblock
6102 #: ../src/guestfs-actions.pod:1521
6103 msgid ""
6104 "This function returns a string which may be NULL.  There is no way to return "
6105 "an error from this function.  The string is owned by the guest handle and "
6106 "must I<not> be freed."
6107 msgstr ""
6108
6109 # type: =head2
6110 #: ../src/guestfs-actions.pod:1525
6111 msgid "guestfs_get_autosync"
6112 msgstr ""
6113
6114 # type: verbatim
6115 #: ../src/guestfs-actions.pod:1527
6116 #, no-wrap
6117 msgid ""
6118 " int guestfs_get_autosync (guestfs_h *g);\n"
6119 "\n"
6120 msgstr ""
6121
6122 # type: textblock
6123 #: ../src/guestfs-actions.pod:1529 ../fish/guestfish-actions.pod:1221
6124 msgid "Get the autosync flag."
6125 msgstr ""
6126
6127 # type: =head2
6128 #: ../src/guestfs-actions.pod:1533
6129 msgid "guestfs_get_direct"
6130 msgstr ""
6131
6132 # type: verbatim
6133 #: ../src/guestfs-actions.pod:1535
6134 #, no-wrap
6135 msgid ""
6136 " int guestfs_get_direct (guestfs_h *g);\n"
6137 "\n"
6138 msgstr ""
6139
6140 # type: textblock
6141 #: ../src/guestfs-actions.pod:1537 ../fish/guestfish-actions.pod:1227
6142 msgid "Return the direct appliance mode flag."
6143 msgstr ""
6144
6145 # type: =head2
6146 #: ../src/guestfs-actions.pod:1541
6147 msgid "guestfs_get_e2label"
6148 msgstr ""
6149
6150 # type: verbatim
6151 #: ../src/guestfs-actions.pod:1543
6152 #, no-wrap
6153 msgid ""
6154 " char *guestfs_get_e2label (guestfs_h *g,\n"
6155 "\t\tconst char *device);\n"
6156 "\n"
6157 msgstr ""
6158
6159 # type: textblock
6160 #: ../src/guestfs-actions.pod:1546 ../fish/guestfish-actions.pod:1233
6161 msgid "This returns the ext2/3/4 filesystem label of the filesystem on C<device>."
6162 msgstr ""
6163
6164 # type: textblock
6165 #: ../src/guestfs-actions.pod:1552 ../fish/guestfish-actions.pod:1236
6166 msgid ""
6167 "This function is deprecated.  In new code, use the C<vfs_label> call "
6168 "instead."
6169 msgstr ""
6170
6171 # type: =head2
6172 #: ../src/guestfs-actions.pod:1559
6173 msgid "guestfs_get_e2uuid"
6174 msgstr ""
6175
6176 # type: verbatim
6177 #: ../src/guestfs-actions.pod:1561
6178 #, no-wrap
6179 msgid ""
6180 " char *guestfs_get_e2uuid (guestfs_h *g,\n"
6181 "\t\tconst char *device);\n"
6182 "\n"
6183 msgstr ""
6184
6185 # type: textblock
6186 #: ../src/guestfs-actions.pod:1564 ../fish/guestfish-actions.pod:1247
6187 msgid "This returns the ext2/3/4 filesystem UUID of the filesystem on C<device>."
6188 msgstr ""
6189
6190 # type: textblock
6191 #: ../src/guestfs-actions.pod:1570 ../fish/guestfish-actions.pod:1250
6192 msgid "This function is deprecated.  In new code, use the C<vfs_uuid> call instead."
6193 msgstr ""
6194
6195 # type: =head2
6196 #: ../src/guestfs-actions.pod:1577
6197 msgid "guestfs_get_memsize"
6198 msgstr ""
6199
6200 # type: verbatim
6201 #: ../src/guestfs-actions.pod:1579
6202 #, no-wrap
6203 msgid ""
6204 " int guestfs_get_memsize (guestfs_h *g);\n"
6205 "\n"
6206 msgstr ""
6207
6208 # type: textblock
6209 #: ../src/guestfs-actions.pod:1581 ../fish/guestfish-actions.pod:1261
6210 msgid "This gets the memory size in megabytes allocated to the qemu subprocess."
6211 msgstr ""
6212
6213 # type: textblock
6214 #: ../src/guestfs-actions.pod:1584
6215 msgid ""
6216 "If C<guestfs_set_memsize> was not called on this handle, and if "
6217 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
6218 "value for memsize."
6219 msgstr ""
6220
6221 # type: textblock
6222 #: ../src/guestfs-actions.pod:1588 ../src/guestfs-actions.pod:1651 ../src/guestfs-actions.pod:4177 ../src/guestfs-actions.pod:4269 ../fish/guestfish-actions.pod:1268 ../fish/guestfish-actions.pod:1317 ../fish/guestfish-actions.pod:3223 ../fish/guestfish-actions.pod:3300
6223 msgid "For more information on the architecture of libguestfs, see L<guestfs(3)>."
6224 msgstr ""
6225
6226 # type: =head2
6227 #: ../src/guestfs-actions.pod:1593
6228 msgid "guestfs_get_network"
6229 msgstr ""
6230
6231 # type: verbatim
6232 #: ../src/guestfs-actions.pod:1595
6233 #, no-wrap
6234 msgid ""
6235 " int guestfs_get_network (guestfs_h *g);\n"
6236 "\n"
6237 msgstr ""
6238
6239 # type: textblock
6240 #: ../src/guestfs-actions.pod:1597 ../fish/guestfish-actions.pod:1275
6241 msgid "This returns the enable network flag."
6242 msgstr ""
6243
6244 # type: =head2
6245 #: ../src/guestfs-actions.pod:1601
6246 msgid "guestfs_get_path"
6247 msgstr ""
6248
6249 # type: verbatim
6250 #: ../src/guestfs-actions.pod:1603
6251 #, no-wrap
6252 msgid ""
6253 " const char *guestfs_get_path (guestfs_h *g);\n"
6254 "\n"
6255 msgstr ""
6256
6257 # type: textblock
6258 #: ../src/guestfs-actions.pod:1605 ../fish/guestfish-actions.pod:1281
6259 msgid "Return the current search path."
6260 msgstr ""
6261
6262 # type: textblock
6263 #: ../src/guestfs-actions.pod:1607 ../fish/guestfish-actions.pod:1283
6264 msgid ""
6265 "This is always non-NULL.  If it wasn't set already, then this will return "
6266 "the default path."
6267 msgstr ""
6268
6269 # type: textblock
6270 #: ../src/guestfs-actions.pod:1610 ../src/guestfs-actions.pod:1633
6271 msgid ""
6272 "This function returns a string, or NULL on error.  The string is owned by "
6273 "the guest handle and must I<not> be freed."
6274 msgstr ""
6275
6276 # type: =head2
6277 #: ../src/guestfs-actions.pod:1613
6278 msgid "guestfs_get_pid"
6279 msgstr ""
6280
6281 # type: verbatim
6282 #: ../src/guestfs-actions.pod:1615
6283 #, no-wrap
6284 msgid ""
6285 " int guestfs_get_pid (guestfs_h *g);\n"
6286 "\n"
6287 msgstr ""
6288
6289 # type: textblock
6290 #: ../src/guestfs-actions.pod:1617 ../fish/guestfish-actions.pod:1290
6291 msgid ""
6292 "Return the process ID of the qemu subprocess.  If there is no qemu "
6293 "subprocess, then this will return an error."
6294 msgstr ""
6295
6296 # type: textblock
6297 #: ../src/guestfs-actions.pod:1620 ../fish/guestfish-actions.pod:1293
6298 msgid "This is an internal call used for debugging and testing."
6299 msgstr ""
6300
6301 # type: =head2
6302 #: ../src/guestfs-actions.pod:1624
6303 msgid "guestfs_get_qemu"
6304 msgstr ""
6305
6306 # type: verbatim
6307 #: ../src/guestfs-actions.pod:1626
6308 #, no-wrap
6309 msgid ""
6310 " const char *guestfs_get_qemu (guestfs_h *g);\n"
6311 "\n"
6312 msgstr ""
6313
6314 # type: textblock
6315 #: ../src/guestfs-actions.pod:1628 ../fish/guestfish-actions.pod:1299
6316 msgid "Return the current qemu binary."
6317 msgstr ""
6318
6319 # type: textblock
6320 #: ../src/guestfs-actions.pod:1630 ../fish/guestfish-actions.pod:1301
6321 msgid ""
6322 "This is always non-NULL.  If it wasn't set already, then this will return "
6323 "the default qemu binary name."
6324 msgstr ""
6325
6326 # type: =head2
6327 #: ../src/guestfs-actions.pod:1636
6328 msgid "guestfs_get_recovery_proc"
6329 msgstr ""
6330
6331 # type: verbatim
6332 #: ../src/guestfs-actions.pod:1638
6333 #, no-wrap
6334 msgid ""
6335 " int guestfs_get_recovery_proc (guestfs_h *g);\n"
6336 "\n"
6337 msgstr ""
6338
6339 # type: textblock
6340 #: ../src/guestfs-actions.pod:1640 ../fish/guestfish-actions.pod:1308
6341 msgid "Return the recovery process enabled flag."
6342 msgstr ""
6343
6344 # type: =head2
6345 #: ../src/guestfs-actions.pod:1644
6346 msgid "guestfs_get_selinux"
6347 msgstr ""
6348
6349 # type: verbatim
6350 #: ../src/guestfs-actions.pod:1646
6351 #, no-wrap
6352 msgid ""
6353 " int guestfs_get_selinux (guestfs_h *g);\n"
6354 "\n"
6355 msgstr ""
6356
6357 # type: textblock
6358 #: ../src/guestfs-actions.pod:1648
6359 msgid ""
6360 "This returns the current setting of the selinux flag which is passed to the "
6361 "appliance at boot time.  See C<guestfs_set_selinux>."
6362 msgstr ""
6363
6364 # type: =head2
6365 #: ../src/guestfs-actions.pod:1656
6366 msgid "guestfs_get_state"
6367 msgstr ""
6368
6369 # type: verbatim
6370 #: ../src/guestfs-actions.pod:1658
6371 #, no-wrap
6372 msgid ""
6373 " int guestfs_get_state (guestfs_h *g);\n"
6374 "\n"
6375 msgstr ""
6376
6377 # type: textblock
6378 #: ../src/guestfs-actions.pod:1660 ../fish/guestfish-actions.pod:1324
6379 msgid ""
6380 "This returns the current state as an opaque integer.  This is only useful "
6381 "for printing debug and internal error messages."
6382 msgstr ""
6383
6384 # type: textblock
6385 #: ../src/guestfs-actions.pod:1663 ../src/guestfs-actions.pod:2270 ../src/guestfs-actions.pod:2281 ../src/guestfs-actions.pod:2318 ../src/guestfs-actions.pod:2339 ../fish/guestfish-actions.pod:1327 ../fish/guestfish-actions.pod:1810 ../fish/guestfish-actions.pod:1819 ../fish/guestfish-actions.pod:1848 ../fish/guestfish-actions.pod:1864
6386 msgid "For more information on states, see L<guestfs(3)>."
6387 msgstr ""
6388
6389 # type: =head2
6390 #: ../src/guestfs-actions.pod:1667
6391 msgid "guestfs_get_trace"
6392 msgstr ""
6393
6394 # type: verbatim
6395 #: ../src/guestfs-actions.pod:1669
6396 #, no-wrap
6397 msgid ""
6398 " int guestfs_get_trace (guestfs_h *g);\n"
6399 "\n"
6400 msgstr ""
6401
6402 # type: textblock
6403 #: ../src/guestfs-actions.pod:1671 ../fish/guestfish-actions.pod:1333
6404 msgid "Return the command trace flag."
6405 msgstr ""
6406
6407 # type: =head2
6408 #: ../src/guestfs-actions.pod:1675
6409 msgid "guestfs_get_umask"
6410 msgstr ""
6411
6412 # type: verbatim
6413 #: ../src/guestfs-actions.pod:1677
6414 #, no-wrap
6415 msgid ""
6416 " int guestfs_get_umask (guestfs_h *g);\n"
6417 "\n"
6418 msgstr ""
6419
6420 # type: textblock
6421 #: ../src/guestfs-actions.pod:1679
6422 msgid ""
6423 "Return the current umask.  By default the umask is C<022> unless it has been "
6424 "set by calling C<guestfs_umask>."
6425 msgstr ""
6426
6427 # type: =head2
6428 #: ../src/guestfs-actions.pod:1684
6429 msgid "guestfs_get_verbose"
6430 msgstr ""
6431
6432 # type: verbatim
6433 #: ../src/guestfs-actions.pod:1686
6434 #, no-wrap
6435 msgid ""
6436 " int guestfs_get_verbose (guestfs_h *g);\n"
6437 "\n"
6438 msgstr ""
6439
6440 # type: textblock
6441 #: ../src/guestfs-actions.pod:1688 ../fish/guestfish-actions.pod:1346
6442 msgid "This returns the verbose messages flag."
6443 msgstr ""
6444
6445 # type: =head2
6446 #: ../src/guestfs-actions.pod:1692
6447 msgid "guestfs_getcon"
6448 msgstr ""
6449
6450 # type: verbatim
6451 #: ../src/guestfs-actions.pod:1694
6452 #, no-wrap
6453 msgid ""
6454 " char *guestfs_getcon (guestfs_h *g);\n"
6455 "\n"
6456 msgstr ""
6457
6458 # type: textblock
6459 #: ../src/guestfs-actions.pod:1696 ../fish/guestfish-actions.pod:1352
6460 msgid "This gets the SELinux security context of the daemon."
6461 msgstr ""
6462
6463 # type: textblock
6464 #: ../src/guestfs-actions.pod:1698
6465 msgid "See the documentation about SELINUX in L<guestfs(3)>, and C<guestfs_setcon>"
6466 msgstr ""
6467
6468 # type: =head2
6469 #: ../src/guestfs-actions.pod:1704
6470 msgid "guestfs_getxattrs"
6471 msgstr ""
6472
6473 # type: verbatim
6474 #: ../src/guestfs-actions.pod:1706
6475 #, no-wrap
6476 msgid ""
6477 " struct guestfs_xattr_list *guestfs_getxattrs (guestfs_h *g,\n"
6478 "\t\tconst char *path);\n"
6479 "\n"
6480 msgstr ""
6481
6482 # type: textblock
6483 #: ../src/guestfs-actions.pod:1709 ../fish/guestfish-actions.pod:1361
6484 msgid "This call lists the extended attributes of the file or directory C<path>."
6485 msgstr ""
6486
6487 # type: textblock
6488 #: ../src/guestfs-actions.pod:1712 ../fish/guestfish-actions.pod:1364
6489 msgid ""
6490 "At the system call level, this is a combination of the L<listxattr(2)> and "
6491 "L<getxattr(2)> calls."
6492 msgstr ""
6493
6494 # type: textblock
6495 #: ../src/guestfs-actions.pod:1715
6496 msgid "See also: C<guestfs_lgetxattrs>, L<attr(5)>."
6497 msgstr ""
6498
6499 # type: textblock
6500 #: ../src/guestfs-actions.pod:1717 ../src/guestfs-actions.pod:2389 ../src/guestfs-actions.pod:2884
6501 msgid ""
6502 "This function returns a C<struct guestfs_xattr_list *> (see "
6503 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
6504 "must call C<guestfs_free_xattr_list> after use>."
6505 msgstr ""
6506
6507 # type: =head2
6508 #: ../src/guestfs-actions.pod:1722
6509 msgid "guestfs_glob_expand"
6510 msgstr ""
6511
6512 # type: verbatim
6513 #: ../src/guestfs-actions.pod:1724
6514 #, no-wrap
6515 msgid ""
6516 " char **guestfs_glob_expand (guestfs_h *g,\n"
6517 "\t\tconst char *pattern);\n"
6518 "\n"
6519 msgstr ""
6520
6521 # type: textblock
6522 #: ../src/guestfs-actions.pod:1727 ../fish/guestfish-actions.pod:1373
6523 msgid ""
6524 "This command searches for all the pathnames matching C<pattern> according to "
6525 "the wildcard expansion rules used by the shell."
6526 msgstr ""
6527
6528 # type: textblock
6529 #: ../src/guestfs-actions.pod:1731 ../fish/guestfish-actions.pod:1377
6530 msgid "If no paths match, then this returns an empty list (note: not an error)."
6531 msgstr ""
6532
6533 # type: textblock
6534 #: ../src/guestfs-actions.pod:1734 ../fish/guestfish-actions.pod:1380
6535 msgid ""
6536 "It is just a wrapper around the C L<glob(3)> function with flags "
6537 "C<GLOB_MARK|GLOB_BRACE>.  See that manual page for more details."
6538 msgstr ""
6539
6540 # type: =head2
6541 #: ../src/guestfs-actions.pod:1742
6542 msgid "guestfs_grep"
6543 msgstr ""
6544
6545 # type: verbatim
6546 #: ../src/guestfs-actions.pod:1744
6547 #, no-wrap
6548 msgid ""
6549 " char **guestfs_grep (guestfs_h *g,\n"
6550 "\t\tconst char *regex,\n"
6551 "\t\tconst char *path);\n"
6552 "\n"
6553 msgstr ""
6554
6555 # type: textblock
6556 #: ../src/guestfs-actions.pod:1748 ../fish/guestfish-actions.pod:1388
6557 msgid "This calls the external C<grep> program and returns the matching lines."
6558 msgstr ""
6559
6560 # type: =head2
6561 #: ../src/guestfs-actions.pod:1758
6562 msgid "guestfs_grepi"
6563 msgstr ""
6564
6565 # type: verbatim
6566 #: ../src/guestfs-actions.pod:1760
6567 #, no-wrap
6568 msgid ""
6569 " char **guestfs_grepi (guestfs_h *g,\n"
6570 "\t\tconst char *regex,\n"
6571 "\t\tconst char *path);\n"
6572 "\n"
6573 msgstr ""
6574
6575 # type: textblock
6576 #: ../src/guestfs-actions.pod:1764 ../fish/guestfish-actions.pod:1398
6577 msgid "This calls the external C<grep -i> program and returns the matching lines."
6578 msgstr ""
6579
6580 # type: =head2
6581 #: ../src/guestfs-actions.pod:1774
6582 msgid "guestfs_grub_install"
6583 msgstr ""
6584
6585 # type: verbatim
6586 #: ../src/guestfs-actions.pod:1776
6587 #, no-wrap
6588 msgid ""
6589 " int guestfs_grub_install (guestfs_h *g,\n"
6590 "\t\tconst char *root,\n"
6591 "\t\tconst char *device);\n"
6592 "\n"
6593 msgstr ""
6594
6595 # type: textblock
6596 #: ../src/guestfs-actions.pod:1780 ../fish/guestfish-actions.pod:1408
6597 msgid ""
6598 "This command installs GRUB (the Grand Unified Bootloader) on C<device>, with "
6599 "the root directory being C<root>."
6600 msgstr ""
6601
6602 # type: textblock
6603 #: ../src/guestfs-actions.pod:1783 ../fish/guestfish-actions.pod:1411
6604 msgid ""
6605 "Note: If grub-install reports the error \"No suitable drive was found in the "
6606 "generated device map.\" it may be that you need to create a "
6607 "C</boot/grub/device.map> file first that contains the mapping between grub "
6608 "device names and Linux device names.  It is usually sufficient to create a "
6609 "file containing:"
6610 msgstr ""
6611
6612 # type: verbatim
6613 #: ../src/guestfs-actions.pod:1790 ../fish/guestfish-actions.pod:1418
6614 #, no-wrap
6615 msgid ""
6616 " (hd0) /dev/vda\n"
6617 "\n"
6618 msgstr ""
6619
6620 # type: textblock
6621 #: ../src/guestfs-actions.pod:1792 ../fish/guestfish-actions.pod:1420
6622 msgid "replacing C</dev/vda> with the name of the installation device."
6623 msgstr ""
6624
6625 # type: =head2
6626 #: ../src/guestfs-actions.pod:1796
6627 msgid "guestfs_head"
6628 msgstr ""
6629
6630 # type: verbatim
6631 #: ../src/guestfs-actions.pod:1798
6632 #, no-wrap
6633 msgid ""
6634 " char **guestfs_head (guestfs_h *g,\n"
6635 "\t\tconst char *path);\n"
6636 "\n"
6637 msgstr ""
6638
6639 # type: textblock
6640 #: ../src/guestfs-actions.pod:1801 ../fish/guestfish-actions.pod:1426
6641 msgid ""
6642 "This command returns up to the first 10 lines of a file as a list of "
6643 "strings."
6644 msgstr ""
6645
6646 # type: =head2
6647 #: ../src/guestfs-actions.pod:1811
6648 msgid "guestfs_head_n"
6649 msgstr ""
6650
6651 # type: verbatim
6652 #: ../src/guestfs-actions.pod:1813
6653 #, no-wrap
6654 msgid ""
6655 " char **guestfs_head_n (guestfs_h *g,\n"
6656 "\t\tint nrlines,\n"
6657 "\t\tconst char *path);\n"
6658 "\n"
6659 msgstr ""
6660
6661 # type: textblock
6662 #: ../src/guestfs-actions.pod:1817 ../fish/guestfish-actions.pod:1436
6663 msgid ""
6664 "If the parameter C<nrlines> is a positive number, this returns the first "
6665 "C<nrlines> lines of the file C<path>."
6666 msgstr ""
6667
6668 # type: textblock
6669 #: ../src/guestfs-actions.pod:1820 ../fish/guestfish-actions.pod:1439
6670 msgid ""
6671 "If the parameter C<nrlines> is a negative number, this returns lines from "
6672 "the file C<path>, excluding the last C<nrlines> lines."
6673 msgstr ""
6674
6675 # type: textblock
6676 #: ../src/guestfs-actions.pod:1823 ../src/guestfs-actions.pod:4725 ../fish/guestfish-actions.pod:1442 ../fish/guestfish-actions.pod:3642
6677 msgid "If the parameter C<nrlines> is zero, this returns an empty list."
6678 msgstr ""
6679
6680 # type: =head2
6681 #: ../src/guestfs-actions.pod:1832
6682 msgid "guestfs_hexdump"
6683 msgstr ""
6684
6685 # type: verbatim
6686 #: ../src/guestfs-actions.pod:1834
6687 #, no-wrap
6688 msgid ""
6689 " char *guestfs_hexdump (guestfs_h *g,\n"
6690 "\t\tconst char *path);\n"
6691 "\n"
6692 msgstr ""
6693
6694 # type: textblock
6695 #: ../src/guestfs-actions.pod:1837 ../fish/guestfish-actions.pod:1451
6696 msgid ""
6697 "This runs C<hexdump -C> on the given C<path>.  The result is the "
6698 "human-readable, canonical hex dump of the file."
6699 msgstr ""
6700
6701 # type: =head2
6702 #: ../src/guestfs-actions.pod:1846
6703 msgid "guestfs_initrd_cat"
6704 msgstr ""
6705
6706 # type: verbatim
6707 #: ../src/guestfs-actions.pod:1848
6708 #, no-wrap
6709 msgid ""
6710 " char *guestfs_initrd_cat (guestfs_h *g,\n"
6711 "\t\tconst char *initrdpath,\n"
6712 "\t\tconst char *filename,\n"
6713 "\t\tsize_t *size_r);\n"
6714 "\n"
6715 msgstr ""
6716
6717 # type: textblock
6718 #: ../src/guestfs-actions.pod:1853 ../fish/guestfish-actions.pod:1461
6719 msgid ""
6720 "This command unpacks the file C<filename> from the initrd file called "
6721 "C<initrdpath>.  The filename must be given I<without> the initial C</> "
6722 "character."
6723 msgstr ""
6724
6725 # type: textblock
6726 #: ../src/guestfs-actions.pod:1857 ../fish/guestfish-actions.pod:1465
6727 msgid ""
6728 "For example, in guestfish you could use the following command to examine the "
6729 "boot script (usually called C</init>)  contained in a Linux initrd or "
6730 "initramfs image:"
6731 msgstr ""
6732
6733 # type: verbatim
6734 #: ../src/guestfs-actions.pod:1861 ../fish/guestfish-actions.pod:1469
6735 #, no-wrap
6736 msgid ""
6737 " initrd-cat /boot/initrd-<version>.img init\n"
6738 "\n"
6739 msgstr ""
6740
6741 # type: textblock
6742 #: ../src/guestfs-actions.pod:1863
6743 msgid "See also C<guestfs_initrd_list>."
6744 msgstr ""
6745
6746 # type: textblock
6747 #: ../src/guestfs-actions.pod:1865 ../src/guestfs-actions.pod:3683 ../src/guestfs-actions.pod:3812
6748 msgid ""
6749 "This function returns a buffer, or NULL on error.  The size of the returned "
6750 "buffer is written to C<*size_r>.  I<The caller must free the returned buffer "
6751 "after use>."
6752 msgstr ""
6753
6754 # type: =head2
6755 #: ../src/guestfs-actions.pod:1872
6756 msgid "guestfs_initrd_list"
6757 msgstr ""
6758
6759 # type: verbatim
6760 #: ../src/guestfs-actions.pod:1874
6761 #, no-wrap
6762 msgid ""
6763 " char **guestfs_initrd_list (guestfs_h *g,\n"
6764 "\t\tconst char *path);\n"
6765 "\n"
6766 msgstr ""
6767
6768 # type: textblock
6769 #: ../src/guestfs-actions.pod:1877 ../fish/guestfish-actions.pod:1480
6770 msgid "This command lists out files contained in an initrd."
6771 msgstr ""
6772
6773 # type: textblock
6774 #: ../src/guestfs-actions.pod:1879 ../fish/guestfish-actions.pod:1482
6775 msgid ""
6776 "The files are listed without any initial C</> character.  The files are "
6777 "listed in the order they appear (not necessarily alphabetical).  Directory "
6778 "names are listed as separate items."
6779 msgstr ""
6780
6781 # type: textblock
6782 #: ../src/guestfs-actions.pod:1883 ../fish/guestfish-actions.pod:1486
6783 msgid ""
6784 "Old Linux kernels (2.4 and earlier) used a compressed ext2 filesystem as "
6785 "initrd.  We I<only> support the newer initramfs format (compressed cpio "
6786 "files)."
6787 msgstr ""
6788
6789 # type: =head2
6790 #: ../src/guestfs-actions.pod:1891
6791 msgid "guestfs_inotify_add_watch"
6792 msgstr ""
6793
6794 # type: verbatim
6795 #: ../src/guestfs-actions.pod:1893
6796 #, no-wrap
6797 msgid ""
6798 " int64_t guestfs_inotify_add_watch (guestfs_h *g,\n"
6799 "\t\tconst char *path,\n"
6800 "\t\tint mask);\n"
6801 "\n"
6802 msgstr ""
6803
6804 # type: textblock
6805 #: ../src/guestfs-actions.pod:1897 ../fish/guestfish-actions.pod:1494
6806 msgid "Watch C<path> for the events listed in C<mask>."
6807 msgstr ""
6808
6809 # type: textblock
6810 #: ../src/guestfs-actions.pod:1899 ../fish/guestfish-actions.pod:1496
6811 msgid ""
6812 "Note that if C<path> is a directory then events within that directory are "
6813 "watched, but this does I<not> happen recursively (in subdirectories)."
6814 msgstr ""
6815
6816 # type: textblock
6817 #: ../src/guestfs-actions.pod:1903 ../fish/guestfish-actions.pod:1500
6818 msgid ""
6819 "Note for non-C or non-Linux callers: the inotify events are defined by the "
6820 "Linux kernel ABI and are listed in C</usr/include/sys/inotify.h>."
6821 msgstr ""
6822
6823 # type: =head2
6824 #: ../src/guestfs-actions.pod:1909
6825 msgid "guestfs_inotify_close"
6826 msgstr ""
6827
6828 # type: verbatim
6829 #: ../src/guestfs-actions.pod:1911
6830 #, no-wrap
6831 msgid ""
6832 " int guestfs_inotify_close (guestfs_h *g);\n"
6833 "\n"
6834 msgstr ""
6835
6836 # type: textblock
6837 #: ../src/guestfs-actions.pod:1913 ../fish/guestfish-actions.pod:1508
6838 msgid ""
6839 "This closes the inotify handle which was previously opened by inotify_init.  "
6840 "It removes all watches, throws away any pending events, and deallocates all "
6841 "resources."
6842 msgstr ""
6843
6844 # type: =head2
6845 #: ../src/guestfs-actions.pod:1919
6846 msgid "guestfs_inotify_files"
6847 msgstr ""
6848
6849 # type: verbatim
6850 #: ../src/guestfs-actions.pod:1921
6851 #, no-wrap
6852 msgid ""
6853 " char **guestfs_inotify_files (guestfs_h *g);\n"
6854 "\n"
6855 msgstr ""
6856
6857 # type: textblock
6858 #: ../src/guestfs-actions.pod:1923
6859 msgid ""
6860 "This function is a helpful wrapper around C<guestfs_inotify_read> which just "
6861 "returns a list of pathnames of objects that were touched.  The returned "
6862 "pathnames are sorted and deduplicated."
6863 msgstr ""
6864
6865 # type: =head2
6866 #: ../src/guestfs-actions.pod:1931
6867 msgid "guestfs_inotify_init"
6868 msgstr ""
6869
6870 # type: verbatim
6871 #: ../src/guestfs-actions.pod:1933
6872 #, no-wrap
6873 msgid ""
6874 " int guestfs_inotify_init (guestfs_h *g,\n"
6875 "\t\tint maxevents);\n"
6876 "\n"
6877 msgstr ""
6878
6879 # type: textblock
6880 #: ../src/guestfs-actions.pod:1936 ../fish/guestfish-actions.pod:1524
6881 msgid ""
6882 "This command creates a new inotify handle.  The inotify subsystem can be "
6883 "used to notify events which happen to objects in the guest filesystem."
6884 msgstr ""
6885
6886 # type: textblock
6887 #: ../src/guestfs-actions.pod:1940
6888 msgid ""
6889 "C<maxevents> is the maximum number of events which will be queued up between "
6890 "calls to C<guestfs_inotify_read> or C<guestfs_inotify_files>.  If this is "
6891 "passed as C<0>, then the kernel (or previously set)  default is used.  For "
6892 "Linux 2.6.29 the default was 16384 events.  Beyond this limit, the kernel "
6893 "throws away events, but records the fact that it threw them away by setting "
6894 "a flag C<IN_Q_OVERFLOW> in the returned structure list (see "
6895 "C<guestfs_inotify_read>)."
6896 msgstr ""
6897
6898 # type: textblock
6899 #: ../src/guestfs-actions.pod:1950
6900 msgid ""
6901 "Before any events are generated, you have to add some watches to the "
6902 "internal watch list.  See: C<guestfs_inotify_add_watch>, "
6903 "C<guestfs_inotify_rm_watch> and C<guestfs_inotify_watch_all>."
6904 msgstr ""
6905
6906 # type: textblock
6907 #: ../src/guestfs-actions.pod:1956
6908 msgid ""
6909 "Queued up events should be read periodically by calling "
6910 "C<guestfs_inotify_read> (or C<guestfs_inotify_files> which is just a helpful "
6911 "wrapper around C<guestfs_inotify_read>).  If you don't read the events out "
6912 "often enough then you risk the internal queue overflowing."
6913 msgstr ""
6914
6915 # type: textblock
6916 #: ../src/guestfs-actions.pod:1963
6917 msgid ""
6918 "The handle should be closed after use by calling C<guestfs_inotify_close>.  "
6919 "This also removes any watches automatically."
6920 msgstr ""
6921
6922 # type: textblock
6923 #: ../src/guestfs-actions.pod:1967 ../fish/guestfish-actions.pod:1555
6924 msgid ""
6925 "See also L<inotify(7)> for an overview of the inotify interface as exposed "
6926 "by the Linux kernel, which is roughly what we expose via libguestfs.  Note "
6927 "that there is one global inotify handle per libguestfs instance."
6928 msgstr ""
6929
6930 # type: =head2
6931 #: ../src/guestfs-actions.pod:1974
6932 msgid "guestfs_inotify_read"
6933 msgstr ""
6934
6935 # type: verbatim
6936 #: ../src/guestfs-actions.pod:1976
6937 #, no-wrap
6938 msgid ""
6939 " struct guestfs_inotify_event_list *guestfs_inotify_read (guestfs_h *g);\n"
6940 "\n"
6941 msgstr ""
6942
6943 # type: textblock
6944 #: ../src/guestfs-actions.pod:1978 ../fish/guestfish-actions.pod:1564
6945 msgid ""
6946 "Return the complete queue of events that have happened since the previous "
6947 "read call."
6948 msgstr ""
6949
6950 # type: textblock
6951 #: ../src/guestfs-actions.pod:1981 ../fish/guestfish-actions.pod:1567
6952 msgid "If no events have happened, this returns an empty list."
6953 msgstr ""
6954
6955 # type: textblock
6956 #: ../src/guestfs-actions.pod:1983 ../fish/guestfish-actions.pod:1569
6957 msgid ""
6958 "I<Note>: In order to make sure that all events have been read, you must call "
6959 "this function repeatedly until it returns an empty list.  The reason is that "
6960 "the call will read events up to the maximum appliance-to-host message size "
6961 "and leave remaining events in the queue."
6962 msgstr ""
6963
6964 # type: textblock
6965 #: ../src/guestfs-actions.pod:1989
6966 msgid ""
6967 "This function returns a C<struct guestfs_inotify_event_list *> (see "
6968 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
6969 "must call C<guestfs_free_inotify_event_list> after use>."
6970 msgstr ""
6971
6972 # type: =head2
6973 #: ../src/guestfs-actions.pod:1994
6974 msgid "guestfs_inotify_rm_watch"
6975 msgstr ""
6976
6977 # type: verbatim
6978 #: ../src/guestfs-actions.pod:1996
6979 #, no-wrap
6980 msgid ""
6981 " int guestfs_inotify_rm_watch (guestfs_h *g,\n"
6982 "\t\tint wd);\n"
6983 "\n"
6984 msgstr ""
6985
6986 # type: textblock
6987 #: ../src/guestfs-actions.pod:1999
6988 msgid ""
6989 "Remove a previously defined inotify watch.  See "
6990 "C<guestfs_inotify_add_watch>."
6991 msgstr ""
6992
6993 # type: =head2
6994 #: ../src/guestfs-actions.pod:2004
6995 msgid "guestfs_inspect_get_arch"
6996 msgstr ""
6997
6998 # type: verbatim
6999 #: ../src/guestfs-actions.pod:2006
7000 #, no-wrap
7001 msgid ""
7002 " char *guestfs_inspect_get_arch (guestfs_h *g,\n"
7003 "\t\tconst char *root);\n"
7004 "\n"
7005 msgstr ""
7006
7007 # type: textblock
7008 #: ../src/guestfs-actions.pod:2009 ../src/guestfs-actions.pod:2029 ../src/guestfs-actions.pod:2079 ../src/guestfs-actions.pod:2102 ../src/guestfs-actions.pod:2126 ../src/guestfs-actions.pod:2144 ../src/guestfs-actions.pod:2174 ../src/guestfs-actions.pod:2195
7009 msgid ""
7010 "This function should only be called with a root device string as returned by "
7011 "C<guestfs_inspect_os>."
7012 msgstr ""
7013
7014 # type: textblock
7015 #: ../src/guestfs-actions.pod:2012
7016 msgid ""
7017 "This returns the architecture of the inspected operating system.  The "
7018 "possible return values are listed under C<guestfs_file_architecture>."
7019 msgstr ""
7020
7021 # type: textblock
7022 #: ../src/guestfs-actions.pod:2016 ../fish/guestfish-actions.pod:1593
7023 msgid ""
7024 "If the architecture could not be determined, then the string C<unknown> is "
7025 "returned."
7026 msgstr ""
7027
7028 # type: textblock
7029 #: ../src/guestfs-actions.pod:2019 ../src/guestfs-actions.pod:2069 ../src/guestfs-actions.pod:2117 ../src/guestfs-actions.pod:2185 ../src/guestfs-actions.pod:2220 ../src/guestfs-actions.pod:2257 ../fish/guestfish-actions.pod:1596 ../fish/guestfish-actions.pod:1642 ../fish/guestfish-actions.pod:1681 ../fish/guestfish-actions.pod:1736 ../fish/guestfish-actions.pod:1767 ../fish/guestfish-actions.pod:1801
7030 msgid "Please read L<guestfs(3)/INSPECTION> for more details."
7031 msgstr ""
7032
7033 # type: =head2
7034 #: ../src/guestfs-actions.pod:2024
7035 msgid "guestfs_inspect_get_distro"
7036 msgstr ""
7037
7038 # type: verbatim
7039 #: ../src/guestfs-actions.pod:2026
7040 #, no-wrap
7041 msgid ""
7042 " char *guestfs_inspect_get_distro (guestfs_h *g,\n"
7043 "\t\tconst char *root);\n"
7044 "\n"
7045 msgstr ""
7046
7047 # type: textblock
7048 #: ../src/guestfs-actions.pod:2032 ../fish/guestfish-actions.pod:1605
7049 msgid "This returns the distro (distribution) of the inspected operating system."
7050 msgstr ""
7051
7052 # type: textblock
7053 #: ../src/guestfs-actions.pod:2035 ../fish/guestfish-actions.pod:1608
7054 msgid "Currently defined distros are:"
7055 msgstr ""
7056
7057 # type: =item
7058 #: ../src/guestfs-actions.pod:2039 ../fish/guestfish-actions.pod:1612
7059 msgid "\"debian\""
7060 msgstr ""
7061
7062 # type: textblock
7063 #: ../src/guestfs-actions.pod:2041 ../fish/guestfish-actions.pod:1614
7064 msgid "Debian or a Debian-derived distro such as Ubuntu."
7065 msgstr ""
7066
7067 # type: =item
7068 #: ../src/guestfs-actions.pod:2043 ../fish/guestfish-actions.pod:1616
7069 msgid "\"fedora\""
7070 msgstr ""
7071
7072 # type: textblock
7073 #: ../src/guestfs-actions.pod:2045 ../fish/guestfish-actions.pod:1618
7074 msgid "Fedora."
7075 msgstr ""
7076
7077 # type: =item
7078 #: ../src/guestfs-actions.pod:2047 ../fish/guestfish-actions.pod:1620
7079 msgid "\"redhat-based\""
7080 msgstr ""
7081
7082 # type: textblock
7083 #: ../src/guestfs-actions.pod:2049 ../fish/guestfish-actions.pod:1622
7084 msgid "Some Red Hat-derived distro."
7085 msgstr ""
7086
7087 # type: =item
7088 #: ../src/guestfs-actions.pod:2051 ../fish/guestfish-actions.pod:1624
7089 msgid "\"rhel\""
7090 msgstr ""
7091
7092 # type: textblock
7093 #: ../src/guestfs-actions.pod:2053 ../fish/guestfish-actions.pod:1626
7094 msgid "Red Hat Enterprise Linux and some derivatives."
7095 msgstr ""
7096
7097 # type: =item
7098 #: ../src/guestfs-actions.pod:2055 ../src/guestfs-actions.pod:2207 ../fish/guestfish-actions.pod:1628 ../fish/guestfish-actions.pod:1754
7099 msgid "\"windows\""
7100 msgstr ""
7101
7102 # type: textblock
7103 #: ../src/guestfs-actions.pod:2057 ../fish/guestfish-actions.pod:1630
7104 msgid ""
7105 "Windows does not have distributions.  This string is returned if the OS type "
7106 "is Windows."
7107 msgstr ""
7108
7109 # type: =item
7110 #: ../src/guestfs-actions.pod:2060 ../src/guestfs-actions.pod:2211 ../fish/guestfish-actions.pod:1633 ../fish/guestfish-actions.pod:1758
7111 msgid "\"unknown\""
7112 msgstr ""
7113
7114 # type: textblock
7115 #: ../src/guestfs-actions.pod:2062 ../fish/guestfish-actions.pod:1635
7116 msgid "The distro could not be determined."
7117 msgstr ""
7118
7119 # type: textblock
7120 #: ../src/guestfs-actions.pod:2066 ../src/guestfs-actions.pod:2217 ../fish/guestfish-actions.pod:1639 ../fish/guestfish-actions.pod:1764
7121 msgid ""
7122 "Future versions of libguestfs may return other strings here.  The caller "
7123 "should be prepared to handle any string."
7124 msgstr ""
7125
7126 # type: =head2
7127 #: ../src/guestfs-actions.pod:2074
7128 msgid "guestfs_inspect_get_filesystems"
7129 msgstr ""
7130
7131 # type: verbatim
7132 #: ../src/guestfs-actions.pod:2076
7133 #, no-wrap
7134 msgid ""
7135 " char **guestfs_inspect_get_filesystems (guestfs_h *g,\n"
7136 "\t\tconst char *root);\n"
7137 "\n"
7138 msgstr ""
7139
7140 # type: textblock
7141 #: ../src/guestfs-actions.pod:2082 ../fish/guestfish-actions.pod:1651
7142 msgid ""
7143 "This returns a list of all the filesystems that we think are associated with "
7144 "this operating system.  This includes the root filesystem, other ordinary "
7145 "filesystems, and non-mounted devices like swap partitions."
7146 msgstr ""
7147
7148 # type: textblock
7149 #: ../src/guestfs-actions.pod:2087 ../fish/guestfish-actions.pod:1656
7150 msgid ""
7151 "In the case of a multi-boot virtual machine, it is possible for a filesystem "
7152 "to be shared between operating systems."
7153 msgstr ""
7154
7155 # type: textblock
7156 #: ../src/guestfs-actions.pod:2090
7157 msgid ""
7158 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7159 "C<guestfs_inspect_get_mountpoints>."
7160 msgstr ""
7161
7162 # type: =head2
7163 #: ../src/guestfs-actions.pod:2097
7164 msgid "guestfs_inspect_get_major_version"
7165 msgstr ""
7166
7167 # type: verbatim
7168 #: ../src/guestfs-actions.pod:2099
7169 #, no-wrap
7170 msgid ""
7171 " int guestfs_inspect_get_major_version (guestfs_h *g,\n"
7172 "\t\tconst char *root);\n"
7173 "\n"
7174 msgstr ""
7175
7176 # type: textblock
7177 #: ../src/guestfs-actions.pod:2105 ../fish/guestfish-actions.pod:1669
7178 msgid "This returns the major version number of the inspected operating system."
7179 msgstr ""
7180
7181 # type: textblock
7182 #: ../src/guestfs-actions.pod:2108 ../fish/guestfish-actions.pod:1672
7183 msgid ""
7184 "Windows uses a consistent versioning scheme which is I<not> reflected in the "
7185 "popular public names used by the operating system.  Notably the operating "
7186 "system known as \"Windows 7\" is really version 6.1 (ie. major = 6, minor = "
7187 "1).  You can find out the real versions corresponding to releases of Windows "
7188 "by consulting Wikipedia or MSDN."
7189 msgstr ""
7190
7191 # type: textblock
7192 #: ../src/guestfs-actions.pod:2115 ../src/guestfs-actions.pod:2132 ../fish/guestfish-actions.pod:1679 ../fish/guestfish-actions.pod:1693
7193 msgid "If the version could not be determined, then C<0> is returned."
7194 msgstr ""
7195
7196 # type: =head2
7197 #: ../src/guestfs-actions.pod:2121
7198 msgid "guestfs_inspect_get_minor_version"
7199 msgstr ""
7200
7201 # type: verbatim
7202 #: ../src/guestfs-actions.pod:2123
7203 #, no-wrap
7204 msgid ""
7205 " int guestfs_inspect_get_minor_version (guestfs_h *g,\n"
7206 "\t\tconst char *root);\n"
7207 "\n"
7208 msgstr ""
7209
7210 # type: textblock
7211 #: ../src/guestfs-actions.pod:2129 ../fish/guestfish-actions.pod:1690
7212 msgid "This returns the minor version number of the inspected operating system."
7213 msgstr ""
7214
7215 # type: textblock
7216 #: ../src/guestfs-actions.pod:2134
7217 msgid ""
7218 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7219 "C<guestfs_inspect_get_major_version>."
7220 msgstr ""
7221
7222 # type: =head2
7223 #: ../src/guestfs-actions.pod:2139
7224 msgid "guestfs_inspect_get_mountpoints"
7225 msgstr ""
7226
7227 # type: verbatim
7228 #: ../src/guestfs-actions.pod:2141
7229 #, no-wrap
7230 msgid ""
7231 " char **guestfs_inspect_get_mountpoints (guestfs_h *g,\n"
7232 "\t\tconst char *root);\n"
7233 "\n"
7234 msgstr ""
7235
7236 # type: textblock
7237 #: ../src/guestfs-actions.pod:2147 ../fish/guestfish-actions.pod:1705
7238 msgid ""
7239 "This returns a hash of where we think the filesystems associated with this "
7240 "operating system should be mounted.  Callers should note that this is at "
7241 "best an educated guess made by reading configuration files such as "
7242 "C</etc/fstab>."
7243 msgstr ""
7244
7245 # type: textblock
7246 #: ../src/guestfs-actions.pod:2152 ../fish/guestfish-actions.pod:1710
7247 msgid ""
7248 "Each element in the returned hashtable has a key which is the path of the "
7249 "mountpoint (eg. C</boot>) and a value which is the filesystem that would be "
7250 "mounted there (eg. C</dev/sda1>)."
7251 msgstr ""
7252
7253 # type: textblock
7254 #: ../src/guestfs-actions.pod:2157 ../fish/guestfish-actions.pod:1715
7255 msgid "Non-mounted devices such as swap devices are I<not> returned in this list."
7256 msgstr ""
7257
7258 # type: textblock
7259 #: ../src/guestfs-actions.pod:2160
7260 msgid ""
7261 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
7262 "C<guestfs_inspect_get_filesystems>."
7263 msgstr ""
7264
7265 # type: textblock
7266 #: ../src/guestfs-actions.pod:2163 ../src/guestfs-actions.pod:3320 ../src/guestfs-actions.pod:4842
7267 msgid ""
7268 "This function returns a NULL-terminated array of strings, or NULL if there "
7269 "was an error.  The array of strings will always have length C<2n+1>, where "
7270 "C<n> keys and values alternate, followed by the trailing NULL entry.  I<The "
7271 "caller must free the strings and the array after use>."
7272 msgstr ""
7273
7274 # type: =head2
7275 #: ../src/guestfs-actions.pod:2169
7276 msgid "guestfs_inspect_get_product_name"
7277 msgstr ""
7278
7279 # type: verbatim
7280 #: ../src/guestfs-actions.pod:2171
7281 #, no-wrap
7282 msgid ""
7283 " char *guestfs_inspect_get_product_name (guestfs_h *g,\n"
7284 "\t\tconst char *root);\n"
7285 "\n"
7286 msgstr ""
7287
7288 # type: textblock
7289 #: ../src/guestfs-actions.pod:2177 ../fish/guestfish-actions.pod:1728
7290 msgid ""
7291 "This returns the product name of the inspected operating system.  The "
7292 "product name is generally some freeform string which can be displayed to the "
7293 "user, but should not be parsed by programs."
7294 msgstr ""
7295
7296 # type: textblock
7297 #: ../src/guestfs-actions.pod:2182 ../fish/guestfish-actions.pod:1733
7298 msgid ""
7299 "If the product name could not be determined, then the string C<unknown> is "
7300 "returned."
7301 msgstr ""
7302
7303 # type: =head2
7304 #: ../src/guestfs-actions.pod:2190
7305 msgid "guestfs_inspect_get_type"
7306 msgstr ""
7307
7308 # type: verbatim
7309 #: ../src/guestfs-actions.pod:2192
7310 #, no-wrap
7311 msgid ""
7312 " char *guestfs_inspect_get_type (guestfs_h *g,\n"
7313 "\t\tconst char *root);\n"
7314 "\n"
7315 msgstr ""
7316
7317 # type: textblock
7318 #: ../src/guestfs-actions.pod:2198 ../fish/guestfish-actions.pod:1745
7319 msgid ""
7320 "This returns the type of the inspected operating system.  Currently defined "
7321 "types are:"
7322 msgstr ""
7323
7324 # type: =item
7325 #: ../src/guestfs-actions.pod:2203 ../fish/guestfish-actions.pod:1750
7326 msgid "\"linux\""
7327 msgstr ""
7328
7329 # type: textblock
7330 #: ../src/guestfs-actions.pod:2205 ../fish/guestfish-actions.pod:1752
7331 msgid "Any Linux-based operating system."
7332 msgstr ""
7333
7334 # type: textblock
7335 #: ../src/guestfs-actions.pod:2209 ../fish/guestfish-actions.pod:1756
7336 msgid "Any Microsoft Windows operating system."
7337 msgstr ""
7338
7339 # type: textblock
7340 #: ../src/guestfs-actions.pod:2213 ../fish/guestfish-actions.pod:1760
7341 msgid "The operating system type could not be determined."
7342 msgstr ""
7343
7344 # type: =head2
7345 #: ../src/guestfs-actions.pod:2225
7346 msgid "guestfs_inspect_os"
7347 msgstr ""
7348
7349 # type: verbatim
7350 #: ../src/guestfs-actions.pod:2227
7351 #, no-wrap
7352 msgid ""
7353 " char **guestfs_inspect_os (guestfs_h *g);\n"
7354 "\n"
7355 msgstr ""
7356
7357 # type: textblock
7358 #: ../src/guestfs-actions.pod:2229 ../fish/guestfish-actions.pod:1773
7359 msgid ""
7360 "This function uses other libguestfs functions and certain heuristics to "
7361 "inspect the disk(s) (usually disks belonging to a virtual machine), looking "
7362 "for operating systems."
7363 msgstr ""
7364
7365 # type: textblock
7366 #: ../src/guestfs-actions.pod:2233 ../fish/guestfish-actions.pod:1777
7367 msgid "The list returned is empty if no operating systems were found."
7368 msgstr ""
7369
7370 # type: textblock
7371 #: ../src/guestfs-actions.pod:2235 ../fish/guestfish-actions.pod:1779
7372 msgid ""
7373 "If one operating system was found, then this returns a list with a single "
7374 "element, which is the name of the root filesystem of this operating system.  "
7375 "It is also possible for this function to return a list containing more than "
7376 "one element, indicating a dual-boot or multi-boot virtual machine, with each "
7377 "element being the root filesystem of one of the operating systems."
7378 msgstr ""
7379
7380 # type: textblock
7381 #: ../src/guestfs-actions.pod:2242
7382 msgid ""
7383 "You can pass the root string(s) returned to other C<guestfs_inspect_get_*> "
7384 "functions in order to query further information about each operating system, "
7385 "such as the name and version."
7386 msgstr ""
7387
7388 # type: textblock
7389 #: ../src/guestfs-actions.pod:2247
7390 msgid ""
7391 "This function uses other libguestfs features such as C<guestfs_mount_ro> and "
7392 "C<guestfs_umount_all> in order to mount and unmount filesystems and look at "
7393 "the contents.  This should be called with no disks currently mounted.  The "
7394 "function may also use Augeas, so any existing Augeas handle will be closed."
7395 msgstr ""
7396
7397 # type: textblock
7398 #: ../src/guestfs-actions.pod:2253 ../fish/guestfish-actions.pod:1797
7399 msgid ""
7400 "This function cannot decrypt encrypted disks.  The caller must do that first "
7401 "(supplying the necessary keys) if the disk is encrypted."
7402 msgstr ""
7403
7404 # type: =head2
7405 #: ../src/guestfs-actions.pod:2263
7406 msgid "guestfs_is_busy"
7407 msgstr ""
7408
7409 # type: verbatim
7410 #: ../src/guestfs-actions.pod:2265
7411 #, no-wrap
7412 msgid ""
7413 " int guestfs_is_busy (guestfs_h *g);\n"
7414 "\n"
7415 msgstr ""
7416
7417 # type: textblock
7418 #: ../src/guestfs-actions.pod:2267 ../fish/guestfish-actions.pod:1807
7419 msgid ""
7420 "This returns true iff this handle is busy processing a command (in the "
7421 "C<BUSY> state)."
7422 msgstr ""
7423
7424 # type: =head2
7425 #: ../src/guestfs-actions.pod:2274
7426 msgid "guestfs_is_config"
7427 msgstr ""
7428
7429 # type: verbatim
7430 #: ../src/guestfs-actions.pod:2276
7431 #, no-wrap
7432 msgid ""
7433 " int guestfs_is_config (guestfs_h *g);\n"
7434 "\n"
7435 msgstr ""
7436
7437 # type: textblock
7438 #: ../src/guestfs-actions.pod:2278 ../fish/guestfish-actions.pod:1816
7439 msgid ""
7440 "This returns true iff this handle is being configured (in the C<CONFIG> "
7441 "state)."
7442 msgstr ""
7443
7444 # type: =head2
7445 #: ../src/guestfs-actions.pod:2285
7446 msgid "guestfs_is_dir"
7447 msgstr ""
7448
7449 # type: verbatim
7450 #: ../src/guestfs-actions.pod:2287
7451 #, no-wrap
7452 msgid ""
7453 " int guestfs_is_dir (guestfs_h *g,\n"
7454 "\t\tconst char *path);\n"
7455 "\n"
7456 msgstr ""
7457
7458 # type: textblock
7459 #: ../src/guestfs-actions.pod:2290 ../fish/guestfish-actions.pod:1825
7460 msgid ""
7461 "This returns C<true> if and only if there is a directory with the given "
7462 "C<path> name.  Note that it returns false for other objects like files."
7463 msgstr ""
7464
7465 # type: textblock
7466 #: ../src/guestfs-actions.pod:2294 ../src/guestfs-actions.pod:2307
7467 msgid "See also C<guestfs_stat>."
7468 msgstr ""
7469
7470 # type: =head2
7471 #: ../src/guestfs-actions.pod:2298
7472 msgid "guestfs_is_file"
7473 msgstr ""
7474
7475 # type: verbatim
7476 #: ../src/guestfs-actions.pod:2300
7477 #, no-wrap
7478 msgid ""
7479 " int guestfs_is_file (guestfs_h *g,\n"
7480 "\t\tconst char *path);\n"
7481 "\n"
7482 msgstr ""
7483
7484 # type: textblock
7485 #: ../src/guestfs-actions.pod:2303 ../fish/guestfish-actions.pod:1835
7486 msgid ""
7487 "This returns C<true> if and only if there is a file with the given C<path> "
7488 "name.  Note that it returns false for other objects like directories."
7489 msgstr ""
7490
7491 # type: =head2
7492 #: ../src/guestfs-actions.pod:2311
7493 msgid "guestfs_is_launching"
7494 msgstr ""
7495
7496 # type: verbatim
7497 #: ../src/guestfs-actions.pod:2313
7498 #, no-wrap
7499 msgid ""
7500 " int guestfs_is_launching (guestfs_h *g);\n"
7501 "\n"
7502 msgstr ""
7503
7504 # type: textblock
7505 #: ../src/guestfs-actions.pod:2315 ../fish/guestfish-actions.pod:1845
7506 msgid ""
7507 "This returns true iff this handle is launching the subprocess (in the "
7508 "C<LAUNCHING> state)."
7509 msgstr ""
7510
7511 # type: =head2
7512 #: ../src/guestfs-actions.pod:2322
7513 msgid "guestfs_is_lv"
7514 msgstr ""
7515
7516 # type: verbatim
7517 #: ../src/guestfs-actions.pod:2324
7518 #, no-wrap
7519 msgid ""
7520 " int guestfs_is_lv (guestfs_h *g,\n"
7521 "\t\tconst char *device);\n"
7522 "\n"
7523 msgstr ""
7524
7525 # type: textblock
7526 #: ../src/guestfs-actions.pod:2327 ../fish/guestfish-actions.pod:1854
7527 msgid ""
7528 "This command tests whether C<device> is a logical volume, and returns true "
7529 "iff this is the case."
7530 msgstr ""
7531
7532 # type: =head2
7533 #: ../src/guestfs-actions.pod:2332
7534 msgid "guestfs_is_ready"
7535 msgstr ""
7536
7537 # type: verbatim
7538 #: ../src/guestfs-actions.pod:2334
7539 #, no-wrap
7540 msgid ""
7541 " int guestfs_is_ready (guestfs_h *g);\n"
7542 "\n"
7543 msgstr ""
7544
7545 # type: textblock
7546 #: ../src/guestfs-actions.pod:2336 ../fish/guestfish-actions.pod:1861
7547 msgid ""
7548 "This returns true iff this handle is ready to accept commands (in the "
7549 "C<READY> state)."
7550 msgstr ""
7551
7552 # type: =head2
7553 #: ../src/guestfs-actions.pod:2343
7554 msgid "guestfs_kill_subprocess"
7555 msgstr ""
7556
7557 # type: verbatim
7558 #: ../src/guestfs-actions.pod:2345
7559 #, no-wrap
7560 msgid ""
7561 " int guestfs_kill_subprocess (guestfs_h *g);\n"
7562 "\n"
7563 msgstr ""
7564
7565 # type: textblock
7566 #: ../src/guestfs-actions.pod:2347 ../fish/guestfish-actions.pod:1870
7567 msgid "This kills the qemu subprocess.  You should never need to call this."
7568 msgstr ""
7569
7570 # type: =head2
7571 #: ../src/guestfs-actions.pod:2351
7572 msgid "guestfs_launch"
7573 msgstr ""
7574
7575 # type: verbatim
7576 #: ../src/guestfs-actions.pod:2353
7577 #, no-wrap
7578 msgid ""
7579 " int guestfs_launch (guestfs_h *g);\n"
7580 "\n"
7581 msgstr ""
7582
7583 # type: textblock
7584 #: ../src/guestfs-actions.pod:2355 ../fish/guestfish-actions.pod:1876
7585 msgid ""
7586 "Internally libguestfs is implemented by running a virtual machine using "
7587 "L<qemu(1)>."
7588 msgstr ""
7589
7590 # type: textblock
7591 #: ../src/guestfs-actions.pod:2358 ../fish/guestfish-actions.pod:1879
7592 msgid ""
7593 "You should call this after configuring the handle (eg. adding drives) but "
7594 "before performing any actions."
7595 msgstr ""
7596
7597 # type: =head2
7598 #: ../src/guestfs-actions.pod:2363
7599 msgid "guestfs_lchown"
7600 msgstr ""
7601
7602 # type: verbatim
7603 #: ../src/guestfs-actions.pod:2365
7604 #, no-wrap
7605 msgid ""
7606 " int guestfs_lchown (guestfs_h *g,\n"
7607 "\t\tint owner,\n"
7608 "\t\tint group,\n"
7609 "\t\tconst char *path);\n"
7610 "\n"
7611 msgstr ""
7612
7613 # type: textblock
7614 #: ../src/guestfs-actions.pod:2370
7615 msgid ""
7616 "Change the file owner to C<owner> and group to C<group>.  This is like "
7617 "C<guestfs_chown> but if C<path> is a symlink then the link itself is "
7618 "changed, not the target."
7619 msgstr ""
7620
7621 # type: =head2
7622 #: ../src/guestfs-actions.pod:2380
7623 msgid "guestfs_lgetxattrs"
7624 msgstr ""
7625
7626 # type: verbatim
7627 #: ../src/guestfs-actions.pod:2382
7628 #, no-wrap
7629 msgid ""
7630 " struct guestfs_xattr_list *guestfs_lgetxattrs (guestfs_h *g,\n"
7631 "\t\tconst char *path);\n"
7632 "\n"
7633 msgstr ""
7634
7635 # type: textblock
7636 #: ../src/guestfs-actions.pod:2385
7637 msgid ""
7638 "This is the same as C<guestfs_getxattrs>, but if C<path> is a symbolic link, "
7639 "then it returns the extended attributes of the link itself."
7640 msgstr ""
7641
7642 # type: =head2
7643 #: ../src/guestfs-actions.pod:2394
7644 msgid "guestfs_list_devices"
7645 msgstr ""
7646
7647 # type: verbatim
7648 #: ../src/guestfs-actions.pod:2396
7649 #, no-wrap
7650 msgid ""
7651 " char **guestfs_list_devices (guestfs_h *g);\n"
7652 "\n"
7653 msgstr ""
7654
7655 # type: textblock
7656 #: ../src/guestfs-actions.pod:2398 ../fish/guestfish-actions.pod:1906
7657 msgid "List all the block devices."
7658 msgstr ""
7659
7660 # type: textblock
7661 #: ../src/guestfs-actions.pod:2400 ../fish/guestfish-actions.pod:1908
7662 msgid "The full block device names are returned, eg. C</dev/sda>"
7663 msgstr ""
7664
7665 # type: =head2
7666 #: ../src/guestfs-actions.pod:2406
7667 msgid "guestfs_list_partitions"
7668 msgstr ""
7669
7670 # type: verbatim
7671 #: ../src/guestfs-actions.pod:2408
7672 #, no-wrap
7673 msgid ""
7674 " char **guestfs_list_partitions (guestfs_h *g);\n"
7675 "\n"
7676 msgstr ""
7677
7678 # type: textblock
7679 #: ../src/guestfs-actions.pod:2410 ../fish/guestfish-actions.pod:1914
7680 msgid "List all the partitions detected on all block devices."
7681 msgstr ""
7682
7683 # type: textblock
7684 #: ../src/guestfs-actions.pod:2412 ../fish/guestfish-actions.pod:1916
7685 msgid "The full partition device names are returned, eg. C</dev/sda1>"
7686 msgstr ""
7687
7688 # type: textblock
7689 #: ../src/guestfs-actions.pod:2414
7690 msgid ""
7691 "This does not return logical volumes.  For that you will need to call "
7692 "C<guestfs_lvs>."
7693 msgstr ""
7694
7695 # type: =head2
7696 #: ../src/guestfs-actions.pod:2421
7697 msgid "guestfs_ll"
7698 msgstr ""
7699
7700 # type: verbatim
7701 #: ../src/guestfs-actions.pod:2423
7702 #, no-wrap
7703 msgid ""
7704 " char *guestfs_ll (guestfs_h *g,\n"
7705 "\t\tconst char *directory);\n"
7706 "\n"
7707 msgstr ""
7708
7709 # type: textblock
7710 #: ../src/guestfs-actions.pod:2426 ../fish/guestfish-actions.pod:1925
7711 msgid ""
7712 "List the files in C<directory> (relative to the root directory, there is no "
7713 "cwd) in the format of 'ls -la'."
7714 msgstr ""
7715
7716 # type: textblock
7717 #: ../src/guestfs-actions.pod:2429 ../fish/guestfish-actions.pod:1928
7718 msgid ""
7719 "This command is mostly useful for interactive sessions.  It is I<not> "
7720 "intended that you try to parse the output string."
7721 msgstr ""
7722
7723 # type: =head2
7724 #: ../src/guestfs-actions.pod:2435
7725 msgid "guestfs_ln"
7726 msgstr ""
7727
7728 # type: verbatim
7729 #: ../src/guestfs-actions.pod:2437
7730 #, no-wrap
7731 msgid ""
7732 " int guestfs_ln (guestfs_h *g,\n"
7733 "\t\tconst char *target,\n"
7734 "\t\tconst char *linkname);\n"
7735 "\n"
7736 msgstr ""
7737
7738 # type: textblock
7739 #: ../src/guestfs-actions.pod:2441 ../fish/guestfish-actions.pod:1935
7740 msgid "This command creates a hard link using the C<ln> command."
7741 msgstr ""
7742
7743 # type: =head2
7744 #: ../src/guestfs-actions.pod:2445
7745 msgid "guestfs_ln_f"
7746 msgstr ""
7747
7748 # type: verbatim
7749 #: ../src/guestfs-actions.pod:2447
7750 #, no-wrap
7751 msgid ""
7752 " int guestfs_ln_f (guestfs_h *g,\n"
7753 "\t\tconst char *target,\n"
7754 "\t\tconst char *linkname);\n"
7755 "\n"
7756 msgstr ""
7757
7758 # type: textblock
7759 #: ../src/guestfs-actions.pod:2451 ../fish/guestfish-actions.pod:1941
7760 msgid ""
7761 "This command creates a hard link using the C<ln -f> command.  The C<-f> "
7762 "option removes the link (C<linkname>) if it exists already."
7763 msgstr ""
7764
7765 # type: =head2
7766 #: ../src/guestfs-actions.pod:2456
7767 msgid "guestfs_ln_s"
7768 msgstr ""
7769
7770 # type: verbatim
7771 #: ../src/guestfs-actions.pod:2458
7772 #, no-wrap
7773 msgid ""
7774 " int guestfs_ln_s (guestfs_h *g,\n"
7775 "\t\tconst char *target,\n"
7776 "\t\tconst char *linkname);\n"
7777 "\n"
7778 msgstr ""
7779
7780 # type: textblock
7781 #: ../src/guestfs-actions.pod:2462 ../fish/guestfish-actions.pod:1948
7782 msgid "This command creates a symbolic link using the C<ln -s> command."
7783 msgstr ""
7784
7785 # type: =head2
7786 #: ../src/guestfs-actions.pod:2466
7787 msgid "guestfs_ln_sf"
7788 msgstr ""
7789
7790 # type: verbatim
7791 #: ../src/guestfs-actions.pod:2468
7792 #, no-wrap
7793 msgid ""
7794 " int guestfs_ln_sf (guestfs_h *g,\n"
7795 "\t\tconst char *target,\n"
7796 "\t\tconst char *linkname);\n"
7797 "\n"
7798 msgstr ""
7799
7800 # type: textblock
7801 #: ../src/guestfs-actions.pod:2472 ../fish/guestfish-actions.pod:1954
7802 msgid ""
7803 "This command creates a symbolic link using the C<ln -sf> command, The C<-f> "
7804 "option removes the link (C<linkname>) if it exists already."
7805 msgstr ""
7806
7807 # type: =head2
7808 #: ../src/guestfs-actions.pod:2477
7809 msgid "guestfs_lremovexattr"
7810 msgstr ""
7811
7812 # type: verbatim
7813 #: ../src/guestfs-actions.pod:2479
7814 #, no-wrap
7815 msgid ""
7816 " int guestfs_lremovexattr (guestfs_h *g,\n"
7817 "\t\tconst char *xattr,\n"
7818 "\t\tconst char *path);\n"
7819 "\n"
7820 msgstr ""
7821
7822 # type: textblock
7823 #: ../src/guestfs-actions.pod:2483
7824 msgid ""
7825 "This is the same as C<guestfs_removexattr>, but if C<path> is a symbolic "
7826 "link, then it removes an extended attribute of the link itself."
7827 msgstr ""
7828
7829 # type: =head2
7830 #: ../src/guestfs-actions.pod:2489
7831 msgid "guestfs_ls"
7832 msgstr ""
7833
7834 # type: verbatim
7835 #: ../src/guestfs-actions.pod:2491
7836 #, no-wrap
7837 msgid ""
7838 " char **guestfs_ls (guestfs_h *g,\n"
7839 "\t\tconst char *directory);\n"
7840 "\n"
7841 msgstr ""
7842
7843 # type: textblock
7844 #: ../src/guestfs-actions.pod:2494 ../fish/guestfish-actions.pod:1969
7845 msgid ""
7846 "List the files in C<directory> (relative to the root directory, there is no "
7847 "cwd).  The '.' and '..' entries are not returned, but hidden files are "
7848 "shown."
7849 msgstr ""
7850
7851 # type: textblock
7852 #: ../src/guestfs-actions.pod:2498
7853 msgid ""
7854 "This command is mostly useful for interactive sessions.  Programs should "
7855 "probably use C<guestfs_readdir> instead."
7856 msgstr ""
7857
7858 # type: =head2
7859 #: ../src/guestfs-actions.pod:2505
7860 msgid "guestfs_lsetxattr"
7861 msgstr ""
7862
7863 # type: verbatim
7864 #: ../src/guestfs-actions.pod:2507
7865 #, no-wrap
7866 msgid ""
7867 " int guestfs_lsetxattr (guestfs_h *g,\n"
7868 "\t\tconst char *xattr,\n"
7869 "\t\tconst char *val,\n"
7870 "\t\tint vallen,\n"
7871 "\t\tconst char *path);\n"
7872 "\n"
7873 msgstr ""
7874
7875 # type: textblock
7876 #: ../src/guestfs-actions.pod:2513
7877 msgid ""
7878 "This is the same as C<guestfs_setxattr>, but if C<path> is a symbolic link, "
7879 "then it sets an extended attribute of the link itself."
7880 msgstr ""
7881
7882 # type: =head2
7883 #: ../src/guestfs-actions.pod:2519
7884 msgid "guestfs_lstat"
7885 msgstr ""
7886
7887 # type: verbatim
7888 #: ../src/guestfs-actions.pod:2521
7889 #, no-wrap
7890 msgid ""
7891 " struct guestfs_stat *guestfs_lstat (guestfs_h *g,\n"
7892 "\t\tconst char *path);\n"
7893 "\n"
7894 msgstr ""
7895
7896 # type: textblock
7897 #: ../src/guestfs-actions.pod:2524 ../src/guestfs-actions.pod:4507 ../fish/guestfish-actions.pod:1988 ../fish/guestfish-actions.pod:3477
7898 msgid "Returns file information for the given C<path>."
7899 msgstr ""
7900
7901 # type: textblock
7902 #: ../src/guestfs-actions.pod:2526
7903 msgid ""
7904 "This is the same as C<guestfs_stat> except that if C<path> is a symbolic "
7905 "link, then the link is stat-ed, not the file it refers to."
7906 msgstr ""
7907
7908 # type: textblock
7909 #: ../src/guestfs-actions.pod:2530 ../fish/guestfish-actions.pod:1994
7910 msgid "This is the same as the C<lstat(2)> system call."
7911 msgstr ""
7912
7913 # type: textblock
7914 #: ../src/guestfs-actions.pod:2532 ../src/guestfs-actions.pod:4511
7915 msgid ""
7916 "This function returns a C<struct guestfs_stat *>, or NULL if there was an "
7917 "error.  I<The caller must call C<guestfs_free_stat> after use>."
7918 msgstr ""
7919
7920 # type: =head2
7921 #: ../src/guestfs-actions.pod:2536
7922 msgid "guestfs_lstatlist"
7923 msgstr ""
7924
7925 # type: verbatim
7926 #: ../src/guestfs-actions.pod:2538
7927 #, no-wrap
7928 msgid ""
7929 " struct guestfs_stat_list *guestfs_lstatlist (guestfs_h *g,\n"
7930 "\t\tconst char *path,\n"
7931 "\t\tchar *const *names);\n"
7932 "\n"
7933 msgstr ""
7934
7935 # type: textblock
7936 #: ../src/guestfs-actions.pod:2542
7937 msgid ""
7938 "This call allows you to perform the C<guestfs_lstat> operation on multiple "
7939 "files, where all files are in the directory C<path>.  C<names> is the list "
7940 "of files from this directory."
7941 msgstr ""
7942
7943 # type: textblock
7944 #: ../src/guestfs-actions.pod:2546 ../fish/guestfish-actions.pod:2004
7945 msgid ""
7946 "On return you get a list of stat structs, with a one-to-one correspondence "
7947 "to the C<names> list.  If any name did not exist or could not be lstat'd, "
7948 "then the C<ino> field of that structure is set to C<-1>."
7949 msgstr ""
7950
7951 # type: textblock
7952 #: ../src/guestfs-actions.pod:2551
7953 msgid ""
7954 "This call is intended for programs that want to efficiently list a directory "
7955 "contents without making many round-trips.  See also C<guestfs_lxattrlist> "
7956 "for a similarly efficient call for getting extended attributes.  Very long "
7957 "directory listings might cause the protocol message size to be exceeded, "
7958 "causing this call to fail.  The caller must split up such requests into "
7959 "smaller groups of names."
7960 msgstr ""
7961
7962 # type: textblock
7963 #: ../src/guestfs-actions.pod:2559
7964 msgid ""
7965 "This function returns a C<struct guestfs_stat_list *> (see "
7966 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
7967 "must call C<guestfs_free_stat_list> after use>."
7968 msgstr ""
7969
7970 # type: =head2
7971 #: ../src/guestfs-actions.pod:2564
7972 msgid "guestfs_luks_add_key"
7973 msgstr ""
7974
7975 # type: verbatim
7976 #: ../src/guestfs-actions.pod:2566
7977 #, no-wrap
7978 msgid ""
7979 " int guestfs_luks_add_key (guestfs_h *g,\n"
7980 "\t\tconst char *device,\n"
7981 "\t\tconst char *key,\n"
7982 "\t\tconst char *newkey,\n"
7983 "\t\tint keyslot);\n"
7984 "\n"
7985 msgstr ""
7986
7987 # type: textblock
7988 #: ../src/guestfs-actions.pod:2572 ../fish/guestfish-actions.pod:2021
7989 msgid ""
7990 "This command adds a new key on LUKS device C<device>.  C<key> is any "
7991 "existing key, and is used to access the device.  C<newkey> is the new key to "
7992 "add.  C<keyslot> is the key slot that will be replaced."
7993 msgstr ""
7994
7995 # type: textblock
7996 #: ../src/guestfs-actions.pod:2577
7997 msgid ""
7998 "Note that if C<keyslot> already contains a key, then this command will "
7999 "fail.  You have to use C<guestfs_luks_kill_slot> first to remove that key."
8000 msgstr ""
8001
8002 # type: textblock
8003 #: ../src/guestfs-actions.pod:2583 ../src/guestfs-actions.pod:2617 ../src/guestfs-actions.pod:2637 ../src/guestfs-actions.pod:2654 ../src/guestfs-actions.pod:2683 ../src/guestfs-actions.pod:2699
8004 msgid ""
8005 "This function takes a key or passphrase parameter which could contain "
8006 "sensitive material.  Read the section L</KEYS AND PASSPHRASES> for more "
8007 "information."
8008 msgstr ""
8009
8010 # type: =head2
8011 #: ../src/guestfs-actions.pod:2587
8012 msgid "guestfs_luks_close"
8013 msgstr ""
8014
8015 # type: verbatim
8016 #: ../src/guestfs-actions.pod:2589
8017 #, no-wrap
8018 msgid ""
8019 " int guestfs_luks_close (guestfs_h *g,\n"
8020 "\t\tconst char *device);\n"
8021 "\n"
8022 msgstr ""
8023
8024 # type: textblock
8025 #: ../src/guestfs-actions.pod:2592
8026 msgid ""
8027 "This closes a LUKS device that was created earlier by C<guestfs_luks_open> "
8028 "or C<guestfs_luks_open_ro>.  The C<device> parameter must be the name of the "
8029 "LUKS mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
8030 "underlying block device."
8031 msgstr ""
8032
8033 # type: =head2
8034 #: ../src/guestfs-actions.pod:2600
8035 msgid "guestfs_luks_format"
8036 msgstr ""
8037
8038 # type: verbatim
8039 #: ../src/guestfs-actions.pod:2602
8040 #, no-wrap
8041 msgid ""
8042 " int guestfs_luks_format (guestfs_h *g,\n"
8043 "\t\tconst char *device,\n"
8044 "\t\tconst char *key,\n"
8045 "\t\tint keyslot);\n"
8046 "\n"
8047 msgstr ""
8048
8049 # type: textblock
8050 #: ../src/guestfs-actions.pod:2607 ../fish/guestfish-actions.pod:2047
8051 msgid ""
8052 "This command erases existing data on C<device> and formats the device as a "
8053 "LUKS encrypted device.  C<key> is the initial key, which is added to key "
8054 "slot C<slot>.  (LUKS supports 8 key slots, numbered 0-7)."
8055 msgstr ""
8056
8057 # type: textblock
8058 #: ../src/guestfs-actions.pod:2614 ../src/guestfs-actions.pod:2634 ../src/guestfs-actions.pod:2736 ../src/guestfs-actions.pod:3448 ../src/guestfs-actions.pod:4048 ../src/guestfs-actions.pod:4369 ../src/guestfs-actions.pod:4389 ../src/guestfs-actions.pod:4412 ../src/guestfs-actions.pod:5351 ../fish/guestfish-actions.pod:2055 ../fish/guestfish-actions.pod:2068 ../fish/guestfish-actions.pod:2139 ../fish/guestfish-actions.pod:2654 ../fish/guestfish-actions.pod:3118 ../fish/guestfish-actions.pod:3376 ../fish/guestfish-actions.pod:3392 ../fish/guestfish-actions.pod:3407 ../fish/guestfish-actions.pod:4095
8059 msgid ""
8060 "B<This command is dangerous.  Without careful use you can easily destroy all "
8061 "your data>."
8062 msgstr ""
8063
8064 # type: =head2
8065 #: ../src/guestfs-actions.pod:2621
8066 msgid "guestfs_luks_format_cipher"
8067 msgstr ""
8068
8069 # type: verbatim
8070 #: ../src/guestfs-actions.pod:2623
8071 #, no-wrap
8072 msgid ""
8073 " int guestfs_luks_format_cipher (guestfs_h *g,\n"
8074 "\t\tconst char *device,\n"
8075 "\t\tconst char *key,\n"
8076 "\t\tint keyslot,\n"
8077 "\t\tconst char *cipher);\n"
8078 "\n"
8079 msgstr ""
8080
8081 # type: textblock
8082 #: ../src/guestfs-actions.pod:2629
8083 msgid ""
8084 "This command is the same as C<guestfs_luks_format> but it also allows you to "
8085 "set the C<cipher> used."
8086 msgstr ""
8087
8088 # type: =head2
8089 #: ../src/guestfs-actions.pod:2641
8090 msgid "guestfs_luks_kill_slot"
8091 msgstr ""
8092
8093 # type: verbatim
8094 #: ../src/guestfs-actions.pod:2643
8095 #, no-wrap
8096 msgid ""
8097 " int guestfs_luks_kill_slot (guestfs_h *g,\n"
8098 "\t\tconst char *device,\n"
8099 "\t\tconst char *key,\n"
8100 "\t\tint keyslot);\n"
8101 "\n"
8102 msgstr ""
8103
8104 # type: textblock
8105 #: ../src/guestfs-actions.pod:2648 ../fish/guestfish-actions.pod:2075
8106 msgid ""
8107 "This command deletes the key in key slot C<keyslot> from the encrypted LUKS "
8108 "device C<device>.  C<key> must be one of the I<other> keys."
8109 msgstr ""
8110
8111 # type: =head2
8112 #: ../src/guestfs-actions.pod:2658
8113 msgid "guestfs_luks_open"
8114 msgstr ""
8115
8116 # type: verbatim
8117 #: ../src/guestfs-actions.pod:2660
8118 #, no-wrap
8119 msgid ""
8120 " int guestfs_luks_open (guestfs_h *g,\n"
8121 "\t\tconst char *device,\n"
8122 "\t\tconst char *key,\n"
8123 "\t\tconst char *mapname);\n"
8124 "\n"
8125 msgstr ""
8126
8127 # type: textblock
8128 #: ../src/guestfs-actions.pod:2665 ../fish/guestfish-actions.pod:2086
8129 msgid ""
8130 "This command opens a block device which has been encrypted according to the "
8131 "Linux Unified Key Setup (LUKS) standard."
8132 msgstr ""
8133
8134 # type: textblock
8135 #: ../src/guestfs-actions.pod:2668 ../fish/guestfish-actions.pod:2089
8136 msgid "C<device> is the encrypted block device or partition."
8137 msgstr ""
8138
8139 # type: textblock
8140 #: ../src/guestfs-actions.pod:2670 ../fish/guestfish-actions.pod:2091
8141 msgid ""
8142 "The caller must supply one of the keys associated with the LUKS block "
8143 "device, in the C<key> parameter."
8144 msgstr ""
8145
8146 # type: textblock
8147 #: ../src/guestfs-actions.pod:2673 ../fish/guestfish-actions.pod:2094
8148 msgid ""
8149 "This creates a new block device called C</dev/mapper/mapname>.  Reads and "
8150 "writes to this block device are decrypted from and encrypted to the "
8151 "underlying C<device> respectively."
8152 msgstr ""
8153
8154 # type: textblock
8155 #: ../src/guestfs-actions.pod:2677
8156 msgid ""
8157 "If this block device contains LVM volume groups, then calling "
8158 "C<guestfs_vgscan> followed by C<guestfs_vg_activate_all> will make them "
8159 "visible."
8160 msgstr ""
8161
8162 # type: =head2
8163 #: ../src/guestfs-actions.pod:2687
8164 msgid "guestfs_luks_open_ro"
8165 msgstr ""
8166
8167 # type: verbatim
8168 #: ../src/guestfs-actions.pod:2689
8169 #, no-wrap
8170 msgid ""
8171 " int guestfs_luks_open_ro (guestfs_h *g,\n"
8172 "\t\tconst char *device,\n"
8173 "\t\tconst char *key,\n"
8174 "\t\tconst char *mapname);\n"
8175 "\n"
8176 msgstr ""
8177
8178 # type: textblock
8179 #: ../src/guestfs-actions.pod:2694
8180 msgid ""
8181 "This is the same as C<guestfs_luks_open> except that a read-only mapping is "
8182 "created."
8183 msgstr ""
8184
8185 # type: =head2
8186 #: ../src/guestfs-actions.pod:2703
8187 msgid "guestfs_lvcreate"
8188 msgstr ""
8189
8190 # type: verbatim
8191 #: ../src/guestfs-actions.pod:2705
8192 #, no-wrap
8193 msgid ""
8194 " int guestfs_lvcreate (guestfs_h *g,\n"
8195 "\t\tconst char *logvol,\n"
8196 "\t\tconst char *volgroup,\n"
8197 "\t\tint mbytes);\n"
8198 "\n"
8199 msgstr ""
8200
8201 # type: textblock
8202 #: ../src/guestfs-actions.pod:2710 ../fish/guestfish-actions.pod:2119
8203 msgid ""
8204 "This creates an LVM logical volume called C<logvol> on the volume group "
8205 "C<volgroup>, with C<size> megabytes."
8206 msgstr ""
8207
8208 # type: =head2
8209 #: ../src/guestfs-actions.pod:2715
8210 msgid "guestfs_lvm_clear_filter"
8211 msgstr ""
8212
8213 # type: verbatim
8214 #: ../src/guestfs-actions.pod:2717
8215 #, no-wrap
8216 msgid ""
8217 " int guestfs_lvm_clear_filter (guestfs_h *g);\n"
8218 "\n"
8219 msgstr ""
8220
8221 # type: textblock
8222 #: ../src/guestfs-actions.pod:2719
8223 msgid ""
8224 "This undoes the effect of C<guestfs_lvm_set_filter>.  LVM will be able to "
8225 "see every block device."
8226 msgstr ""
8227
8228 # type: textblock
8229 #: ../src/guestfs-actions.pod:2722 ../src/guestfs-actions.pod:2758 ../fish/guestfish-actions.pod:2129 ../fish/guestfish-actions.pod:2160
8230 msgid "This command also clears the LVM cache and performs a volume group scan."
8231 msgstr ""
8232
8233 # type: =head2
8234 #: ../src/guestfs-actions.pod:2727
8235 msgid "guestfs_lvm_remove_all"
8236 msgstr ""
8237
8238 # type: verbatim
8239 #: ../src/guestfs-actions.pod:2729
8240 #, no-wrap
8241 msgid ""
8242 " int guestfs_lvm_remove_all (guestfs_h *g);\n"
8243 "\n"
8244 msgstr ""
8245
8246 # type: textblock
8247 #: ../src/guestfs-actions.pod:2731 ../fish/guestfish-actions.pod:2136
8248 msgid ""
8249 "This command removes all LVM logical volumes, volume groups and physical "
8250 "volumes."
8251 msgstr ""
8252
8253 # type: =head2
8254 #: ../src/guestfs-actions.pod:2739
8255 msgid "guestfs_lvm_set_filter"
8256 msgstr ""
8257
8258 # type: verbatim
8259 #: ../src/guestfs-actions.pod:2741
8260 #, no-wrap
8261 msgid ""
8262 " int guestfs_lvm_set_filter (guestfs_h *g,\n"
8263 "\t\tchar *const *devices);\n"
8264 "\n"
8265 msgstr ""
8266
8267 # type: textblock
8268 #: ../src/guestfs-actions.pod:2744 ../fish/guestfish-actions.pod:2146
8269 msgid ""
8270 "This sets the LVM device filter so that LVM will only be able to \"see\" the "
8271 "block devices in the list C<devices>, and will ignore all other attached "
8272 "block devices."
8273 msgstr ""
8274
8275 # type: textblock
8276 #: ../src/guestfs-actions.pod:2748 ../fish/guestfish-actions.pod:2150
8277 msgid ""
8278 "Where disk image(s) contain duplicate PVs or VGs, this command is useful to "
8279 "get LVM to ignore the duplicates, otherwise LVM can get confused.  Note also "
8280 "there are two types of duplication possible: either cloned PVs/VGs which "
8281 "have identical UUIDs; or VGs that are not cloned but just happen to have the "
8282 "same name.  In normal operation you cannot create this situation, but you "
8283 "can do it outside LVM, eg.  by cloning disk images or by bit twiddling "
8284 "inside the LVM metadata."
8285 msgstr ""
8286
8287 # type: textblock
8288 #: ../src/guestfs-actions.pod:2761 ../fish/guestfish-actions.pod:2163
8289 msgid "You can filter whole block devices or individual partitions."
8290 msgstr ""
8291
8292 # type: textblock
8293 #: ../src/guestfs-actions.pod:2763 ../fish/guestfish-actions.pod:2165
8294 msgid ""
8295 "You cannot use this if any VG is currently in use (eg.  contains a mounted "
8296 "filesystem), even if you are not filtering out that VG."
8297 msgstr ""
8298
8299 # type: =head2
8300 #: ../src/guestfs-actions.pod:2769
8301 msgid "guestfs_lvremove"
8302 msgstr ""
8303
8304 # type: verbatim
8305 #: ../src/guestfs-actions.pod:2771
8306 #, no-wrap
8307 msgid ""
8308 " int guestfs_lvremove (guestfs_h *g,\n"
8309 "\t\tconst char *device);\n"
8310 "\n"
8311 msgstr ""
8312
8313 # type: textblock
8314 #: ../src/guestfs-actions.pod:2774 ../fish/guestfish-actions.pod:2173
8315 msgid ""
8316 "Remove an LVM logical volume C<device>, where C<device> is the path to the "
8317 "LV, such as C</dev/VG/LV>."
8318 msgstr ""
8319
8320 # type: textblock
8321 #: ../src/guestfs-actions.pod:2777 ../fish/guestfish-actions.pod:2176
8322 msgid ""
8323 "You can also remove all LVs in a volume group by specifying the VG name, "
8324 "C</dev/VG>."
8325 msgstr ""
8326
8327 # type: =head2
8328 #: ../src/guestfs-actions.pod:2782
8329 msgid "guestfs_lvrename"
8330 msgstr ""
8331
8332 # type: verbatim
8333 #: ../src/guestfs-actions.pod:2784
8334 #, no-wrap
8335 msgid ""
8336 " int guestfs_lvrename (guestfs_h *g,\n"
8337 "\t\tconst char *logvol,\n"
8338 "\t\tconst char *newlogvol);\n"
8339 "\n"
8340 msgstr ""
8341
8342 # type: textblock
8343 #: ../src/guestfs-actions.pod:2788 ../fish/guestfish-actions.pod:2183
8344 msgid "Rename a logical volume C<logvol> with the new name C<newlogvol>."
8345 msgstr ""
8346
8347 # type: =head2
8348 #: ../src/guestfs-actions.pod:2792
8349 msgid "guestfs_lvresize"
8350 msgstr ""
8351
8352 # type: verbatim
8353 #: ../src/guestfs-actions.pod:2794
8354 #, no-wrap
8355 msgid ""
8356 " int guestfs_lvresize (guestfs_h *g,\n"
8357 "\t\tconst char *device,\n"
8358 "\t\tint mbytes);\n"
8359 "\n"
8360 msgstr ""
8361
8362 # type: textblock
8363 #: ../src/guestfs-actions.pod:2798 ../fish/guestfish-actions.pod:2189
8364 msgid ""
8365 "This resizes (expands or shrinks) an existing LVM logical volume to "
8366 "C<mbytes>.  When reducing, data in the reduced part is lost."
8367 msgstr ""
8368
8369 # type: =head2
8370 #: ../src/guestfs-actions.pod:2804
8371 msgid "guestfs_lvresize_free"
8372 msgstr ""
8373
8374 # type: verbatim
8375 #: ../src/guestfs-actions.pod:2806
8376 #, no-wrap
8377 msgid ""
8378 " int guestfs_lvresize_free (guestfs_h *g,\n"
8379 "\t\tconst char *lv,\n"
8380 "\t\tint percent);\n"
8381 "\n"
8382 msgstr ""
8383
8384 # type: textblock
8385 #: ../src/guestfs-actions.pod:2810 ../fish/guestfish-actions.pod:2197
8386 msgid ""
8387 "This expands an existing logical volume C<lv> so that it fills C<pc>% of the "
8388 "remaining free space in the volume group.  Commonly you would call this with "
8389 "pc = 100 which expands the logical volume as much as possible, using all "
8390 "remaining free space in the volume group."
8391 msgstr ""
8392
8393 # type: =head2
8394 #: ../src/guestfs-actions.pod:2818
8395 msgid "guestfs_lvs"
8396 msgstr ""
8397
8398 # type: verbatim
8399 #: ../src/guestfs-actions.pod:2820
8400 #, no-wrap
8401 msgid ""
8402 " char **guestfs_lvs (guestfs_h *g);\n"
8403 "\n"
8404 msgstr ""
8405
8406 # type: textblock
8407 #: ../src/guestfs-actions.pod:2822 ../fish/guestfish-actions.pod:2207
8408 msgid ""
8409 "List all the logical volumes detected.  This is the equivalent of the "
8410 "L<lvs(8)> command."
8411 msgstr ""
8412
8413 # type: textblock
8414 #: ../src/guestfs-actions.pod:2825 ../fish/guestfish-actions.pod:2210
8415 msgid ""
8416 "This returns a list of the logical volume device names "
8417 "(eg. C</dev/VolGroup00/LogVol00>)."
8418 msgstr ""
8419
8420 # type: textblock
8421 #: ../src/guestfs-actions.pod:2828
8422 msgid "See also C<guestfs_lvs_full>."
8423 msgstr ""
8424
8425 # type: =head2
8426 #: ../src/guestfs-actions.pod:2834
8427 msgid "guestfs_lvs_full"
8428 msgstr ""
8429
8430 # type: verbatim
8431 #: ../src/guestfs-actions.pod:2836
8432 #, no-wrap
8433 msgid ""
8434 " struct guestfs_lvm_lv_list *guestfs_lvs_full (guestfs_h *g);\n"
8435 "\n"
8436 msgstr ""
8437
8438 # type: textblock
8439 #: ../src/guestfs-actions.pod:2838 ../fish/guestfish-actions.pod:2219
8440 msgid ""
8441 "List all the logical volumes detected.  This is the equivalent of the "
8442 "L<lvs(8)> command.  The \"full\" version includes all fields."
8443 msgstr ""
8444
8445 # type: textblock
8446 #: ../src/guestfs-actions.pod:2841
8447 msgid ""
8448 "This function returns a C<struct guestfs_lvm_lv_list *> (see "
8449 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
8450 "must call C<guestfs_free_lvm_lv_list> after use>."
8451 msgstr ""
8452
8453 # type: =head2
8454 #: ../src/guestfs-actions.pod:2846
8455 msgid "guestfs_lvuuid"
8456 msgstr ""
8457
8458 # type: verbatim
8459 #: ../src/guestfs-actions.pod:2848
8460 #, no-wrap
8461 msgid ""
8462 " char *guestfs_lvuuid (guestfs_h *g,\n"
8463 "\t\tconst char *device);\n"
8464 "\n"
8465 msgstr ""
8466
8467 # type: textblock
8468 #: ../src/guestfs-actions.pod:2851 ../fish/guestfish-actions.pod:2226
8469 msgid "This command returns the UUID of the LVM LV C<device>."
8470 msgstr ""
8471
8472 # type: =head2
8473 #: ../src/guestfs-actions.pod:2856
8474 msgid "guestfs_lxattrlist"
8475 msgstr ""
8476
8477 # type: verbatim
8478 #: ../src/guestfs-actions.pod:2858
8479 #, no-wrap
8480 msgid ""
8481 " struct guestfs_xattr_list *guestfs_lxattrlist (guestfs_h *g,\n"
8482 "\t\tconst char *path,\n"
8483 "\t\tchar *const *names);\n"
8484 "\n"
8485 msgstr ""
8486
8487 # type: textblock
8488 #: ../src/guestfs-actions.pod:2862 ../fish/guestfish-actions.pod:2232
8489 msgid ""
8490 "This call allows you to get the extended attributes of multiple files, where "
8491 "all files are in the directory C<path>.  C<names> is the list of files from "
8492 "this directory."
8493 msgstr ""
8494
8495 # type: textblock
8496 #: ../src/guestfs-actions.pod:2866 ../fish/guestfish-actions.pod:2236
8497 msgid ""
8498 "On return you get a flat list of xattr structs which must be interpreted "
8499 "sequentially.  The first xattr struct always has a zero-length C<attrname>.  "
8500 "C<attrval> in this struct is zero-length to indicate there was an error "
8501 "doing C<lgetxattr> for this file, I<or> is a C string which is a decimal "
8502 "number (the number of following attributes for this file, which could be "
8503 "C<\"0\">).  Then after the first xattr struct are the zero or more "
8504 "attributes for the first named file.  This repeats for the second and "
8505 "subsequent files."
8506 msgstr ""
8507
8508 # type: textblock
8509 #: ../src/guestfs-actions.pod:2876
8510 msgid ""
8511 "This call is intended for programs that want to efficiently list a directory "
8512 "contents without making many round-trips.  See also C<guestfs_lstatlist> for "
8513 "a similarly efficient call for getting standard stats.  Very long directory "
8514 "listings might cause the protocol message size to be exceeded, causing this "
8515 "call to fail.  The caller must split up such requests into smaller groups of "
8516 "names."
8517 msgstr ""
8518
8519 # type: =head2
8520 #: ../src/guestfs-actions.pod:2889
8521 msgid "guestfs_mkdir"
8522 msgstr ""
8523
8524 # type: verbatim
8525 #: ../src/guestfs-actions.pod:2891
8526 #, no-wrap
8527 msgid ""
8528 " int guestfs_mkdir (guestfs_h *g,\n"
8529 "\t\tconst char *path);\n"
8530 "\n"
8531 msgstr ""
8532
8533 # type: textblock
8534 #: ../src/guestfs-actions.pod:2894 ../fish/guestfish-actions.pod:2258
8535 msgid "Create a directory named C<path>."
8536 msgstr ""
8537
8538 # type: =head2
8539 #: ../src/guestfs-actions.pod:2898
8540 msgid "guestfs_mkdir_mode"
8541 msgstr ""
8542
8543 # type: verbatim
8544 #: ../src/guestfs-actions.pod:2900
8545 #, no-wrap
8546 msgid ""
8547 " int guestfs_mkdir_mode (guestfs_h *g,\n"
8548 "\t\tconst char *path,\n"
8549 "\t\tint mode);\n"
8550 "\n"
8551 msgstr ""
8552
8553 # type: textblock
8554 #: ../src/guestfs-actions.pod:2904 ../fish/guestfish-actions.pod:2264
8555 msgid ""
8556 "This command creates a directory, setting the initial permissions of the "
8557 "directory to C<mode>."
8558 msgstr ""
8559
8560 # type: textblock
8561 #: ../src/guestfs-actions.pod:2907 ../fish/guestfish-actions.pod:2267
8562 msgid ""
8563 "For common Linux filesystems, the actual mode which is set will be C<mode & "
8564 "~umask & 01777>.  Non-native-Linux filesystems may interpret the mode in "
8565 "other ways."
8566 msgstr ""
8567
8568 # type: textblock
8569 #: ../src/guestfs-actions.pod:2911
8570 msgid "See also C<guestfs_mkdir>, C<guestfs_umask>"
8571 msgstr ""
8572
8573 # type: =head2
8574 #: ../src/guestfs-actions.pod:2915
8575 msgid "guestfs_mkdir_p"
8576 msgstr ""
8577
8578 # type: verbatim
8579 #: ../src/guestfs-actions.pod:2917
8580 #, no-wrap
8581 msgid ""
8582 " int guestfs_mkdir_p (guestfs_h *g,\n"
8583 "\t\tconst char *path);\n"
8584 "\n"
8585 msgstr ""
8586
8587 # type: textblock
8588 #: ../src/guestfs-actions.pod:2920 ../fish/guestfish-actions.pod:2277
8589 msgid ""
8590 "Create a directory named C<path>, creating any parent directories as "
8591 "necessary.  This is like the C<mkdir -p> shell command."
8592 msgstr ""
8593
8594 # type: =head2
8595 #: ../src/guestfs-actions.pod:2925
8596 msgid "guestfs_mkdtemp"
8597 msgstr ""
8598
8599 # type: verbatim
8600 #: ../src/guestfs-actions.pod:2927
8601 #, no-wrap
8602 msgid ""
8603 " char *guestfs_mkdtemp (guestfs_h *g,\n"
8604 "\t\tconst char *template);\n"
8605 "\n"
8606 msgstr ""
8607
8608 # type: textblock
8609 #: ../src/guestfs-actions.pod:2930 ../fish/guestfish-actions.pod:2284
8610 msgid ""
8611 "This command creates a temporary directory.  The C<template> parameter "
8612 "should be a full pathname for the temporary directory name with the final "
8613 "six characters being \"XXXXXX\"."
8614 msgstr ""
8615
8616 # type: textblock
8617 #: ../src/guestfs-actions.pod:2935 ../fish/guestfish-actions.pod:2289
8618 msgid ""
8619 "For example: \"/tmp/myprogXXXXXX\" or \"/Temp/myprogXXXXXX\", the second one "
8620 "being suitable for Windows filesystems."
8621 msgstr ""
8622
8623 # type: textblock
8624 #: ../src/guestfs-actions.pod:2938 ../fish/guestfish-actions.pod:2292
8625 msgid "The name of the temporary directory that was created is returned."
8626 msgstr ""
8627
8628 # type: textblock
8629 #: ../src/guestfs-actions.pod:2941 ../fish/guestfish-actions.pod:2295
8630 msgid "The temporary directory is created with mode 0700 and is owned by root."
8631 msgstr ""
8632
8633 # type: textblock
8634 #: ../src/guestfs-actions.pod:2944 ../fish/guestfish-actions.pod:2298
8635 msgid ""
8636 "The caller is responsible for deleting the temporary directory and its "
8637 "contents after use."
8638 msgstr ""
8639
8640 # type: textblock
8641 #: ../src/guestfs-actions.pod:2947 ../fish/guestfish-actions.pod:2301
8642 msgid "See also: L<mkdtemp(3)>"
8643 msgstr ""
8644
8645 # type: =head2
8646 #: ../src/guestfs-actions.pod:2952
8647 msgid "guestfs_mke2fs_J"
8648 msgstr ""
8649
8650 # type: verbatim
8651 #: ../src/guestfs-actions.pod:2954
8652 #, no-wrap
8653 msgid ""
8654 " int guestfs_mke2fs_J (guestfs_h *g,\n"
8655 "\t\tconst char *fstype,\n"
8656 "\t\tint blocksize,\n"
8657 "\t\tconst char *device,\n"
8658 "\t\tconst char *journal);\n"
8659 "\n"
8660 msgstr ""
8661
8662 # type: textblock
8663 #: ../src/guestfs-actions.pod:2960 ../fish/guestfish-actions.pod:2307
8664 msgid ""
8665 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
8666 "C<journal>.  It is equivalent to the command:"
8667 msgstr ""
8668
8669 # type: verbatim
8670 #: ../src/guestfs-actions.pod:2964 ../fish/guestfish-actions.pod:2311
8671 #, no-wrap
8672 msgid ""
8673 " mke2fs -t fstype -b blocksize -J device=<journal> <device>\n"
8674 "\n"
8675 msgstr ""
8676
8677 # type: textblock
8678 #: ../src/guestfs-actions.pod:2966
8679 msgid "See also C<guestfs_mke2journal>."
8680 msgstr ""
8681
8682 # type: =head2
8683 #: ../src/guestfs-actions.pod:2970
8684 msgid "guestfs_mke2fs_JL"
8685 msgstr ""
8686
8687 # type: verbatim
8688 #: ../src/guestfs-actions.pod:2972
8689 #, no-wrap
8690 msgid ""
8691 " int guestfs_mke2fs_JL (guestfs_h *g,\n"
8692 "\t\tconst char *fstype,\n"
8693 "\t\tint blocksize,\n"
8694 "\t\tconst char *device,\n"
8695 "\t\tconst char *label);\n"
8696 "\n"
8697 msgstr ""
8698
8699 # type: textblock
8700 #: ../src/guestfs-actions.pod:2978 ../fish/guestfish-actions.pod:2319
8701 msgid ""
8702 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
8703 "the journal labeled C<label>."
8704 msgstr ""
8705
8706 # type: textblock
8707 #: ../src/guestfs-actions.pod:2981
8708 msgid "See also C<guestfs_mke2journal_L>."
8709 msgstr ""
8710
8711 # type: =head2
8712 #: ../src/guestfs-actions.pod:2985
8713 msgid "guestfs_mke2fs_JU"
8714 msgstr ""
8715
8716 # type: verbatim
8717 #: ../src/guestfs-actions.pod:2987
8718 #, no-wrap
8719 msgid ""
8720 " int guestfs_mke2fs_JU (guestfs_h *g,\n"
8721 "\t\tconst char *fstype,\n"
8722 "\t\tint blocksize,\n"
8723 "\t\tconst char *device,\n"
8724 "\t\tconst char *uuid);\n"
8725 "\n"
8726 msgstr ""
8727
8728 # type: textblock
8729 #: ../src/guestfs-actions.pod:2993 ../fish/guestfish-actions.pod:2328
8730 msgid ""
8731 "This creates an ext2/3/4 filesystem on C<device> with an external journal on "
8732 "the journal with UUID C<uuid>."
8733 msgstr ""
8734
8735 # type: textblock
8736 #: ../src/guestfs-actions.pod:2996
8737 msgid "See also C<guestfs_mke2journal_U>."
8738 msgstr ""
8739
8740 # type: =head2
8741 #: ../src/guestfs-actions.pod:3000
8742 msgid "guestfs_mke2journal"
8743 msgstr ""
8744
8745 # type: verbatim
8746 #: ../src/guestfs-actions.pod:3002
8747 #, no-wrap
8748 msgid ""
8749 " int guestfs_mke2journal (guestfs_h *g,\n"
8750 "\t\tint blocksize,\n"
8751 "\t\tconst char *device);\n"
8752 "\n"
8753 msgstr ""
8754
8755 # type: textblock
8756 #: ../src/guestfs-actions.pod:3006 ../fish/guestfish-actions.pod:2337
8757 msgid ""
8758 "This creates an ext2 external journal on C<device>.  It is equivalent to the "
8759 "command:"
8760 msgstr ""
8761
8762 # type: verbatim
8763 #: ../src/guestfs-actions.pod:3009 ../fish/guestfish-actions.pod:2340
8764 #, no-wrap
8765 msgid ""
8766 " mke2fs -O journal_dev -b blocksize device\n"
8767 "\n"
8768 msgstr ""
8769
8770 # type: =head2
8771 #: ../src/guestfs-actions.pod:3013
8772 msgid "guestfs_mke2journal_L"
8773 msgstr ""
8774
8775 # type: verbatim
8776 #: ../src/guestfs-actions.pod:3015
8777 #, no-wrap
8778 msgid ""
8779 " int guestfs_mke2journal_L (guestfs_h *g,\n"
8780 "\t\tint blocksize,\n"
8781 "\t\tconst char *label,\n"
8782 "\t\tconst char *device);\n"
8783 "\n"
8784 msgstr ""
8785
8786 # type: textblock
8787 #: ../src/guestfs-actions.pod:3020 ../fish/guestfish-actions.pod:2346
8788 msgid "This creates an ext2 external journal on C<device> with label C<label>."
8789 msgstr ""
8790
8791 # type: =head2
8792 #: ../src/guestfs-actions.pod:3024
8793 msgid "guestfs_mke2journal_U"
8794 msgstr ""
8795
8796 # type: verbatim
8797 #: ../src/guestfs-actions.pod:3026
8798 #, no-wrap
8799 msgid ""
8800 " int guestfs_mke2journal_U (guestfs_h *g,\n"
8801 "\t\tint blocksize,\n"
8802 "\t\tconst char *uuid,\n"
8803 "\t\tconst char *device);\n"
8804 "\n"
8805 msgstr ""
8806
8807 # type: textblock
8808 #: ../src/guestfs-actions.pod:3031 ../fish/guestfish-actions.pod:2352
8809 msgid "This creates an ext2 external journal on C<device> with UUID C<uuid>."
8810 msgstr ""
8811
8812 # type: =head2
8813 #: ../src/guestfs-actions.pod:3035
8814 msgid "guestfs_mkfifo"
8815 msgstr ""
8816
8817 # type: verbatim
8818 #: ../src/guestfs-actions.pod:3037
8819 #, no-wrap
8820 msgid ""
8821 " int guestfs_mkfifo (guestfs_h *g,\n"
8822 "\t\tint mode,\n"
8823 "\t\tconst char *path);\n"
8824 "\n"
8825 msgstr ""
8826
8827 # type: textblock
8828 #: ../src/guestfs-actions.pod:3041
8829 msgid ""
8830 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
8831 "is just a convenient wrapper around C<guestfs_mknod>."
8832 msgstr ""
8833
8834 # type: =head2
8835 #: ../src/guestfs-actions.pod:3049
8836 msgid "guestfs_mkfs"
8837 msgstr ""
8838
8839 # type: verbatim
8840 #: ../src/guestfs-actions.pod:3051
8841 #, no-wrap
8842 msgid ""
8843 " int guestfs_mkfs (guestfs_h *g,\n"
8844 "\t\tconst char *fstype,\n"
8845 "\t\tconst char *device);\n"
8846 "\n"
8847 msgstr ""
8848
8849 # type: textblock
8850 #: ../src/guestfs-actions.pod:3055 ../fish/guestfish-actions.pod:2368
8851 msgid ""
8852 "This creates a filesystem on C<device> (usually a partition or LVM logical "
8853 "volume).  The filesystem type is C<fstype>, for example C<ext3>."
8854 msgstr ""
8855
8856 # type: =head2
8857 #: ../src/guestfs-actions.pod:3061
8858 msgid "guestfs_mkfs_b"
8859 msgstr ""
8860
8861 # type: verbatim
8862 #: ../src/guestfs-actions.pod:3063
8863 #, no-wrap
8864 msgid ""
8865 " int guestfs_mkfs_b (guestfs_h *g,\n"
8866 "\t\tconst char *fstype,\n"
8867 "\t\tint blocksize,\n"
8868 "\t\tconst char *device);\n"
8869 "\n"
8870 msgstr ""
8871
8872 # type: textblock
8873 #: ../src/guestfs-actions.pod:3068
8874 msgid ""
8875 "This call is similar to C<guestfs_mkfs>, but it allows you to control the "
8876 "block size of the resulting filesystem.  Supported block sizes depend on the "
8877 "filesystem type, but typically they are C<1024>, C<2048> or C<4096> only."
8878 msgstr ""
8879
8880 # type: textblock
8881 #: ../src/guestfs-actions.pod:3073 ../fish/guestfish-actions.pod:2381
8882 msgid ""
8883 "For VFAT and NTFS the C<blocksize> parameter is treated as the requested "
8884 "cluster size."
8885 msgstr ""
8886
8887 # type: =head2
8888 #: ../src/guestfs-actions.pod:3078
8889 msgid "guestfs_mkmountpoint"
8890 msgstr ""
8891
8892 # type: verbatim
8893 #: ../src/guestfs-actions.pod:3080
8894 #, no-wrap
8895 msgid ""
8896 " int guestfs_mkmountpoint (guestfs_h *g,\n"
8897 "\t\tconst char *exemptpath);\n"
8898 "\n"
8899 msgstr ""
8900
8901 # type: textblock
8902 #: ../src/guestfs-actions.pod:3083
8903 msgid ""
8904 "C<guestfs_mkmountpoint> and C<guestfs_rmmountpoint> are specialized calls "
8905 "that can be used to create extra mountpoints before mounting the first "
8906 "filesystem."
8907 msgstr ""
8908
8909 # type: textblock
8910 #: ../src/guestfs-actions.pod:3087 ../fish/guestfish-actions.pod:2392
8911 msgid ""
8912 "These calls are I<only> necessary in some very limited circumstances, mainly "
8913 "the case where you want to mount a mix of unrelated and/or read-only "
8914 "filesystems together."
8915 msgstr ""
8916
8917 # type: textblock
8918 #: ../src/guestfs-actions.pod:3091 ../fish/guestfish-actions.pod:2396
8919 msgid ""
8920 "For example, live CDs often contain a \"Russian doll\" nest of filesystems, "
8921 "an ISO outer layer, with a squashfs image inside, with an ext2/3 image "
8922 "inside that.  You can unpack this as follows in guestfish:"
8923 msgstr ""
8924
8925 # type: verbatim
8926 #: ../src/guestfs-actions.pod:3096 ../fish/guestfish-actions.pod:2401
8927 #, no-wrap
8928 msgid ""
8929 " add-ro Fedora-11-i686-Live.iso\n"
8930 " run\n"
8931 " mkmountpoint /cd\n"
8932 " mkmountpoint /squash\n"
8933 " mkmountpoint /ext3\n"
8934 " mount /dev/sda /cd\n"
8935 " mount-loop /cd/LiveOS/squashfs.img /squash\n"
8936 " mount-loop /squash/LiveOS/ext3fs.img /ext3\n"
8937 "\n"
8938 msgstr ""
8939
8940 # type: textblock
8941 #: ../src/guestfs-actions.pod:3105 ../fish/guestfish-actions.pod:2410
8942 msgid "The inner filesystem is now unpacked under the /ext3 mountpoint."
8943 msgstr ""
8944
8945 # type: =head2
8946 #: ../src/guestfs-actions.pod:3109
8947 msgid "guestfs_mknod"
8948 msgstr ""
8949
8950 # type: verbatim
8951 #: ../src/guestfs-actions.pod:3111
8952 #, no-wrap
8953 msgid ""
8954 " int guestfs_mknod (guestfs_h *g,\n"
8955 "\t\tint mode,\n"
8956 "\t\tint devmajor,\n"
8957 "\t\tint devminor,\n"
8958 "\t\tconst char *path);\n"
8959 "\n"
8960 msgstr ""
8961
8962 # type: textblock
8963 #: ../src/guestfs-actions.pod:3117 ../fish/guestfish-actions.pod:2416
8964 msgid ""
8965 "This call creates block or character special devices, or named pipes "
8966 "(FIFOs)."
8967 msgstr ""
8968
8969 # type: textblock
8970 #: ../src/guestfs-actions.pod:3120 ../fish/guestfish-actions.pod:2419
8971 msgid ""
8972 "The C<mode> parameter should be the mode, using the standard constants.  "
8973 "C<devmajor> and C<devminor> are the device major and minor numbers, only "
8974 "used when creating block and character special devices."
8975 msgstr ""
8976
8977 # type: textblock
8978 #: ../src/guestfs-actions.pod:3125
8979 msgid ""
8980 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
8981 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
8982 "regular file).  These constants are available in the standard Linux header "
8983 "files, or you can use C<guestfs_mknod_b>, C<guestfs_mknod_c> or "
8984 "C<guestfs_mkfifo> which are wrappers around this command which bitwise OR in "
8985 "the appropriate constant for you."
8986 msgstr ""
8987
8988 # type: =head2
8989 #: ../src/guestfs-actions.pod:3137
8990 msgid "guestfs_mknod_b"
8991 msgstr ""
8992
8993 # type: verbatim
8994 #: ../src/guestfs-actions.pod:3139
8995 #, no-wrap
8996 msgid ""
8997 " int guestfs_mknod_b (guestfs_h *g,\n"
8998 "\t\tint mode,\n"
8999 "\t\tint devmajor,\n"
9000 "\t\tint devminor,\n"
9001 "\t\tconst char *path);\n"
9002 "\n"
9003 msgstr ""
9004
9005 # type: textblock
9006 #: ../src/guestfs-actions.pod:3145
9007 msgid ""
9008 "This call creates a block device node called C<path> with mode C<mode> and "
9009 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9010 "wrapper around C<guestfs_mknod>."
9011 msgstr ""
9012
9013 # type: =head2
9014 #: ../src/guestfs-actions.pod:3153
9015 msgid "guestfs_mknod_c"
9016 msgstr ""
9017
9018 # type: verbatim
9019 #: ../src/guestfs-actions.pod:3155
9020 #, no-wrap
9021 msgid ""
9022 " int guestfs_mknod_c (guestfs_h *g,\n"
9023 "\t\tint mode,\n"
9024 "\t\tint devmajor,\n"
9025 "\t\tint devminor,\n"
9026 "\t\tconst char *path);\n"
9027 "\n"
9028 msgstr ""
9029
9030 # type: textblock
9031 #: ../src/guestfs-actions.pod:3161
9032 msgid ""
9033 "This call creates a char device node called C<path> with mode C<mode> and "
9034 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
9035 "wrapper around C<guestfs_mknod>."
9036 msgstr ""
9037
9038 # type: =head2
9039 #: ../src/guestfs-actions.pod:3169
9040 msgid "guestfs_mkswap"
9041 msgstr ""
9042
9043 # type: verbatim
9044 #: ../src/guestfs-actions.pod:3171
9045 #, no-wrap
9046 msgid ""
9047 " int guestfs_mkswap (guestfs_h *g,\n"
9048 "\t\tconst char *device);\n"
9049 "\n"
9050 msgstr ""
9051
9052 # type: textblock
9053 #: ../src/guestfs-actions.pod:3174 ../fish/guestfish-actions.pod:2458
9054 msgid "Create a swap partition on C<device>."
9055 msgstr ""
9056
9057 # type: =head2
9058 #: ../src/guestfs-actions.pod:3178
9059 msgid "guestfs_mkswap_L"
9060 msgstr ""
9061
9062 # type: verbatim
9063 #: ../src/guestfs-actions.pod:3180
9064 #, no-wrap
9065 msgid ""
9066 " int guestfs_mkswap_L (guestfs_h *g,\n"
9067 "\t\tconst char *label,\n"
9068 "\t\tconst char *device);\n"
9069 "\n"
9070 msgstr ""
9071
9072 # type: textblock
9073 #: ../src/guestfs-actions.pod:3184 ../fish/guestfish-actions.pod:2464
9074 msgid "Create a swap partition on C<device> with label C<label>."
9075 msgstr ""
9076
9077 # type: textblock
9078 #: ../src/guestfs-actions.pod:3186 ../fish/guestfish-actions.pod:2466
9079 msgid ""
9080 "Note that you cannot attach a swap label to a block device "
9081 "(eg. C</dev/sda>), just to a partition.  This appears to be a limitation of "
9082 "the kernel or swap tools."
9083 msgstr ""
9084
9085 # type: =head2
9086 #: ../src/guestfs-actions.pod:3192
9087 msgid "guestfs_mkswap_U"
9088 msgstr ""
9089
9090 # type: verbatim
9091 #: ../src/guestfs-actions.pod:3194
9092 #, no-wrap
9093 msgid ""
9094 " int guestfs_mkswap_U (guestfs_h *g,\n"
9095 "\t\tconst char *uuid,\n"
9096 "\t\tconst char *device);\n"
9097 "\n"
9098 msgstr ""
9099
9100 # type: textblock
9101 #: ../src/guestfs-actions.pod:3198 ../fish/guestfish-actions.pod:2474
9102 msgid "Create a swap partition on C<device> with UUID C<uuid>."
9103 msgstr ""
9104
9105 # type: =head2
9106 #: ../src/guestfs-actions.pod:3202
9107 msgid "guestfs_mkswap_file"
9108 msgstr ""
9109
9110 # type: verbatim
9111 #: ../src/guestfs-actions.pod:3204
9112 #, no-wrap
9113 msgid ""
9114 " int guestfs_mkswap_file (guestfs_h *g,\n"
9115 "\t\tconst char *path);\n"
9116 "\n"
9117 msgstr ""
9118
9119 # type: textblock
9120 #: ../src/guestfs-actions.pod:3207 ../fish/guestfish-actions.pod:2480
9121 msgid "Create a swap file."
9122 msgstr ""
9123
9124 # type: textblock
9125 #: ../src/guestfs-actions.pod:3209
9126 msgid ""
9127 "This command just writes a swap file signature to an existing file.  To "
9128 "create the file itself, use something like C<guestfs_fallocate>."
9129 msgstr ""
9130
9131 # type: =head2
9132 #: ../src/guestfs-actions.pod:3214
9133 msgid "guestfs_modprobe"
9134 msgstr ""
9135
9136 # type: verbatim
9137 #: ../src/guestfs-actions.pod:3216
9138 #, no-wrap
9139 msgid ""
9140 " int guestfs_modprobe (guestfs_h *g,\n"
9141 "\t\tconst char *modulename);\n"
9142 "\n"
9143 msgstr ""
9144
9145 # type: textblock
9146 #: ../src/guestfs-actions.pod:3219 ../fish/guestfish-actions.pod:2489
9147 msgid "This loads a kernel module in the appliance."
9148 msgstr ""
9149
9150 # type: textblock
9151 #: ../src/guestfs-actions.pod:3221 ../fish/guestfish-actions.pod:2491
9152 msgid ""
9153 "The kernel module must have been whitelisted when libguestfs was built (see "
9154 "C<appliance/kmod.whitelist.in> in the source)."
9155 msgstr ""
9156
9157 # type: =head2
9158 #: ../src/guestfs-actions.pod:3226
9159 msgid "guestfs_mount"
9160 msgstr ""
9161
9162 # type: verbatim
9163 #: ../src/guestfs-actions.pod:3228
9164 #, no-wrap
9165 msgid ""
9166 " int guestfs_mount (guestfs_h *g,\n"
9167 "\t\tconst char *device,\n"
9168 "\t\tconst char *mountpoint);\n"
9169 "\n"
9170 msgstr ""
9171
9172 # type: textblock
9173 #: ../src/guestfs-actions.pod:3232 ../fish/guestfish-actions.pod:2498
9174 msgid ""
9175 "Mount a guest disk at a position in the filesystem.  Block devices are named "
9176 "C</dev/sda>, C</dev/sdb> and so on, as they were added to the guest.  If "
9177 "those block devices contain partitions, they will have the usual names "
9178 "(eg. C</dev/sda1>).  Also LVM C</dev/VG/LV>-style names can be used."
9179 msgstr ""
9180
9181 # type: textblock
9182 #: ../src/guestfs-actions.pod:3238 ../fish/guestfish-actions.pod:2504
9183 msgid ""
9184 "The rules are the same as for L<mount(2)>: A filesystem must first be "
9185 "mounted on C</> before others can be mounted.  Other filesystems can only be "
9186 "mounted on directories which already exist."
9187 msgstr ""
9188
9189 # type: textblock
9190 #: ../src/guestfs-actions.pod:3243 ../fish/guestfish-actions.pod:2509
9191 msgid ""
9192 "The mounted filesystem is writable, if we have sufficient permissions on the "
9193 "underlying device."
9194 msgstr ""
9195
9196 # type: textblock
9197 #: ../src/guestfs-actions.pod:3246
9198 msgid ""
9199 "B<Important note:> When you use this call, the filesystem options C<sync> "
9200 "and C<noatime> are set implicitly.  This was originally done because we "
9201 "thought it would improve reliability, but it turns out that I<-o sync> has a "
9202 "very large negative performance impact and negligible effect on "
9203 "reliability.  Therefore we recommend that you avoid using C<guestfs_mount> "
9204 "in any code that needs performance, and instead use C<guestfs_mount_options> "
9205 "(use an empty string for the first parameter if you don't want any options)."
9206 msgstr ""
9207
9208 # type: =head2
9209 #: ../src/guestfs-actions.pod:3258
9210 msgid "guestfs_mount_loop"
9211 msgstr ""
9212
9213 # type: verbatim
9214 #: ../src/guestfs-actions.pod:3260
9215 #, no-wrap
9216 msgid ""
9217 " int guestfs_mount_loop (guestfs_h *g,\n"
9218 "\t\tconst char *file,\n"
9219 "\t\tconst char *mountpoint);\n"
9220 "\n"
9221 msgstr ""
9222
9223 # type: textblock
9224 #: ../src/guestfs-actions.pod:3264 ../fish/guestfish-actions.pod:2526
9225 msgid ""
9226 "This command lets you mount C<file> (a filesystem image in a file) on a "
9227 "mount point.  It is entirely equivalent to the command C<mount -o loop file "
9228 "mountpoint>."
9229 msgstr ""
9230
9231 # type: =head2
9232 #: ../src/guestfs-actions.pod:3270
9233 msgid "guestfs_mount_options"
9234 msgstr ""
9235
9236 # type: verbatim
9237 #: ../src/guestfs-actions.pod:3272
9238 #, no-wrap
9239 msgid ""
9240 " int guestfs_mount_options (guestfs_h *g,\n"
9241 "\t\tconst char *options,\n"
9242 "\t\tconst char *device,\n"
9243 "\t\tconst char *mountpoint);\n"
9244 "\n"
9245 msgstr ""
9246
9247 # type: textblock
9248 #: ../src/guestfs-actions.pod:3277
9249 msgid ""
9250 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9251 "the mount options as for the L<mount(8)> I<-o> flag."
9252 msgstr ""
9253
9254 # type: textblock
9255 #: ../src/guestfs-actions.pod:3281 ../fish/guestfish-actions.pod:2538
9256 msgid ""
9257 "If the C<options> parameter is an empty string, then no options are passed "
9258 "(all options default to whatever the filesystem uses)."
9259 msgstr ""
9260
9261 # type: =head2
9262 #: ../src/guestfs-actions.pod:3287
9263 msgid "guestfs_mount_ro"
9264 msgstr ""
9265
9266 # type: verbatim
9267 #: ../src/guestfs-actions.pod:3289
9268 #, no-wrap
9269 msgid ""
9270 " int guestfs_mount_ro (guestfs_h *g,\n"
9271 "\t\tconst char *device,\n"
9272 "\t\tconst char *mountpoint);\n"
9273 "\n"
9274 msgstr ""
9275
9276 # type: textblock
9277 #: ../src/guestfs-actions.pod:3293
9278 msgid ""
9279 "This is the same as the C<guestfs_mount> command, but it mounts the "
9280 "filesystem with the read-only (I<-o ro>) flag."
9281 msgstr ""
9282
9283 # type: =head2
9284 #: ../src/guestfs-actions.pod:3298
9285 msgid "guestfs_mount_vfs"
9286 msgstr ""
9287
9288 # type: verbatim
9289 #: ../src/guestfs-actions.pod:3300
9290 #, no-wrap
9291 msgid ""
9292 " int guestfs_mount_vfs (guestfs_h *g,\n"
9293 "\t\tconst char *options,\n"
9294 "\t\tconst char *vfstype,\n"
9295 "\t\tconst char *device,\n"
9296 "\t\tconst char *mountpoint);\n"
9297 "\n"
9298 msgstr ""
9299
9300 # type: textblock
9301 #: ../src/guestfs-actions.pod:3306
9302 msgid ""
9303 "This is the same as the C<guestfs_mount> command, but it allows you to set "
9304 "both the mount options and the vfstype as for the L<mount(8)> I<-o> and "
9305 "I<-t> flags."
9306 msgstr ""
9307
9308 # type: =head2
9309 #: ../src/guestfs-actions.pod:3312
9310 msgid "guestfs_mountpoints"
9311 msgstr ""
9312
9313 # type: verbatim
9314 #: ../src/guestfs-actions.pod:3314
9315 #, no-wrap
9316 msgid ""
9317 " char **guestfs_mountpoints (guestfs_h *g);\n"
9318 "\n"
9319 msgstr ""
9320
9321 # type: textblock
9322 #: ../src/guestfs-actions.pod:3316
9323 msgid ""
9324 "This call is similar to C<guestfs_mounts>.  That call returns a list of "
9325 "devices.  This one returns a hash table (map) of device name to directory "
9326 "where the device is mounted."
9327 msgstr ""
9328
9329 # type: =head2
9330 #: ../src/guestfs-actions.pod:3326
9331 msgid "guestfs_mounts"
9332 msgstr ""
9333
9334 # type: verbatim
9335 #: ../src/guestfs-actions.pod:3328
9336 #, no-wrap
9337 msgid ""
9338 " char **guestfs_mounts (guestfs_h *g);\n"
9339 "\n"
9340 msgstr ""
9341
9342 # type: textblock
9343 #: ../src/guestfs-actions.pod:3330 ../fish/guestfish-actions.pod:2569
9344 msgid ""
9345 "This returns the list of currently mounted filesystems.  It returns the list "
9346 "of devices (eg. C</dev/sda1>, C</dev/VG/LV>)."
9347 msgstr ""
9348
9349 # type: textblock
9350 #: ../src/guestfs-actions.pod:3333 ../fish/guestfish-actions.pod:2572
9351 msgid "Some internal mounts are not shown."
9352 msgstr ""
9353
9354 # type: textblock
9355 #: ../src/guestfs-actions.pod:3335
9356 msgid "See also: C<guestfs_mountpoints>"
9357 msgstr ""
9358
9359 # type: =head2
9360 #: ../src/guestfs-actions.pod:3341
9361 msgid "guestfs_mv"
9362 msgstr ""
9363
9364 # type: verbatim
9365 #: ../src/guestfs-actions.pod:3343
9366 #, no-wrap
9367 msgid ""
9368 " int guestfs_mv (guestfs_h *g,\n"
9369 "\t\tconst char *src,\n"
9370 "\t\tconst char *dest);\n"
9371 "\n"
9372 msgstr ""
9373
9374 # type: textblock
9375 #: ../src/guestfs-actions.pod:3347 ../fish/guestfish-actions.pod:2580
9376 msgid ""
9377 "This moves a file from C<src> to C<dest> where C<dest> is either a "
9378 "destination filename or destination directory."
9379 msgstr ""
9380
9381 # type: =head2
9382 #: ../src/guestfs-actions.pod:3352
9383 msgid "guestfs_ntfs_3g_probe"
9384 msgstr ""
9385
9386 # type: verbatim
9387 #: ../src/guestfs-actions.pod:3354
9388 #, no-wrap
9389 msgid ""
9390 " int guestfs_ntfs_3g_probe (guestfs_h *g,\n"
9391 "\t\tint rw,\n"
9392 "\t\tconst char *device);\n"
9393 "\n"
9394 msgstr ""
9395
9396 # type: textblock
9397 #: ../src/guestfs-actions.pod:3358 ../fish/guestfish-actions.pod:2587
9398 msgid ""
9399 "This command runs the L<ntfs-3g.probe(8)> command which probes an NTFS "
9400 "C<device> for mountability.  (Not all NTFS volumes can be mounted "
9401 "read-write, and some cannot be mounted at all)."
9402 msgstr ""
9403
9404 # type: textblock
9405 #: ../src/guestfs-actions.pod:3362 ../fish/guestfish-actions.pod:2591
9406 msgid ""
9407 "C<rw> is a boolean flag.  Set it to true if you want to test if the volume "
9408 "can be mounted read-write.  Set it to false if you want to test if the "
9409 "volume can be mounted read-only."
9410 msgstr ""
9411
9412 # type: textblock
9413 #: ../src/guestfs-actions.pod:3366 ../fish/guestfish-actions.pod:2595
9414 msgid ""
9415 "The return value is an integer which C<0> if the operation would succeed, or "
9416 "some non-zero value documented in the L<ntfs-3g.probe(8)> manual page."
9417 msgstr ""
9418
9419 # type: =head2
9420 #: ../src/guestfs-actions.pod:3372
9421 msgid "guestfs_ntfsresize"
9422 msgstr ""
9423
9424 # type: verbatim
9425 #: ../src/guestfs-actions.pod:3374
9426 #, no-wrap
9427 msgid ""
9428 " int guestfs_ntfsresize (guestfs_h *g,\n"
9429 "\t\tconst char *device);\n"
9430 "\n"
9431 msgstr ""
9432
9433 # type: textblock
9434 #: ../src/guestfs-actions.pod:3377 ../fish/guestfish-actions.pod:2603
9435 msgid ""
9436 "This command resizes an NTFS filesystem, expanding or shrinking it to the "
9437 "size of the underlying device.  See also L<ntfsresize(8)>."
9438 msgstr ""
9439
9440 # type: =head2
9441 #: ../src/guestfs-actions.pod:3383
9442 msgid "guestfs_ntfsresize_size"
9443 msgstr ""
9444
9445 # type: verbatim
9446 #: ../src/guestfs-actions.pod:3385
9447 #, no-wrap
9448 msgid ""
9449 " int guestfs_ntfsresize_size (guestfs_h *g,\n"
9450 "\t\tconst char *device,\n"
9451 "\t\tint64_t size);\n"
9452 "\n"
9453 msgstr ""
9454
9455 # type: textblock
9456 #: ../src/guestfs-actions.pod:3389
9457 msgid ""
9458 "This command is the same as C<guestfs_ntfsresize> except that it allows you "
9459 "to specify the new size (in bytes) explicitly."
9460 msgstr ""
9461
9462 # type: =head2
9463 #: ../src/guestfs-actions.pod:3394
9464 msgid "guestfs_part_add"
9465 msgstr ""
9466
9467 # type: verbatim
9468 #: ../src/guestfs-actions.pod:3396
9469 #, no-wrap
9470 msgid ""
9471 " int guestfs_part_add (guestfs_h *g,\n"
9472 "\t\tconst char *device,\n"
9473 "\t\tconst char *prlogex,\n"
9474 "\t\tint64_t startsect,\n"
9475 "\t\tint64_t endsect);\n"
9476 "\n"
9477 msgstr ""
9478
9479 # type: textblock
9480 #: ../src/guestfs-actions.pod:3402
9481 msgid ""
9482 "This command adds a partition to C<device>.  If there is no partition table "
9483 "on the device, call C<guestfs_part_init> first."
9484 msgstr ""
9485
9486 # type: textblock
9487 #: ../src/guestfs-actions.pod:3405 ../fish/guestfish-actions.pod:2621
9488 msgid ""
9489 "The C<prlogex> parameter is the type of partition.  Normally you should pass "
9490 "C<p> or C<primary> here, but MBR partition tables also support C<l> (or "
9491 "C<logical>) and C<e> (or C<extended>) partition types."
9492 msgstr ""
9493
9494 # type: textblock
9495 #: ../src/guestfs-actions.pod:3410 ../fish/guestfish-actions.pod:2626
9496 msgid ""
9497 "C<startsect> and C<endsect> are the start and end of the partition in "
9498 "I<sectors>.  C<endsect> may be negative, which means it counts backwards "
9499 "from the end of the disk (C<-1> is the last sector)."
9500 msgstr ""
9501
9502 # type: textblock
9503 #: ../src/guestfs-actions.pod:3414
9504 msgid ""
9505 "Creating a partition which covers the whole disk is not so easy.  Use "
9506 "C<guestfs_part_disk> to do that."
9507 msgstr ""
9508
9509 # type: =head2
9510 #: ../src/guestfs-actions.pod:3419
9511 msgid "guestfs_part_del"
9512 msgstr ""
9513
9514 # type: verbatim
9515 #: ../src/guestfs-actions.pod:3421
9516 #, no-wrap
9517 msgid ""
9518 " int guestfs_part_del (guestfs_h *g,\n"
9519 "\t\tconst char *device,\n"
9520 "\t\tint partnum);\n"
9521 "\n"
9522 msgstr ""
9523
9524 # type: textblock
9525 #: ../src/guestfs-actions.pod:3425 ../fish/guestfish-actions.pod:2637
9526 msgid "This command deletes the partition numbered C<partnum> on C<device>."
9527 msgstr ""
9528
9529 # type: textblock
9530 #: ../src/guestfs-actions.pod:3427 ../fish/guestfish-actions.pod:2639
9531 msgid ""
9532 "Note that in the case of MBR partitioning, deleting an extended partition "
9533 "also deletes any logical partitions it contains."
9534 msgstr ""
9535
9536 # type: =head2
9537 #: ../src/guestfs-actions.pod:3433
9538 msgid "guestfs_part_disk"
9539 msgstr ""
9540
9541 # type: verbatim
9542 #: ../src/guestfs-actions.pod:3435
9543 #, no-wrap
9544 msgid ""
9545 " int guestfs_part_disk (guestfs_h *g,\n"
9546 "\t\tconst char *device,\n"
9547 "\t\tconst char *parttype);\n"
9548 "\n"
9549 msgstr ""
9550
9551 # type: textblock
9552 #: ../src/guestfs-actions.pod:3439
9553 msgid ""
9554 "This command is simply a combination of C<guestfs_part_init> followed by "
9555 "C<guestfs_part_add> to create a single primary partition covering the whole "
9556 "disk."
9557 msgstr ""
9558
9559 # type: textblock
9560 #: ../src/guestfs-actions.pod:3443
9561 msgid ""
9562 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
9563 "possible values are described in C<guestfs_part_init>."
9564 msgstr ""
9565
9566 # type: =head2
9567 #: ../src/guestfs-actions.pod:3451
9568 msgid "guestfs_part_get_bootable"
9569 msgstr ""
9570
9571 # type: verbatim
9572 #: ../src/guestfs-actions.pod:3453
9573 #, no-wrap
9574 msgid ""
9575 " int guestfs_part_get_bootable (guestfs_h *g,\n"
9576 "\t\tconst char *device,\n"
9577 "\t\tint partnum);\n"
9578 "\n"
9579 msgstr ""
9580
9581 # type: textblock
9582 #: ../src/guestfs-actions.pod:3457 ../fish/guestfish-actions.pod:2661
9583 msgid ""
9584 "This command returns true if the partition C<partnum> on C<device> has the "
9585 "bootable flag set."
9586 msgstr ""
9587
9588 # type: textblock
9589 #: ../src/guestfs-actions.pod:3460
9590 msgid "See also C<guestfs_part_set_bootable>."
9591 msgstr ""
9592
9593 # type: =head2
9594 #: ../src/guestfs-actions.pod:3464
9595 msgid "guestfs_part_get_mbr_id"
9596 msgstr ""
9597
9598 # type: verbatim
9599 #: ../src/guestfs-actions.pod:3466
9600 #, no-wrap
9601 msgid ""
9602 " int guestfs_part_get_mbr_id (guestfs_h *g,\n"
9603 "\t\tconst char *device,\n"
9604 "\t\tint partnum);\n"
9605 "\n"
9606 msgstr ""
9607
9608 # type: textblock
9609 #: ../src/guestfs-actions.pod:3470 ../fish/guestfish-actions.pod:2670
9610 msgid ""
9611 "Returns the MBR type byte (also known as the ID byte) from the numbered "
9612 "partition C<partnum>."
9613 msgstr ""
9614
9615 # type: textblock
9616 #: ../src/guestfs-actions.pod:3473 ../src/guestfs-actions.pod:3635
9617 msgid ""
9618 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
9619 "undefined results for other partition table types (see "
9620 "C<guestfs_part_get_parttype>)."
9621 msgstr ""
9622
9623 # type: =head2
9624 #: ../src/guestfs-actions.pod:3479
9625 msgid "guestfs_part_get_parttype"
9626 msgstr ""
9627
9628 # type: verbatim
9629 #: ../src/guestfs-actions.pod:3481
9630 #, no-wrap
9631 msgid ""
9632 " char *guestfs_part_get_parttype (guestfs_h *g,\n"
9633 "\t\tconst char *device);\n"
9634 "\n"
9635 msgstr ""
9636
9637 # type: textblock
9638 #: ../src/guestfs-actions.pod:3484 ../fish/guestfish-actions.pod:2681
9639 msgid ""
9640 "This command examines the partition table on C<device> and returns the "
9641 "partition table type (format) being used."
9642 msgstr ""
9643
9644 # type: textblock
9645 #: ../src/guestfs-actions.pod:3487
9646 msgid ""
9647 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
9648 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
9649 "possible, although unusual.  See C<guestfs_part_init> for a full list."
9650 msgstr ""
9651
9652 # type: =head2
9653 #: ../src/guestfs-actions.pod:3495
9654 msgid "guestfs_part_init"
9655 msgstr ""
9656
9657 # type: verbatim
9658 #: ../src/guestfs-actions.pod:3497
9659 #, no-wrap
9660 msgid ""
9661 " int guestfs_part_init (guestfs_h *g,\n"
9662 "\t\tconst char *device,\n"
9663 "\t\tconst char *parttype);\n"
9664 "\n"
9665 msgstr ""
9666
9667 # type: textblock
9668 #: ../src/guestfs-actions.pod:3501 ../fish/guestfish-actions.pod:2693
9669 msgid ""
9670 "This creates an empty partition table on C<device> of one of the partition "
9671 "types listed below.  Usually C<parttype> should be either C<msdos> or C<gpt> "
9672 "(for large disks)."
9673 msgstr ""
9674
9675 # type: textblock
9676 #: ../src/guestfs-actions.pod:3505
9677 msgid ""
9678 "Initially there are no partitions.  Following this, you should call "
9679 "C<guestfs_part_add> for each partition required."
9680 msgstr ""
9681
9682 # type: textblock
9683 #: ../src/guestfs-actions.pod:3508 ../fish/guestfish-actions.pod:2700
9684 msgid "Possible values for C<parttype> are:"
9685 msgstr ""
9686
9687 # type: =item
9688 #: ../src/guestfs-actions.pod:3512 ../fish/guestfish-actions.pod:2704
9689 msgid "B<efi> | B<gpt>"
9690 msgstr ""
9691
9692 # type: textblock
9693 #: ../src/guestfs-actions.pod:3514 ../fish/guestfish-actions.pod:2706
9694 msgid "Intel EFI / GPT partition table."
9695 msgstr ""
9696
9697 # type: textblock
9698 #: ../src/guestfs-actions.pod:3516 ../fish/guestfish-actions.pod:2708
9699 msgid ""
9700 "This is recommended for >= 2 TB partitions that will be accessed from Linux "
9701 "and Intel-based Mac OS X.  It also has limited backwards compatibility with "
9702 "the C<mbr> format."
9703 msgstr ""
9704
9705 # type: =item
9706 #: ../src/guestfs-actions.pod:3520 ../fish/guestfish-actions.pod:2712
9707 msgid "B<mbr> | B<msdos>"
9708 msgstr ""
9709
9710 # type: textblock
9711 #: ../src/guestfs-actions.pod:3522 ../fish/guestfish-actions.pod:2714
9712 msgid ""
9713 "The standard PC \"Master Boot Record\" (MBR) format used by MS-DOS and "
9714 "Windows.  This partition type will B<only> work for device sizes up to 2 "
9715 "TB.  For large disks we recommend using C<gpt>."
9716 msgstr ""
9717
9718 # type: textblock
9719 #: ../src/guestfs-actions.pod:3529 ../fish/guestfish-actions.pod:2721
9720 msgid "Other partition table types that may work but are not supported include:"
9721 msgstr ""
9722
9723 # type: =item
9724 #: ../src/guestfs-actions.pod:3534 ../fish/guestfish-actions.pod:2726
9725 msgid "B<aix>"
9726 msgstr ""
9727
9728 # type: textblock
9729 #: ../src/guestfs-actions.pod:3536 ../fish/guestfish-actions.pod:2728
9730 msgid "AIX disk labels."
9731 msgstr ""
9732
9733 # type: =item
9734 #: ../src/guestfs-actions.pod:3538 ../fish/guestfish-actions.pod:2730
9735 msgid "B<amiga> | B<rdb>"
9736 msgstr ""
9737
9738 # type: textblock
9739 #: ../src/guestfs-actions.pod:3540 ../fish/guestfish-actions.pod:2732
9740 msgid "Amiga \"Rigid Disk Block\" format."
9741 msgstr ""
9742
9743 # type: =item
9744 #: ../src/guestfs-actions.pod:3542 ../fish/guestfish-actions.pod:2734
9745 msgid "B<bsd>"
9746 msgstr ""
9747
9748 # type: textblock
9749 #: ../src/guestfs-actions.pod:3544 ../fish/guestfish-actions.pod:2736
9750 msgid "BSD disk labels."
9751 msgstr ""
9752
9753 # type: =item
9754 #: ../src/guestfs-actions.pod:3546 ../fish/guestfish-actions.pod:2738
9755 msgid "B<dasd>"
9756 msgstr ""
9757
9758 # type: textblock
9759 #: ../src/guestfs-actions.pod:3548 ../fish/guestfish-actions.pod:2740
9760 msgid "DASD, used on IBM mainframes."
9761 msgstr ""
9762
9763 # type: =item
9764 #: ../src/guestfs-actions.pod:3550 ../fish/guestfish-actions.pod:2742
9765 msgid "B<dvh>"
9766 msgstr ""
9767
9768 # type: textblock
9769 #: ../src/guestfs-actions.pod:3552 ../fish/guestfish-actions.pod:2744
9770 msgid "MIPS/SGI volumes."
9771 msgstr ""
9772
9773 # type: =item
9774 #: ../src/guestfs-actions.pod:3554 ../fish/guestfish-actions.pod:2746
9775 msgid "B<mac>"
9776 msgstr ""
9777
9778 # type: textblock
9779 #: ../src/guestfs-actions.pod:3556 ../fish/guestfish-actions.pod:2748
9780 msgid "Old Mac partition format.  Modern Macs use C<gpt>."
9781 msgstr ""
9782
9783 # type: =item
9784 #: ../src/guestfs-actions.pod:3558 ../fish/guestfish-actions.pod:2750
9785 msgid "B<pc98>"
9786 msgstr ""
9787
9788 # type: textblock
9789 #: ../src/guestfs-actions.pod:3560 ../fish/guestfish-actions.pod:2752
9790 msgid "NEC PC-98 format, common in Japan apparently."
9791 msgstr ""
9792
9793 # type: =item
9794 #: ../src/guestfs-actions.pod:3562 ../fish/guestfish-actions.pod:2754
9795 msgid "B<sun>"
9796 msgstr ""
9797
9798 # type: textblock
9799 #: ../src/guestfs-actions.pod:3564 ../fish/guestfish-actions.pod:2756
9800 msgid "Sun disk labels."
9801 msgstr ""
9802
9803 # type: =head2
9804 #: ../src/guestfs-actions.pod:3570
9805 msgid "guestfs_part_list"
9806 msgstr ""
9807
9808 # type: verbatim
9809 #: ../src/guestfs-actions.pod:3572
9810 #, no-wrap
9811 msgid ""
9812 " struct guestfs_partition_list *guestfs_part_list (guestfs_h *g,\n"
9813 "\t\tconst char *device);\n"
9814 "\n"
9815 msgstr ""
9816
9817 # type: textblock
9818 #: ../src/guestfs-actions.pod:3575 ../fish/guestfish-actions.pod:2764
9819 msgid ""
9820 "This command parses the partition table on C<device> and returns the list of "
9821 "partitions found."
9822 msgstr ""
9823
9824 # type: textblock
9825 #: ../src/guestfs-actions.pod:3578 ../fish/guestfish-actions.pod:2767
9826 msgid "The fields in the returned structure are:"
9827 msgstr ""
9828
9829 # type: =item
9830 #: ../src/guestfs-actions.pod:3582 ../fish/guestfish-actions.pod:2771
9831 msgid "B<part_num>"
9832 msgstr ""
9833
9834 # type: textblock
9835 #: ../src/guestfs-actions.pod:3584 ../fish/guestfish-actions.pod:2773
9836 msgid "Partition number, counting from 1."
9837 msgstr ""
9838
9839 # type: =item
9840 #: ../src/guestfs-actions.pod:3586 ../fish/guestfish-actions.pod:2775
9841 msgid "B<part_start>"
9842 msgstr ""
9843
9844 # type: textblock
9845 #: ../src/guestfs-actions.pod:3588
9846 msgid ""
9847 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
9848 "the device's sector size, see C<guestfs_blockdev_getss>."
9849 msgstr ""
9850
9851 # type: =item
9852 #: ../src/guestfs-actions.pod:3591 ../fish/guestfish-actions.pod:2780
9853 msgid "B<part_end>"
9854 msgstr ""
9855
9856 # type: textblock
9857 #: ../src/guestfs-actions.pod:3593 ../fish/guestfish-actions.pod:2782
9858 msgid "End of the partition in bytes."
9859 msgstr ""
9860
9861 # type: =item
9862 #: ../src/guestfs-actions.pod:3595 ../fish/guestfish-actions.pod:2784
9863 msgid "B<part_size>"
9864 msgstr ""
9865
9866 # type: textblock
9867 #: ../src/guestfs-actions.pod:3597 ../fish/guestfish-actions.pod:2786
9868 msgid "Size of the partition in bytes."
9869 msgstr ""
9870
9871 # type: textblock
9872 #: ../src/guestfs-actions.pod:3601
9873 msgid ""
9874 "This function returns a C<struct guestfs_partition_list *> (see "
9875 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
9876 "must call C<guestfs_free_partition_list> after use>."
9877 msgstr ""
9878
9879 # type: =head2
9880 #: ../src/guestfs-actions.pod:3606
9881 msgid "guestfs_part_set_bootable"
9882 msgstr ""
9883
9884 # type: verbatim
9885 #: ../src/guestfs-actions.pod:3608
9886 #, no-wrap
9887 msgid ""
9888 " int guestfs_part_set_bootable (guestfs_h *g,\n"
9889 "\t\tconst char *device,\n"
9890 "\t\tint partnum,\n"
9891 "\t\tint bootable);\n"
9892 "\n"
9893 msgstr ""
9894
9895 # type: textblock
9896 #: ../src/guestfs-actions.pod:3613 ../fish/guestfish-actions.pod:2794
9897 msgid ""
9898 "This sets the bootable flag on partition numbered C<partnum> on device "
9899 "C<device>.  Note that partitions are numbered from 1."
9900 msgstr ""
9901
9902 # type: textblock
9903 #: ../src/guestfs-actions.pod:3616 ../fish/guestfish-actions.pod:2797
9904 msgid ""
9905 "The bootable flag is used by some operating systems (notably Windows) to "
9906 "determine which partition to boot from.  It is by no means universally "
9907 "recognized."
9908 msgstr ""
9909
9910 # type: =head2
9911 #: ../src/guestfs-actions.pod:3622
9912 msgid "guestfs_part_set_mbr_id"
9913 msgstr ""
9914
9915 # type: verbatim
9916 #: ../src/guestfs-actions.pod:3624
9917 #, no-wrap
9918 msgid ""
9919 " int guestfs_part_set_mbr_id (guestfs_h *g,\n"
9920 "\t\tconst char *device,\n"
9921 "\t\tint partnum,\n"
9922 "\t\tint idbyte);\n"
9923 "\n"
9924 msgstr ""
9925
9926 # type: textblock
9927 #: ../src/guestfs-actions.pod:3629 ../fish/guestfish-actions.pod:2805
9928 msgid ""
9929 "Sets the MBR type byte (also known as the ID byte) of the numbered partition "
9930 "C<partnum> to C<idbyte>.  Note that the type bytes quoted in most "
9931 "documentation are in fact hexadecimal numbers, but usually documented "
9932 "without any leading \"0x\" which might be confusing."
9933 msgstr ""
9934
9935 # type: =head2
9936 #: ../src/guestfs-actions.pod:3641
9937 msgid "guestfs_part_set_name"
9938 msgstr ""
9939
9940 # type: verbatim
9941 #: ../src/guestfs-actions.pod:3643
9942 #, no-wrap
9943 msgid ""
9944 " int guestfs_part_set_name (guestfs_h *g,\n"
9945 "\t\tconst char *device,\n"
9946 "\t\tint partnum,\n"
9947 "\t\tconst char *name);\n"
9948 "\n"
9949 msgstr ""
9950
9951 # type: textblock
9952 #: ../src/guestfs-actions.pod:3648 ../fish/guestfish-actions.pod:2819
9953 msgid ""
9954 "This sets the partition name on partition numbered C<partnum> on device "
9955 "C<device>.  Note that partitions are numbered from 1."
9956 msgstr ""
9957
9958 # type: textblock
9959 #: ../src/guestfs-actions.pod:3651 ../fish/guestfish-actions.pod:2822
9960 msgid ""
9961 "The partition name can only be set on certain types of partition table.  "
9962 "This works on C<gpt> but not on C<mbr> partitions."
9963 msgstr ""
9964
9965 # type: =head2
9966 #: ../src/guestfs-actions.pod:3656
9967 msgid "guestfs_ping_daemon"
9968 msgstr ""
9969
9970 # type: verbatim
9971 #: ../src/guestfs-actions.pod:3658
9972 #, no-wrap
9973 msgid ""
9974 " int guestfs_ping_daemon (guestfs_h *g);\n"
9975 "\n"
9976 msgstr ""
9977
9978 # type: textblock
9979 #: ../src/guestfs-actions.pod:3660 ../fish/guestfish-actions.pod:2829
9980 msgid ""
9981 "This is a test probe into the guestfs daemon running inside the qemu "
9982 "subprocess.  Calling this function checks that the daemon responds to the "
9983 "ping message, without affecting the daemon or attached block device(s) in "
9984 "any other way."
9985 msgstr ""
9986
9987 # type: =head2
9988 #: ../src/guestfs-actions.pod:3667
9989 msgid "guestfs_pread"
9990 msgstr ""
9991
9992 # type: verbatim
9993 #: ../src/guestfs-actions.pod:3669
9994 #, no-wrap
9995 msgid ""
9996 " char *guestfs_pread (guestfs_h *g,\n"
9997 "\t\tconst char *path,\n"
9998 "\t\tint count,\n"
9999 "\t\tint64_t offset,\n"
10000 "\t\tsize_t *size_r);\n"
10001 "\n"
10002 msgstr ""
10003
10004 # type: textblock
10005 #: ../src/guestfs-actions.pod:3675 ../fish/guestfish-actions.pod:2838
10006 msgid ""
10007 "This command lets you read part of a file.  It reads C<count> bytes of the "
10008 "file, starting at C<offset>, from file C<path>."
10009 msgstr ""
10010
10011 # type: textblock
10012 #: ../src/guestfs-actions.pod:3678 ../fish/guestfish-actions.pod:2841
10013 msgid ""
10014 "This may read fewer bytes than requested.  For further details see the "
10015 "L<pread(2)> system call."
10016 msgstr ""
10017
10018 # type: textblock
10019 #: ../src/guestfs-actions.pod:3681
10020 msgid "See also C<guestfs_pwrite>."
10021 msgstr ""
10022
10023 # type: =head2
10024 #: ../src/guestfs-actions.pod:3690
10025 msgid "guestfs_pvcreate"
10026 msgstr ""
10027
10028 # type: verbatim
10029 #: ../src/guestfs-actions.pod:3692
10030 #, no-wrap
10031 msgid ""
10032 " int guestfs_pvcreate (guestfs_h *g,\n"
10033 "\t\tconst char *device);\n"
10034 "\n"
10035 msgstr ""
10036
10037 # type: textblock
10038 #: ../src/guestfs-actions.pod:3695 ../fish/guestfish-actions.pod:2853
10039 msgid ""
10040 "This creates an LVM physical volume on the named C<device>, where C<device> "
10041 "should usually be a partition name such as C</dev/sda1>."
10042 msgstr ""
10043
10044 # type: =head2
10045 #: ../src/guestfs-actions.pod:3701
10046 msgid "guestfs_pvremove"
10047 msgstr ""
10048
10049 # type: verbatim
10050 #: ../src/guestfs-actions.pod:3703
10051 #, no-wrap
10052 msgid ""
10053 " int guestfs_pvremove (guestfs_h *g,\n"
10054 "\t\tconst char *device);\n"
10055 "\n"
10056 msgstr ""
10057
10058 # type: textblock
10059 #: ../src/guestfs-actions.pod:3706 ../fish/guestfish-actions.pod:2861
10060 msgid ""
10061 "This wipes a physical volume C<device> so that LVM will no longer recognise "
10062 "it."
10063 msgstr ""
10064
10065 # type: textblock
10066 #: ../src/guestfs-actions.pod:3709 ../fish/guestfish-actions.pod:2864
10067 msgid ""
10068 "The implementation uses the C<pvremove> command which refuses to wipe "
10069 "physical volumes that contain any volume groups, so you have to remove those "
10070 "first."
10071 msgstr ""
10072
10073 # type: =head2
10074 #: ../src/guestfs-actions.pod:3715
10075 msgid "guestfs_pvresize"
10076 msgstr ""
10077
10078 # type: verbatim
10079 #: ../src/guestfs-actions.pod:3717
10080 #, no-wrap
10081 msgid ""
10082 " int guestfs_pvresize (guestfs_h *g,\n"
10083 "\t\tconst char *device);\n"
10084 "\n"
10085 msgstr ""
10086
10087 # type: textblock
10088 #: ../src/guestfs-actions.pod:3720 ../fish/guestfish-actions.pod:2872
10089 msgid ""
10090 "This resizes (expands or shrinks) an existing LVM physical volume to match "
10091 "the new size of the underlying device."
10092 msgstr ""
10093
10094 # type: =head2
10095 #: ../src/guestfs-actions.pod:3725
10096 msgid "guestfs_pvresize_size"
10097 msgstr ""
10098
10099 # type: verbatim
10100 #: ../src/guestfs-actions.pod:3727
10101 #, no-wrap
10102 msgid ""
10103 " int guestfs_pvresize_size (guestfs_h *g,\n"
10104 "\t\tconst char *device,\n"
10105 "\t\tint64_t size);\n"
10106 "\n"
10107 msgstr ""
10108
10109 # type: textblock
10110 #: ../src/guestfs-actions.pod:3731
10111 msgid ""
10112 "This command is the same as C<guestfs_pvresize> except that it allows you to "
10113 "specify the new size (in bytes) explicitly."
10114 msgstr ""
10115
10116 # type: =head2
10117 #: ../src/guestfs-actions.pod:3736
10118 msgid "guestfs_pvs"
10119 msgstr ""
10120
10121 # type: verbatim
10122 #: ../src/guestfs-actions.pod:3738
10123 #, no-wrap
10124 msgid ""
10125 " char **guestfs_pvs (guestfs_h *g);\n"
10126 "\n"
10127 msgstr ""
10128
10129 # type: textblock
10130 #: ../src/guestfs-actions.pod:3740 ../fish/guestfish-actions.pod:2886
10131 msgid ""
10132 "List all the physical volumes detected.  This is the equivalent of the "
10133 "L<pvs(8)> command."
10134 msgstr ""
10135
10136 # type: textblock
10137 #: ../src/guestfs-actions.pod:3743 ../fish/guestfish-actions.pod:2889
10138 msgid ""
10139 "This returns a list of just the device names that contain PVs "
10140 "(eg. C</dev/sda2>)."
10141 msgstr ""
10142
10143 # type: textblock
10144 #: ../src/guestfs-actions.pod:3746
10145 msgid "See also C<guestfs_pvs_full>."
10146 msgstr ""
10147
10148 # type: =head2
10149 #: ../src/guestfs-actions.pod:3752
10150 msgid "guestfs_pvs_full"
10151 msgstr ""
10152
10153 # type: verbatim
10154 #: ../src/guestfs-actions.pod:3754
10155 #, no-wrap
10156 msgid ""
10157 " struct guestfs_lvm_pv_list *guestfs_pvs_full (guestfs_h *g);\n"
10158 "\n"
10159 msgstr ""
10160
10161 # type: textblock
10162 #: ../src/guestfs-actions.pod:3756 ../fish/guestfish-actions.pod:2898
10163 msgid ""
10164 "List all the physical volumes detected.  This is the equivalent of the "
10165 "L<pvs(8)> command.  The \"full\" version includes all fields."
10166 msgstr ""
10167
10168 # type: textblock
10169 #: ../src/guestfs-actions.pod:3759
10170 msgid ""
10171 "This function returns a C<struct guestfs_lvm_pv_list *> (see "
10172 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
10173 "must call C<guestfs_free_lvm_pv_list> after use>."
10174 msgstr ""
10175
10176 # type: =head2
10177 #: ../src/guestfs-actions.pod:3764
10178 msgid "guestfs_pvuuid"
10179 msgstr ""
10180
10181 # type: verbatim
10182 #: ../src/guestfs-actions.pod:3766
10183 #, no-wrap
10184 msgid ""
10185 " char *guestfs_pvuuid (guestfs_h *g,\n"
10186 "\t\tconst char *device);\n"
10187 "\n"
10188 msgstr ""
10189
10190 # type: textblock
10191 #: ../src/guestfs-actions.pod:3769 ../fish/guestfish-actions.pod:2905
10192 msgid "This command returns the UUID of the LVM PV C<device>."
10193 msgstr ""
10194
10195 # type: =head2
10196 #: ../src/guestfs-actions.pod:3774
10197 msgid "guestfs_pwrite"
10198 msgstr ""
10199
10200 # type: verbatim
10201 #: ../src/guestfs-actions.pod:3776
10202 #, no-wrap
10203 msgid ""
10204 " int guestfs_pwrite (guestfs_h *g,\n"
10205 "\t\tconst char *path,\n"
10206 "\t\tconst char *content,\n"
10207 "\t\tsize_t content_size,\n"
10208 "\t\tint64_t offset);\n"
10209 "\n"
10210 msgstr ""
10211
10212 # type: textblock
10213 #: ../src/guestfs-actions.pod:3782 ../fish/guestfish-actions.pod:2911
10214 msgid ""
10215 "This command writes to part of a file.  It writes the data buffer C<content> "
10216 "to the file C<path> starting at offset C<offset>."
10217 msgstr ""
10218
10219 # type: textblock
10220 #: ../src/guestfs-actions.pod:3785 ../fish/guestfish-actions.pod:2914
10221 msgid ""
10222 "This command implements the L<pwrite(2)> system call, and like that system "
10223 "call it may not write the full data requested.  The return value is the "
10224 "number of bytes that were actually written to the file.  This could even be "
10225 "0, although short writes are unlikely for regular files in ordinary "
10226 "circumstances."
10227 msgstr ""
10228
10229 # type: textblock
10230 #: ../src/guestfs-actions.pod:3791
10231 msgid "See also C<guestfs_pread>."
10232 msgstr ""
10233
10234 # type: =head2
10235 #: ../src/guestfs-actions.pod:3798
10236 msgid "guestfs_read_file"
10237 msgstr ""
10238
10239 # type: verbatim
10240 #: ../src/guestfs-actions.pod:3800
10241 #, no-wrap
10242 msgid ""
10243 " char *guestfs_read_file (guestfs_h *g,\n"
10244 "\t\tconst char *path,\n"
10245 "\t\tsize_t *size_r);\n"
10246 "\n"
10247 msgstr ""
10248
10249 # type: textblock
10250 #: ../src/guestfs-actions.pod:3804 ../fish/guestfish-actions.pod:2929
10251 msgid "This calls returns the contents of the file C<path> as a buffer."
10252 msgstr ""
10253
10254 # type: textblock
10255 #: ../src/guestfs-actions.pod:3807
10256 msgid ""
10257 "Unlike C<guestfs_cat>, this function can correctly handle files that contain "
10258 "embedded ASCII NUL characters.  However unlike C<guestfs_download>, this "
10259 "function is limited in the total size of file that can be handled."
10260 msgstr ""
10261
10262 # type: =head2
10263 #: ../src/guestfs-actions.pod:3819
10264 msgid "guestfs_read_lines"
10265 msgstr ""
10266
10267 # type: verbatim
10268 #: ../src/guestfs-actions.pod:3821
10269 #, no-wrap
10270 msgid ""
10271 " char **guestfs_read_lines (guestfs_h *g,\n"
10272 "\t\tconst char *path);\n"
10273 "\n"
10274 msgstr ""
10275
10276 # type: textblock
10277 #: ../src/guestfs-actions.pod:3826 ../fish/guestfish-actions.pod:2946
10278 msgid ""
10279 "The file contents are returned as a list of lines.  Trailing C<LF> and "
10280 "C<CRLF> character sequences are I<not> returned."
10281 msgstr ""
10282
10283 # type: textblock
10284 #: ../src/guestfs-actions.pod:3829
10285 msgid ""
10286 "Note that this function cannot correctly handle binary files (specifically, "
10287 "files containing C<\\0> character which is treated as end of line).  For "
10288 "those you need to use the C<guestfs_read_file> function which has a more "
10289 "complex interface."
10290 msgstr ""
10291
10292 # type: =head2
10293 #: ../src/guestfs-actions.pod:3838
10294 msgid "guestfs_readdir"
10295 msgstr ""
10296
10297 # type: verbatim
10298 #: ../src/guestfs-actions.pod:3840
10299 #, no-wrap
10300 msgid ""
10301 " struct guestfs_dirent_list *guestfs_readdir (guestfs_h *g,\n"
10302 "\t\tconst char *dir);\n"
10303 "\n"
10304 msgstr ""
10305
10306 # type: textblock
10307 #: ../src/guestfs-actions.pod:3843 ../fish/guestfish-actions.pod:2958
10308 msgid "This returns the list of directory entries in directory C<dir>."
10309 msgstr ""
10310
10311 # type: textblock
10312 #: ../src/guestfs-actions.pod:3845 ../fish/guestfish-actions.pod:2960
10313 msgid ""
10314 "All entries in the directory are returned, including C<.> and C<..>.  The "
10315 "entries are I<not> sorted, but returned in the same order as the underlying "
10316 "filesystem."
10317 msgstr ""
10318
10319 # type: textblock
10320 #: ../src/guestfs-actions.pod:3849 ../fish/guestfish-actions.pod:2964
10321 msgid ""
10322 "Also this call returns basic file type information about each file.  The "
10323 "C<ftyp> field will contain one of the following characters:"
10324 msgstr ""
10325
10326 # type: =item
10327 #: ../src/guestfs-actions.pod:3854 ../fish/guestfish-actions.pod:2969
10328 msgid "'b'"
10329 msgstr ""
10330
10331 # type: textblock
10332 #: ../src/guestfs-actions.pod:3856 ../fish/guestfish-actions.pod:2971
10333 msgid "Block special"
10334 msgstr ""
10335
10336 # type: =item
10337 #: ../src/guestfs-actions.pod:3858 ../fish/guestfish-actions.pod:2973
10338 msgid "'c'"
10339 msgstr ""
10340
10341 # type: textblock
10342 #: ../src/guestfs-actions.pod:3860 ../fish/guestfish-actions.pod:2975
10343 msgid "Char special"
10344 msgstr ""
10345
10346 # type: =item
10347 #: ../src/guestfs-actions.pod:3862 ../fish/guestfish-actions.pod:2977
10348 msgid "'d'"
10349 msgstr ""
10350
10351 # type: textblock
10352 #: ../src/guestfs-actions.pod:3864 ../fish/guestfish-actions.pod:2979
10353 msgid "Directory"
10354 msgstr ""
10355
10356 # type: =item
10357 #: ../src/guestfs-actions.pod:3866 ../fish/guestfish-actions.pod:2981
10358 msgid "'f'"
10359 msgstr ""
10360
10361 # type: textblock
10362 #: ../src/guestfs-actions.pod:3868 ../fish/guestfish-actions.pod:2983
10363 msgid "FIFO (named pipe)"
10364 msgstr ""
10365
10366 # type: =item
10367 #: ../src/guestfs-actions.pod:3870 ../fish/guestfish-actions.pod:2985
10368 msgid "'l'"
10369 msgstr ""
10370
10371 # type: textblock
10372 #: ../src/guestfs-actions.pod:3872 ../fish/guestfish-actions.pod:2987
10373 msgid "Symbolic link"
10374 msgstr ""
10375
10376 # type: =item
10377 #: ../src/guestfs-actions.pod:3874 ../fish/guestfish-actions.pod:2989
10378 msgid "'r'"
10379 msgstr ""
10380
10381 # type: textblock
10382 #: ../src/guestfs-actions.pod:3876 ../fish/guestfish-actions.pod:2991
10383 msgid "Regular file"
10384 msgstr ""
10385
10386 # type: =item
10387 #: ../src/guestfs-actions.pod:3878 ../fish/guestfish-actions.pod:2993
10388 msgid "'s'"
10389 msgstr ""
10390
10391 # type: textblock
10392 #: ../src/guestfs-actions.pod:3880 ../fish/guestfish-actions.pod:2995
10393 msgid "Socket"
10394 msgstr ""
10395
10396 # type: =item
10397 #: ../src/guestfs-actions.pod:3882 ../fish/guestfish-actions.pod:2997
10398 msgid "'u'"
10399 msgstr ""
10400
10401 # type: textblock
10402 #: ../src/guestfs-actions.pod:3884 ../fish/guestfish-actions.pod:2999
10403 msgid "Unknown file type"
10404 msgstr ""
10405
10406 # type: =item
10407 #: ../src/guestfs-actions.pod:3886 ../fish/guestfish-actions.pod:3001
10408 msgid "'?'"
10409 msgstr ""
10410
10411 # type: textblock
10412 #: ../src/guestfs-actions.pod:3888 ../fish/guestfish-actions.pod:3003
10413 msgid "The L<readdir(3)> call returned a C<d_type> field with an unexpected value"
10414 msgstr ""
10415
10416 # type: textblock
10417 #: ../src/guestfs-actions.pod:3893
10418 msgid ""
10419 "This function is primarily intended for use by programs.  To get a simple "
10420 "list of names, use C<guestfs_ls>.  To get a printable directory for human "
10421 "consumption, use C<guestfs_ll>."
10422 msgstr ""
10423
10424 # type: textblock
10425 #: ../src/guestfs-actions.pod:3897
10426 msgid ""
10427 "This function returns a C<struct guestfs_dirent_list *> (see "
10428 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
10429 "must call C<guestfs_free_dirent_list> after use>."
10430 msgstr ""
10431
10432 # type: =head2
10433 #: ../src/guestfs-actions.pod:3902
10434 msgid "guestfs_readlink"
10435 msgstr ""
10436
10437 # type: verbatim
10438 #: ../src/guestfs-actions.pod:3904
10439 #, no-wrap
10440 msgid ""
10441 " char *guestfs_readlink (guestfs_h *g,\n"
10442 "\t\tconst char *path);\n"
10443 "\n"
10444 msgstr ""
10445
10446 # type: textblock
10447 #: ../src/guestfs-actions.pod:3907 ../fish/guestfish-actions.pod:3016
10448 msgid "This command reads the target of a symbolic link."
10449 msgstr ""
10450
10451 # type: =head2
10452 #: ../src/guestfs-actions.pod:3912
10453 msgid "guestfs_readlinklist"
10454 msgstr ""
10455
10456 # type: verbatim
10457 #: ../src/guestfs-actions.pod:3914
10458 #, no-wrap
10459 msgid ""
10460 " char **guestfs_readlinklist (guestfs_h *g,\n"
10461 "\t\tconst char *path,\n"
10462 "\t\tchar *const *names);\n"
10463 "\n"
10464 msgstr ""
10465
10466 # type: textblock
10467 #: ../src/guestfs-actions.pod:3918 ../fish/guestfish-actions.pod:3022
10468 msgid ""
10469 "This call allows you to do a C<readlink> operation on multiple files, where "
10470 "all files are in the directory C<path>.  C<names> is the list of files from "
10471 "this directory."
10472 msgstr ""
10473
10474 # type: textblock
10475 #: ../src/guestfs-actions.pod:3922 ../fish/guestfish-actions.pod:3026
10476 msgid ""
10477 "On return you get a list of strings, with a one-to-one correspondence to the "
10478 "C<names> list.  Each string is the value of the symbolic link."
10479 msgstr ""
10480
10481 # type: textblock
10482 #: ../src/guestfs-actions.pod:3926 ../fish/guestfish-actions.pod:3030
10483 msgid ""
10484 "If the C<readlink(2)> operation fails on any name, then the corresponding "
10485 "result string is the empty string C<\"\">.  However the whole operation is "
10486 "completed even if there were C<readlink(2)> errors, and so you can call this "
10487 "function with names where you don't know if they are symbolic links already "
10488 "(albeit slightly less efficient)."
10489 msgstr ""
10490
10491 # type: textblock
10492 #: ../src/guestfs-actions.pod:3933 ../fish/guestfish-actions.pod:3037
10493 msgid ""
10494 "This call is intended for programs that want to efficiently list a directory "
10495 "contents without making many round-trips.  Very long directory listings "
10496 "might cause the protocol message size to be exceeded, causing this call to "
10497 "fail.  The caller must split up such requests into smaller groups of names."
10498 msgstr ""
10499
10500 # type: =head2
10501 #: ../src/guestfs-actions.pod:3944
10502 msgid "guestfs_realpath"
10503 msgstr ""
10504
10505 # type: verbatim
10506 #: ../src/guestfs-actions.pod:3946
10507 #, no-wrap
10508 msgid ""
10509 " char *guestfs_realpath (guestfs_h *g,\n"
10510 "\t\tconst char *path);\n"
10511 "\n"
10512 msgstr ""
10513
10514 # type: textblock
10515 #: ../src/guestfs-actions.pod:3949 ../fish/guestfish-actions.pod:3048
10516 msgid ""
10517 "Return the canonicalized absolute pathname of C<path>.  The returned path "
10518 "has no C<.>, C<..> or symbolic link path elements."
10519 msgstr ""
10520
10521 # type: =head2
10522 #: ../src/guestfs-actions.pod:3955
10523 msgid "guestfs_removexattr"
10524 msgstr ""
10525
10526 # type: verbatim
10527 #: ../src/guestfs-actions.pod:3957
10528 #, no-wrap
10529 msgid ""
10530 " int guestfs_removexattr (guestfs_h *g,\n"
10531 "\t\tconst char *xattr,\n"
10532 "\t\tconst char *path);\n"
10533 "\n"
10534 msgstr ""
10535
10536 # type: textblock
10537 #: ../src/guestfs-actions.pod:3961 ../fish/guestfish-actions.pod:3055
10538 msgid "This call removes the extended attribute named C<xattr> of the file C<path>."
10539 msgstr ""
10540
10541 # type: textblock
10542 #: ../src/guestfs-actions.pod:3964
10543 msgid "See also: C<guestfs_lremovexattr>, L<attr(5)>."
10544 msgstr ""
10545
10546 # type: =head2
10547 #: ../src/guestfs-actions.pod:3968
10548 msgid "guestfs_resize2fs"
10549 msgstr ""
10550
10551 # type: verbatim
10552 #: ../src/guestfs-actions.pod:3970
10553 #, no-wrap
10554 msgid ""
10555 " int guestfs_resize2fs (guestfs_h *g,\n"
10556 "\t\tconst char *device);\n"
10557 "\n"
10558 msgstr ""
10559
10560 # type: textblock
10561 #: ../src/guestfs-actions.pod:3973 ../fish/guestfish-actions.pod:3064
10562 msgid ""
10563 "This resizes an ext2, ext3 or ext4 filesystem to match the size of the "
10564 "underlying device."
10565 msgstr ""
10566
10567 # type: textblock
10568 #: ../src/guestfs-actions.pod:3976
10569 msgid ""
10570 "I<Note:> It is sometimes required that you run C<guestfs_e2fsck_f> on the "
10571 "C<device> before calling this command.  For unknown reasons C<resize2fs> "
10572 "sometimes gives an error about this and sometimes not.  In any case, it is "
10573 "always safe to call C<guestfs_e2fsck_f> before calling this function."
10574 msgstr ""
10575
10576 # type: =head2
10577 #: ../src/guestfs-actions.pod:3984
10578 msgid "guestfs_resize2fs_size"
10579 msgstr ""
10580
10581 # type: verbatim
10582 #: ../src/guestfs-actions.pod:3986
10583 #, no-wrap
10584 msgid ""
10585 " int guestfs_resize2fs_size (guestfs_h *g,\n"
10586 "\t\tconst char *device,\n"
10587 "\t\tint64_t size);\n"
10588 "\n"
10589 msgstr ""
10590
10591 # type: textblock
10592 #: ../src/guestfs-actions.pod:3990
10593 msgid ""
10594 "This command is the same as C<guestfs_resize2fs> except that it allows you "
10595 "to specify the new size (in bytes) explicitly."
10596 msgstr ""
10597
10598 # type: =head2
10599 #: ../src/guestfs-actions.pod:3995
10600 msgid "guestfs_rm"
10601 msgstr ""
10602
10603 # type: verbatim
10604 #: ../src/guestfs-actions.pod:3997
10605 #, no-wrap
10606 msgid ""
10607 " int guestfs_rm (guestfs_h *g,\n"
10608 "\t\tconst char *path);\n"
10609 "\n"
10610 msgstr ""
10611
10612 # type: textblock
10613 #: ../src/guestfs-actions.pod:4000 ../fish/guestfish-actions.pod:3084
10614 msgid "Remove the single file C<path>."
10615 msgstr ""
10616
10617 # type: =head2
10618 #: ../src/guestfs-actions.pod:4004
10619 msgid "guestfs_rm_rf"
10620 msgstr ""
10621
10622 # type: verbatim
10623 #: ../src/guestfs-actions.pod:4006
10624 #, no-wrap
10625 msgid ""
10626 " int guestfs_rm_rf (guestfs_h *g,\n"
10627 "\t\tconst char *path);\n"
10628 "\n"
10629 msgstr ""
10630
10631 # type: textblock
10632 #: ../src/guestfs-actions.pod:4009 ../fish/guestfish-actions.pod:3090
10633 msgid ""
10634 "Remove the file or directory C<path>, recursively removing the contents if "
10635 "its a directory.  This is like the C<rm -rf> shell command."
10636 msgstr ""
10637
10638 # type: =head2
10639 #: ../src/guestfs-actions.pod:4015
10640 msgid "guestfs_rmdir"
10641 msgstr ""
10642
10643 # type: verbatim
10644 #: ../src/guestfs-actions.pod:4017
10645 #, no-wrap
10646 msgid ""
10647 " int guestfs_rmdir (guestfs_h *g,\n"
10648 "\t\tconst char *path);\n"
10649 "\n"
10650 msgstr ""
10651
10652 # type: textblock
10653 #: ../src/guestfs-actions.pod:4020 ../fish/guestfish-actions.pod:3098
10654 msgid "Remove the single directory C<path>."
10655 msgstr ""
10656
10657 # type: =head2
10658 #: ../src/guestfs-actions.pod:4024
10659 msgid "guestfs_rmmountpoint"
10660 msgstr ""
10661
10662 # type: verbatim
10663 #: ../src/guestfs-actions.pod:4026
10664 #, no-wrap
10665 msgid ""
10666 " int guestfs_rmmountpoint (guestfs_h *g,\n"
10667 "\t\tconst char *exemptpath);\n"
10668 "\n"
10669 msgstr ""
10670
10671 # type: textblock
10672 #: ../src/guestfs-actions.pod:4029
10673 msgid ""
10674 "This calls removes a mountpoint that was previously created with "
10675 "C<guestfs_mkmountpoint>.  See C<guestfs_mkmountpoint> for full details."
10676 msgstr ""
10677
10678 # type: =head2
10679 #: ../src/guestfs-actions.pod:4035
10680 msgid "guestfs_scrub_device"
10681 msgstr ""
10682
10683 # type: verbatim
10684 #: ../src/guestfs-actions.pod:4037
10685 #, no-wrap
10686 msgid ""
10687 " int guestfs_scrub_device (guestfs_h *g,\n"
10688 "\t\tconst char *device);\n"
10689 "\n"
10690 msgstr ""
10691
10692 # type: textblock
10693 #: ../src/guestfs-actions.pod:4040 ../fish/guestfish-actions.pod:3112
10694 msgid ""
10695 "This command writes patterns over C<device> to make data retrieval more "
10696 "difficult."
10697 msgstr ""
10698
10699 # type: textblock
10700 #: ../src/guestfs-actions.pod:4043 ../src/guestfs-actions.pod:4061 ../src/guestfs-actions.pod:4077 ../fish/guestfish-actions.pod:3115 ../fish/guestfish-actions.pod:3130 ../fish/guestfish-actions.pod:3143
10701 msgid ""
10702 "It is an interface to the L<scrub(1)> program.  See that manual page for "
10703 "more details."
10704 msgstr ""
10705
10706 # type: =head2
10707 #: ../src/guestfs-actions.pod:4051
10708 msgid "guestfs_scrub_file"
10709 msgstr ""
10710
10711 # type: verbatim
10712 #: ../src/guestfs-actions.pod:4053
10713 #, no-wrap
10714 msgid ""
10715 " int guestfs_scrub_file (guestfs_h *g,\n"
10716 "\t\tconst char *file);\n"
10717 "\n"
10718 msgstr ""
10719
10720 # type: textblock
10721 #: ../src/guestfs-actions.pod:4056 ../fish/guestfish-actions.pod:3125
10722 msgid ""
10723 "This command writes patterns over a file to make data retrieval more "
10724 "difficult."
10725 msgstr ""
10726
10727 # type: textblock
10728 #: ../src/guestfs-actions.pod:4059 ../fish/guestfish-actions.pod:3128
10729 msgid "The file is I<removed> after scrubbing."
10730 msgstr ""
10731
10732 # type: =head2
10733 #: ../src/guestfs-actions.pod:4066
10734 msgid "guestfs_scrub_freespace"
10735 msgstr ""
10736
10737 # type: verbatim
10738 #: ../src/guestfs-actions.pod:4068
10739 #, no-wrap
10740 msgid ""
10741 " int guestfs_scrub_freespace (guestfs_h *g,\n"
10742 "\t\tconst char *dir);\n"
10743 "\n"
10744 msgstr ""
10745
10746 # type: textblock
10747 #: ../src/guestfs-actions.pod:4071
10748 msgid ""
10749 "This command creates the directory C<dir> and then fills it with files until "
10750 "the filesystem is full, and scrubs the files as for C<guestfs_scrub_file>, "
10751 "and deletes them.  The intention is to scrub any free space on the partition "
10752 "containing C<dir>."
10753 msgstr ""
10754
10755 # type: =head2
10756 #: ../src/guestfs-actions.pod:4082
10757 msgid "guestfs_set_append"
10758 msgstr ""
10759
10760 # type: verbatim
10761 #: ../src/guestfs-actions.pod:4084
10762 #, no-wrap
10763 msgid ""
10764 " int guestfs_set_append (guestfs_h *g,\n"
10765 "\t\tconst char *append);\n"
10766 "\n"
10767 msgstr ""
10768
10769 # type: textblock
10770 #: ../src/guestfs-actions.pod:4087 ../fish/guestfish-actions.pod:3150
10771 msgid ""
10772 "This function is used to add additional options to the guest kernel command "
10773 "line."
10774 msgstr ""
10775
10776 # type: textblock
10777 #: ../src/guestfs-actions.pod:4090 ../fish/guestfish-actions.pod:3153
10778 msgid ""
10779 "The default is C<NULL> unless overridden by setting C<LIBGUESTFS_APPEND> "
10780 "environment variable."
10781 msgstr ""
10782
10783 # type: textblock
10784 #: ../src/guestfs-actions.pod:4093 ../fish/guestfish-actions.pod:3156
10785 msgid ""
10786 "Setting C<append> to C<NULL> means I<no> additional options are passed "
10787 "(libguestfs always adds a few of its own)."
10788 msgstr ""
10789
10790 # type: =head2
10791 #: ../src/guestfs-actions.pod:4098
10792 msgid "guestfs_set_autosync"
10793 msgstr ""
10794
10795 # type: verbatim
10796 #: ../src/guestfs-actions.pod:4100
10797 #, no-wrap
10798 msgid ""
10799 " int guestfs_set_autosync (guestfs_h *g,\n"
10800 "\t\tint autosync);\n"
10801 "\n"
10802 msgstr ""
10803
10804 # type: textblock
10805 #: ../src/guestfs-actions.pod:4103
10806 msgid ""
10807 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
10808 "effort attempt to run C<guestfs_umount_all> followed by C<guestfs_sync> when "
10809 "the handle is closed (also if the program exits without closing handles)."
10810 msgstr ""
10811
10812 # type: textblock
10813 #: ../src/guestfs-actions.pod:4108 ../fish/guestfish-actions.pod:3168
10814 msgid ""
10815 "This is disabled by default (except in guestfish where it is enabled by "
10816 "default)."
10817 msgstr ""
10818
10819 # type: =head2
10820 #: ../src/guestfs-actions.pod:4113
10821 msgid "guestfs_set_direct"
10822 msgstr ""
10823
10824 # type: verbatim
10825 #: ../src/guestfs-actions.pod:4115
10826 #, no-wrap
10827 msgid ""
10828 " int guestfs_set_direct (guestfs_h *g,\n"
10829 "\t\tint direct);\n"
10830 "\n"
10831 msgstr ""
10832
10833 # type: textblock
10834 #: ../src/guestfs-actions.pod:4118 ../fish/guestfish-actions.pod:3175
10835 msgid ""
10836 "If the direct appliance mode flag is enabled, then stdin and stdout are "
10837 "passed directly through to the appliance once it is launched."
10838 msgstr ""
10839
10840 # type: textblock
10841 #: ../src/guestfs-actions.pod:4122
10842 msgid ""
10843 "One consequence of this is that log messages aren't caught by the library "
10844 "and handled by C<guestfs_set_log_message_callback>, but go straight to "
10845 "stdout."
10846 msgstr ""
10847
10848 # type: textblock
10849 #: ../src/guestfs-actions.pod:4126 ../fish/guestfish-actions.pod:3183
10850 msgid "You probably don't want to use this unless you know what you are doing."
10851 msgstr ""
10852
10853 # type: textblock
10854 #: ../src/guestfs-actions.pod:4129 ../fish/guestfish-actions.pod:3186
10855 msgid "The default is disabled."
10856 msgstr ""
10857
10858 # type: =head2
10859 #: ../src/guestfs-actions.pod:4133
10860 msgid "guestfs_set_e2label"
10861 msgstr ""
10862
10863 # type: verbatim
10864 #: ../src/guestfs-actions.pod:4135
10865 #, no-wrap
10866 msgid ""
10867 " int guestfs_set_e2label (guestfs_h *g,\n"
10868 "\t\tconst char *device,\n"
10869 "\t\tconst char *label);\n"
10870 "\n"
10871 msgstr ""
10872
10873 # type: textblock
10874 #: ../src/guestfs-actions.pod:4139 ../fish/guestfish-actions.pod:3192
10875 msgid ""
10876 "This sets the ext2/3/4 filesystem label of the filesystem on C<device> to "
10877 "C<label>.  Filesystem labels are limited to 16 characters."
10878 msgstr ""
10879
10880 # type: textblock
10881 #: ../src/guestfs-actions.pod:4143
10882 msgid ""
10883 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2label> to return "
10884 "the existing label on a filesystem."
10885 msgstr ""
10886
10887 # type: =head2
10888 #: ../src/guestfs-actions.pod:4148
10889 msgid "guestfs_set_e2uuid"
10890 msgstr ""
10891
10892 # type: verbatim
10893 #: ../src/guestfs-actions.pod:4150
10894 #, no-wrap
10895 msgid ""
10896 " int guestfs_set_e2uuid (guestfs_h *g,\n"
10897 "\t\tconst char *device,\n"
10898 "\t\tconst char *uuid);\n"
10899 "\n"
10900 msgstr ""
10901
10902 # type: textblock
10903 #: ../src/guestfs-actions.pod:4154 ../fish/guestfish-actions.pod:3203
10904 msgid ""
10905 "This sets the ext2/3/4 filesystem UUID of the filesystem on C<device> to "
10906 "C<uuid>.  The format of the UUID and alternatives such as C<clear>, "
10907 "C<random> and C<time> are described in the L<tune2fs(8)> manpage."
10908 msgstr ""
10909
10910 # type: textblock
10911 #: ../src/guestfs-actions.pod:4159
10912 msgid ""
10913 "You can use either C<guestfs_tune2fs_l> or C<guestfs_get_e2uuid> to return "
10914 "the existing UUID of a filesystem."
10915 msgstr ""
10916
10917 # type: =head2
10918 #: ../src/guestfs-actions.pod:4164
10919 msgid "guestfs_set_memsize"
10920 msgstr ""
10921
10922 # type: verbatim
10923 #: ../src/guestfs-actions.pod:4166
10924 #, no-wrap
10925 msgid ""
10926 " int guestfs_set_memsize (guestfs_h *g,\n"
10927 "\t\tint memsize);\n"
10928 "\n"
10929 msgstr ""
10930
10931 # type: textblock
10932 #: ../src/guestfs-actions.pod:4169
10933 msgid ""
10934 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
10935 "This only has any effect if called before C<guestfs_launch>."
10936 msgstr ""
10937
10938 # type: textblock
10939 #: ../src/guestfs-actions.pod:4173 ../fish/guestfish-actions.pod:3219
10940 msgid ""
10941 "You can also change this by setting the environment variable "
10942 "C<LIBGUESTFS_MEMSIZE> before the handle is created."
10943 msgstr ""
10944
10945 # type: =head2
10946 #: ../src/guestfs-actions.pod:4182
10947 msgid "guestfs_set_network"
10948 msgstr ""
10949
10950 # type: verbatim
10951 #: ../src/guestfs-actions.pod:4184
10952 #, no-wrap
10953 msgid ""
10954 " int guestfs_set_network (guestfs_h *g,\n"
10955 "\t\tint network);\n"
10956 "\n"
10957 msgstr ""
10958
10959 # type: textblock
10960 #: ../src/guestfs-actions.pod:4187 ../fish/guestfish-actions.pod:3230
10961 msgid ""
10962 "If C<network> is true, then the network is enabled in the libguestfs "
10963 "appliance.  The default is false."
10964 msgstr ""
10965
10966 # type: textblock
10967 #: ../src/guestfs-actions.pod:4190 ../fish/guestfish-actions.pod:3233
10968 msgid ""
10969 "This affects whether commands are able to access the network (see "
10970 "L<guestfs(3)/RUNNING COMMANDS>)."
10971 msgstr ""
10972
10973 # type: textblock
10974 #: ../src/guestfs-actions.pod:4193
10975 msgid ""
10976 "You must call this before calling C<guestfs_launch>, otherwise it has no "
10977 "effect."
10978 msgstr ""
10979
10980 # type: =head2
10981 #: ../src/guestfs-actions.pod:4198
10982 msgid "guestfs_set_path"
10983 msgstr ""
10984
10985 # type: verbatim
10986 #: ../src/guestfs-actions.pod:4200
10987 #, no-wrap
10988 msgid ""
10989 " int guestfs_set_path (guestfs_h *g,\n"
10990 "\t\tconst char *searchpath);\n"
10991 "\n"
10992 msgstr ""
10993
10994 # type: textblock
10995 #: ../src/guestfs-actions.pod:4203 ../fish/guestfish-actions.pod:3243
10996 msgid "Set the path that libguestfs searches for kernel and initrd.img."
10997 msgstr ""
10998
10999 # type: textblock
11000 #: ../src/guestfs-actions.pod:4205 ../fish/guestfish-actions.pod:3245
11001 msgid ""
11002 "The default is C<$libdir/guestfs> unless overridden by setting "
11003 "C<LIBGUESTFS_PATH> environment variable."
11004 msgstr ""
11005
11006 # type: textblock
11007 #: ../src/guestfs-actions.pod:4208 ../fish/guestfish-actions.pod:3248
11008 msgid "Setting C<path> to C<NULL> restores the default path."
11009 msgstr ""
11010
11011 # type: =head2
11012 #: ../src/guestfs-actions.pod:4212
11013 msgid "guestfs_set_qemu"
11014 msgstr ""
11015
11016 # type: verbatim
11017 #: ../src/guestfs-actions.pod:4214
11018 #, no-wrap
11019 msgid ""
11020 " int guestfs_set_qemu (guestfs_h *g,\n"
11021 "\t\tconst char *qemu);\n"
11022 "\n"
11023 msgstr ""
11024
11025 # type: textblock
11026 #: ../src/guestfs-actions.pod:4217 ../fish/guestfish-actions.pod:3254
11027 msgid "Set the qemu binary that we will use."
11028 msgstr ""
11029
11030 # type: textblock
11031 #: ../src/guestfs-actions.pod:4219 ../fish/guestfish-actions.pod:3256
11032 msgid "The default is chosen when the library was compiled by the configure script."
11033 msgstr ""
11034
11035 # type: textblock
11036 #: ../src/guestfs-actions.pod:4222 ../fish/guestfish-actions.pod:3259
11037 msgid ""
11038 "You can also override this by setting the C<LIBGUESTFS_QEMU> environment "
11039 "variable."
11040 msgstr ""
11041
11042 # type: textblock
11043 #: ../src/guestfs-actions.pod:4225 ../fish/guestfish-actions.pod:3262
11044 msgid "Setting C<qemu> to C<NULL> restores the default qemu binary."
11045 msgstr ""
11046
11047 # type: textblock
11048 #: ../src/guestfs-actions.pod:4227 ../fish/guestfish-actions.pod:3264
11049 msgid ""
11050 "Note that you should call this function as early as possible after creating "
11051 "the handle.  This is because some pre-launch operations depend on testing "
11052 "qemu features (by running C<qemu -help>).  If the qemu binary changes, we "
11053 "don't retest features, and so you might see inconsistent results.  Using the "
11054 "environment variable C<LIBGUESTFS_QEMU> is safest of all since that picks "
11055 "the qemu binary at the same time as the handle is created."
11056 msgstr ""
11057
11058 # type: =head2
11059 #: ../src/guestfs-actions.pod:4237
11060 msgid "guestfs_set_recovery_proc"
11061 msgstr ""
11062
11063 # type: verbatim
11064 #: ../src/guestfs-actions.pod:4239
11065 #, no-wrap
11066 msgid ""
11067 " int guestfs_set_recovery_proc (guestfs_h *g,\n"
11068 "\t\tint recoveryproc);\n"
11069 "\n"
11070 msgstr ""
11071
11072 # type: textblock
11073 #: ../src/guestfs-actions.pod:4242
11074 msgid ""
11075 "If this is called with the parameter C<false> then C<guestfs_launch> does "
11076 "not create a recovery process.  The purpose of the recovery process is to "
11077 "stop runaway qemu processes in the case where the main program aborts "
11078 "abruptly."
11079 msgstr ""
11080
11081 # type: textblock
11082 #: ../src/guestfs-actions.pod:4247
11083 msgid ""
11084 "This only has any effect if called before C<guestfs_launch>, and the default "
11085 "is true."
11086 msgstr ""
11087
11088 # type: textblock
11089 #: ../src/guestfs-actions.pod:4250 ../fish/guestfish-actions.pod:3284
11090 msgid ""
11091 "About the only time when you would want to disable this is if the main "
11092 "process will fork itself into the background (\"daemonize\" itself).  In "
11093 "this case the recovery process thinks that the main program has disappeared "
11094 "and so kills qemu, which is not very helpful."
11095 msgstr ""
11096
11097 # type: =head2
11098 #: ../src/guestfs-actions.pod:4258
11099 msgid "guestfs_set_selinux"
11100 msgstr ""
11101
11102 # type: verbatim
11103 #: ../src/guestfs-actions.pod:4260
11104 #, no-wrap
11105 msgid ""
11106 " int guestfs_set_selinux (guestfs_h *g,\n"
11107 "\t\tint selinux);\n"
11108 "\n"
11109 msgstr ""
11110
11111 # type: textblock
11112 #: ../src/guestfs-actions.pod:4263 ../fish/guestfish-actions.pod:3294
11113 msgid ""
11114 "This sets the selinux flag that is passed to the appliance at boot time.  "
11115 "The default is C<selinux=0> (disabled)."
11116 msgstr ""
11117
11118 # type: textblock
11119 #: ../src/guestfs-actions.pod:4266 ../fish/guestfish-actions.pod:3297
11120 msgid ""
11121 "Note that if SELinux is enabled, it is always in Permissive mode "
11122 "(C<enforcing=0>)."
11123 msgstr ""
11124
11125 # type: =head2
11126 #: ../src/guestfs-actions.pod:4274
11127 msgid "guestfs_set_trace"
11128 msgstr ""
11129
11130 # type: verbatim
11131 #: ../src/guestfs-actions.pod:4276
11132 #, no-wrap
11133 msgid ""
11134 " int guestfs_set_trace (guestfs_h *g,\n"
11135 "\t\tint trace);\n"
11136 "\n"
11137 msgstr ""
11138
11139 # type: textblock
11140 #: ../src/guestfs-actions.pod:4279 ../fish/guestfish-actions.pod:3307
11141 msgid ""
11142 "If the command trace flag is set to 1, then commands are printed on stderr "
11143 "before they are executed in a format which is very similar to the one used "
11144 "by guestfish.  In other words, you can run a program with this enabled, and "
11145 "you will get out a script which you can feed to guestfish to perform the "
11146 "same set of actions."
11147 msgstr ""
11148
11149 # type: textblock
11150 #: ../src/guestfs-actions.pod:4286 ../fish/guestfish-actions.pod:3314
11151 msgid ""
11152 "If you want to trace C API calls into libguestfs (and other libraries) then "
11153 "possibly a better way is to use the external ltrace(1) command."
11154 msgstr ""
11155
11156 # type: textblock
11157 #: ../src/guestfs-actions.pod:4290 ../fish/guestfish-actions.pod:3318
11158 msgid ""
11159 "Command traces are disabled unless the environment variable "
11160 "C<LIBGUESTFS_TRACE> is defined and set to C<1>."
11161 msgstr ""
11162
11163 # type: =head2
11164 #: ../src/guestfs-actions.pod:4295
11165 msgid "guestfs_set_verbose"
11166 msgstr ""
11167
11168 # type: verbatim
11169 #: ../src/guestfs-actions.pod:4297
11170 #, no-wrap
11171 msgid ""
11172 " int guestfs_set_verbose (guestfs_h *g,\n"
11173 "\t\tint verbose);\n"
11174 "\n"
11175 msgstr ""
11176
11177 # type: textblock
11178 #: ../src/guestfs-actions.pod:4300 ../fish/guestfish-actions.pod:3325
11179 msgid "If C<verbose> is true, this turns on verbose messages (to C<stderr>)."
11180 msgstr ""
11181
11182 # type: textblock
11183 #: ../src/guestfs-actions.pod:4302 ../fish/guestfish-actions.pod:3327
11184 msgid ""
11185 "Verbose messages are disabled unless the environment variable "
11186 "C<LIBGUESTFS_DEBUG> is defined and set to C<1>."
11187 msgstr ""
11188
11189 # type: =head2
11190 #: ../src/guestfs-actions.pod:4307
11191 msgid "guestfs_setcon"
11192 msgstr ""
11193
11194 # type: verbatim
11195 #: ../src/guestfs-actions.pod:4309
11196 #, no-wrap
11197 msgid ""
11198 " int guestfs_setcon (guestfs_h *g,\n"
11199 "\t\tconst char *context);\n"
11200 "\n"
11201 msgstr ""
11202
11203 # type: textblock
11204 #: ../src/guestfs-actions.pod:4312 ../fish/guestfish-actions.pod:3334
11205 msgid ""
11206 "This sets the SELinux security context of the daemon to the string "
11207 "C<context>."
11208 msgstr ""
11209
11210 # type: textblock
11211 #: ../src/guestfs-actions.pod:4315 ../fish/guestfish-actions.pod:3337
11212 msgid "See the documentation about SELINUX in L<guestfs(3)>."
11213 msgstr ""
11214
11215 # type: =head2
11216 #: ../src/guestfs-actions.pod:4319
11217 msgid "guestfs_setxattr"
11218 msgstr ""
11219
11220 # type: verbatim
11221 #: ../src/guestfs-actions.pod:4321
11222 #, no-wrap
11223 msgid ""
11224 " int guestfs_setxattr (guestfs_h *g,\n"
11225 "\t\tconst char *xattr,\n"
11226 "\t\tconst char *val,\n"
11227 "\t\tint vallen,\n"
11228 "\t\tconst char *path);\n"
11229 "\n"
11230 msgstr ""
11231
11232 # type: textblock
11233 #: ../src/guestfs-actions.pod:4327 ../fish/guestfish-actions.pod:3343
11234 msgid ""
11235 "This call sets the extended attribute named C<xattr> of the file C<path> to "
11236 "the value C<val> (of length C<vallen>).  The value is arbitrary 8 bit data."
11237 msgstr ""
11238
11239 # type: textblock
11240 #: ../src/guestfs-actions.pod:4331
11241 msgid "See also: C<guestfs_lsetxattr>, L<attr(5)>."
11242 msgstr ""
11243
11244 # type: =head2
11245 #: ../src/guestfs-actions.pod:4335
11246 msgid "guestfs_sfdisk"
11247 msgstr ""
11248
11249 # type: verbatim
11250 #: ../src/guestfs-actions.pod:4337
11251 #, no-wrap
11252 msgid ""
11253 " int guestfs_sfdisk (guestfs_h *g,\n"
11254 "\t\tconst char *device,\n"
11255 "\t\tint cyls,\n"
11256 "\t\tint heads,\n"
11257 "\t\tint sectors,\n"
11258 "\t\tchar *const *lines);\n"
11259 "\n"
11260 msgstr ""
11261
11262 # type: textblock
11263 #: ../src/guestfs-actions.pod:4344 ../fish/guestfish-actions.pod:3353
11264 msgid ""
11265 "This is a direct interface to the L<sfdisk(8)> program for creating "
11266 "partitions on block devices."
11267 msgstr ""
11268
11269 # type: textblock
11270 #: ../src/guestfs-actions.pod:4347 ../fish/guestfish-actions.pod:3356
11271 msgid "C<device> should be a block device, for example C</dev/sda>."
11272 msgstr ""
11273
11274 # type: textblock
11275 #: ../src/guestfs-actions.pod:4349 ../fish/guestfish-actions.pod:3358
11276 msgid ""
11277 "C<cyls>, C<heads> and C<sectors> are the number of cylinders, heads and "
11278 "sectors on the device, which are passed directly to sfdisk as the I<-C>, "
11279 "I<-H> and I<-S> parameters.  If you pass C<0> for any of these, then the "
11280 "corresponding parameter is omitted.  Usually for 'large' disks, you can just "
11281 "pass C<0> for these, but for small (floppy-sized) disks, sfdisk (or rather, "
11282 "the kernel) cannot work out the right geometry and you will need to tell it."
11283 msgstr ""
11284
11285 # type: textblock
11286 #: ../src/guestfs-actions.pod:4357 ../fish/guestfish-actions.pod:3366
11287 msgid ""
11288 "C<lines> is a list of lines that we feed to C<sfdisk>.  For more information "
11289 "refer to the L<sfdisk(8)> manpage."
11290 msgstr ""
11291
11292 # type: textblock
11293 #: ../src/guestfs-actions.pod:4360 ../fish/guestfish-actions.pod:3369
11294 msgid ""
11295 "To create a single partition occupying the whole disk, you would pass "
11296 "C<lines> as a single element list, when the single element being the string "
11297 "C<,> (comma)."
11298 msgstr ""
11299
11300 # type: textblock
11301 #: ../src/guestfs-actions.pod:4364
11302 msgid "See also: C<guestfs_sfdisk_l>, C<guestfs_sfdisk_N>, C<guestfs_part_init>"
11303 msgstr ""
11304
11305 # type: =head2
11306 #: ../src/guestfs-actions.pod:4372
11307 msgid "guestfs_sfdiskM"
11308 msgstr ""
11309
11310 # type: verbatim
11311 #: ../src/guestfs-actions.pod:4374
11312 #, no-wrap
11313 msgid ""
11314 " int guestfs_sfdiskM (guestfs_h *g,\n"
11315 "\t\tconst char *device,\n"
11316 "\t\tchar *const *lines);\n"
11317 "\n"
11318 msgstr ""
11319
11320 # type: textblock
11321 #: ../src/guestfs-actions.pod:4378
11322 msgid ""
11323 "This is a simplified interface to the C<guestfs_sfdisk> command, where "
11324 "partition sizes are specified in megabytes only (rounded to the nearest "
11325 "cylinder) and you don't need to specify the cyls, heads and sectors "
11326 "parameters which were rarely if ever used anyway."
11327 msgstr ""
11328
11329 # type: textblock
11330 #: ../src/guestfs-actions.pod:4384
11331 msgid ""
11332 "See also: C<guestfs_sfdisk>, the L<sfdisk(8)> manpage and "
11333 "C<guestfs_part_disk>"
11334 msgstr ""
11335
11336 # type: =head2
11337 #: ../src/guestfs-actions.pod:4392
11338 msgid "guestfs_sfdisk_N"
11339 msgstr ""
11340
11341 # type: verbatim
11342 #: ../src/guestfs-actions.pod:4394
11343 #, no-wrap
11344 msgid ""
11345 " int guestfs_sfdisk_N (guestfs_h *g,\n"
11346 "\t\tconst char *device,\n"
11347 "\t\tint partnum,\n"
11348 "\t\tint cyls,\n"
11349 "\t\tint heads,\n"
11350 "\t\tint sectors,\n"
11351 "\t\tconst char *line);\n"
11352 "\n"
11353 msgstr ""
11354
11355 # type: textblock
11356 #: ../src/guestfs-actions.pod:4402 ../fish/guestfish-actions.pod:3399
11357 msgid ""
11358 "This runs L<sfdisk(8)> option to modify just the single partition C<n> "
11359 "(note: C<n> counts from 1)."
11360 msgstr ""
11361
11362 # type: textblock
11363 #: ../src/guestfs-actions.pod:4405
11364 msgid ""
11365 "For other parameters, see C<guestfs_sfdisk>.  You should usually pass C<0> "
11366 "for the cyls/heads/sectors parameters."
11367 msgstr ""
11368
11369 # type: textblock
11370 #: ../src/guestfs-actions.pod:4408
11371 msgid "See also: C<guestfs_part_add>"
11372 msgstr ""
11373
11374 # type: =head2
11375 #: ../src/guestfs-actions.pod:4415
11376 msgid "guestfs_sfdisk_disk_geometry"
11377 msgstr ""
11378
11379 # type: verbatim
11380 #: ../src/guestfs-actions.pod:4417
11381 #, no-wrap
11382 msgid ""
11383 " char *guestfs_sfdisk_disk_geometry (guestfs_h *g,\n"
11384 "\t\tconst char *device);\n"
11385 "\n"
11386 msgstr ""
11387
11388 # type: textblock
11389 #: ../src/guestfs-actions.pod:4420
11390 msgid ""
11391 "This displays the disk geometry of C<device> read from the partition table.  "
11392 "Especially in the case where the underlying block device has been resized, "
11393 "this can be different from the kernel's idea of the geometry (see "
11394 "C<guestfs_sfdisk_kernel_geometry>)."
11395 msgstr ""
11396
11397 # type: textblock
11398 #: ../src/guestfs-actions.pod:4425 ../src/guestfs-actions.pod:4438 ../fish/guestfish-actions.pod:3419 ../fish/guestfish-actions.pod:3428
11399 msgid "The result is in human-readable format, and not designed to be parsed."
11400 msgstr ""
11401
11402 # type: =head2
11403 #: ../src/guestfs-actions.pod:4431
11404 msgid "guestfs_sfdisk_kernel_geometry"
11405 msgstr ""
11406
11407 # type: verbatim
11408 #: ../src/guestfs-actions.pod:4433
11409 #, no-wrap
11410 msgid ""
11411 " char *guestfs_sfdisk_kernel_geometry (guestfs_h *g,\n"
11412 "\t\tconst char *device);\n"
11413 "\n"
11414 msgstr ""
11415
11416 # type: textblock
11417 #: ../src/guestfs-actions.pod:4436 ../fish/guestfish-actions.pod:3426
11418 msgid "This displays the kernel's idea of the geometry of C<device>."
11419 msgstr ""
11420
11421 # type: =head2
11422 #: ../src/guestfs-actions.pod:4444
11423 msgid "guestfs_sfdisk_l"
11424 msgstr ""
11425
11426 # type: verbatim
11427 #: ../src/guestfs-actions.pod:4446
11428 #, no-wrap
11429 msgid ""
11430 " char *guestfs_sfdisk_l (guestfs_h *g,\n"
11431 "\t\tconst char *device);\n"
11432 "\n"
11433 msgstr ""
11434
11435 # type: textblock
11436 #: ../src/guestfs-actions.pod:4449 ../fish/guestfish-actions.pod:3435
11437 msgid ""
11438 "This displays the partition table on C<device>, in the human-readable output "
11439 "of the L<sfdisk(8)> command.  It is not intended to be parsed."
11440 msgstr ""
11441
11442 # type: textblock
11443 #: ../src/guestfs-actions.pod:4453
11444 msgid "See also: C<guestfs_part_list>"
11445 msgstr ""
11446
11447 # type: =head2
11448 #: ../src/guestfs-actions.pod:4458
11449 msgid "guestfs_sh"
11450 msgstr ""
11451
11452 # type: verbatim
11453 #: ../src/guestfs-actions.pod:4460
11454 #, no-wrap
11455 msgid ""
11456 " char *guestfs_sh (guestfs_h *g,\n"
11457 "\t\tconst char *command);\n"
11458 "\n"
11459 msgstr ""
11460
11461 # type: textblock
11462 #: ../src/guestfs-actions.pod:4463 ../fish/guestfish-actions.pod:3445
11463 msgid ""
11464 "This call runs a command from the guest filesystem via the guest's "
11465 "C</bin/sh>."
11466 msgstr ""
11467
11468 # type: textblock
11469 #: ../src/guestfs-actions.pod:4466
11470 msgid "This is like C<guestfs_command>, but passes the command to:"
11471 msgstr ""
11472
11473 # type: verbatim
11474 #: ../src/guestfs-actions.pod:4468 ../fish/guestfish-actions.pod:3450
11475 #, no-wrap
11476 msgid ""
11477 " /bin/sh -c \"command\"\n"
11478 "\n"
11479 msgstr ""
11480
11481 # type: textblock
11482 #: ../src/guestfs-actions.pod:4470 ../fish/guestfish-actions.pod:3452
11483 msgid ""
11484 "Depending on the guest's shell, this usually results in wildcards being "
11485 "expanded, shell expressions being interpolated and so on."
11486 msgstr ""
11487
11488 # type: textblock
11489 #: ../src/guestfs-actions.pod:4474
11490 msgid "All the provisos about C<guestfs_command> apply to this call."
11491 msgstr ""
11492
11493 # type: =head2
11494 #: ../src/guestfs-actions.pod:4479
11495 msgid "guestfs_sh_lines"
11496 msgstr ""
11497
11498 # type: verbatim
11499 #: ../src/guestfs-actions.pod:4481
11500 #, no-wrap
11501 msgid ""
11502 " char **guestfs_sh_lines (guestfs_h *g,\n"
11503 "\t\tconst char *command);\n"
11504 "\n"
11505 msgstr ""
11506
11507 # type: textblock
11508 #: ../src/guestfs-actions.pod:4484
11509 msgid ""
11510 "This is the same as C<guestfs_sh>, but splits the result into a list of "
11511 "lines."
11512 msgstr ""
11513
11514 # type: textblock
11515 #: ../src/guestfs-actions.pod:4487
11516 msgid "See also: C<guestfs_command_lines>"
11517 msgstr ""
11518
11519 # type: =head2
11520 #: ../src/guestfs-actions.pod:4493
11521 msgid "guestfs_sleep"
11522 msgstr ""
11523
11524 # type: verbatim
11525 #: ../src/guestfs-actions.pod:4495
11526 #, no-wrap
11527 msgid ""
11528 " int guestfs_sleep (guestfs_h *g,\n"
11529 "\t\tint secs);\n"
11530 "\n"
11531 msgstr ""
11532
11533 # type: textblock
11534 #: ../src/guestfs-actions.pod:4498 ../fish/guestfish-actions.pod:3471
11535 msgid "Sleep for C<secs> seconds."
11536 msgstr ""
11537
11538 # type: =head2
11539 #: ../src/guestfs-actions.pod:4502 ../src/guestfs-structs.pod:109
11540 msgid "guestfs_stat"
11541 msgstr ""
11542
11543 # type: verbatim
11544 #: ../src/guestfs-actions.pod:4504
11545 #, no-wrap
11546 msgid ""
11547 " struct guestfs_stat *guestfs_stat (guestfs_h *g,\n"
11548 "\t\tconst char *path);\n"
11549 "\n"
11550 msgstr ""
11551
11552 # type: textblock
11553 #: ../src/guestfs-actions.pod:4509 ../fish/guestfish-actions.pod:3479
11554 msgid "This is the same as the C<stat(2)> system call."
11555 msgstr ""
11556
11557 # type: =head2
11558 #: ../src/guestfs-actions.pod:4515 ../src/guestfs-structs.pod:135
11559 msgid "guestfs_statvfs"
11560 msgstr ""
11561
11562 # type: verbatim
11563 #: ../src/guestfs-actions.pod:4517
11564 #, no-wrap
11565 msgid ""
11566 " struct guestfs_statvfs *guestfs_statvfs (guestfs_h *g,\n"
11567 "\t\tconst char *path);\n"
11568 "\n"
11569 msgstr ""
11570
11571 # type: textblock
11572 #: ../src/guestfs-actions.pod:4520 ../fish/guestfish-actions.pod:3485
11573 msgid ""
11574 "Returns file system statistics for any mounted file system.  C<path> should "
11575 "be a file or directory in the mounted file system (typically it is the mount "
11576 "point itself, but it doesn't need to be)."
11577 msgstr ""
11578
11579 # type: textblock
11580 #: ../src/guestfs-actions.pod:4524 ../fish/guestfish-actions.pod:3489
11581 msgid "This is the same as the C<statvfs(2)> system call."
11582 msgstr ""
11583
11584 # type: textblock
11585 #: ../src/guestfs-actions.pod:4526
11586 msgid ""
11587 "This function returns a C<struct guestfs_statvfs *>, or NULL if there was an "
11588 "error.  I<The caller must call C<guestfs_free_statvfs> after use>."
11589 msgstr ""
11590
11591 # type: =head2
11592 #: ../src/guestfs-actions.pod:4530
11593 msgid "guestfs_strings"
11594 msgstr ""
11595
11596 # type: verbatim
11597 #: ../src/guestfs-actions.pod:4532
11598 #, no-wrap
11599 msgid ""
11600 " char **guestfs_strings (guestfs_h *g,\n"
11601 "\t\tconst char *path);\n"
11602 "\n"
11603 msgstr ""
11604
11605 # type: textblock
11606 #: ../src/guestfs-actions.pod:4535 ../fish/guestfish-actions.pod:3495
11607 msgid ""
11608 "This runs the L<strings(1)> command on a file and returns the list of "
11609 "printable strings found."
11610 msgstr ""
11611
11612 # type: =head2
11613 #: ../src/guestfs-actions.pod:4545
11614 msgid "guestfs_strings_e"
11615 msgstr ""
11616
11617 # type: verbatim
11618 #: ../src/guestfs-actions.pod:4547
11619 #, no-wrap
11620 msgid ""
11621 " char **guestfs_strings_e (guestfs_h *g,\n"
11622 "\t\tconst char *encoding,\n"
11623 "\t\tconst char *path);\n"
11624 "\n"
11625 msgstr ""
11626
11627 # type: textblock
11628 #: ../src/guestfs-actions.pod:4551
11629 msgid ""
11630 "This is like the C<guestfs_strings> command, but allows you to specify the "
11631 "encoding of strings that are looked for in the source file C<path>."
11632 msgstr ""
11633
11634 # type: textblock
11635 #: ../src/guestfs-actions.pod:4555 ../fish/guestfish-actions.pod:3509
11636 msgid "Allowed encodings are:"
11637 msgstr ""
11638
11639 # type: =item
11640 #: ../src/guestfs-actions.pod:4559 ../fish/guestfish-actions.pod:3513
11641 msgid "s"
11642 msgstr ""
11643
11644 # type: textblock
11645 #: ../src/guestfs-actions.pod:4561
11646 msgid ""
11647 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
11648 "ISO-8859-X (this is what C<guestfs_strings> uses)."
11649 msgstr ""
11650
11651 # type: =item
11652 #: ../src/guestfs-actions.pod:4564 ../fish/guestfish-actions.pod:3518
11653 msgid "S"
11654 msgstr ""
11655
11656 # type: textblock
11657 #: ../src/guestfs-actions.pod:4566 ../fish/guestfish-actions.pod:3520
11658 msgid "Single 8-bit-byte characters."
11659 msgstr ""
11660
11661 # type: =item
11662 #: ../src/guestfs-actions.pod:4568 ../fish/guestfish-actions.pod:3522
11663 msgid "b"
11664 msgstr ""
11665
11666 # type: textblock
11667 #: ../src/guestfs-actions.pod:4570 ../fish/guestfish-actions.pod:3524
11668 msgid "16-bit big endian strings such as those encoded in UTF-16BE or UCS-2BE."
11669 msgstr ""
11670
11671 # type: =item
11672 #: ../src/guestfs-actions.pod:4573 ../fish/guestfish-actions.pod:3527
11673 msgid "l (lower case letter L)"
11674 msgstr ""
11675
11676 # type: textblock
11677 #: ../src/guestfs-actions.pod:4575 ../fish/guestfish-actions.pod:3529
11678 msgid ""
11679 "16-bit little endian such as UTF-16LE and UCS-2LE.  This is useful for "
11680 "examining binaries in Windows guests."
11681 msgstr ""
11682
11683 # type: =item
11684 #: ../src/guestfs-actions.pod:4578 ../fish/guestfish-actions.pod:3532
11685 msgid "B"
11686 msgstr ""
11687
11688 # type: textblock
11689 #: ../src/guestfs-actions.pod:4580 ../fish/guestfish-actions.pod:3534
11690 msgid "32-bit big endian such as UCS-4BE."
11691 msgstr ""
11692
11693 # type: =item
11694 #: ../src/guestfs-actions.pod:4582 ../fish/guestfish-actions.pod:3536
11695 msgid "L"
11696 msgstr ""
11697
11698 # type: textblock
11699 #: ../src/guestfs-actions.pod:4584 ../fish/guestfish-actions.pod:3538
11700 msgid "32-bit little endian such as UCS-4LE."
11701 msgstr ""
11702
11703 # type: textblock
11704 #: ../src/guestfs-actions.pod:4588 ../fish/guestfish-actions.pod:3542
11705 msgid "The returned strings are transcoded to UTF-8."
11706 msgstr ""
11707
11708 # type: =head2
11709 #: ../src/guestfs-actions.pod:4597
11710 msgid "guestfs_swapoff_device"
11711 msgstr ""
11712
11713 # type: verbatim
11714 #: ../src/guestfs-actions.pod:4599
11715 #, no-wrap
11716 msgid ""
11717 " int guestfs_swapoff_device (guestfs_h *g,\n"
11718 "\t\tconst char *device);\n"
11719 "\n"
11720 msgstr ""
11721
11722 # type: textblock
11723 #: ../src/guestfs-actions.pod:4602
11724 msgid ""
11725 "This command disables the libguestfs appliance swap device or partition "
11726 "named C<device>.  See C<guestfs_swapon_device>."
11727 msgstr ""
11728
11729 # type: =head2
11730 #: ../src/guestfs-actions.pod:4608
11731 msgid "guestfs_swapoff_file"
11732 msgstr ""
11733
11734 # type: verbatim
11735 #: ../src/guestfs-actions.pod:4610
11736 #, no-wrap
11737 msgid ""
11738 " int guestfs_swapoff_file (guestfs_h *g,\n"
11739 "\t\tconst char *file);\n"
11740 "\n"
11741 msgstr ""
11742
11743 # type: textblock
11744 #: ../src/guestfs-actions.pod:4613 ../fish/guestfish-actions.pod:3559
11745 msgid "This command disables the libguestfs appliance swap on file."
11746 msgstr ""
11747
11748 # type: =head2
11749 #: ../src/guestfs-actions.pod:4617
11750 msgid "guestfs_swapoff_label"
11751 msgstr ""
11752
11753 # type: verbatim
11754 #: ../src/guestfs-actions.pod:4619
11755 #, no-wrap
11756 msgid ""
11757 " int guestfs_swapoff_label (guestfs_h *g,\n"
11758 "\t\tconst char *label);\n"
11759 "\n"
11760 msgstr ""
11761
11762 # type: textblock
11763 #: ../src/guestfs-actions.pod:4622 ../fish/guestfish-actions.pod:3565
11764 msgid ""
11765 "This command disables the libguestfs appliance swap on labeled swap "
11766 "partition."
11767 msgstr ""
11768
11769 # type: =head2
11770 #: ../src/guestfs-actions.pod:4627
11771 msgid "guestfs_swapoff_uuid"
11772 msgstr ""
11773
11774 # type: verbatim
11775 #: ../src/guestfs-actions.pod:4629
11776 #, no-wrap
11777 msgid ""
11778 " int guestfs_swapoff_uuid (guestfs_h *g,\n"
11779 "\t\tconst char *uuid);\n"
11780 "\n"
11781 msgstr ""
11782
11783 # type: textblock
11784 #: ../src/guestfs-actions.pod:4632 ../fish/guestfish-actions.pod:3572
11785 msgid ""
11786 "This command disables the libguestfs appliance swap partition with the given "
11787 "UUID."
11788 msgstr ""
11789
11790 # type: =head2
11791 #: ../src/guestfs-actions.pod:4637
11792 msgid "guestfs_swapon_device"
11793 msgstr ""
11794
11795 # type: verbatim
11796 #: ../src/guestfs-actions.pod:4639
11797 #, no-wrap
11798 msgid ""
11799 " int guestfs_swapon_device (guestfs_h *g,\n"
11800 "\t\tconst char *device);\n"
11801 "\n"
11802 msgstr ""
11803
11804 # type: textblock
11805 #: ../src/guestfs-actions.pod:4642
11806 msgid ""
11807 "This command enables the libguestfs appliance to use the swap device or "
11808 "partition named C<device>.  The increased memory is made available for all "
11809 "commands, for example those run using C<guestfs_command> or C<guestfs_sh>."
11810 msgstr ""
11811
11812 # type: textblock
11813 #: ../src/guestfs-actions.pod:4647 ../fish/guestfish-actions.pod:3584
11814 msgid ""
11815 "Note that you should not swap to existing guest swap partitions unless you "
11816 "know what you are doing.  They may contain hibernation information, or other "
11817 "information that the guest doesn't want you to trash.  You also risk leaking "
11818 "information about the host to the guest this way.  Instead, attach a new "
11819 "host device to the guest and swap on that."
11820 msgstr ""
11821
11822 # type: =head2
11823 #: ../src/guestfs-actions.pod:4656
11824 msgid "guestfs_swapon_file"
11825 msgstr ""
11826
11827 # type: verbatim
11828 #: ../src/guestfs-actions.pod:4658
11829 #, no-wrap
11830 msgid ""
11831 " int guestfs_swapon_file (guestfs_h *g,\n"
11832 "\t\tconst char *file);\n"
11833 "\n"
11834 msgstr ""
11835
11836 # type: textblock
11837 #: ../src/guestfs-actions.pod:4661
11838 msgid ""
11839 "This command enables swap to a file.  See C<guestfs_swapon_device> for other "
11840 "notes."
11841 msgstr ""
11842
11843 # type: =head2
11844 #: ../src/guestfs-actions.pod:4666
11845 msgid "guestfs_swapon_label"
11846 msgstr ""
11847
11848 # type: verbatim
11849 #: ../src/guestfs-actions.pod:4668
11850 #, no-wrap
11851 msgid ""
11852 " int guestfs_swapon_label (guestfs_h *g,\n"
11853 "\t\tconst char *label);\n"
11854 "\n"
11855 msgstr ""
11856
11857 # type: textblock
11858 #: ../src/guestfs-actions.pod:4671
11859 msgid ""
11860 "This command enables swap to a labeled swap partition.  See "
11861 "C<guestfs_swapon_device> for other notes."
11862 msgstr ""
11863
11864 # type: =head2
11865 #: ../src/guestfs-actions.pod:4676
11866 msgid "guestfs_swapon_uuid"
11867 msgstr ""
11868
11869 # type: verbatim
11870 #: ../src/guestfs-actions.pod:4678
11871 #, no-wrap
11872 msgid ""
11873 " int guestfs_swapon_uuid (guestfs_h *g,\n"
11874 "\t\tconst char *uuid);\n"
11875 "\n"
11876 msgstr ""
11877
11878 # type: textblock
11879 #: ../src/guestfs-actions.pod:4681
11880 msgid ""
11881 "This command enables swap to a swap partition with the given UUID.  See "
11882 "C<guestfs_swapon_device> for other notes."
11883 msgstr ""
11884
11885 # type: =head2
11886 #: ../src/guestfs-actions.pod:4686
11887 msgid "guestfs_sync"
11888 msgstr ""
11889
11890 # type: verbatim
11891 #: ../src/guestfs-actions.pod:4688
11892 #, no-wrap
11893 msgid ""
11894 " int guestfs_sync (guestfs_h *g);\n"
11895 "\n"
11896 msgstr ""
11897
11898 # type: textblock
11899 #: ../src/guestfs-actions.pod:4690 ../fish/guestfish-actions.pod:3616
11900 msgid ""
11901 "This syncs the disk, so that any writes are flushed through to the "
11902 "underlying disk image."
11903 msgstr ""
11904
11905 # type: textblock
11906 #: ../src/guestfs-actions.pod:4693 ../fish/guestfish-actions.pod:3619
11907 msgid ""
11908 "You should always call this if you have modified a disk image, before "
11909 "closing the handle."
11910 msgstr ""
11911
11912 # type: =head2
11913 #: ../src/guestfs-actions.pod:4698
11914 msgid "guestfs_tail"
11915 msgstr ""
11916
11917 # type: verbatim
11918 #: ../src/guestfs-actions.pod:4700
11919 #, no-wrap
11920 msgid ""
11921 " char **guestfs_tail (guestfs_h *g,\n"
11922 "\t\tconst char *path);\n"
11923 "\n"
11924 msgstr ""
11925
11926 # type: textblock
11927 #: ../src/guestfs-actions.pod:4703 ../fish/guestfish-actions.pod:3626
11928 msgid "This command returns up to the last 10 lines of a file as a list of strings."
11929 msgstr ""
11930
11931 # type: =head2
11932 #: ../src/guestfs-actions.pod:4713
11933 msgid "guestfs_tail_n"
11934 msgstr ""
11935
11936 # type: verbatim
11937 #: ../src/guestfs-actions.pod:4715
11938 #, no-wrap
11939 msgid ""
11940 " char **guestfs_tail_n (guestfs_h *g,\n"
11941 "\t\tint nrlines,\n"
11942 "\t\tconst char *path);\n"
11943 "\n"
11944 msgstr ""
11945
11946 # type: textblock
11947 #: ../src/guestfs-actions.pod:4719 ../fish/guestfish-actions.pod:3636
11948 msgid ""
11949 "If the parameter C<nrlines> is a positive number, this returns the last "
11950 "C<nrlines> lines of the file C<path>."
11951 msgstr ""
11952
11953 # type: textblock
11954 #: ../src/guestfs-actions.pod:4722 ../fish/guestfish-actions.pod:3639
11955 msgid ""
11956 "If the parameter C<nrlines> is a negative number, this returns lines from "
11957 "the file C<path>, starting with the C<-nrlines>th line."
11958 msgstr ""
11959
11960 # type: =head2
11961 #: ../src/guestfs-actions.pod:4734
11962 msgid "guestfs_tar_in"
11963 msgstr ""
11964
11965 # type: verbatim
11966 #: ../src/guestfs-actions.pod:4736
11967 #, no-wrap
11968 msgid ""
11969 " int guestfs_tar_in (guestfs_h *g,\n"
11970 "\t\tconst char *tarfile,\n"
11971 "\t\tconst char *directory);\n"
11972 "\n"
11973 msgstr ""
11974
11975 # type: textblock
11976 #: ../src/guestfs-actions.pod:4740 ../fish/guestfish-actions.pod:3651
11977 msgid ""
11978 "This command uploads and unpacks local file C<tarfile> (an I<uncompressed> "
11979 "tar file) into C<directory>."
11980 msgstr ""
11981
11982 # type: textblock
11983 #: ../src/guestfs-actions.pod:4743
11984 msgid "To upload a compressed tarball, use C<guestfs_tgz_in> or C<guestfs_txz_in>."
11985 msgstr ""
11986
11987 # type: =head2
11988 #: ../src/guestfs-actions.pod:4748
11989 msgid "guestfs_tar_out"
11990 msgstr ""
11991
11992 # type: verbatim
11993 #: ../src/guestfs-actions.pod:4750
11994 #, no-wrap
11995 msgid ""
11996 " int guestfs_tar_out (guestfs_h *g,\n"
11997 "\t\tconst char *directory,\n"
11998 "\t\tconst char *tarfile);\n"
11999 "\n"
12000 msgstr ""
12001
12002 # type: textblock
12003 #: ../src/guestfs-actions.pod:4754 ../fish/guestfish-actions.pod:3663
12004 msgid ""
12005 "This command packs the contents of C<directory> and downloads it to local "
12006 "file C<tarfile>."
12007 msgstr ""
12008
12009 # type: textblock
12010 #: ../src/guestfs-actions.pod:4757
12011 msgid ""
12012 "To download a compressed tarball, use C<guestfs_tgz_out> or "
12013 "C<guestfs_txz_out>."
12014 msgstr ""
12015
12016 # type: =head2
12017 #: ../src/guestfs-actions.pod:4762
12018 msgid "guestfs_tgz_in"
12019 msgstr ""
12020
12021 # type: verbatim
12022 #: ../src/guestfs-actions.pod:4764
12023 #, no-wrap
12024 msgid ""
12025 " int guestfs_tgz_in (guestfs_h *g,\n"
12026 "\t\tconst char *tarball,\n"
12027 "\t\tconst char *directory);\n"
12028 "\n"
12029 msgstr ""
12030
12031 # type: textblock
12032 #: ../src/guestfs-actions.pod:4768 ../fish/guestfish-actions.pod:3675
12033 msgid ""
12034 "This command uploads and unpacks local file C<tarball> (a I<gzip compressed> "
12035 "tar file) into C<directory>."
12036 msgstr ""
12037
12038 # type: textblock
12039 #: ../src/guestfs-actions.pod:4771
12040 msgid "To upload an uncompressed tarball, use C<guestfs_tar_in>."
12041 msgstr ""
12042
12043 # type: =head2
12044 #: ../src/guestfs-actions.pod:4775
12045 msgid "guestfs_tgz_out"
12046 msgstr ""
12047
12048 # type: verbatim
12049 #: ../src/guestfs-actions.pod:4777
12050 #, no-wrap
12051 msgid ""
12052 " int guestfs_tgz_out (guestfs_h *g,\n"
12053 "\t\tconst char *directory,\n"
12054 "\t\tconst char *tarball);\n"
12055 "\n"
12056 msgstr ""
12057
12058 # type: textblock
12059 #: ../src/guestfs-actions.pod:4781 ../fish/guestfish-actions.pod:3686
12060 msgid ""
12061 "This command packs the contents of C<directory> and downloads it to local "
12062 "file C<tarball>."
12063 msgstr ""
12064
12065 # type: textblock
12066 #: ../src/guestfs-actions.pod:4784
12067 msgid "To download an uncompressed tarball, use C<guestfs_tar_out>."
12068 msgstr ""
12069
12070 # type: =head2
12071 #: ../src/guestfs-actions.pod:4788
12072 msgid "guestfs_touch"
12073 msgstr ""
12074
12075 # type: verbatim
12076 #: ../src/guestfs-actions.pod:4790
12077 #, no-wrap
12078 msgid ""
12079 " int guestfs_touch (guestfs_h *g,\n"
12080 "\t\tconst char *path);\n"
12081 "\n"
12082 msgstr ""
12083
12084 # type: textblock
12085 #: ../src/guestfs-actions.pod:4793 ../fish/guestfish-actions.pod:3697
12086 msgid ""
12087 "Touch acts like the L<touch(1)> command.  It can be used to update the "
12088 "timestamps on a file, or, if the file does not exist, to create a new "
12089 "zero-length file."
12090 msgstr ""
12091
12092 # type: textblock
12093 #: ../src/guestfs-actions.pod:4797 ../fish/guestfish-actions.pod:3701
12094 msgid ""
12095 "This command only works on regular files, and will fail on other file types "
12096 "such as directories, symbolic links, block special etc."
12097 msgstr ""
12098
12099 # type: =head2
12100 #: ../src/guestfs-actions.pod:4802
12101 msgid "guestfs_truncate"
12102 msgstr ""
12103
12104 # type: verbatim
12105 #: ../src/guestfs-actions.pod:4804
12106 #, no-wrap
12107 msgid ""
12108 " int guestfs_truncate (guestfs_h *g,\n"
12109 "\t\tconst char *path);\n"
12110 "\n"
12111 msgstr ""
12112
12113 # type: textblock
12114 #: ../src/guestfs-actions.pod:4807 ../fish/guestfish-actions.pod:3708
12115 msgid ""
12116 "This command truncates C<path> to a zero-length file.  The file must exist "
12117 "already."
12118 msgstr ""
12119
12120 # type: =head2
12121 #: ../src/guestfs-actions.pod:4812
12122 msgid "guestfs_truncate_size"
12123 msgstr ""
12124
12125 # type: verbatim
12126 #: ../src/guestfs-actions.pod:4814
12127 #, no-wrap
12128 msgid ""
12129 " int guestfs_truncate_size (guestfs_h *g,\n"
12130 "\t\tconst char *path,\n"
12131 "\t\tint64_t size);\n"
12132 "\n"
12133 msgstr ""
12134
12135 # type: textblock
12136 #: ../src/guestfs-actions.pod:4818 ../fish/guestfish-actions.pod:3715
12137 msgid ""
12138 "This command truncates C<path> to size C<size> bytes.  The file must exist "
12139 "already."
12140 msgstr ""
12141
12142 # type: textblock
12143 #: ../src/guestfs-actions.pod:4821
12144 msgid ""
12145 "If the current file size is less than C<size> then the file is extended to "
12146 "the required size with zero bytes.  This creates a sparse file (ie. disk "
12147 "blocks are not allocated for the file until you write to it).  To create a "
12148 "non-sparse file of zeroes, use C<guestfs_fallocate64> instead."
12149 msgstr ""
12150
12151 # type: =head2
12152 #: ../src/guestfs-actions.pod:4829
12153 msgid "guestfs_tune2fs_l"
12154 msgstr ""
12155
12156 # type: verbatim
12157 #: ../src/guestfs-actions.pod:4831
12158 #, no-wrap
12159 msgid ""
12160 " char **guestfs_tune2fs_l (guestfs_h *g,\n"
12161 "\t\tconst char *device);\n"
12162 "\n"
12163 msgstr ""
12164
12165 # type: textblock
12166 #: ../src/guestfs-actions.pod:4834 ../fish/guestfish-actions.pod:3728
12167 msgid ""
12168 "This returns the contents of the ext2, ext3 or ext4 filesystem superblock on "
12169 "C<device>."
12170 msgstr ""
12171
12172 # type: textblock
12173 #: ../src/guestfs-actions.pod:4837 ../fish/guestfish-actions.pod:3731
12174 msgid ""
12175 "It is the same as running C<tune2fs -l device>.  See L<tune2fs(8)> manpage "
12176 "for more details.  The list of fields returned isn't clearly defined, and "
12177 "depends on both the version of C<tune2fs> that libguestfs was built against, "
12178 "and the filesystem itself."
12179 msgstr ""
12180
12181 # type: =head2
12182 #: ../src/guestfs-actions.pod:4848
12183 msgid "guestfs_txz_in"
12184 msgstr ""
12185
12186 # type: verbatim
12187 #: ../src/guestfs-actions.pod:4850
12188 #, no-wrap
12189 msgid ""
12190 " int guestfs_txz_in (guestfs_h *g,\n"
12191 "\t\tconst char *tarball,\n"
12192 "\t\tconst char *directory);\n"
12193 "\n"
12194 msgstr ""
12195
12196 # type: textblock
12197 #: ../src/guestfs-actions.pod:4854 ../fish/guestfish-actions.pod:3740
12198 msgid ""
12199 "This command uploads and unpacks local file C<tarball> (an I<xz compressed> "
12200 "tar file) into C<directory>."
12201 msgstr ""
12202
12203 # type: =head2
12204 #: ../src/guestfs-actions.pod:4859
12205 msgid "guestfs_txz_out"
12206 msgstr ""
12207
12208 # type: verbatim
12209 #: ../src/guestfs-actions.pod:4861
12210 #, no-wrap
12211 msgid ""
12212 " int guestfs_txz_out (guestfs_h *g,\n"
12213 "\t\tconst char *directory,\n"
12214 "\t\tconst char *tarball);\n"
12215 "\n"
12216 msgstr ""
12217
12218 # type: textblock
12219 #: ../src/guestfs-actions.pod:4865 ../fish/guestfish-actions.pod:3749
12220 msgid ""
12221 "This command packs the contents of C<directory> and downloads it to local "
12222 "file C<tarball> (as an xz compressed tar archive)."
12223 msgstr ""
12224
12225 # type: =head2
12226 #: ../src/guestfs-actions.pod:4870
12227 msgid "guestfs_umask"
12228 msgstr ""
12229
12230 # type: verbatim
12231 #: ../src/guestfs-actions.pod:4872
12232 #, no-wrap
12233 msgid ""
12234 " int guestfs_umask (guestfs_h *g,\n"
12235 "\t\tint mask);\n"
12236 "\n"
12237 msgstr ""
12238
12239 # type: textblock
12240 #: ../src/guestfs-actions.pod:4875 ../fish/guestfish-actions.pod:3758
12241 msgid ""
12242 "This function sets the mask used for creating new files and device nodes to "
12243 "C<mask & 0777>."
12244 msgstr ""
12245
12246 # type: textblock
12247 #: ../src/guestfs-actions.pod:4878 ../fish/guestfish-actions.pod:3761
12248 msgid ""
12249 "Typical umask values would be C<022> which creates new files with "
12250 "permissions like \"-rw-r--r--\" or \"-rwxr-xr-x\", and C<002> which creates "
12251 "new files with permissions like \"-rw-rw-r--\" or \"-rwxrwxr-x\"."
12252 msgstr ""
12253
12254 # type: textblock
12255 #: ../src/guestfs-actions.pod:4883 ../fish/guestfish-actions.pod:3766
12256 msgid ""
12257 "The default umask is C<022>.  This is important because it means that "
12258 "directories and device nodes will be created with C<0644> or C<0755> mode "
12259 "even if you specify C<0777>."
12260 msgstr ""
12261
12262 # type: textblock
12263 #: ../src/guestfs-actions.pod:4887
12264 msgid ""
12265 "See also C<guestfs_get_umask>, L<umask(2)>, C<guestfs_mknod>, "
12266 "C<guestfs_mkdir>."
12267 msgstr ""
12268
12269 # type: textblock
12270 #: ../src/guestfs-actions.pod:4890 ../fish/guestfish-actions.pod:3773
12271 msgid "This call returns the previous umask."
12272 msgstr ""
12273
12274 # type: =head2
12275 #: ../src/guestfs-actions.pod:4894
12276 msgid "guestfs_umount"
12277 msgstr ""
12278
12279 # type: verbatim
12280 #: ../src/guestfs-actions.pod:4896
12281 #, no-wrap
12282 msgid ""
12283 " int guestfs_umount (guestfs_h *g,\n"
12284 "\t\tconst char *pathordevice);\n"
12285 "\n"
12286 msgstr ""
12287
12288 # type: textblock
12289 #: ../src/guestfs-actions.pod:4899 ../fish/guestfish-actions.pod:3779
12290 msgid ""
12291 "This unmounts the given filesystem.  The filesystem may be specified either "
12292 "by its mountpoint (path) or the device which contains the filesystem."
12293 msgstr ""
12294
12295 # type: =head2
12296 #: ../src/guestfs-actions.pod:4905
12297 msgid "guestfs_umount_all"
12298 msgstr ""
12299
12300 # type: verbatim
12301 #: ../src/guestfs-actions.pod:4907
12302 #, no-wrap
12303 msgid ""
12304 " int guestfs_umount_all (guestfs_h *g);\n"
12305 "\n"
12306 msgstr ""
12307
12308 # type: textblock
12309 #: ../src/guestfs-actions.pod:4909 ../fish/guestfish-actions.pod:3787
12310 msgid "This unmounts all mounted filesystems."
12311 msgstr ""
12312
12313 # type: textblock
12314 #: ../src/guestfs-actions.pod:4911 ../fish/guestfish-actions.pod:3789
12315 msgid "Some internal mounts are not unmounted by this call."
12316 msgstr ""
12317
12318 # type: =head2
12319 #: ../src/guestfs-actions.pod:4915
12320 msgid "guestfs_upload"
12321 msgstr ""
12322
12323 # type: verbatim
12324 #: ../src/guestfs-actions.pod:4917
12325 #, no-wrap
12326 msgid ""
12327 " int guestfs_upload (guestfs_h *g,\n"
12328 "\t\tconst char *filename,\n"
12329 "\t\tconst char *remotefilename);\n"
12330 "\n"
12331 msgstr ""
12332
12333 # type: textblock
12334 #: ../src/guestfs-actions.pod:4921 ../fish/guestfish-actions.pod:3795
12335 msgid "Upload local file C<filename> to C<remotefilename> on the filesystem."
12336 msgstr ""
12337
12338 # type: textblock
12339 #: ../src/guestfs-actions.pod:4926
12340 msgid "See also C<guestfs_download>."
12341 msgstr ""
12342
12343 # type: =head2
12344 #: ../src/guestfs-actions.pod:4930
12345 msgid "guestfs_utimens"
12346 msgstr ""
12347
12348 # type: verbatim
12349 #: ../src/guestfs-actions.pod:4932
12350 #, no-wrap
12351 msgid ""
12352 " int guestfs_utimens (guestfs_h *g,\n"
12353 "\t\tconst char *path,\n"
12354 "\t\tint64_t atsecs,\n"
12355 "\t\tint64_t atnsecs,\n"
12356 "\t\tint64_t mtsecs,\n"
12357 "\t\tint64_t mtnsecs);\n"
12358 "\n"
12359 msgstr ""
12360
12361 # type: textblock
12362 #: ../src/guestfs-actions.pod:4939 ../fish/guestfish-actions.pod:3808
12363 msgid "This command sets the timestamps of a file with nanosecond precision."
12364 msgstr ""
12365
12366 # type: textblock
12367 #: ../src/guestfs-actions.pod:4942 ../fish/guestfish-actions.pod:3811
12368 msgid ""
12369 "C<atsecs, atnsecs> are the last access time (atime) in secs and nanoseconds "
12370 "from the epoch."
12371 msgstr ""
12372
12373 # type: textblock
12374 #: ../src/guestfs-actions.pod:4945 ../fish/guestfish-actions.pod:3814
12375 msgid ""
12376 "C<mtsecs, mtnsecs> are the last modification time (mtime) in secs and "
12377 "nanoseconds from the epoch."
12378 msgstr ""
12379
12380 # type: textblock
12381 #: ../src/guestfs-actions.pod:4948 ../fish/guestfish-actions.pod:3817
12382 msgid ""
12383 "If the C<*nsecs> field contains the special value C<-1> then the "
12384 "corresponding timestamp is set to the current time.  (The C<*secs> field is "
12385 "ignored in this case)."
12386 msgstr ""
12387
12388 # type: textblock
12389 #: ../src/guestfs-actions.pod:4952 ../fish/guestfish-actions.pod:3821
12390 msgid ""
12391 "If the C<*nsecs> field contains the special value C<-2> then the "
12392 "corresponding timestamp is left unchanged.  (The C<*secs> field is ignored "
12393 "in this case)."
12394 msgstr ""
12395
12396 # type: =head2
12397 #: ../src/guestfs-actions.pod:4958 ../src/guestfs-structs.pod:175
12398 msgid "guestfs_version"
12399 msgstr ""
12400
12401 # type: verbatim
12402 #: ../src/guestfs-actions.pod:4960
12403 #, no-wrap
12404 msgid ""
12405 " struct guestfs_version *guestfs_version (guestfs_h *g);\n"
12406 "\n"
12407 msgstr ""
12408
12409 # type: textblock
12410 #: ../src/guestfs-actions.pod:4962 ../fish/guestfish-actions.pod:3829
12411 msgid "Return the libguestfs version number that the program is linked against."
12412 msgstr ""
12413
12414 # type: textblock
12415 #: ../src/guestfs-actions.pod:4965 ../fish/guestfish-actions.pod:3832
12416 msgid ""
12417 "Note that because of dynamic linking this is not necessarily the version of "
12418 "libguestfs that you compiled against.  You can compile the program, and then "
12419 "at runtime dynamically link against a completely different C<libguestfs.so> "
12420 "library."
12421 msgstr ""
12422
12423 # type: textblock
12424 #: ../src/guestfs-actions.pod:4970 ../fish/guestfish-actions.pod:3837
12425 msgid ""
12426 "This call was added in version C<1.0.58>.  In previous versions of "
12427 "libguestfs there was no way to get the version number.  From C code you can "
12428 "use dynamic linker functions to find out if this symbol exists (if it "
12429 "doesn't, then it's an earlier version)."
12430 msgstr ""
12431
12432 # type: textblock
12433 #: ../src/guestfs-actions.pod:4976 ../fish/guestfish-actions.pod:3843
12434 msgid ""
12435 "The call returns a structure with four elements.  The first three (C<major>, "
12436 "C<minor> and C<release>) are numbers and correspond to the usual version "
12437 "triplet.  The fourth element (C<extra>) is a string and is normally empty, "
12438 "but may be used for distro-specific information."
12439 msgstr ""
12440
12441 # type: textblock
12442 #: ../src/guestfs-actions.pod:4982 ../fish/guestfish-actions.pod:3849
12443 msgid "To construct the original version string: C<$major.$minor.$release$extra>"
12444 msgstr ""
12445
12446 # type: textblock
12447 #: ../src/guestfs-actions.pod:4985 ../fish/guestfish-actions.pod:3852
12448 msgid "See also: L<guestfs(3)/LIBGUESTFS VERSION NUMBERS>."
12449 msgstr ""
12450
12451 # type: textblock
12452 #: ../src/guestfs-actions.pod:4987
12453 msgid ""
12454 "I<Note:> Don't use this call to test for availability of features.  In "
12455 "enterprise distributions we backport features from later versions into "
12456 "earlier versions, making this an unreliable way to test for features.  Use "
12457 "C<guestfs_available> instead."
12458 msgstr ""
12459
12460 # type: textblock
12461 #: ../src/guestfs-actions.pod:4993
12462 msgid ""
12463 "This function returns a C<struct guestfs_version *>, or NULL if there was an "
12464 "error.  I<The caller must call C<guestfs_free_version> after use>."
12465 msgstr ""
12466
12467 # type: =head2
12468 #: ../src/guestfs-actions.pod:4997
12469 msgid "guestfs_vfs_label"
12470 msgstr ""
12471
12472 # type: verbatim
12473 #: ../src/guestfs-actions.pod:4999
12474 #, no-wrap
12475 msgid ""
12476 " char *guestfs_vfs_label (guestfs_h *g,\n"
12477 "\t\tconst char *device);\n"
12478 "\n"
12479 msgstr ""
12480
12481 # type: textblock
12482 #: ../src/guestfs-actions.pod:5002 ../fish/guestfish-actions.pod:3864
12483 msgid "This returns the filesystem label of the filesystem on C<device>."
12484 msgstr ""
12485
12486 # type: textblock
12487 #: ../src/guestfs-actions.pod:5005 ../fish/guestfish-actions.pod:3867
12488 msgid "If the filesystem is unlabeled, this returns the empty string."
12489 msgstr ""
12490
12491 # type: textblock
12492 #: ../src/guestfs-actions.pod:5007
12493 msgid "To find a filesystem from the label, use C<guestfs_findfs_label>."
12494 msgstr ""
12495
12496 # type: =head2
12497 #: ../src/guestfs-actions.pod:5012
12498 msgid "guestfs_vfs_type"
12499 msgstr ""
12500
12501 # type: verbatim
12502 #: ../src/guestfs-actions.pod:5014
12503 #, no-wrap
12504 msgid ""
12505 " char *guestfs_vfs_type (guestfs_h *g,\n"
12506 "\t\tconst char *device);\n"
12507 "\n"
12508 msgstr ""
12509
12510 # type: textblock
12511 #: ../src/guestfs-actions.pod:5017 ../fish/guestfish-actions.pod:3875
12512 msgid ""
12513 "This command gets the filesystem type corresponding to the filesystem on "
12514 "C<device>."
12515 msgstr ""
12516
12517 # type: textblock
12518 #: ../src/guestfs-actions.pod:5020 ../fish/guestfish-actions.pod:3878
12519 msgid ""
12520 "For most filesystems, the result is the name of the Linux VFS module which "
12521 "would be used to mount this filesystem if you mounted it without specifying "
12522 "the filesystem type.  For example a string such as C<ext3> or C<ntfs>."
12523 msgstr ""
12524
12525 # type: =head2
12526 #: ../src/guestfs-actions.pod:5028
12527 msgid "guestfs_vfs_uuid"
12528 msgstr ""
12529
12530 # type: verbatim
12531 #: ../src/guestfs-actions.pod:5030
12532 #, no-wrap
12533 msgid ""
12534 " char *guestfs_vfs_uuid (guestfs_h *g,\n"
12535 "\t\tconst char *device);\n"
12536 "\n"
12537 msgstr ""
12538
12539 # type: textblock
12540 #: ../src/guestfs-actions.pod:5033 ../fish/guestfish-actions.pod:3887
12541 msgid "This returns the filesystem UUID of the filesystem on C<device>."
12542 msgstr ""
12543
12544 # type: textblock
12545 #: ../src/guestfs-actions.pod:5036 ../fish/guestfish-actions.pod:3890
12546 msgid "If the filesystem does not have a UUID, this returns the empty string."
12547 msgstr ""
12548
12549 # type: textblock
12550 #: ../src/guestfs-actions.pod:5038
12551 msgid "To find a filesystem from the UUID, use C<guestfs_findfs_uuid>."
12552 msgstr ""
12553
12554 # type: =head2
12555 #: ../src/guestfs-actions.pod:5043
12556 msgid "guestfs_vg_activate"
12557 msgstr ""
12558
12559 # type: verbatim
12560 #: ../src/guestfs-actions.pod:5045
12561 #, no-wrap
12562 msgid ""
12563 " int guestfs_vg_activate (guestfs_h *g,\n"
12564 "\t\tint activate,\n"
12565 "\t\tchar *const *volgroups);\n"
12566 "\n"
12567 msgstr ""
12568
12569 # type: textblock
12570 #: ../src/guestfs-actions.pod:5049 ../fish/guestfish-actions.pod:3898
12571 msgid ""
12572 "This command activates or (if C<activate> is false) deactivates all logical "
12573 "volumes in the listed volume groups C<volgroups>.  If activated, then they "
12574 "are made known to the kernel, ie. they appear as C</dev/mapper> devices.  If "
12575 "deactivated, then those devices disappear."
12576 msgstr ""
12577
12578 # type: textblock
12579 #: ../src/guestfs-actions.pod:5055 ../fish/guestfish-actions.pod:3904
12580 msgid "This command is the same as running C<vgchange -a y|n volgroups...>"
12581 msgstr ""
12582
12583 # type: textblock
12584 #: ../src/guestfs-actions.pod:5057 ../fish/guestfish-actions.pod:3906
12585 msgid ""
12586 "Note that if C<volgroups> is an empty list then B<all> volume groups are "
12587 "activated or deactivated."
12588 msgstr ""
12589
12590 # type: =head2
12591 #: ../src/guestfs-actions.pod:5062
12592 msgid "guestfs_vg_activate_all"
12593 msgstr ""
12594
12595 # type: verbatim
12596 #: ../src/guestfs-actions.pod:5064
12597 #, no-wrap
12598 msgid ""
12599 " int guestfs_vg_activate_all (guestfs_h *g,\n"
12600 "\t\tint activate);\n"
12601 "\n"
12602 msgstr ""
12603
12604 # type: textblock
12605 #: ../src/guestfs-actions.pod:5067 ../fish/guestfish-actions.pod:3913
12606 msgid ""
12607 "This command activates or (if C<activate> is false) deactivates all logical "
12608 "volumes in all volume groups.  If activated, then they are made known to the "
12609 "kernel, ie. they appear as C</dev/mapper> devices.  If deactivated, then "
12610 "those devices disappear."
12611 msgstr ""
12612
12613 # type: textblock
12614 #: ../src/guestfs-actions.pod:5073 ../fish/guestfish-actions.pod:3919
12615 msgid "This command is the same as running C<vgchange -a y|n>"
12616 msgstr ""
12617
12618 # type: =head2
12619 #: ../src/guestfs-actions.pod:5077
12620 msgid "guestfs_vgcreate"
12621 msgstr ""
12622
12623 # type: verbatim
12624 #: ../src/guestfs-actions.pod:5079
12625 #, no-wrap
12626 msgid ""
12627 " int guestfs_vgcreate (guestfs_h *g,\n"
12628 "\t\tconst char *volgroup,\n"
12629 "\t\tchar *const *physvols);\n"
12630 "\n"
12631 msgstr ""
12632
12633 # type: textblock
12634 #: ../src/guestfs-actions.pod:5083 ../fish/guestfish-actions.pod:3925
12635 msgid ""
12636 "This creates an LVM volume group called C<volgroup> from the non-empty list "
12637 "of physical volumes C<physvols>."
12638 msgstr ""
12639
12640 # type: =head2
12641 #: ../src/guestfs-actions.pod:5088
12642 msgid "guestfs_vglvuuids"
12643 msgstr ""
12644
12645 # type: verbatim
12646 #: ../src/guestfs-actions.pod:5090
12647 #, no-wrap
12648 msgid ""
12649 " char **guestfs_vglvuuids (guestfs_h *g,\n"
12650 "\t\tconst char *vgname);\n"
12651 "\n"
12652 msgstr ""
12653
12654 # type: textblock
12655 #: ../src/guestfs-actions.pod:5093 ../fish/guestfish-actions.pod:3932
12656 msgid ""
12657 "Given a VG called C<vgname>, this returns the UUIDs of all the logical "
12658 "volumes created in this volume group."
12659 msgstr ""
12660
12661 # type: textblock
12662 #: ../src/guestfs-actions.pod:5096
12663 msgid ""
12664 "You can use this along with C<guestfs_lvs> and C<guestfs_lvuuid> calls to "
12665 "associate logical volumes and volume groups."
12666 msgstr ""
12667
12668 # type: textblock
12669 #: ../src/guestfs-actions.pod:5099
12670 msgid "See also C<guestfs_vgpvuuids>."
12671 msgstr ""
12672
12673 # type: =head2
12674 #: ../src/guestfs-actions.pod:5105
12675 msgid "guestfs_vgpvuuids"
12676 msgstr ""
12677
12678 # type: verbatim
12679 #: ../src/guestfs-actions.pod:5107
12680 #, no-wrap
12681 msgid ""
12682 " char **guestfs_vgpvuuids (guestfs_h *g,\n"
12683 "\t\tconst char *vgname);\n"
12684 "\n"
12685 msgstr ""
12686
12687 # type: textblock
12688 #: ../src/guestfs-actions.pod:5110 ../fish/guestfish-actions.pod:3944
12689 msgid ""
12690 "Given a VG called C<vgname>, this returns the UUIDs of all the physical "
12691 "volumes that this volume group resides on."
12692 msgstr ""
12693
12694 # type: textblock
12695 #: ../src/guestfs-actions.pod:5113
12696 msgid ""
12697 "You can use this along with C<guestfs_pvs> and C<guestfs_pvuuid> calls to "
12698 "associate physical volumes and volume groups."
12699 msgstr ""
12700
12701 # type: textblock
12702 #: ../src/guestfs-actions.pod:5116
12703 msgid "See also C<guestfs_vglvuuids>."
12704 msgstr ""
12705
12706 # type: =head2
12707 #: ../src/guestfs-actions.pod:5122
12708 msgid "guestfs_vgremove"
12709 msgstr ""
12710
12711 # type: verbatim
12712 #: ../src/guestfs-actions.pod:5124
12713 #, no-wrap
12714 msgid ""
12715 " int guestfs_vgremove (guestfs_h *g,\n"
12716 "\t\tconst char *vgname);\n"
12717 "\n"
12718 msgstr ""
12719
12720 # type: textblock
12721 #: ../src/guestfs-actions.pod:5127 ../fish/guestfish-actions.pod:3956
12722 msgid "Remove an LVM volume group C<vgname>, (for example C<VG>)."
12723 msgstr ""
12724
12725 # type: textblock
12726 #: ../src/guestfs-actions.pod:5129 ../fish/guestfish-actions.pod:3958
12727 msgid "This also forcibly removes all logical volumes in the volume group (if any)."
12728 msgstr ""
12729
12730 # type: =head2
12731 #: ../src/guestfs-actions.pod:5134
12732 msgid "guestfs_vgrename"
12733 msgstr ""
12734
12735 # type: verbatim
12736 #: ../src/guestfs-actions.pod:5136
12737 #, no-wrap
12738 msgid ""
12739 " int guestfs_vgrename (guestfs_h *g,\n"
12740 "\t\tconst char *volgroup,\n"
12741 "\t\tconst char *newvolgroup);\n"
12742 "\n"
12743 msgstr ""
12744
12745 # type: textblock
12746 #: ../src/guestfs-actions.pod:5140 ../fish/guestfish-actions.pod:3965
12747 msgid "Rename a volume group C<volgroup> with the new name C<newvolgroup>."
12748 msgstr ""
12749
12750 # type: =head2
12751 #: ../src/guestfs-actions.pod:5144
12752 msgid "guestfs_vgs"
12753 msgstr ""
12754
12755 # type: verbatim
12756 #: ../src/guestfs-actions.pod:5146
12757 #, no-wrap
12758 msgid ""
12759 " char **guestfs_vgs (guestfs_h *g);\n"
12760 "\n"
12761 msgstr ""
12762
12763 # type: textblock
12764 #: ../src/guestfs-actions.pod:5148 ../fish/guestfish-actions.pod:3971
12765 msgid ""
12766 "List all the volumes groups detected.  This is the equivalent of the "
12767 "L<vgs(8)> command."
12768 msgstr ""
12769
12770 # type: textblock
12771 #: ../src/guestfs-actions.pod:5151 ../fish/guestfish-actions.pod:3974
12772 msgid ""
12773 "This returns a list of just the volume group names that were detected "
12774 "(eg. C<VolGroup00>)."
12775 msgstr ""
12776
12777 # type: textblock
12778 #: ../src/guestfs-actions.pod:5154
12779 msgid "See also C<guestfs_vgs_full>."
12780 msgstr ""
12781
12782 # type: =head2
12783 #: ../src/guestfs-actions.pod:5160
12784 msgid "guestfs_vgs_full"
12785 msgstr ""
12786
12787 # type: verbatim
12788 #: ../src/guestfs-actions.pod:5162
12789 #, no-wrap
12790 msgid ""
12791 " struct guestfs_lvm_vg_list *guestfs_vgs_full (guestfs_h *g);\n"
12792 "\n"
12793 msgstr ""
12794
12795 # type: textblock
12796 #: ../src/guestfs-actions.pod:5164 ../fish/guestfish-actions.pod:3983
12797 msgid ""
12798 "List all the volumes groups detected.  This is the equivalent of the "
12799 "L<vgs(8)> command.  The \"full\" version includes all fields."
12800 msgstr ""
12801
12802 # type: textblock
12803 #: ../src/guestfs-actions.pod:5167
12804 msgid ""
12805 "This function returns a C<struct guestfs_lvm_vg_list *> (see "
12806 "E<lt>guestfs-structs.hE<gt>), or NULL if there was an error.  I<The caller "
12807 "must call C<guestfs_free_lvm_vg_list> after use>."
12808 msgstr ""
12809
12810 # type: =head2
12811 #: ../src/guestfs-actions.pod:5172
12812 msgid "guestfs_vgscan"
12813 msgstr ""
12814
12815 # type: verbatim
12816 #: ../src/guestfs-actions.pod:5174
12817 #, no-wrap
12818 msgid ""
12819 " int guestfs_vgscan (guestfs_h *g);\n"
12820 "\n"
12821 msgstr ""
12822
12823 # type: textblock
12824 #: ../src/guestfs-actions.pod:5176 ../fish/guestfish-actions.pod:3990
12825 msgid ""
12826 "This rescans all block devices and rebuilds the list of LVM physical "
12827 "volumes, volume groups and logical volumes."
12828 msgstr ""
12829
12830 # type: =head2
12831 #: ../src/guestfs-actions.pod:5181
12832 msgid "guestfs_vguuid"
12833 msgstr ""
12834
12835 # type: verbatim
12836 #: ../src/guestfs-actions.pod:5183
12837 #, no-wrap
12838 msgid ""
12839 " char *guestfs_vguuid (guestfs_h *g,\n"
12840 "\t\tconst char *vgname);\n"
12841 "\n"
12842 msgstr ""
12843
12844 # type: textblock
12845 #: ../src/guestfs-actions.pod:5186 ../fish/guestfish-actions.pod:3997
12846 msgid "This command returns the UUID of the LVM VG named C<vgname>."
12847 msgstr ""
12848
12849 # type: =head2
12850 #: ../src/guestfs-actions.pod:5191
12851 msgid "guestfs_wait_ready"
12852 msgstr ""
12853
12854 # type: verbatim
12855 #: ../src/guestfs-actions.pod:5193
12856 #, no-wrap
12857 msgid ""
12858 " int guestfs_wait_ready (guestfs_h *g);\n"
12859 "\n"
12860 msgstr ""
12861
12862 # type: textblock
12863 #: ../src/guestfs-actions.pod:5195
12864 msgid "This function is a no op."
12865 msgstr ""
12866
12867 # type: textblock
12868 #: ../src/guestfs-actions.pod:5197
12869 msgid ""
12870 "In versions of the API E<lt> 1.0.71 you had to call this function just after "
12871 "calling C<guestfs_launch> to wait for the launch to complete.  However this "
12872 "is no longer necessary because C<guestfs_launch> now does the waiting."
12873 msgstr ""
12874
12875 # type: textblock
12876 #: ../src/guestfs-actions.pod:5202
12877 msgid ""
12878 "If you see any calls to this function in code then you can just remove them, "
12879 "unless you want to retain compatibility with older versions of the API."
12880 msgstr ""
12881
12882 # type: =head2
12883 #: ../src/guestfs-actions.pod:5208
12884 msgid "guestfs_wc_c"
12885 msgstr ""
12886
12887 # type: verbatim
12888 #: ../src/guestfs-actions.pod:5210
12889 #, no-wrap
12890 msgid ""
12891 " int guestfs_wc_c (guestfs_h *g,\n"
12892 "\t\tconst char *path);\n"
12893 "\n"
12894 msgstr ""
12895
12896 # type: textblock
12897 #: ../src/guestfs-actions.pod:5213 ../fish/guestfish-actions.pod:4003
12898 msgid ""
12899 "This command counts the characters in a file, using the C<wc -c> external "
12900 "command."
12901 msgstr ""
12902
12903 # type: =head2
12904 #: ../src/guestfs-actions.pod:5218
12905 msgid "guestfs_wc_l"
12906 msgstr ""
12907
12908 # type: verbatim
12909 #: ../src/guestfs-actions.pod:5220
12910 #, no-wrap
12911 msgid ""
12912 " int guestfs_wc_l (guestfs_h *g,\n"
12913 "\t\tconst char *path);\n"
12914 "\n"
12915 msgstr ""
12916
12917 # type: textblock
12918 #: ../src/guestfs-actions.pod:5223 ../fish/guestfish-actions.pod:4010
12919 msgid ""
12920 "This command counts the lines in a file, using the C<wc -l> external "
12921 "command."
12922 msgstr ""
12923
12924 # type: =head2
12925 #: ../src/guestfs-actions.pod:5228
12926 msgid "guestfs_wc_w"
12927 msgstr ""
12928
12929 # type: verbatim
12930 #: ../src/guestfs-actions.pod:5230
12931 #, no-wrap
12932 msgid ""
12933 " int guestfs_wc_w (guestfs_h *g,\n"
12934 "\t\tconst char *path);\n"
12935 "\n"
12936 msgstr ""
12937
12938 # type: textblock
12939 #: ../src/guestfs-actions.pod:5233 ../fish/guestfish-actions.pod:4017
12940 msgid ""
12941 "This command counts the words in a file, using the C<wc -w> external "
12942 "command."
12943 msgstr ""
12944
12945 # type: =head2
12946 #: ../src/guestfs-actions.pod:5238
12947 msgid "guestfs_write"
12948 msgstr ""
12949
12950 # type: verbatim
12951 #: ../src/guestfs-actions.pod:5240
12952 #, no-wrap
12953 msgid ""
12954 " int guestfs_write (guestfs_h *g,\n"
12955 "\t\tconst char *path,\n"
12956 "\t\tconst char *content,\n"
12957 "\t\tsize_t content_size);\n"
12958 "\n"
12959 msgstr ""
12960
12961 # type: textblock
12962 #: ../src/guestfs-actions.pod:5245 ../fish/guestfish-actions.pod:4024
12963 msgid ""
12964 "This call creates a file called C<path>.  The content of the file is the "
12965 "string C<content> (which can contain any 8 bit data)."
12966 msgstr ""
12967
12968 # type: =head2
12969 #: ../src/guestfs-actions.pod:5253
12970 msgid "guestfs_write_file"
12971 msgstr ""
12972
12973 # type: verbatim
12974 #: ../src/guestfs-actions.pod:5255
12975 #, no-wrap
12976 msgid ""
12977 " int guestfs_write_file (guestfs_h *g,\n"
12978 "\t\tconst char *path,\n"
12979 "\t\tconst char *content,\n"
12980 "\t\tint size);\n"
12981 "\n"
12982 msgstr ""
12983
12984 # type: textblock
12985 #: ../src/guestfs-actions.pod:5260 ../fish/guestfish-actions.pod:4034
12986 msgid ""
12987 "This call creates a file called C<path>.  The contents of the file is the "
12988 "string C<content> (which can contain any 8 bit data), with length C<size>."
12989 msgstr ""
12990
12991 # type: textblock
12992 #: ../src/guestfs-actions.pod:5264 ../fish/guestfish-actions.pod:4038
12993 msgid ""
12994 "As a special case, if C<size> is C<0> then the length is calculated using "
12995 "C<strlen> (so in this case the content cannot contain embedded ASCII NULs)."
12996 msgstr ""
12997
12998 # type: textblock
12999 #: ../src/guestfs-actions.pod:5268 ../fish/guestfish-actions.pod:4042
13000 msgid ""
13001 "I<NB.> Owing to a bug, writing content containing ASCII NUL characters does "
13002 "I<not> work, even if the length is specified."
13003 msgstr ""
13004
13005 # type: textblock
13006 #: ../src/guestfs-actions.pod:5276 ../fish/guestfish-actions.pod:4048
13007 msgid "This function is deprecated.  In new code, use the C<write> call instead."
13008 msgstr ""
13009
13010 # type: =head2
13011 #: ../src/guestfs-actions.pod:5283
13012 msgid "guestfs_zegrep"
13013 msgstr ""
13014
13015 # type: verbatim
13016 #: ../src/guestfs-actions.pod:5285
13017 #, no-wrap
13018 msgid ""
13019 " char **guestfs_zegrep (guestfs_h *g,\n"
13020 "\t\tconst char *regex,\n"
13021 "\t\tconst char *path);\n"
13022 "\n"
13023 msgstr ""
13024
13025 # type: textblock
13026 #: ../src/guestfs-actions.pod:5289 ../fish/guestfish-actions.pod:4059
13027 msgid "This calls the external C<zegrep> program and returns the matching lines."
13028 msgstr ""
13029
13030 # type: =head2
13031 #: ../src/guestfs-actions.pod:5299
13032 msgid "guestfs_zegrepi"
13033 msgstr ""
13034
13035 # type: verbatim
13036 #: ../src/guestfs-actions.pod:5301
13037 #, no-wrap
13038 msgid ""
13039 " char **guestfs_zegrepi (guestfs_h *g,\n"
13040 "\t\tconst char *regex,\n"
13041 "\t\tconst char *path);\n"
13042 "\n"
13043 msgstr ""
13044
13045 # type: textblock
13046 #: ../src/guestfs-actions.pod:5305 ../fish/guestfish-actions.pod:4069
13047 msgid "This calls the external C<zegrep -i> program and returns the matching lines."
13048 msgstr ""
13049
13050 # type: =head2
13051 #: ../src/guestfs-actions.pod:5315
13052 msgid "guestfs_zero"
13053 msgstr ""
13054
13055 # type: verbatim
13056 #: ../src/guestfs-actions.pod:5317
13057 #, no-wrap
13058 msgid ""
13059 " int guestfs_zero (guestfs_h *g,\n"
13060 "\t\tconst char *device);\n"
13061 "\n"
13062 msgstr ""
13063
13064 # type: textblock
13065 #: ../src/guestfs-actions.pod:5320 ../fish/guestfish-actions.pod:4079
13066 msgid "This command writes zeroes over the first few blocks of C<device>."
13067 msgstr ""
13068
13069 # type: textblock
13070 #: ../src/guestfs-actions.pod:5322 ../fish/guestfish-actions.pod:4081
13071 msgid ""
13072 "How many blocks are zeroed isn't specified (but it's I<not> enough to "
13073 "securely wipe the device).  It should be sufficient to remove any partition "
13074 "tables, filesystem superblocks and so on."
13075 msgstr ""
13076
13077 # type: textblock
13078 #: ../src/guestfs-actions.pod:5326
13079 msgid "See also: C<guestfs_zero_device>, C<guestfs_scrub_device>."
13080 msgstr ""
13081
13082 # type: =head2
13083 #: ../src/guestfs-actions.pod:5335
13084 msgid "guestfs_zero_device"
13085 msgstr ""
13086
13087 # type: verbatim
13088 #: ../src/guestfs-actions.pod:5337
13089 #, no-wrap
13090 msgid ""
13091 " int guestfs_zero_device (guestfs_h *g,\n"
13092 "\t\tconst char *device);\n"
13093 "\n"
13094 msgstr ""
13095
13096 # type: textblock
13097 #: ../src/guestfs-actions.pod:5340
13098 msgid ""
13099 "This command writes zeroes over the entire C<device>.  Compare with "
13100 "C<guestfs_zero> which just zeroes the first few blocks of a device."
13101 msgstr ""
13102
13103 # type: =head2
13104 #: ../src/guestfs-actions.pod:5354
13105 msgid "guestfs_zerofree"
13106 msgstr ""
13107
13108 # type: verbatim
13109 #: ../src/guestfs-actions.pod:5356
13110 #, no-wrap
13111 msgid ""
13112 " int guestfs_zerofree (guestfs_h *g,\n"
13113 "\t\tconst char *device);\n"
13114 "\n"
13115 msgstr ""
13116
13117 # type: textblock
13118 #: ../src/guestfs-actions.pod:5359 ../fish/guestfish-actions.pod:4102
13119 msgid ""
13120 "This runs the I<zerofree> program on C<device>.  This program claims to zero "
13121 "unused inodes and disk blocks on an ext2/3 filesystem, thus making it "
13122 "possible to compress the filesystem more effectively."
13123 msgstr ""
13124
13125 # type: textblock
13126 #: ../src/guestfs-actions.pod:5364 ../fish/guestfish-actions.pod:4107
13127 msgid "You should B<not> run this program if the filesystem is mounted."
13128 msgstr ""
13129
13130 # type: textblock
13131 #: ../src/guestfs-actions.pod:5367 ../fish/guestfish-actions.pod:4110
13132 msgid ""
13133 "It is possible that using this program can damage the filesystem or data on "
13134 "the filesystem."
13135 msgstr ""
13136
13137 # type: =head2
13138 #: ../src/guestfs-actions.pod:5372
13139 msgid "guestfs_zfgrep"
13140 msgstr ""
13141
13142 # type: verbatim
13143 #: ../src/guestfs-actions.pod:5374
13144 #, no-wrap
13145 msgid ""
13146 " char **guestfs_zfgrep (guestfs_h *g,\n"
13147 "\t\tconst char *pattern,\n"
13148 "\t\tconst char *path);\n"
13149 "\n"
13150 msgstr ""
13151
13152 # type: textblock
13153 #: ../src/guestfs-actions.pod:5378 ../fish/guestfish-actions.pod:4117
13154 msgid "This calls the external C<zfgrep> program and returns the matching lines."
13155 msgstr ""
13156
13157 # type: =head2
13158 #: ../src/guestfs-actions.pod:5388
13159 msgid "guestfs_zfgrepi"
13160 msgstr ""
13161
13162 # type: verbatim
13163 #: ../src/guestfs-actions.pod:5390
13164 #, no-wrap
13165 msgid ""
13166 " char **guestfs_zfgrepi (guestfs_h *g,\n"
13167 "\t\tconst char *pattern,\n"
13168 "\t\tconst char *path);\n"
13169 "\n"
13170 msgstr ""
13171
13172 # type: textblock
13173 #: ../src/guestfs-actions.pod:5394 ../fish/guestfish-actions.pod:4127
13174 msgid "This calls the external C<zfgrep -i> program and returns the matching lines."
13175 msgstr ""
13176
13177 # type: =head2
13178 #: ../src/guestfs-actions.pod:5404
13179 msgid "guestfs_zfile"
13180 msgstr ""
13181
13182 # type: verbatim
13183 #: ../src/guestfs-actions.pod:5406
13184 #, no-wrap
13185 msgid ""
13186 " char *guestfs_zfile (guestfs_h *g,\n"
13187 "\t\tconst char *meth,\n"
13188 "\t\tconst char *path);\n"
13189 "\n"
13190 msgstr ""
13191
13192 # type: textblock
13193 #: ../src/guestfs-actions.pod:5410 ../fish/guestfish-actions.pod:4137
13194 msgid "This command runs C<file> after first decompressing C<path> using C<method>."
13195 msgstr ""
13196
13197 # type: textblock
13198 #: ../src/guestfs-actions.pod:5413 ../fish/guestfish-actions.pod:4140
13199 msgid "C<method> must be one of C<gzip>, C<compress> or C<bzip2>."
13200 msgstr ""
13201
13202 # type: textblock
13203 #: ../src/guestfs-actions.pod:5415
13204 msgid ""
13205 "Since 1.0.63, use C<guestfs_file> instead which can now process compressed "
13206 "files."
13207 msgstr ""
13208
13209 # type: textblock
13210 #: ../src/guestfs-actions.pod:5421 ../fish/guestfish-actions.pod:4145
13211 msgid "This function is deprecated.  In new code, use the C<file> call instead."
13212 msgstr ""
13213
13214 # type: =head2
13215 #: ../src/guestfs-actions.pod:5428
13216 msgid "guestfs_zgrep"
13217 msgstr ""
13218
13219 # type: verbatim
13220 #: ../src/guestfs-actions.pod:5430
13221 #, no-wrap
13222 msgid ""
13223 " char **guestfs_zgrep (guestfs_h *g,\n"
13224 "\t\tconst char *regex,\n"
13225 "\t\tconst char *path);\n"
13226 "\n"
13227 msgstr ""
13228
13229 # type: textblock
13230 #: ../src/guestfs-actions.pod:5434 ../fish/guestfish-actions.pod:4156
13231 msgid "This calls the external C<zgrep> program and returns the matching lines."
13232 msgstr ""
13233
13234 # type: =head2
13235 #: ../src/guestfs-actions.pod:5444
13236 msgid "guestfs_zgrepi"
13237 msgstr ""
13238
13239 # type: verbatim
13240 #: ../src/guestfs-actions.pod:5446
13241 #, no-wrap
13242 msgid ""
13243 " char **guestfs_zgrepi (guestfs_h *g,\n"
13244 "\t\tconst char *regex,\n"
13245 "\t\tconst char *path);\n"
13246 "\n"
13247 msgstr ""
13248
13249 # type: textblock
13250 #: ../src/guestfs-actions.pod:5450 ../fish/guestfish-actions.pod:4166
13251 msgid "This calls the external C<zgrep -i> program and returns the matching lines."
13252 msgstr ""
13253
13254 # type: =item
13255 #: ../src/guestfs-availability.pod:3
13256 msgid "B<augeas>"
13257 msgstr ""
13258
13259 # type: textblock
13260 #: ../src/guestfs-availability.pod:5
13261 msgid ""
13262 "The following functions: L</guestfs_aug_clear> L</guestfs_aug_close> "
13263 "L</guestfs_aug_defnode> L</guestfs_aug_defvar> L</guestfs_aug_get> "
13264 "L</guestfs_aug_init> L</guestfs_aug_insert> L</guestfs_aug_load> "
13265 "L</guestfs_aug_ls> L</guestfs_aug_match> L</guestfs_aug_mv> "
13266 "L</guestfs_aug_rm> L</guestfs_aug_save> L</guestfs_aug_set>"
13267 msgstr ""
13268
13269 # type: =item
13270 #: ../src/guestfs-availability.pod:21
13271 msgid "B<inotify>"
13272 msgstr ""
13273
13274 # type: textblock
13275 #: ../src/guestfs-availability.pod:23
13276 msgid ""
13277 "The following functions: L</guestfs_inotify_add_watch> "
13278 "L</guestfs_inotify_close> L</guestfs_inotify_files> L</guestfs_inotify_init> "
13279 "L</guestfs_inotify_read> L</guestfs_inotify_rm_watch>"
13280 msgstr ""
13281
13282 # type: =item
13283 #: ../src/guestfs-availability.pod:31
13284 msgid "B<linuxfsuuid>"
13285 msgstr ""
13286
13287 # type: textblock
13288 #: ../src/guestfs-availability.pod:33
13289 msgid ""
13290 "The following functions: L</guestfs_mke2fs_JU> L</guestfs_mke2journal_U> "
13291 "L</guestfs_mkswap_U> L</guestfs_swapoff_uuid> L</guestfs_swapon_uuid>"
13292 msgstr ""
13293
13294 # type: =item
13295 #: ../src/guestfs-availability.pod:40
13296 msgid "B<linuxmodules>"
13297 msgstr ""
13298
13299 # type: textblock
13300 #: ../src/guestfs-availability.pod:42
13301 msgid "The following functions: L</guestfs_modprobe>"
13302 msgstr ""
13303
13304 # type: =item
13305 #: ../src/guestfs-availability.pod:45
13306 msgid "B<linuxxattrs>"
13307 msgstr ""
13308
13309 # type: textblock
13310 #: ../src/guestfs-availability.pod:47
13311 msgid ""
13312 "The following functions: L</guestfs_getxattrs> L</guestfs_lgetxattrs> "
13313 "L</guestfs_lremovexattr> L</guestfs_lsetxattr> L</guestfs_lxattrlist> "
13314 "L</guestfs_removexattr> L</guestfs_setxattr>"
13315 msgstr ""
13316
13317 # type: =item
13318 #: ../src/guestfs-availability.pod:56
13319 msgid "B<luks>"
13320 msgstr ""
13321
13322 # type: textblock
13323 #: ../src/guestfs-availability.pod:58
13324 msgid ""
13325 "The following functions: L</guestfs_luks_add_key> L</guestfs_luks_close> "
13326 "L</guestfs_luks_format> L</guestfs_luks_format_cipher> "
13327 "L</guestfs_luks_kill_slot> L</guestfs_luks_open> L</guestfs_luks_open_ro>"
13328 msgstr ""
13329
13330 # type: =item
13331 #: ../src/guestfs-availability.pod:67
13332 msgid "B<lvm2>"
13333 msgstr ""
13334
13335 # type: textblock
13336 #: ../src/guestfs-availability.pod:69
13337 msgid ""
13338 "The following functions: L</guestfs_is_lv> L</guestfs_lvcreate> "
13339 "L</guestfs_lvm_remove_all> L</guestfs_lvm_set_filter> L</guestfs_lvremove> "
13340 "L</guestfs_lvresize> L</guestfs_lvresize_free> L</guestfs_lvs> "
13341 "L</guestfs_lvs_full> L</guestfs_pvcreate> L</guestfs_pvremove> "
13342 "L</guestfs_pvresize> L</guestfs_pvresize_size> L</guestfs_pvs> "
13343 "L</guestfs_pvs_full> L</guestfs_vg_activate> L</guestfs_vg_activate_all> "
13344 "L</guestfs_vgcreate> L</guestfs_vgremove> L</guestfs_vgs> "
13345 "L</guestfs_vgs_full>"
13346 msgstr ""
13347
13348 # type: =item
13349 #: ../src/guestfs-availability.pod:92
13350 msgid "B<mknod>"
13351 msgstr ""
13352
13353 # type: textblock
13354 #: ../src/guestfs-availability.pod:94
13355 msgid ""
13356 "The following functions: L</guestfs_mkfifo> L</guestfs_mknod> "
13357 "L</guestfs_mknod_b> L</guestfs_mknod_c>"
13358 msgstr ""
13359
13360 # type: =item
13361 #: ../src/guestfs-availability.pod:100
13362 msgid "B<ntfs3g>"
13363 msgstr ""
13364
13365 # type: textblock
13366 #: ../src/guestfs-availability.pod:102
13367 msgid "The following functions: L</guestfs_ntfs_3g_probe>"
13368 msgstr ""
13369
13370 # type: =item
13371 #: ../src/guestfs-availability.pod:105
13372 msgid "B<ntfsprogs>"
13373 msgstr ""
13374
13375 # type: textblock
13376 #: ../src/guestfs-availability.pod:107
13377 msgid "The following functions: L</guestfs_ntfsresize> L</guestfs_ntfsresize_size>"
13378 msgstr ""
13379
13380 # type: =item
13381 #: ../src/guestfs-availability.pod:111
13382 msgid "B<realpath>"
13383 msgstr ""
13384
13385 # type: textblock
13386 #: ../src/guestfs-availability.pod:113
13387 msgid "The following functions: L</guestfs_realpath>"
13388 msgstr ""
13389
13390 # type: =item
13391 #: ../src/guestfs-availability.pod:116
13392 msgid "B<scrub>"
13393 msgstr ""
13394
13395 # type: textblock
13396 #: ../src/guestfs-availability.pod:118
13397 msgid ""
13398 "The following functions: L</guestfs_scrub_device> L</guestfs_scrub_file> "
13399 "L</guestfs_scrub_freespace>"
13400 msgstr ""
13401
13402 # type: =item
13403 #: ../src/guestfs-availability.pod:123
13404 msgid "B<selinux>"
13405 msgstr ""
13406
13407 # type: textblock
13408 #: ../src/guestfs-availability.pod:125
13409 msgid "The following functions: L</guestfs_getcon> L</guestfs_setcon>"
13410 msgstr ""
13411
13412 # type: =item
13413 #: ../src/guestfs-availability.pod:129
13414 msgid "B<xz>"
13415 msgstr ""
13416
13417 # type: textblock
13418 #: ../src/guestfs-availability.pod:131
13419 msgid "The following functions: L</guestfs_txz_in> L</guestfs_txz_out>"
13420 msgstr ""
13421
13422 # type: =item
13423 #: ../src/guestfs-availability.pod:135
13424 msgid "B<zerofree>"
13425 msgstr ""
13426
13427 # type: textblock
13428 #: ../src/guestfs-availability.pod:137
13429 msgid "The following functions: L</guestfs_zerofree>"
13430 msgstr ""
13431
13432 # type: =head2
13433 #: ../src/guestfs-structs.pod:1
13434 msgid "guestfs_int_bool"
13435 msgstr ""
13436
13437 # type: verbatim
13438 #: ../src/guestfs-structs.pod:3
13439 #, no-wrap
13440 msgid ""
13441 " struct guestfs_int_bool {\n"
13442 "   int32_t i;\n"
13443 "   int32_t b;\n"
13444 " };\n"
13445 " \n"
13446 msgstr ""
13447
13448 # type: verbatim
13449 #: ../src/guestfs-structs.pod:8
13450 #, no-wrap
13451 msgid ""
13452 " struct guestfs_int_bool_list {\n"
13453 "   uint32_t len; /* Number of elements in list. */\n"
13454 "   struct guestfs_int_bool *val; /* Elements. */\n"
13455 " };\n"
13456 " \n"
13457 msgstr ""
13458
13459 # type: verbatim
13460 #: ../src/guestfs-structs.pod:13
13461 #, no-wrap
13462 msgid ""
13463 " void guestfs_free_int_bool (struct guestfs_free_int_bool *);\n"
13464 " void guestfs_free_int_bool_list (struct guestfs_free_int_bool_list *);\n"
13465 "\n"
13466 msgstr ""
13467
13468 # type: =head2
13469 #: ../src/guestfs-structs.pod:16
13470 msgid "guestfs_lvm_pv"
13471 msgstr ""
13472
13473 # type: verbatim
13474 #: ../src/guestfs-structs.pod:18
13475 #, no-wrap
13476 msgid ""
13477 " struct guestfs_lvm_pv {\n"
13478 "   char *pv_name;\n"
13479 "   /* The next field is NOT nul-terminated, be careful when printing it: "
13480 "*/\n"
13481 "   char pv_uuid[32];\n"
13482 "   char *pv_fmt;\n"
13483 "   uint64_t pv_size;\n"
13484 "   uint64_t dev_size;\n"
13485 "   uint64_t pv_free;\n"
13486 "   uint64_t pv_used;\n"
13487 "   char *pv_attr;\n"
13488 "   int64_t pv_pe_count;\n"
13489 "   int64_t pv_pe_alloc_count;\n"
13490 "   char *pv_tags;\n"
13491 "   uint64_t pe_start;\n"
13492 "   int64_t pv_mda_count;\n"
13493 "   uint64_t pv_mda_free;\n"
13494 " };\n"
13495 " \n"
13496 msgstr ""
13497
13498 # type: verbatim
13499 #: ../src/guestfs-structs.pod:36
13500 #, no-wrap
13501 msgid ""
13502 " struct guestfs_lvm_pv_list {\n"
13503 "   uint32_t len; /* Number of elements in list. */\n"
13504 "   struct guestfs_lvm_pv *val; /* Elements. */\n"
13505 " };\n"
13506 " \n"
13507 msgstr ""
13508
13509 # type: verbatim
13510 #: ../src/guestfs-structs.pod:41
13511 #, no-wrap
13512 msgid ""
13513 " void guestfs_free_lvm_pv (struct guestfs_free_lvm_pv *);\n"
13514 " void guestfs_free_lvm_pv_list (struct guestfs_free_lvm_pv_list *);\n"
13515 "\n"
13516 msgstr ""
13517
13518 # type: =head2
13519 #: ../src/guestfs-structs.pod:44
13520 msgid "guestfs_lvm_vg"
13521 msgstr ""
13522
13523 # type: verbatim
13524 #: ../src/guestfs-structs.pod:46
13525 #, no-wrap
13526 msgid ""
13527 " struct guestfs_lvm_vg {\n"
13528 "   char *vg_name;\n"
13529 "   /* The next field is NOT nul-terminated, be careful when printing it: "
13530 "*/\n"
13531 "   char vg_uuid[32];\n"
13532 "   char *vg_fmt;\n"
13533 "   char *vg_attr;\n"
13534 "   uint64_t vg_size;\n"
13535 "   uint64_t vg_free;\n"
13536 "   char *vg_sysid;\n"
13537 "   uint64_t vg_extent_size;\n"
13538 "   int64_t vg_extent_count;\n"
13539 "   int64_t vg_free_count;\n"
13540 "   int64_t max_lv;\n"
13541 "   int64_t max_pv;\n"
13542 "   int64_t pv_count;\n"
13543 "   int64_t lv_count;\n"
13544 "   int64_t snap_count;\n"
13545 "   int64_t vg_seqno;\n"
13546 "   char *vg_tags;\n"
13547 "   int64_t vg_mda_count;\n"
13548 "   uint64_t vg_mda_free;\n"
13549 " };\n"
13550 " \n"
13551 msgstr ""
13552
13553 # type: verbatim
13554 #: ../src/guestfs-structs.pod:69
13555 #, no-wrap
13556 msgid ""
13557 " struct guestfs_lvm_vg_list {\n"
13558 "   uint32_t len; /* Number of elements in list. */\n"
13559 "   struct guestfs_lvm_vg *val; /* Elements. */\n"
13560 " };\n"
13561 " \n"
13562 msgstr ""
13563
13564 # type: verbatim
13565 #: ../src/guestfs-structs.pod:74
13566 #, no-wrap
13567 msgid ""
13568 " void guestfs_free_lvm_vg (struct guestfs_free_lvm_vg *);\n"
13569 " void guestfs_free_lvm_vg_list (struct guestfs_free_lvm_vg_list *);\n"
13570 "\n"
13571 msgstr ""
13572
13573 # type: =head2
13574 #: ../src/guestfs-structs.pod:77
13575 msgid "guestfs_lvm_lv"
13576 msgstr ""
13577
13578 # type: verbatim
13579 #: ../src/guestfs-structs.pod:79
13580 #, no-wrap
13581 msgid ""
13582 " struct guestfs_lvm_lv {\n"
13583 "   char *lv_name;\n"
13584 "   /* The next field is NOT nul-terminated, be careful when printing it: "
13585 "*/\n"
13586 "   char lv_uuid[32];\n"
13587 "   char *lv_attr;\n"
13588 "   int64_t lv_major;\n"
13589 "   int64_t lv_minor;\n"
13590 "   int64_t lv_kernel_major;\n"
13591 "   int64_t lv_kernel_minor;\n"
13592 "   uint64_t lv_size;\n"
13593 "   int64_t seg_count;\n"
13594 "   char *origin;\n"
13595 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
13596 "   float snap_percent;\n"
13597 "   /* The next field is [0..100] or -1 meaning 'not present': */\n"
13598 "   float copy_percent;\n"
13599 "   char *move_pv;\n"
13600 "   char *lv_tags;\n"
13601 "   char *mirror_log;\n"
13602 "   char *modules;\n"
13603 " };\n"
13604 " \n"
13605 msgstr ""
13606
13607 # type: verbatim
13608 #: ../src/guestfs-structs.pod:101
13609 #, no-wrap
13610 msgid ""
13611 " struct guestfs_lvm_lv_list {\n"
13612 "   uint32_t len; /* Number of elements in list. */\n"
13613 "   struct guestfs_lvm_lv *val; /* Elements. */\n"
13614 " };\n"
13615 " \n"
13616 msgstr ""
13617
13618 # type: verbatim
13619 #: ../src/guestfs-structs.pod:106
13620 #, no-wrap
13621 msgid ""
13622 " void guestfs_free_lvm_lv (struct guestfs_free_lvm_lv *);\n"
13623 " void guestfs_free_lvm_lv_list (struct guestfs_free_lvm_lv_list *);\n"
13624 "\n"
13625 msgstr ""
13626
13627 # type: verbatim
13628 #: ../src/guestfs-structs.pod:111
13629 #, no-wrap
13630 msgid ""
13631 " struct guestfs_stat {\n"
13632 "   int64_t dev;\n"
13633 "   int64_t ino;\n"
13634 "   int64_t mode;\n"
13635 "   int64_t nlink;\n"
13636 "   int64_t uid;\n"
13637 "   int64_t gid;\n"
13638 "   int64_t rdev;\n"
13639 "   int64_t size;\n"
13640 "   int64_t blksize;\n"
13641 "   int64_t blocks;\n"
13642 "   int64_t atime;\n"
13643 "   int64_t mtime;\n"
13644 "   int64_t ctime;\n"
13645 " };\n"
13646 " \n"
13647 msgstr ""
13648
13649 # type: verbatim
13650 #: ../src/guestfs-structs.pod:127
13651 #, no-wrap
13652 msgid ""
13653 " struct guestfs_stat_list {\n"
13654 "   uint32_t len; /* Number of elements in list. */\n"
13655 "   struct guestfs_stat *val; /* Elements. */\n"
13656 " };\n"
13657 " \n"
13658 msgstr ""
13659
13660 # type: verbatim
13661 #: ../src/guestfs-structs.pod:132
13662 #, no-wrap
13663 msgid ""
13664 " void guestfs_free_stat (struct guestfs_free_stat *);\n"
13665 " void guestfs_free_stat_list (struct guestfs_free_stat_list *);\n"
13666 "\n"
13667 msgstr ""
13668
13669 # type: verbatim
13670 #: ../src/guestfs-structs.pod:137
13671 #, no-wrap
13672 msgid ""
13673 " struct guestfs_statvfs {\n"
13674 "   int64_t bsize;\n"
13675 "   int64_t frsize;\n"
13676 "   int64_t blocks;\n"
13677 "   int64_t bfree;\n"
13678 "   int64_t bavail;\n"
13679 "   int64_t files;\n"
13680 "   int64_t ffree;\n"
13681 "   int64_t favail;\n"
13682 "   int64_t fsid;\n"
13683 "   int64_t flag;\n"
13684 "   int64_t namemax;\n"
13685 " };\n"
13686 " \n"
13687 msgstr ""
13688
13689 # type: verbatim
13690 #: ../src/guestfs-structs.pod:151
13691 #, no-wrap
13692 msgid ""
13693 " struct guestfs_statvfs_list {\n"
13694 "   uint32_t len; /* Number of elements in list. */\n"
13695 "   struct guestfs_statvfs *val; /* Elements. */\n"
13696 " };\n"
13697 " \n"
13698 msgstr ""
13699
13700 # type: verbatim
13701 #: ../src/guestfs-structs.pod:156
13702 #, no-wrap
13703 msgid ""
13704 " void guestfs_free_statvfs (struct guestfs_free_statvfs *);\n"
13705 " void guestfs_free_statvfs_list (struct guestfs_free_statvfs_list *);\n"
13706 "\n"
13707 msgstr ""
13708
13709 # type: =head2
13710 #: ../src/guestfs-structs.pod:159
13711 msgid "guestfs_dirent"
13712 msgstr ""
13713
13714 # type: verbatim
13715 #: ../src/guestfs-structs.pod:161
13716 #, no-wrap
13717 msgid ""
13718 " struct guestfs_dirent {\n"
13719 "   int64_t ino;\n"
13720 "   char ftyp;\n"
13721 "   char *name;\n"
13722 " };\n"
13723 " \n"
13724 msgstr ""
13725
13726 # type: verbatim
13727 #: ../src/guestfs-structs.pod:167
13728 #, no-wrap
13729 msgid ""
13730 " struct guestfs_dirent_list {\n"
13731 "   uint32_t len; /* Number of elements in list. */\n"
13732 "   struct guestfs_dirent *val; /* Elements. */\n"
13733 " };\n"
13734 " \n"
13735 msgstr ""
13736
13737 # type: verbatim
13738 #: ../src/guestfs-structs.pod:172
13739 #, no-wrap
13740 msgid ""
13741 " void guestfs_free_dirent (struct guestfs_free_dirent *);\n"
13742 " void guestfs_free_dirent_list (struct guestfs_free_dirent_list *);\n"
13743 "\n"
13744 msgstr ""
13745
13746 # type: verbatim
13747 #: ../src/guestfs-structs.pod:177
13748 #, no-wrap
13749 msgid ""
13750 " struct guestfs_version {\n"
13751 "   int64_t major;\n"
13752 "   int64_t minor;\n"
13753 "   int64_t release;\n"
13754 "   char *extra;\n"
13755 " };\n"
13756 " \n"
13757 msgstr ""
13758
13759 # type: verbatim
13760 #: ../src/guestfs-structs.pod:184
13761 #, no-wrap
13762 msgid ""
13763 " struct guestfs_version_list {\n"
13764 "   uint32_t len; /* Number of elements in list. */\n"
13765 "   struct guestfs_version *val; /* Elements. */\n"
13766 " };\n"
13767 " \n"
13768 msgstr ""
13769
13770 # type: verbatim
13771 #: ../src/guestfs-structs.pod:189
13772 #, no-wrap
13773 msgid ""
13774 " void guestfs_free_version (struct guestfs_free_version *);\n"
13775 " void guestfs_free_version_list (struct guestfs_free_version_list *);\n"
13776 "\n"
13777 msgstr ""
13778
13779 # type: =head2
13780 #: ../src/guestfs-structs.pod:192
13781 msgid "guestfs_xattr"
13782 msgstr ""
13783
13784 # type: verbatim
13785 #: ../src/guestfs-structs.pod:194
13786 #, no-wrap
13787 msgid ""
13788 " struct guestfs_xattr {\n"
13789 "   char *attrname;\n"
13790 "   /* The next two fields describe a byte array. */\n"
13791 "   uint32_t attrval_len;\n"
13792 "   char *attrval;\n"
13793 " };\n"
13794 " \n"
13795 msgstr ""
13796
13797 # type: verbatim
13798 #: ../src/guestfs-structs.pod:201
13799 #, no-wrap
13800 msgid ""
13801 " struct guestfs_xattr_list {\n"
13802 "   uint32_t len; /* Number of elements in list. */\n"
13803 "   struct guestfs_xattr *val; /* Elements. */\n"
13804 " };\n"
13805 " \n"
13806 msgstr ""
13807
13808 # type: verbatim
13809 #: ../src/guestfs-structs.pod:206
13810 #, no-wrap
13811 msgid ""
13812 " void guestfs_free_xattr (struct guestfs_free_xattr *);\n"
13813 " void guestfs_free_xattr_list (struct guestfs_free_xattr_list *);\n"
13814 "\n"
13815 msgstr ""
13816
13817 # type: =head2
13818 #: ../src/guestfs-structs.pod:209
13819 msgid "guestfs_inotify_event"
13820 msgstr ""
13821
13822 # type: verbatim
13823 #: ../src/guestfs-structs.pod:211
13824 #, no-wrap
13825 msgid ""
13826 " struct guestfs_inotify_event {\n"
13827 "   int64_t in_wd;\n"
13828 "   uint32_t in_mask;\n"
13829 "   uint32_t in_cookie;\n"
13830 "   char *in_name;\n"
13831 " };\n"
13832 " \n"
13833 msgstr ""
13834
13835 # type: verbatim
13836 #: ../src/guestfs-structs.pod:218
13837 #, no-wrap
13838 msgid ""
13839 " struct guestfs_inotify_event_list {\n"
13840 "   uint32_t len; /* Number of elements in list. */\n"
13841 "   struct guestfs_inotify_event *val; /* Elements. */\n"
13842 " };\n"
13843 " \n"
13844 msgstr ""
13845
13846 # type: verbatim
13847 #: ../src/guestfs-structs.pod:223
13848 #, no-wrap
13849 msgid ""
13850 " void guestfs_free_inotify_event (struct guestfs_free_inotify_event *);\n"
13851 " void guestfs_free_inotify_event_list (struct "
13852 "guestfs_free_inotify_event_list *);\n"
13853 "\n"
13854 msgstr ""
13855
13856 # type: =head2
13857 #: ../src/guestfs-structs.pod:226
13858 msgid "guestfs_partition"
13859 msgstr ""
13860
13861 # type: verbatim
13862 #: ../src/guestfs-structs.pod:228
13863 #, no-wrap
13864 msgid ""
13865 " struct guestfs_partition {\n"
13866 "   int32_t part_num;\n"
13867 "   uint64_t part_start;\n"
13868 "   uint64_t part_end;\n"
13869 "   uint64_t part_size;\n"
13870 " };\n"
13871 " \n"
13872 msgstr ""
13873
13874 # type: verbatim
13875 #: ../src/guestfs-structs.pod:235
13876 #, no-wrap
13877 msgid ""
13878 " struct guestfs_partition_list {\n"
13879 "   uint32_t len; /* Number of elements in list. */\n"
13880 "   struct guestfs_partition *val; /* Elements. */\n"
13881 " };\n"
13882 " \n"
13883 msgstr ""
13884
13885 # type: verbatim
13886 #: ../src/guestfs-structs.pod:240
13887 #, no-wrap
13888 msgid ""
13889 " void guestfs_free_partition (struct guestfs_free_partition *);\n"
13890 " void guestfs_free_partition_list (struct guestfs_free_partition_list *);\n"
13891 "\n"
13892 msgstr ""
13893
13894 # type: textblock
13895 #: ../fish/guestfish.pod:5
13896 msgid "guestfish - the libguestfs Filesystem Interactive SHell"
13897 msgstr ""
13898
13899 # type: verbatim
13900 #: ../fish/guestfish.pod:9
13901 #, no-wrap
13902 msgid ""
13903 " guestfish [--options] [commands]\n"
13904 "\n"
13905 msgstr ""
13906
13907 # type: verbatim
13908 #: ../fish/guestfish.pod:11
13909 #, no-wrap
13910 msgid ""
13911 " guestfish\n"
13912 "\n"
13913 msgstr ""
13914
13915 # type: verbatim
13916 #: ../fish/guestfish.pod:13
13917 #, no-wrap
13918 msgid ""
13919 " guestfish -a disk.img\n"
13920 "\n"
13921 msgstr ""
13922
13923 # type: verbatim
13924 #: ../fish/guestfish.pod:15
13925 #, no-wrap
13926 msgid ""
13927 " guestfish -a disk.img -m dev[:mountpoint]\n"
13928 "\n"
13929 msgstr ""
13930
13931 # type: verbatim
13932 #: ../fish/guestfish.pod:17
13933 #, no-wrap
13934 msgid ""
13935 " guestfish -d libvirt-domain\n"
13936 "\n"
13937 msgstr ""
13938
13939 # type: verbatim
13940 #: ../fish/guestfish.pod:19
13941 #, no-wrap
13942 msgid ""
13943 " guestfish -a disk.img -i\n"
13944 "\n"
13945 msgstr ""
13946
13947 # type: verbatim
13948 #: ../fish/guestfish.pod:21
13949 #, no-wrap
13950 msgid ""
13951 " guestfish -d libvirt-domain -i\n"
13952 "\n"
13953 msgstr ""
13954
13955 # type: =head1
13956 #: ../fish/guestfish.pod:23 ../fuse/guestmount.pod:11 ../tools/virt-edit.pl:45 ../tools/virt-rescue.pl:41 ../tools/virt-tar.pl:60 ../tools/virt-win-reg.pl:52
13957 msgid "WARNING"
13958 msgstr ""
13959
13960 # type: textblock
13961 #: ../fish/guestfish.pod:25
13962 msgid ""
13963 "Using guestfish in read/write mode on live virtual machines can be "
13964 "dangerous, potentially causing disk corruption.  Use the I<--ro> (read-only) "
13965 "option to use guestfish safely if the disk image or virtual machine might be "
13966 "live."
13967 msgstr ""
13968
13969 # type: =head1
13970 #: ../fish/guestfish.pod:30 ../fish/guestfish.pod:729 ../fuse/guestmount.pod:35 ../tools/virt-cat.pl:51 ../tools/virt-edit.pl:59 ../tools/virt-resize.pl:66 ../tools/virt-tar.pl:46
13971 msgid "EXAMPLES"
13972 msgstr ""
13973
13974 # type: =head2
13975 #: ../fish/guestfish.pod:32
13976 msgid "As an interactive shell"
13977 msgstr ""
13978
13979 # type: verbatim
13980 #: ../fish/guestfish.pod:34
13981 #, no-wrap
13982 msgid ""
13983 " $ guestfish\n"
13984 " \n"
13985 msgstr ""
13986
13987 # type: verbatim
13988 #: ../fish/guestfish.pod:36
13989 #, no-wrap
13990 msgid ""
13991 " Welcome to guestfish, the libguestfs filesystem interactive shell for\n"
13992 " editing virtual machine filesystems.\n"
13993 " \n"
13994 msgstr ""
13995
13996 # type: verbatim
13997 #: ../fish/guestfish.pod:39
13998 #, no-wrap
13999 msgid ""
14000 " Type: 'help' for a list of commands\n"
14001 "       'man' to read the manual\n"
14002 "       'quit' to quit the shell\n"
14003 " \n"
14004 msgstr ""
14005
14006 # type: verbatim
14007 #: ../fish/guestfish.pod:43
14008 #, no-wrap
14009 msgid ""
14010 " ><fs> man\n"
14011 "\n"
14012 msgstr ""
14013
14014 # type: =head2
14015 #: ../fish/guestfish.pod:45
14016 msgid "From shell scripts"
14017 msgstr ""
14018
14019 # type: textblock
14020 #: ../fish/guestfish.pod:47
14021 msgid "Create a new C</etc/motd> file in a guest:"
14022 msgstr ""
14023
14024 # type: verbatim
14025 #: ../fish/guestfish.pod:49
14026 #, no-wrap
14027 msgid ""
14028 " guestfish <<_EOF_\n"
14029 " add disk.img\n"
14030 " run\n"
14031 " mount /dev/vg_guest/lv_root /\n"
14032 " write /etc/motd \"Welcome, new users\"\n"
14033 " _EOF_\n"
14034 "\n"
14035 msgstr ""
14036
14037 # type: textblock
14038 #: ../fish/guestfish.pod:56
14039 msgid "List the LVM logical volumes in a guest:"
14040 msgstr ""
14041
14042 # type: verbatim
14043 #: ../fish/guestfish.pod:58
14044 #, no-wrap
14045 msgid ""
14046 " guestfish -a disk.img --ro <<_EOF_\n"
14047 " run\n"
14048 " lvs\n"
14049 " _EOF_\n"
14050 "\n"
14051 msgstr ""
14052
14053 # type: =head2
14054 #: ../fish/guestfish.pod:63
14055 msgid "On one command line"
14056 msgstr ""
14057
14058 # type: textblock
14059 #: ../fish/guestfish.pod:65
14060 msgid "Update C</etc/resolv.conf> in a guest:"
14061 msgstr ""
14062
14063 # type: verbatim
14064 #: ../fish/guestfish.pod:67
14065 #, no-wrap
14066 msgid ""
14067 " guestfish \\\n"
14068 "   add disk.img : run : mount /dev/vg_guest/lv_root / : \\\n"
14069 "   write /etc/resolv.conf \"nameserver 1.2.3.4\"\n"
14070 "\n"
14071 msgstr ""
14072
14073 # type: textblock
14074 #: ../fish/guestfish.pod:71
14075 msgid "Edit C</boot/grub/grub.conf> interactively:"
14076 msgstr ""
14077
14078 # type: verbatim
14079 #: ../fish/guestfish.pod:73
14080 #, no-wrap
14081 msgid ""
14082 " guestfish --add disk.img \\\n"
14083 "   --mount /dev/vg_guest/lv_root \\\n"
14084 "   --mount /dev/sda1:/boot \\\n"
14085 "   edit /boot/grub/grub.conf\n"
14086 "\n"
14087 msgstr ""
14088
14089 # type: =head2
14090 #: ../fish/guestfish.pod:78
14091 msgid "Mount disks automatically"
14092 msgstr ""
14093
14094 # type: textblock
14095 #: ../fish/guestfish.pod:80
14096 msgid ""
14097 "Use the I<-i> option to automatically mount the disks from a virtual "
14098 "machine:"
14099 msgstr ""
14100
14101 # type: verbatim
14102 #: ../fish/guestfish.pod:83
14103 #, no-wrap
14104 msgid ""
14105 " guestfish --ro -a disk.img -i cat /etc/group\n"
14106 "\n"
14107 msgstr ""
14108
14109 # type: verbatim
14110 #: ../fish/guestfish.pod:85
14111 #, no-wrap
14112 msgid ""
14113 " guestfish --ro -d libvirt-domain -i cat /etc/group\n"
14114 "\n"
14115 msgstr ""
14116
14117 # type: =head2
14118 #: ../fish/guestfish.pod:87
14119 msgid "As a script interpreter"
14120 msgstr ""
14121
14122 # type: textblock
14123 #: ../fish/guestfish.pod:89
14124 msgid "Create a 100MB disk containing an ext2-formatted partition:"
14125 msgstr ""
14126
14127 # type: verbatim
14128 #: ../fish/guestfish.pod:91
14129 #, no-wrap
14130 msgid ""
14131 " #!/usr/bin/guestfish -f\n"
14132 " sparse test1.img 100M\n"
14133 " run\n"
14134 " part-disk /dev/sda mbr\n"
14135 " mkfs ext2 /dev/sda1\n"
14136 "\n"
14137 msgstr ""
14138
14139 # type: =head2
14140 #: ../fish/guestfish.pod:97
14141 msgid "Start with a prepared disk"
14142 msgstr ""
14143
14144 # type: textblock
14145 #: ../fish/guestfish.pod:99
14146 msgid ""
14147 "An alternate way to create a 100MB disk called C<test1.img> containing a "
14148 "single ext2-formatted partition:"
14149 msgstr ""
14150
14151 # type: verbatim
14152 #: ../fish/guestfish.pod:102
14153 #, no-wrap
14154 msgid ""
14155 " guestfish -N fs\n"
14156 "\n"
14157 msgstr ""
14158
14159 # type: textblock
14160 #: ../fish/guestfish.pod:104
14161 msgid "To list what is available do:"
14162 msgstr ""
14163
14164 # type: verbatim
14165 #: ../fish/guestfish.pod:106 ../fish/guestfish.pod:720
14166 #, no-wrap
14167 msgid ""
14168 " guestfish -N help | less\n"
14169 "\n"
14170 msgstr ""
14171
14172 # type: =head2
14173 #: ../fish/guestfish.pod:108
14174 msgid "Remote control"
14175 msgstr ""
14176
14177 # type: verbatim
14178 #: ../fish/guestfish.pod:110
14179 #, no-wrap
14180 msgid ""
14181 " eval `guestfish --listen --ro`\n"
14182 " guestfish --remote add disk.img\n"
14183 " guestfish --remote run\n"
14184 " guestfish --remote lvs\n"
14185 "\n"
14186 msgstr ""
14187
14188 # type: textblock
14189 #: ../fish/guestfish.pod:117
14190 msgid ""
14191 "Guestfish is a shell and command-line tool for examining and modifying "
14192 "virtual machine filesystems.  It uses libguestfs and exposes all of the "
14193 "functionality of the guestfs API, see L<guestfs(3)>."
14194 msgstr ""
14195
14196 # type: textblock
14197 #: ../fish/guestfish.pod:121
14198 msgid ""
14199 "Guestfish gives you structured access to the libguestfs API, from shell "
14200 "scripts or the command line or interactively.  If you want to rescue a "
14201 "broken virtual machine image, you should look at the L<virt-rescue(1)> "
14202 "command."
14203 msgstr ""
14204
14205 # type: =head1
14206 #: ../fish/guestfish.pod:126 ../test-tool/libguestfs-test-tool.pod:37 ../fuse/guestmount.pod:70 ../inspector/virt-inspector.pl:75 ../tools/virt-cat.pl:80 ../tools/virt-df.pl:71 ../tools/virt-edit.pl:73 ../tools/virt-list-filesystems.pl:50 ../tools/virt-list-partitions.pl:51 ../tools/virt-ls.pl:79 ../tools/virt-make-fs.pl:153 ../tools/virt-rescue.pl:103 ../tools/virt-resize.pl:233 ../tools/virt-tar.pl:99 ../tools/virt-win-reg.pl:172
14207 msgid "OPTIONS"
14208 msgstr ""
14209
14210 # type: =item
14211 #: ../fish/guestfish.pod:130 ../fuse/guestmount.pod:94 ../inspector/virt-inspector.pl:83 ../tools/virt-cat.pl:88 ../tools/virt-df.pl:79 ../tools/virt-edit.pl:81 ../tools/virt-list-filesystems.pl:58 ../tools/virt-list-partitions.pl:59 ../tools/virt-ls.pl:87 ../tools/virt-make-fs.pl:161 ../tools/virt-rescue.pl:111 ../tools/virt-resize.pl:241 ../tools/virt-tar.pl:107 ../tools/virt-win-reg.pl:180
14212 msgid "B<--help>"
14213 msgstr ""
14214
14215 # type: textblock
14216 #: ../fish/guestfish.pod:132
14217 msgid "Displays general help on options."
14218 msgstr ""
14219
14220 # type: =item
14221 #: ../fish/guestfish.pod:134
14222 msgid "B<-h> | B<--cmd-help>"
14223 msgstr ""
14224
14225 # type: textblock
14226 #: ../fish/guestfish.pod:136
14227 msgid "Lists all available guestfish commands."
14228 msgstr ""
14229
14230 # type: =item
14231 #: ../fish/guestfish.pod:138
14232 msgid "B<-h cmd> | B<--cmd-help cmd>"
14233 msgstr ""
14234
14235 # type: textblock
14236 #: ../fish/guestfish.pod:140
14237 msgid "Displays detailed help on a single command C<cmd>."
14238 msgstr ""
14239
14240 # type: =item
14241 #: ../fish/guestfish.pod:142 ../fuse/guestmount.pod:74
14242 msgid "B<-a image> | B<--add image>"
14243 msgstr ""
14244
14245 # type: textblock
14246 #: ../fish/guestfish.pod:144
14247 msgid "Add a block device or virtual machine image to the shell."
14248 msgstr ""
14249
14250 # type: =item
14251 #: ../fish/guestfish.pod:146
14252 msgid "B<-c URI> | B<--connect URI>"
14253 msgstr ""
14254
14255 # type: textblock
14256 #: ../fish/guestfish.pod:148
14257 msgid ""
14258 "When used in conjunction with the I<-d> option, this specifies the libvirt "
14259 "URI to use.  The default is to use the default libvirt connection."
14260 msgstr ""
14261
14262 # type: =item
14263 #: ../fish/guestfish.pod:152
14264 msgid "B<-d libvirt-domain> | B<--domain libvirt-domain>"
14265 msgstr ""
14266
14267 # type: textblock
14268 #: ../fish/guestfish.pod:154
14269 msgid ""
14270 "Add disks from the named libvirt domain.  If the I<--ro> option is also "
14271 "used, then any libvirt domain can be used.  However in write mode, only "
14272 "libvirt domains which are shut down can be named here."
14273 msgstr ""
14274
14275 # type: =item
14276 #: ../fish/guestfish.pod:158
14277 msgid "B<-D> | B<--no-dest-paths>"
14278 msgstr ""
14279
14280 # type: textblock
14281 #: ../fish/guestfish.pod:160
14282 msgid ""
14283 "Don't tab-complete paths on the guest filesystem.  It is useful to be able "
14284 "to hit the tab key to complete paths on the guest filesystem, but this "
14285 "causes extra \"hidden\" guestfs calls to be made, so this option is here to "
14286 "allow this feature to be disabled."
14287 msgstr ""
14288
14289 # type: =item
14290 #: ../fish/guestfish.pod:165
14291 msgid "B<-f file> | B<--file file>"
14292 msgstr ""
14293
14294 # type: textblock
14295 #: ../fish/guestfish.pod:167
14296 msgid "Read commands from C<file>.  To write pure guestfish scripts, use:"
14297 msgstr ""
14298
14299 # type: verbatim
14300 #: ../fish/guestfish.pod:170
14301 #, no-wrap
14302 msgid ""
14303 " #!/usr/bin/guestfish -f\n"
14304 "\n"
14305 msgstr ""
14306
14307 # type: =item
14308 #: ../fish/guestfish.pod:172
14309 msgid "B<-i> | B<--inspector>"
14310 msgstr ""
14311
14312 # type: textblock
14313 #: ../fish/guestfish.pod:174
14314 msgid ""
14315 "Using L<virt-inspector(1)> code, inspect the disks looking for an operating "
14316 "system and mount filesystems as they would be mounted on the real virtual "
14317 "machine."
14318 msgstr ""
14319
14320 # type: textblock
14321 #: ../fish/guestfish.pod:178
14322 msgid "Typical usage is either:"
14323 msgstr ""
14324
14325 # type: verbatim
14326 #: ../fish/guestfish.pod:180
14327 #, no-wrap
14328 msgid ""
14329 " guestfish -d myguest -i\n"
14330 "\n"
14331 msgstr ""
14332
14333 # type: textblock
14334 #: ../fish/guestfish.pod:182
14335 msgid "(for an inactive libvirt domain called I<myguest>), or:"
14336 msgstr ""
14337
14338 # type: verbatim
14339 #: ../fish/guestfish.pod:184
14340 #, no-wrap
14341 msgid ""
14342 " guestfish --ro -d myguest -i\n"
14343 "\n"
14344 msgstr ""
14345
14346 # type: textblock
14347 #: ../fish/guestfish.pod:186
14348 msgid "(for active domains, readonly), or specify the block device directly:"
14349 msgstr ""
14350
14351 # type: verbatim
14352 #: ../fish/guestfish.pod:188
14353 #, no-wrap
14354 msgid ""
14355 " guestfish -a /dev/Guests/MyGuest -i\n"
14356 "\n"
14357 msgstr ""
14358
14359 # type: textblock
14360 #: ../fish/guestfish.pod:190
14361 msgid ""
14362 "Note that the command line syntax changed slightly over older versions of "
14363 "guestfish.  You can still use the old syntax:"
14364 msgstr ""
14365
14366 # type: verbatim
14367 #: ../fish/guestfish.pod:193
14368 #, no-wrap
14369 msgid ""
14370 " guestfish [--ro] -i disk.img\n"
14371 "\n"
14372 msgstr ""
14373
14374 # type: verbatim
14375 #: ../fish/guestfish.pod:195
14376 #, no-wrap
14377 msgid ""
14378 " guestfish [--ro] -i libvirt-domain\n"
14379 "\n"
14380 msgstr ""
14381
14382 # type: =item
14383 #: ../fish/guestfish.pod:197
14384 msgid "B<--keys-from-stdin>"
14385 msgstr ""
14386
14387 # type: textblock
14388 #: ../fish/guestfish.pod:199
14389 msgid ""
14390 "Read key or passphrase parameters from stdin.  The default is to try to read "
14391 "passphrases from the user by opening C</dev/tty>."
14392 msgstr ""
14393
14394 # type: =item
14395 #: ../fish/guestfish.pod:202
14396 msgid "B<--listen>"
14397 msgstr ""
14398
14399 # type: textblock
14400 #: ../fish/guestfish.pod:204
14401 msgid ""
14402 "Fork into the background and listen for remote commands.  See section "
14403 "L</REMOTE CONTROL GUESTFISH OVER A SOCKET> below."
14404 msgstr ""
14405
14406 # type: =item
14407 #: ../fish/guestfish.pod:207
14408 msgid "B<-m dev[:mountpoint]> | B<--mount dev[:mountpoint]>"
14409 msgstr ""
14410
14411 # type: textblock
14412 #: ../fish/guestfish.pod:209
14413 msgid "Mount the named partition or logical volume on the given mountpoint."
14414 msgstr ""
14415
14416 # type: textblock
14417 #: ../fish/guestfish.pod:211
14418 msgid "If the mountpoint is omitted, it defaults to C</>."
14419 msgstr ""
14420
14421 # type: textblock
14422 #: ../fish/guestfish.pod:213
14423 msgid "You have to mount something on C</> before most commands will work."
14424 msgstr ""
14425
14426 # type: textblock
14427 #: ../fish/guestfish.pod:215
14428 msgid ""
14429 "If any I<-m> or I<--mount> options are given, the guest is automatically "
14430 "launched."
14431 msgstr ""
14432
14433 # type: textblock
14434 #: ../fish/guestfish.pod:218
14435 msgid ""
14436 "If you don't know what filesystems a disk image contains, you can either run "
14437 "guestfish without this option, then list the partitions and LVs available "
14438 "(see L</list-partitions> and L</lvs> commands), or you can use the "
14439 "L<virt-list-filesystems(1)> program."
14440 msgstr ""
14441
14442 # type: =item
14443 #: ../fish/guestfish.pod:223 ../fuse/guestmount.pod:106
14444 msgid "B<-n> | B<--no-sync>"
14445 msgstr ""
14446
14447 # type: textblock
14448 #: ../fish/guestfish.pod:225
14449 msgid ""
14450 "Disable autosync.  This is enabled by default.  See the discussion of "
14451 "autosync in the L<guestfs(3)> manpage."
14452 msgstr ""
14453
14454 # type: =item
14455 #: ../fish/guestfish.pod:228
14456 msgid "B<-N type> | B<--new type> | B<-N help>"
14457 msgstr ""
14458
14459 # type: textblock
14460 #: ../fish/guestfish.pod:230
14461 msgid ""
14462 "Prepare a fresh disk image formatted as \"type\".  This is an alternative to "
14463 "the I<-a> option: whereas I<-a> adds an existing disk, I<-N> creates a "
14464 "preformatted disk with a filesystem and adds it.  See L</PREPARED DISK "
14465 "IMAGES> below."
14466 msgstr ""
14467
14468 # type: =item
14469 #: ../fish/guestfish.pod:235
14470 msgid "B<--progress-bars>"
14471 msgstr ""
14472
14473 # type: textblock
14474 #: ../fish/guestfish.pod:237
14475 msgid "Enable progress bars, even when guestfish is used non-interactively."
14476 msgstr ""
14477
14478 # type: textblock
14479 #: ../fish/guestfish.pod:239
14480 msgid ""
14481 "Progress bars are enabled by default when guestfish is used as an "
14482 "interactive shell."
14483 msgstr ""
14484
14485 # type: =item
14486 #: ../fish/guestfish.pod:242
14487 msgid "B<--no-progress-bars>"
14488 msgstr ""
14489
14490 # type: textblock
14491 #: ../fish/guestfish.pod:244
14492 msgid "Disable progress bars."
14493 msgstr ""
14494
14495 # type: =item
14496 #: ../fish/guestfish.pod:246
14497 msgid "B<--remote[=pid]>"
14498 msgstr ""
14499
14500 # type: textblock
14501 #: ../fish/guestfish.pod:248
14502 msgid ""
14503 "Send remote commands to C<$GUESTFISH_PID> or C<pid>.  See section L</REMOTE "
14504 "CONTROL GUESTFISH OVER A SOCKET> below."
14505 msgstr ""
14506
14507 # type: =item
14508 #: ../fish/guestfish.pod:251 ../fuse/guestmount.pod:148
14509 msgid "B<-r> | B<--ro>"
14510 msgstr ""
14511
14512 # type: textblock
14513 #: ../fish/guestfish.pod:253
14514 msgid ""
14515 "This changes the I<-a> and I<-m> options so that disks are added and mounts "
14516 "are done read-only (see L<guestfs(3)/guestfs_mount_ro>)."
14517 msgstr ""
14518
14519 # type: textblock
14520 #: ../fish/guestfish.pod:256 ../tools/virt-rescue.pl:162
14521 msgid ""
14522 "The option must always be used if the disk image or virtual machine might be "
14523 "running, and is generally recommended in cases where you don't need write "
14524 "access to the disk."
14525 msgstr ""
14526
14527 # type: textblock
14528 #: ../fish/guestfish.pod:260
14529 msgid ""
14530 "Note that prepared disk images created with I<-N> are not affected by the "
14531 "I<--ro> option."
14532 msgstr ""
14533
14534 # type: =item
14535 #: ../fish/guestfish.pod:263 ../fuse/guestmount.pod:158 ../tools/virt-rescue.pl:170
14536 msgid "B<--selinux>"
14537 msgstr ""
14538
14539 # type: textblock
14540 #: ../fish/guestfish.pod:265
14541 msgid "Enable SELinux support for the guest.  See L<guestfs(3)/SELINUX>."
14542 msgstr ""
14543
14544 # type: =item
14545 #: ../fish/guestfish.pod:267 ../fuse/guestmount.pod:168
14546 msgid "B<-v> | B<--verbose>"
14547 msgstr ""
14548
14549 # type: textblock
14550 #: ../fish/guestfish.pod:269
14551 msgid ""
14552 "Enable very verbose messages.  This is particularly useful if you find a "
14553 "bug."
14554 msgstr ""
14555
14556 # type: =item
14557 #: ../fish/guestfish.pod:272 ../fuse/guestmount.pod:172
14558 msgid "B<-V> | B<--version>"
14559 msgstr ""
14560
14561 # type: textblock
14562 #: ../fish/guestfish.pod:274
14563 msgid "Display the guestfish / libguestfs version number and exit."
14564 msgstr ""
14565
14566 # type: =item
14567 #: ../fish/guestfish.pod:276
14568 msgid "B<-x>"
14569 msgstr ""
14570
14571 # type: textblock
14572 #: ../fish/guestfish.pod:278
14573 msgid "Echo each command before executing it."
14574 msgstr ""
14575
14576 # type: =head1
14577 #: ../fish/guestfish.pod:282
14578 msgid "COMMANDS ON COMMAND LINE"
14579 msgstr ""
14580
14581 # type: textblock
14582 #: ../fish/guestfish.pod:284
14583 msgid "Any additional (non-option) arguments are treated as commands to execute."
14584 msgstr ""
14585
14586 # type: textblock
14587 #: ../fish/guestfish.pod:287
14588 msgid ""
14589 "Commands to execute should be separated by a colon (C<:>), where the colon "
14590 "is a separate parameter.  Thus:"
14591 msgstr ""
14592
14593 # type: verbatim
14594 #: ../fish/guestfish.pod:290
14595 #, no-wrap
14596 msgid ""
14597 " guestfish cmd [args...] : cmd [args...] : cmd [args...] ...\n"
14598 "\n"
14599 msgstr ""
14600
14601 # type: textblock
14602 #: ../fish/guestfish.pod:292
14603 msgid ""
14604 "If there are no additional arguments, then we enter a shell, either an "
14605 "interactive shell with a prompt (if the input is a terminal) or a "
14606 "non-interactive shell."
14607 msgstr ""
14608
14609 # type: textblock
14610 #: ../fish/guestfish.pod:296
14611 msgid ""
14612 "In either command line mode or non-interactive shell, the first command that "
14613 "gives an error causes the whole shell to exit.  In interactive mode (with a "
14614 "prompt) if a command fails, you can continue to enter commands."
14615 msgstr ""
14616
14617 # type: =head1
14618 #: ../fish/guestfish.pod:301
14619 msgid "USING launch (OR run)"
14620 msgstr ""
14621
14622 # type: textblock
14623 #: ../fish/guestfish.pod:303
14624 msgid ""
14625 "As with L<guestfs(3)>, you must first configure your guest by adding disks, "
14626 "then launch it, then mount any disks you need, and finally issue "
14627 "actions/commands.  So the general order of the day is:"
14628 msgstr ""
14629
14630 # type: textblock
14631 #: ../fish/guestfish.pod:311
14632 msgid "add or -a/--add"
14633 msgstr ""
14634
14635 # type: textblock
14636 #: ../fish/guestfish.pod:315
14637 msgid "launch (aka run)"
14638 msgstr ""
14639
14640 # type: textblock
14641 #: ../fish/guestfish.pod:319
14642 msgid "mount or -m/--mount"
14643 msgstr ""
14644
14645 # type: textblock
14646 #: ../fish/guestfish.pod:323
14647 msgid "any other commands"
14648 msgstr ""
14649
14650 # type: textblock
14651 #: ../fish/guestfish.pod:327
14652 msgid ""
14653 "C<run> is a synonym for C<launch>.  You must C<launch> (or C<run>)  your "
14654 "guest before mounting or performing any other commands."
14655 msgstr ""
14656
14657 # type: textblock
14658 #: ../fish/guestfish.pod:330
14659 msgid ""
14660 "The only exception is that if the I<-m> or I<--mount> option was given, the "
14661 "guest is automatically run for you (simply because guestfish can't mount the "
14662 "disks you asked for without doing this)."
14663 msgstr ""
14664
14665 # type: =head1
14666 #: ../fish/guestfish.pod:334
14667 msgid "QUOTING"
14668 msgstr ""
14669
14670 # type: textblock
14671 #: ../fish/guestfish.pod:336
14672 msgid ""
14673 "You can quote ordinary parameters using either single or double quotes.  For "
14674 "example:"
14675 msgstr ""
14676
14677 # type: verbatim
14678 #: ../fish/guestfish.pod:339
14679 #, no-wrap
14680 msgid ""
14681 " add \"file with a space.img\"\n"
14682 "\n"
14683 msgstr ""
14684
14685 # type: verbatim
14686 #: ../fish/guestfish.pod:341
14687 #, no-wrap
14688 msgid ""
14689 " rm '/file name'\n"
14690 "\n"
14691 msgstr ""
14692
14693 # type: verbatim
14694 #: ../fish/guestfish.pod:343
14695 #, no-wrap
14696 msgid ""
14697 " rm '/\"'\n"
14698 "\n"
14699 msgstr ""
14700
14701 # type: textblock
14702 #: ../fish/guestfish.pod:345
14703 msgid ""
14704 "A few commands require a list of strings to be passed.  For these, use a "
14705 "whitespace-separated list, enclosed in quotes.  Strings containing "
14706 "whitespace to be passed through must be enclosed in single quotes.  A "
14707 "literal single quote must be escaped with a backslash."
14708 msgstr ""
14709
14710 # type: verbatim
14711 #: ../fish/guestfish.pod:350
14712 #, no-wrap
14713 msgid ""
14714 " vgcreate VG \"/dev/sda1 /dev/sdb1\"\n"
14715 " command \"/bin/echo 'foo      bar'\"\n"
14716 " command \"/bin/echo \\'foo\\'\"\n"
14717 "\n"
14718 msgstr ""
14719
14720 # type: =head1
14721 #: ../fish/guestfish.pod:354
14722 msgid "NUMBERS"
14723 msgstr ""
14724
14725 # type: textblock
14726 #: ../fish/guestfish.pod:356
14727 msgid "This section applies to all commands which can take integers as parameters."
14728 msgstr ""
14729
14730 # type: =head2
14731 #: ../fish/guestfish.pod:359
14732 msgid "SIZE SUFFIX"
14733 msgstr ""
14734
14735 # type: textblock
14736 #: ../fish/guestfish.pod:361
14737 msgid ""
14738 "When the command takes a parameter measured in bytes, you can use one of the "
14739 "following suffixes to specify kilobytes, megabytes and larger sizes:"
14740 msgstr ""
14741
14742 # type: =item
14743 #: ../fish/guestfish.pod:367
14744 msgid "B<k> or B<K> or B<KiB>"
14745 msgstr ""
14746
14747 # type: textblock
14748 #: ../fish/guestfish.pod:369
14749 msgid "The size in kilobytes (multiplied by 1024)."
14750 msgstr ""
14751
14752 # type: =item
14753 #: ../fish/guestfish.pod:371
14754 msgid "B<KB>"
14755 msgstr ""
14756
14757 # type: textblock
14758 #: ../fish/guestfish.pod:373
14759 msgid "The size in SI 1000 byte units."
14760 msgstr ""
14761
14762 # type: =item
14763 #: ../fish/guestfish.pod:375
14764 msgid "B<M> or B<MiB>"
14765 msgstr ""
14766
14767 # type: textblock
14768 #: ../fish/guestfish.pod:377
14769 msgid "The size in megabytes (multiplied by 1048576)."
14770 msgstr ""
14771
14772 # type: =item
14773 #: ../fish/guestfish.pod:379
14774 msgid "B<MB>"
14775 msgstr ""
14776
14777 # type: textblock
14778 #: ../fish/guestfish.pod:381
14779 msgid "The size in SI 1000000 byte units."
14780 msgstr ""
14781
14782 # type: =item
14783 #: ../fish/guestfish.pod:383
14784 msgid "B<G> or B<GiB>"
14785 msgstr ""
14786
14787 # type: textblock
14788 #: ../fish/guestfish.pod:385
14789 msgid "The size in gigabytes (multiplied by 2**30)."
14790 msgstr ""
14791
14792 # type: =item
14793 #: ../fish/guestfish.pod:387
14794 msgid "B<GB>"
14795 msgstr ""
14796
14797 # type: textblock
14798 #: ../fish/guestfish.pod:389
14799 msgid "The size in SI 10**9 byte units."
14800 msgstr ""
14801
14802 # type: =item
14803 #: ../fish/guestfish.pod:391
14804 msgid "B<T> or B<TiB>"
14805 msgstr ""
14806
14807 # type: textblock
14808 #: ../fish/guestfish.pod:393
14809 msgid "The size in terabytes (multiplied by 2**40)."
14810 msgstr ""
14811
14812 # type: =item
14813 #: ../fish/guestfish.pod:395
14814 msgid "B<TB>"
14815 msgstr ""
14816
14817 # type: textblock
14818 #: ../fish/guestfish.pod:397
14819 msgid "The size in SI 10**12 byte units."
14820 msgstr ""
14821
14822 # type: =item
14823 #: ../fish/guestfish.pod:399
14824 msgid "B<P> or B<PiB>"
14825 msgstr ""
14826
14827 # type: textblock
14828 #: ../fish/guestfish.pod:401
14829 msgid "The size in petabytes (multiplied by 2**50)."
14830 msgstr ""
14831
14832 # type: =item
14833 #: ../fish/guestfish.pod:403
14834 msgid "B<PB>"
14835 msgstr ""
14836
14837 # type: textblock
14838 #: ../fish/guestfish.pod:405
14839 msgid "The size in SI 10**15 byte units."
14840 msgstr ""
14841
14842 # type: =item
14843 #: ../fish/guestfish.pod:407
14844 msgid "B<E> or B<EiB>"
14845 msgstr ""
14846
14847 # type: textblock
14848 #: ../fish/guestfish.pod:409
14849 msgid "The size in exabytes (multiplied by 2**60)."
14850 msgstr ""
14851
14852 # type: =item
14853 #: ../fish/guestfish.pod:411
14854 msgid "B<EB>"
14855 msgstr ""
14856
14857 # type: textblock
14858 #: ../fish/guestfish.pod:413
14859 msgid "The size in SI 10**18 byte units."
14860 msgstr ""
14861
14862 # type: =item
14863 #: ../fish/guestfish.pod:415
14864 msgid "B<Z> or B<ZiB>"
14865 msgstr ""
14866
14867 # type: textblock
14868 #: ../fish/guestfish.pod:417
14869 msgid "The size in zettabytes (multiplied by 2**70)."
14870 msgstr ""
14871
14872 # type: =item
14873 #: ../fish/guestfish.pod:419
14874 msgid "B<ZB>"
14875 msgstr ""
14876
14877 # type: textblock
14878 #: ../fish/guestfish.pod:421
14879 msgid "The size in SI 10**21 byte units."
14880 msgstr ""
14881
14882 # type: =item
14883 #: ../fish/guestfish.pod:423
14884 msgid "B<Y> or B<YiB>"
14885 msgstr ""
14886
14887 # type: textblock
14888 #: ../fish/guestfish.pod:425
14889 msgid "The size in yottabytes (multiplied by 2**80)."
14890 msgstr ""
14891
14892 # type: =item
14893 #: ../fish/guestfish.pod:427
14894 msgid "B<YB>"
14895 msgstr ""
14896
14897 # type: textblock
14898 #: ../fish/guestfish.pod:429
14899 msgid "The size in SI 10**24 byte units."
14900 msgstr ""
14901
14902 # type: textblock
14903 #: ../fish/guestfish.pod:433
14904 msgid "For example:"
14905 msgstr ""
14906
14907 # type: verbatim
14908 #: ../fish/guestfish.pod:435
14909 #, no-wrap
14910 msgid ""
14911 " truncate-size /file 1G\n"
14912 "\n"
14913 msgstr ""
14914
14915 # type: textblock
14916 #: ../fish/guestfish.pod:437
14917 msgid "would truncate the file to 1 gigabyte."
14918 msgstr ""
14919
14920 # type: textblock
14921 #: ../fish/guestfish.pod:439
14922 msgid ""
14923 "Be careful because a few commands take sizes in kilobytes or megabytes "
14924 "(eg. the parameter to L</memsize> is specified in megabytes already).  "
14925 "Adding a suffix will probably not do what you expect."
14926 msgstr ""
14927
14928 # type: =head2
14929 #: ../fish/guestfish.pod:443
14930 msgid "OCTAL AND HEXADECIMAL NUMBERS"
14931 msgstr ""
14932
14933 # type: textblock
14934 #: ../fish/guestfish.pod:445
14935 msgid ""
14936 "For specifying the radix (base) use the C convention: C<0> to prefix an "
14937 "octal number or C<0x> to prefix a hexadecimal number.  For example:"
14938 msgstr ""
14939
14940 # type: verbatim
14941 #: ../fish/guestfish.pod:448
14942 #, no-wrap
14943 msgid ""
14944 " 1234      decimal number 1234\n"
14945 " 02322     octal number, equivalent to decimal 1234\n"
14946 " 0x4d2     hexadecimal number, equivalent to decimal 1234\n"
14947 "\n"
14948 msgstr ""
14949
14950 # type: textblock
14951 #: ../fish/guestfish.pod:452
14952 msgid ""
14953 "When using the C<chmod> command, you almost always want to specify an octal "
14954 "number for the mode, and you must prefix it with C<0> (unlike the Unix "
14955 "L<chmod(1)> program):"
14956 msgstr ""
14957
14958 # type: verbatim
14959 #: ../fish/guestfish.pod:456
14960 #, no-wrap
14961 msgid ""
14962 " chmod 0777 /public  # OK\n"
14963 " chmod 777 /public   # WRONG! This is mode 777 decimal = 01411 octal.\n"
14964 "\n"
14965 msgstr ""
14966
14967 # type: textblock
14968 #: ../fish/guestfish.pod:459
14969 msgid ""
14970 "Commands that return numbers usually print them in decimal, but some "
14971 "commands print numbers in other radices (eg. C<umask> prints the mode in "
14972 "octal, preceeded by C<0>)."
14973 msgstr ""
14974
14975 # type: =head1
14976 #: ../fish/guestfish.pod:463
14977 msgid "WILDCARDS AND GLOBBING"
14978 msgstr ""
14979
14980 # type: textblock
14981 #: ../fish/guestfish.pod:465
14982 msgid ""
14983 "Neither guestfish nor the underlying guestfs API performs wildcard expansion "
14984 "(globbing) by default.  So for example the following will not do what you "
14985 "expect:"
14986 msgstr ""
14987
14988 # type: verbatim
14989 #: ../fish/guestfish.pod:469
14990 #, no-wrap
14991 msgid ""
14992 " rm-rf /home/*\n"
14993 "\n"
14994 msgstr ""
14995
14996 # type: textblock
14997 #: ../fish/guestfish.pod:471
14998 msgid ""
14999 "Assuming you don't have a directory literally called C</home/*> then the "
15000 "above command will return an error."
15001 msgstr ""
15002
15003 # type: textblock
15004 #: ../fish/guestfish.pod:474
15005 msgid "To perform wildcard expansion, use the C<glob> command."
15006 msgstr ""
15007
15008 # type: verbatim
15009 #: ../fish/guestfish.pod:476
15010 #, no-wrap
15011 msgid ""
15012 " glob rm-rf /home/*\n"
15013 "\n"
15014 msgstr ""
15015
15016 # type: textblock
15017 #: ../fish/guestfish.pod:478
15018 msgid ""
15019 "runs C<rm-rf> on each path that matches (ie. potentially running the command "
15020 "many times), equivalent to:"
15021 msgstr ""
15022
15023 # type: verbatim
15024 #: ../fish/guestfish.pod:481
15025 #, no-wrap
15026 msgid ""
15027 " rm-rf /home/jim\n"
15028 " rm-rf /home/joe\n"
15029 " rm-rf /home/mary\n"
15030 "\n"
15031 msgstr ""
15032
15033 # type: textblock
15034 #: ../fish/guestfish.pod:485
15035 msgid "C<glob> only works on simple guest paths and not on device names."
15036 msgstr ""
15037
15038 # type: textblock
15039 #: ../fish/guestfish.pod:487
15040 msgid ""
15041 "If you have several parameters, each containing a wildcard, then glob will "
15042 "perform a cartesian product."
15043 msgstr ""
15044
15045 # type: =head1
15046 #: ../fish/guestfish.pod:490
15047 msgid "COMMENTS"
15048 msgstr ""
15049
15050 # type: textblock
15051 #: ../fish/guestfish.pod:492
15052 msgid ""
15053 "Any line which starts with a I<#> character is treated as a comment and "
15054 "ignored.  The I<#> can optionally be preceeded by whitespace, but B<not> by "
15055 "a command.  For example:"
15056 msgstr ""
15057
15058 # type: verbatim
15059 #: ../fish/guestfish.pod:496
15060 #, no-wrap
15061 msgid ""
15062 " # this is a comment\n"
15063 "         # this is a comment\n"
15064 " foo # NOT a comment\n"
15065 "\n"
15066 msgstr ""
15067
15068 # type: textblock
15069 #: ../fish/guestfish.pod:500
15070 msgid "Blank lines are also ignored."
15071 msgstr ""
15072
15073 # type: =head1
15074 #: ../fish/guestfish.pod:502
15075 msgid "RUNNING COMMANDS LOCALLY"
15076 msgstr ""
15077
15078 # type: textblock
15079 #: ../fish/guestfish.pod:504
15080 msgid ""
15081 "Any line which starts with a I<!> character is treated as a command sent to "
15082 "the local shell (C</bin/sh> or whatever L<system(3)> uses).  For example:"
15083 msgstr ""
15084
15085 # type: verbatim
15086 #: ../fish/guestfish.pod:508
15087 #, no-wrap
15088 msgid ""
15089 " !mkdir local\n"
15090 " tgz-out /remote local/remote-data.tar.gz\n"
15091 "\n"
15092 msgstr ""
15093
15094 # type: textblock
15095 #: ../fish/guestfish.pod:511
15096 msgid ""
15097 "will create a directory C<local> on the host, and then export the contents "
15098 "of C</remote> on the mounted filesystem to C<local/remote-data.tar.gz>.  "
15099 "(See C<tgz-out>)."
15100 msgstr ""
15101
15102 # type: textblock
15103 #: ../fish/guestfish.pod:515
15104 msgid ""
15105 "To change the local directory, use the C<lcd> command.  C<!cd> will have no "
15106 "effect, due to the way that subprocesses work in Unix."
15107 msgstr ""
15108
15109 # type: =head1
15110 #: ../fish/guestfish.pod:518
15111 msgid "PIPES"
15112 msgstr ""
15113
15114 # type: textblock
15115 #: ../fish/guestfish.pod:520
15116 msgid ""
15117 "Use C<command E<lt>spaceE<gt> | command> to pipe the output of the first "
15118 "command (a guestfish command) to the second command (any host command).  For "
15119 "example:"
15120 msgstr ""
15121
15122 # type: verbatim
15123 #: ../fish/guestfish.pod:524
15124 #, no-wrap
15125 msgid ""
15126 " cat /etc/passwd | awk -F: '$3 == 0 { print }'\n"
15127 "\n"
15128 msgstr ""
15129
15130 # type: textblock
15131 #: ../fish/guestfish.pod:526
15132 msgid ""
15133 "(where C<cat> is the guestfish cat command, but C<awk> is the host awk "
15134 "program).  The above command would list all accounts in the guest filesystem "
15135 "which have UID 0, ie. root accounts including backdoors.  Other examples:"
15136 msgstr ""
15137
15138 # type: verbatim
15139 #: ../fish/guestfish.pod:531
15140 #, no-wrap
15141 msgid ""
15142 " hexdump /bin/ls | head\n"
15143 " list-devices | tail -1\n"
15144 " tgz-out / - | tar ztf -\n"
15145 "\n"
15146 msgstr ""
15147
15148 # type: textblock
15149 #: ../fish/guestfish.pod:535
15150 msgid ""
15151 "The space before the pipe symbol is required, any space after the pipe "
15152 "symbol is optional.  Everything after the pipe symbol is just passed "
15153 "straight to the host shell, so it can contain redirections, globs and "
15154 "anything else that makes sense on the host side."
15155 msgstr ""
15156
15157 # type: textblock
15158 #: ../fish/guestfish.pod:540
15159 msgid ""
15160 "To use a literal argument which begins with a pipe symbol, you have to quote "
15161 "it, eg:"
15162 msgstr ""
15163
15164 # type: verbatim
15165 #: ../fish/guestfish.pod:543
15166 #, no-wrap
15167 msgid ""
15168 " echo \"|\"\n"
15169 "\n"
15170 msgstr ""
15171
15172 # type: =head1
15173 #: ../fish/guestfish.pod:545
15174 msgid "HOME DIRECTORIES"
15175 msgstr ""
15176
15177 # type: textblock
15178 #: ../fish/guestfish.pod:547
15179 msgid ""
15180 "If a parameter starts with the character C<~> then the tilde may be expanded "
15181 "as a home directory path (either C<~> for the current user's home directory, "
15182 "or C<~user> for another user)."
15183 msgstr ""
15184
15185 # type: textblock
15186 #: ../fish/guestfish.pod:551
15187 msgid ""
15188 "Note that home directory expansion happens for users known I<on the host>, "
15189 "not in the guest filesystem."
15190 msgstr ""
15191
15192 # type: textblock
15193 #: ../fish/guestfish.pod:554
15194 msgid ""
15195 "To use a literal argument which begins with a tilde, you have to quote it, "
15196 "eg:"
15197 msgstr ""
15198
15199 # type: verbatim
15200 #: ../fish/guestfish.pod:557
15201 #, no-wrap
15202 msgid ""
15203 " echo \"~\"\n"
15204 "\n"
15205 msgstr ""
15206
15207 # type: textblock
15208 #: ../fish/guestfish.pod:561
15209 msgid ""
15210 "Libguestfs has some support for Linux guests encrypted according to the "
15211 "Linux Unified Key Setup (LUKS) standard, which includes nearly all whole "
15212 "disk encryption systems used by modern Linux guests.  Currently only "
15213 "LVM-on-LUKS is supported."
15214 msgstr ""
15215
15216 # type: textblock
15217 #: ../fish/guestfish.pod:566
15218 msgid "Identify encrypted block devices and partitions using L</vfs-type>:"
15219 msgstr ""
15220
15221 # type: verbatim
15222 #: ../fish/guestfish.pod:568
15223 #, no-wrap
15224 msgid ""
15225 " ><fs> vfs-type /dev/sda2\n"
15226 " crypto_LUKS\n"
15227 "\n"
15228 msgstr ""
15229
15230 # type: textblock
15231 #: ../fish/guestfish.pod:571
15232 msgid ""
15233 "Then open those devices using L</luks-open>.  This creates a device-mapper "
15234 "device called C</dev/mapper/luksdev>."
15235 msgstr ""
15236
15237 # type: verbatim
15238 #: ../fish/guestfish.pod:574
15239 #, no-wrap
15240 msgid ""
15241 " ><fs> luks-open /dev/sda2 luksdev\n"
15242 " Enter key or passphrase (\"key\"): <enter the passphrase>\n"
15243 "\n"
15244 msgstr ""
15245
15246 # type: textblock
15247 #: ../fish/guestfish.pod:577
15248 msgid ""
15249 "Finally you have to tell LVM to scan for volume groups on the newly created "
15250 "mapper device:"
15251 msgstr ""
15252
15253 # type: verbatim
15254 #: ../fish/guestfish.pod:580
15255 #, no-wrap
15256 msgid ""
15257 " ><fs> vgscan\n"
15258 " ><fs> vg-activate-all true\n"
15259 "\n"
15260 msgstr ""
15261
15262 # type: textblock
15263 #: ../fish/guestfish.pod:583
15264 msgid "The logical volume(s) can now be mounted in the usual way."
15265 msgstr ""
15266
15267 # type: textblock
15268 #: ../fish/guestfish.pod:585
15269 msgid ""
15270 "Before closing a LUKS device you must unmount any logical volumes on it and "
15271 "deactivate the volume groups by calling C<vg-activate false VG> on each "
15272 "one.  Then you can close the mapper device:"
15273 msgstr ""
15274
15275 # type: verbatim
15276 #: ../fish/guestfish.pod:589
15277 #, no-wrap
15278 msgid ""
15279 " ><fs> vg-activate false /dev/VG\n"
15280 " ><fs> luks-close /dev/mapper/luksdev\n"
15281 "\n"
15282 msgstr ""
15283
15284 # type: =head1
15285 #: ../fish/guestfish.pod:592
15286 msgid "WINDOWS PATHS"
15287 msgstr ""
15288
15289 # type: textblock
15290 #: ../fish/guestfish.pod:594
15291 msgid ""
15292 "If a path is prefixed with C<win:> then you can use Windows-style paths "
15293 "(with some limitations).  The following commands are equivalent:"
15294 msgstr ""
15295
15296 # type: verbatim
15297 #: ../fish/guestfish.pod:597
15298 #, no-wrap
15299 msgid ""
15300 " file /WINDOWS/system32/config/system.LOG\n"
15301 "\n"
15302 msgstr ""
15303
15304 # type: verbatim
15305 #: ../fish/guestfish.pod:599
15306 #, no-wrap
15307 msgid ""
15308 " file win:/windows/system32/config/system.log\n"
15309 "\n"
15310 msgstr ""
15311
15312 # type: verbatim
15313 #: ../fish/guestfish.pod:601
15314 #, no-wrap
15315 msgid ""
15316 " file win:\\windows\\system32\\config\\system.log\n"
15317 "\n"
15318 msgstr ""
15319
15320 # type: verbatim
15321 #: ../fish/guestfish.pod:603
15322 #, no-wrap
15323 msgid ""
15324 " file WIN:C:\\Windows\\SYSTEM32\\conFIG\\SYSTEM.LOG\n"
15325 "\n"
15326 msgstr ""
15327
15328 # type: textblock
15329 #: ../fish/guestfish.pod:605
15330 msgid ""
15331 "This syntax implicitly calls C<case-sensitive-path> (q.v.) so it also "
15332 "handles case insensitivity like Windows would.  This only works in argument "
15333 "positions that expect a path."
15334 msgstr ""
15335
15336 # type: =head1
15337 #: ../fish/guestfish.pod:609
15338 msgid "UPLOADING AND DOWNLOADING FILES"
15339 msgstr ""
15340
15341 # type: textblock
15342 #: ../fish/guestfish.pod:611
15343 msgid ""
15344 "For commands such as C<upload>, C<download>, C<tar-in>, C<tar-out> and "
15345 "others which upload from or download to a local file, you can use the "
15346 "special filename C<-> to mean \"from stdin\" or \"to stdout\".  For example:"
15347 msgstr ""
15348
15349 # type: verbatim
15350 #: ../fish/guestfish.pod:615
15351 #, no-wrap
15352 msgid ""
15353 " upload - /foo\n"
15354 "\n"
15355 msgstr ""
15356
15357 # type: textblock
15358 #: ../fish/guestfish.pod:617
15359 msgid "reads stdin and creates from that a file C</foo> in the disk image, and:"
15360 msgstr ""
15361
15362 # type: verbatim
15363 #: ../fish/guestfish.pod:620
15364 #, no-wrap
15365 msgid ""
15366 " tar-out /etc - | tar tf -\n"
15367 "\n"
15368 msgstr ""
15369
15370 # type: textblock
15371 #: ../fish/guestfish.pod:622
15372 msgid ""
15373 "writes the tarball to stdout and then pipes that into the external \"tar\" "
15374 "command (see L</PIPES>)."
15375 msgstr ""
15376
15377 # type: textblock
15378 #: ../fish/guestfish.pod:625
15379 msgid ""
15380 "When using C<-> to read from stdin, the input is read up to the end of "
15381 "stdin.  You can also use a special \"heredoc\"-like syntax to read up to "
15382 "some arbitrary end marker:"
15383 msgstr ""
15384
15385 # type: verbatim
15386 #: ../fish/guestfish.pod:629
15387 #, no-wrap
15388 msgid ""
15389 " upload -<<END /foo\n"
15390 " input line 1\n"
15391 " input line 2\n"
15392 " input line 3\n"
15393 " END\n"
15394 "\n"
15395 msgstr ""
15396
15397 # type: textblock
15398 #: ../fish/guestfish.pod:635
15399 msgid ""
15400 "Any string of characters can be used instead of C<END>.  The end marker must "
15401 "appear on a line of its own, without any preceeding or following characters "
15402 "(not even spaces)."
15403 msgstr ""
15404
15405 # type: textblock
15406 #: ../fish/guestfish.pod:639
15407 msgid ""
15408 "Note that the C<-E<lt>E<lt>> syntax only applies to parameters used to "
15409 "upload local files (so-called \"FileIn\" parameters in the generator)."
15410 msgstr ""
15411
15412 # type: =head1
15413 #: ../fish/guestfish.pod:642
15414 msgid "EXIT ON ERROR BEHAVIOUR"
15415 msgstr ""
15416
15417 # type: textblock
15418 #: ../fish/guestfish.pod:644
15419 msgid ""
15420 "By default, guestfish will ignore any errors when in interactive mode "
15421 "(ie. taking commands from a human over a tty), and will exit on the first "
15422 "error in non-interactive mode (scripts, commands given on the command line)."
15423 msgstr ""
15424
15425 # type: textblock
15426 #: ../fish/guestfish.pod:649
15427 msgid ""
15428 "If you prefix a command with a I<-> character, then that command will not "
15429 "cause guestfish to exit, even if that (one) command returns an error."
15430 msgstr ""
15431
15432 # type: =head1
15433 #: ../fish/guestfish.pod:653
15434 msgid "REMOTE CONTROL GUESTFISH OVER A SOCKET"
15435 msgstr ""
15436
15437 # type: textblock
15438 #: ../fish/guestfish.pod:655
15439 msgid ""
15440 "Guestfish can be remote-controlled over a socket.  This is useful "
15441 "particularly in shell scripts where you want to make several different "
15442 "changes to a filesystem, but you don't want the overhead of starting up a "
15443 "guestfish process each time."
15444 msgstr ""
15445
15446 # type: textblock
15447 #: ../fish/guestfish.pod:660
15448 msgid "Start a guestfish server process using:"
15449 msgstr ""
15450
15451 # type: verbatim
15452 #: ../fish/guestfish.pod:662
15453 #, no-wrap
15454 msgid ""
15455 " eval `guestfish --listen`\n"
15456 "\n"
15457 msgstr ""
15458
15459 # type: textblock
15460 #: ../fish/guestfish.pod:664
15461 msgid "and then send it commands by doing:"
15462 msgstr ""
15463
15464 # type: verbatim
15465 #: ../fish/guestfish.pod:666
15466 #, no-wrap
15467 msgid ""
15468 " guestfish --remote cmd [...]\n"
15469 "\n"
15470 msgstr ""
15471
15472 # type: textblock
15473 #: ../fish/guestfish.pod:668
15474 msgid "To cause the server to exit, send it the exit command:"
15475 msgstr ""
15476
15477 # type: verbatim
15478 #: ../fish/guestfish.pod:670
15479 #, no-wrap
15480 msgid ""
15481 " guestfish --remote exit\n"
15482 "\n"
15483 msgstr ""
15484
15485 # type: textblock
15486 #: ../fish/guestfish.pod:672
15487 msgid ""
15488 "Note that the server will normally exit if there is an error in a command.  "
15489 "You can change this in the usual way.  See section L</EXIT ON ERROR "
15490 "BEHAVIOUR>."
15491 msgstr ""
15492
15493 # type: =head2
15494 #: ../fish/guestfish.pod:676
15495 msgid "CONTROLLING MULTIPLE GUESTFISH PROCESSES"
15496 msgstr ""
15497
15498 # type: textblock
15499 #: ../fish/guestfish.pod:678
15500 msgid ""
15501 "The C<eval> statement sets the environment variable C<$GUESTFISH_PID>, which "
15502 "is how the I<--remote> option knows where to send the commands.  You can "
15503 "have several guestfish listener processes running using:"
15504 msgstr ""
15505
15506 # type: verbatim
15507 #: ../fish/guestfish.pod:682
15508 #, no-wrap
15509 msgid ""
15510 " eval `guestfish --listen`\n"
15511 " pid1=$GUESTFISH_PID\n"
15512 " eval `guestfish --listen`\n"
15513 " pid2=$GUESTFISH_PID\n"
15514 " ...\n"
15515 " guestfish --remote=$pid1 cmd\n"
15516 " guestfish --remote=$pid2 cmd\n"
15517 "\n"
15518 msgstr ""
15519
15520 # type: =head2
15521 #: ../fish/guestfish.pod:690
15522 msgid "REMOTE CONTROL DETAILS"
15523 msgstr ""
15524
15525 # type: textblock
15526 #: ../fish/guestfish.pod:692
15527 msgid ""
15528 "Remote control happens over a Unix domain socket called "
15529 "C</tmp/.guestfish-$UID/socket-$PID>, where C<$UID> is the effective user ID "
15530 "of the process, and C<$PID> is the process ID of the server."
15531 msgstr ""
15532
15533 # type: textblock
15534 #: ../fish/guestfish.pod:696
15535 msgid "Guestfish client and server versions must match exactly."
15536 msgstr ""
15537
15538 # type: =head1
15539 #: ../fish/guestfish.pod:698
15540 msgid "PREPARED DISK IMAGES"
15541 msgstr ""
15542
15543 # type: textblock
15544 #: ../fish/guestfish.pod:700
15545 msgid ""
15546 "Use the I<-N type> or I<--new type> parameter to select one of a set of "
15547 "preformatted disk images that guestfish can make for you to save typing.  "
15548 "This is particularly useful for testing purposes.  This option is used "
15549 "instead of the I<-a> option, and like I<-a> can appear multiple times (and "
15550 "can be mixed with I<-a>)."
15551 msgstr ""
15552
15553 # type: textblock
15554 #: ../fish/guestfish.pod:706
15555 msgid ""
15556 "The new disk is called C<test1.img> for the first I<-N>, C<test2.img> for "
15557 "the second and so on.  Existing files in the current directory are "
15558 "I<overwritten>."
15559 msgstr ""
15560
15561 # type: textblock
15562 #: ../fish/guestfish.pod:710
15563 msgid ""
15564 "The type briefly describes how the disk should be sized, partitioned, how "
15565 "filesystem(s) should be created, and how content should be added.  "
15566 "Optionally the type can be followed by extra parameters, separated by C<:> "
15567 "(colon) characters.  For example, I<-N fs> creates a default 100MB, "
15568 "sparsely-allocated disk, containing a single partition, with the partition "
15569 "formatted as ext2.  I<-N fs:ext4:1G> is the same, but for an ext4 filesystem "
15570 "on a 1GB disk instead."
15571 msgstr ""
15572
15573 # type: textblock
15574 #: ../fish/guestfish.pod:718
15575 msgid "To list the available types and any extra parameters they take, run:"
15576 msgstr ""
15577
15578 # type: textblock
15579 #: ../fish/guestfish.pod:722
15580 msgid ""
15581 "Note that the prepared filesystem is not mounted.  You would usually have to "
15582 "use the C<mount /dev/sda1 /> command or add the I<-m /dev/sda1> option."
15583 msgstr ""
15584
15585 # type: textblock
15586 #: ../fish/guestfish.pod:726
15587 msgid ""
15588 "If any I<-N> or I<--new> options are given, the guest is automatically "
15589 "launched."
15590 msgstr ""
15591
15592 # type: textblock
15593 #: ../fish/guestfish.pod:731
15594 msgid "Create a 100MB disk with an ext4-formatted partition:"
15595 msgstr ""
15596
15597 # type: verbatim
15598 #: ../fish/guestfish.pod:733
15599 #, no-wrap
15600 msgid ""
15601 " guestfish -N fs:ext4\n"
15602 "\n"
15603 msgstr ""
15604
15605 # type: textblock
15606 #: ../fish/guestfish.pod:735
15607 msgid "Create a 32MB disk with a VFAT-formatted partition, and mount it:"
15608 msgstr ""
15609
15610 # type: verbatim
15611 #: ../fish/guestfish.pod:737
15612 #, no-wrap
15613 msgid ""
15614 " guestfish -N fs:vfat:32M -m /dev/sda1\n"
15615 "\n"
15616 msgstr ""
15617
15618 # type: textblock
15619 #: ../fish/guestfish.pod:739
15620 msgid "Create a blank 200MB disk:"
15621 msgstr ""
15622
15623 # type: verbatim
15624 #: ../fish/guestfish.pod:741
15625 #, no-wrap
15626 msgid ""
15627 " guestfish -N disk:200M\n"
15628 "\n"
15629 msgstr ""
15630
15631 # type: =head1
15632 #: ../fish/guestfish.pod:743
15633 msgid "PROGRESS BARS"
15634 msgstr ""
15635
15636 # type: textblock
15637 #: ../fish/guestfish.pod:745
15638 msgid ""
15639 "Some (not all) long-running commands send progress notification messages as "
15640 "they are running.  Guestfish turns these messages into progress bars."
15641 msgstr ""
15642
15643 # type: textblock
15644 #: ../fish/guestfish.pod:749
15645 msgid ""
15646 "When a command that supports progress bars takes longer than two seconds to "
15647 "run, and if progress bars are enabled, then you will see one appearing below "
15648 "the command:"
15649 msgstr ""
15650
15651 # type: verbatim
15652 #: ../fish/guestfish.pod:753
15653 #, no-wrap
15654 msgid ""
15655 " ><fs> copy-size /large-file /another-file 2048M\n"
15656 " / 10% [#####-----------------------------------------] 00:30\n"
15657 "\n"
15658 msgstr ""
15659
15660 # type: textblock
15661 #: ../fish/guestfish.pod:756
15662 msgid ""
15663 "The spinner on the left hand side moves round once for every progress "
15664 "notification received from the backend.  This is a (reasonably) golden "
15665 "assurance that the command is \"doing something\" even if the progress bar "
15666 "is not moving, because the command is able to send the progress "
15667 "notifications.  When the bar reaches 100% and the command finishes, the "
15668 "spinner disappears."
15669 msgstr ""
15670
15671 # type: textblock
15672 #: ../fish/guestfish.pod:763
15673 msgid ""
15674 "Progress bars are enabled by default when guestfish is used interactively.  "
15675 "You can enable them even for non-interactive modes using I<--progress-bars>, "
15676 "and you can disable them completely using I<--no-progress-bars>."
15677 msgstr ""
15678
15679 # type: =head1
15680 #: ../fish/guestfish.pod:768
15681 msgid "GUESTFISH COMMANDS"
15682 msgstr ""
15683
15684 # type: textblock
15685 #: ../fish/guestfish.pod:770
15686 msgid ""
15687 "The commands in this section are guestfish convenience commands, in other "
15688 "words, they are not part of the L<guestfs(3)> API."
15689 msgstr ""
15690
15691 # type: =head2
15692 #: ../fish/guestfish.pod:773
15693 msgid "alloc | allocate"
15694 msgstr ""
15695
15696 # type: verbatim
15697 #: ../fish/guestfish.pod:775
15698 #, no-wrap
15699 msgid ""
15700 " alloc filename size\n"
15701 "\n"
15702 msgstr ""
15703
15704 # type: textblock
15705 #: ../fish/guestfish.pod:777
15706 msgid ""
15707 "This creates an empty (zeroed) file of the given size, and then adds so it "
15708 "can be further examined."
15709 msgstr ""
15710
15711 # type: textblock
15712 #: ../fish/guestfish.pod:780 ../fish/guestfish.pod:875
15713 msgid "For more advanced image creation, see L<qemu-img(1)> utility."
15714 msgstr ""
15715
15716 # type: textblock
15717 #: ../fish/guestfish.pod:782 ../fish/guestfish.pod:877
15718 msgid "Size can be specified using standard suffixes, eg. C<1M>."
15719 msgstr ""
15720
15721 # type: =head2
15722 #: ../fish/guestfish.pod:784
15723 msgid "echo"
15724 msgstr ""
15725
15726 # type: verbatim
15727 #: ../fish/guestfish.pod:786
15728 #, no-wrap
15729 msgid ""
15730 " echo [params ...]\n"
15731 "\n"
15732 msgstr ""
15733
15734 # type: textblock
15735 #: ../fish/guestfish.pod:788
15736 msgid "This echos the parameters to the terminal."
15737 msgstr ""
15738
15739 # type: =head2
15740 #: ../fish/guestfish.pod:790
15741 msgid "edit | vi | emacs"
15742 msgstr ""
15743
15744 # type: verbatim
15745 #: ../fish/guestfish.pod:792
15746 #, no-wrap
15747 msgid ""
15748 " edit filename\n"
15749 "\n"
15750 msgstr ""
15751
15752 # type: textblock
15753 #: ../fish/guestfish.pod:794
15754 msgid ""
15755 "This is used to edit a file.  It downloads the file, edits it locally using "
15756 "your editor, then uploads the result."
15757 msgstr ""
15758
15759 # type: textblock
15760 #: ../fish/guestfish.pod:797
15761 msgid ""
15762 "The editor is C<$EDITOR>.  However if you use the alternate commands C<vi> "
15763 "or C<emacs> you will get those corresponding editors."
15764 msgstr ""
15765
15766 # type: textblock
15767 #: ../fish/guestfish.pod:801 ../fish/guestfish.pod:847
15768 msgid ""
15769 "NOTE: This will not work reliably for large files (> 2 MB) or binary files "
15770 "containing \\0 bytes."
15771 msgstr ""
15772
15773 # type: =head2
15774 #: ../fish/guestfish.pod:804
15775 msgid "glob"
15776 msgstr ""
15777
15778 # type: verbatim
15779 #: ../fish/guestfish.pod:806
15780 #, no-wrap
15781 msgid ""
15782 " glob command args...\n"
15783 "\n"
15784 msgstr ""
15785
15786 # type: textblock
15787 #: ../fish/guestfish.pod:808
15788 msgid ""
15789 "Expand wildcards in any paths in the args list, and run C<command> "
15790 "repeatedly on each matching path."
15791 msgstr ""
15792
15793 # type: textblock
15794 #: ../fish/guestfish.pod:811
15795 msgid "See section WILDCARDS AND GLOBBING."
15796 msgstr ""
15797
15798 # type: =head2
15799 #: ../fish/guestfish.pod:813
15800 msgid "help"
15801 msgstr ""
15802
15803 # type: verbatim
15804 #: ../fish/guestfish.pod:815
15805 #, no-wrap
15806 msgid ""
15807 " help\n"
15808 " help cmd\n"
15809 "\n"
15810 msgstr ""
15811
15812 # type: textblock
15813 #: ../fish/guestfish.pod:818
15814 msgid ""
15815 "Without any parameter, this lists all commands.  With a C<cmd> parameter, "
15816 "this displays detailed help for a command."
15817 msgstr ""
15818
15819 # type: =head2
15820 #: ../fish/guestfish.pod:821
15821 msgid "lcd"
15822 msgstr ""
15823
15824 # type: verbatim
15825 #: ../fish/guestfish.pod:823
15826 #, no-wrap
15827 msgid ""
15828 " lcd directory\n"
15829 "\n"
15830 msgstr ""
15831
15832 # type: textblock
15833 #: ../fish/guestfish.pod:825
15834 msgid "Change the local directory, ie. the current directory of guestfish itself."
15835 msgstr ""
15836
15837 # type: textblock
15838 #: ../fish/guestfish.pod:828
15839 msgid "Note that C<!cd> won't do what you might expect."
15840 msgstr ""
15841
15842 # type: =head2
15843 #: ../fish/guestfish.pod:830
15844 msgid "man | manual"
15845 msgstr ""
15846
15847 # type: verbatim
15848 #: ../fish/guestfish.pod:832
15849 #, no-wrap
15850 msgid ""
15851 " man\n"
15852 "\n"
15853 msgstr ""
15854
15855 # type: textblock
15856 #: ../fish/guestfish.pod:834
15857 msgid "Opens the manual page for guestfish."
15858 msgstr ""
15859
15860 # type: =head2
15861 #: ../fish/guestfish.pod:836
15862 msgid "more | less"
15863 msgstr ""
15864
15865 # type: verbatim
15866 #: ../fish/guestfish.pod:838
15867 #, no-wrap
15868 msgid ""
15869 " more filename\n"
15870 "\n"
15871 msgstr ""
15872
15873 # type: verbatim
15874 #: ../fish/guestfish.pod:840
15875 #, no-wrap
15876 msgid ""
15877 " less filename\n"
15878 "\n"
15879 msgstr ""
15880
15881 # type: textblock
15882 #: ../fish/guestfish.pod:842
15883 msgid "This is used to view a file."
15884 msgstr ""
15885
15886 # type: textblock
15887 #: ../fish/guestfish.pod:844
15888 msgid ""
15889 "The default viewer is C<$PAGER>.  However if you use the alternate command "
15890 "C<less> you will get the C<less> command specifically."
15891 msgstr ""
15892
15893 # type: =head2
15894 #: ../fish/guestfish.pod:850
15895 msgid "quit | exit"
15896 msgstr ""
15897
15898 # type: textblock
15899 #: ../fish/guestfish.pod:852
15900 msgid "This exits guestfish.  You can also use C<^D> key."
15901 msgstr ""
15902
15903 # type: =head2
15904 #: ../fish/guestfish.pod:854
15905 msgid "reopen"
15906 msgstr ""
15907
15908 # type: verbatim
15909 #: ../fish/guestfish.pod:856
15910 #, no-wrap
15911 msgid ""
15912 " reopen\n"
15913 "\n"
15914 msgstr ""
15915
15916 # type: textblock
15917 #: ../fish/guestfish.pod:858
15918 msgid ""
15919 "Close and reopen the libguestfs handle.  It is not necessary to use this "
15920 "normally, because the handle is closed properly when guestfish exits.  "
15921 "However this is occasionally useful for testing."
15922 msgstr ""
15923
15924 # type: =head2
15925 #: ../fish/guestfish.pod:862
15926 msgid "sparse"
15927 msgstr ""
15928
15929 # type: verbatim
15930 #: ../fish/guestfish.pod:864
15931 #, no-wrap
15932 msgid ""
15933 " sparse filename size\n"
15934 "\n"
15935 msgstr ""
15936
15937 # type: textblock
15938 #: ../fish/guestfish.pod:866
15939 msgid ""
15940 "This creates an empty sparse file of the given size, and then adds so it can "
15941 "be further examined."
15942 msgstr ""
15943
15944 # type: textblock
15945 #: ../fish/guestfish.pod:869
15946 msgid ""
15947 "In all respects it works the same as the C<alloc> command, except that the "
15948 "image file is allocated sparsely, which means that disk blocks are not "
15949 "assigned to the file until they are needed.  Sparse disk files only use "
15950 "space when written to, but they are slower and there is a danger you could "
15951 "run out of real disk space during a write operation."
15952 msgstr ""
15953
15954 # type: =head2
15955 #: ../fish/guestfish.pod:879
15956 msgid "supported"
15957 msgstr ""
15958
15959 # type: verbatim
15960 #: ../fish/guestfish.pod:881
15961 #, no-wrap
15962 msgid ""
15963 " supported\n"
15964 "\n"
15965 msgstr ""
15966
15967 # type: textblock
15968 #: ../fish/guestfish.pod:883
15969 msgid ""
15970 "This command returns a list of the optional groups known to the daemon, and "
15971 "indicates which ones are supported by this build of the libguestfs "
15972 "appliance."
15973 msgstr ""
15974
15975 # type: textblock
15976 #: ../fish/guestfish.pod:887
15977 msgid "See also L<guestfs(3)/AVAILABILITY>."
15978 msgstr ""
15979
15980 # type: =head2
15981 #: ../fish/guestfish.pod:889
15982 msgid "time"
15983 msgstr ""
15984
15985 # type: verbatim
15986 #: ../fish/guestfish.pod:891
15987 #, no-wrap
15988 msgid ""
15989 " time command args...\n"
15990 "\n"
15991 msgstr ""
15992
15993 # type: textblock
15994 #: ../fish/guestfish.pod:893
15995 msgid ""
15996 "Run the command as usual, but print the elapsed time afterwards.  This can "
15997 "be useful for benchmarking operations."
15998 msgstr ""
15999
16000 # type: =head1
16001 #: ../fish/guestfish.pod:896
16002 msgid "COMMANDS"
16003 msgstr ""
16004
16005 # type: =head1
16006 #: ../fish/guestfish.pod:900 ../test-tool/libguestfs-test-tool.pod:83
16007 msgid "EXIT CODE"
16008 msgstr ""
16009
16010 # type: textblock
16011 #: ../fish/guestfish.pod:902
16012 msgid ""
16013 "guestfish returns 0 if the commands completed without error, or 1 if there "
16014 "was an error."
16015 msgstr ""
16016
16017 # type: =item
16018 #: ../fish/guestfish.pod:909
16019 msgid "EDITOR"
16020 msgstr ""
16021
16022 # type: textblock
16023 #: ../fish/guestfish.pod:911
16024 msgid ""
16025 "The C<edit> command uses C<$EDITOR> as the editor.  If not set, it uses "
16026 "C<vi>."
16027 msgstr ""
16028
16029 # type: =item
16030 #: ../fish/guestfish.pod:914
16031 msgid "GUESTFISH_PID"
16032 msgstr ""
16033
16034 # type: textblock
16035 #: ../fish/guestfish.pod:916
16036 msgid ""
16037 "Used with the I<--remote> option to specify the remote guestfish process to "
16038 "control.  See section L</REMOTE CONTROL GUESTFISH OVER A SOCKET>."
16039 msgstr ""
16040
16041 # type: =item
16042 #: ../fish/guestfish.pod:920
16043 msgid "HOME"
16044 msgstr ""
16045
16046 # type: textblock
16047 #: ../fish/guestfish.pod:922
16048 msgid ""
16049 "If compiled with GNU readline support, various files in the home directory "
16050 "can be used.  See L</FILES>."
16051 msgstr ""
16052
16053 # type: textblock
16054 #: ../fish/guestfish.pod:931
16055 msgid ""
16056 "Set C<LIBGUESTFS_DEBUG=1> to enable verbose messages.  This has the same "
16057 "effect as using the B<-v> option."
16058 msgstr ""
16059
16060 # type: textblock
16061 #: ../fish/guestfish.pod:943
16062 msgid ""
16063 "Set the path that guestfish uses to search for kernel and initrd.img.  See "
16064 "the discussion of paths in L<guestfs(3)>."
16065 msgstr ""
16066
16067 # type: textblock
16068 #: ../fish/guestfish.pod:954
16069 msgid "Set C<LIBGUESTFS_TRACE=1> to enable command traces."
16070 msgstr ""
16071
16072 # type: =item
16073 #: ../fish/guestfish.pod:956
16074 msgid "PAGER"
16075 msgstr ""
16076
16077 # type: textblock
16078 #: ../fish/guestfish.pod:958
16079 msgid ""
16080 "The C<more> command uses C<$PAGER> as the pager.  If not set, it uses "
16081 "C<more>."
16082 msgstr ""
16083
16084 # type: =head1
16085 #: ../fish/guestfish.pod:973 ../test-tool/libguestfs-test-tool.pod:88
16086 msgid "FILES"
16087 msgstr ""
16088
16089 # type: =item
16090 #: ../fish/guestfish.pod:977
16091 msgid "$HOME/.guestfish"
16092 msgstr ""
16093
16094 # type: textblock
16095 #: ../fish/guestfish.pod:979
16096 msgid ""
16097 "If compiled with GNU readline support, then the command history is saved in "
16098 "this file."
16099 msgstr ""
16100
16101 # type: =item
16102 #: ../fish/guestfish.pod:982
16103 msgid "$HOME/.inputrc"
16104 msgstr ""
16105
16106 # type: =item
16107 #: ../fish/guestfish.pod:984
16108 msgid "/etc/inputrc"
16109 msgstr ""
16110
16111 # type: textblock
16112 #: ../fish/guestfish.pod:986
16113 msgid ""
16114 "If compiled with GNU readline support, then these files can be used to "
16115 "configure readline.  For further information, please see "
16116 "L<readline(3)/INITIALIZATION FILE>."
16117 msgstr ""
16118
16119 # type: textblock
16120 #: ../fish/guestfish.pod:990
16121 msgid "To write rules which only apply to guestfish, use:"
16122 msgstr ""
16123
16124 # type: verbatim
16125 #: ../fish/guestfish.pod:992
16126 #, no-wrap
16127 msgid ""
16128 " $if guestfish\n"
16129 " ...\n"
16130 " $endif\n"
16131 "\n"
16132 msgstr ""
16133
16134 # type: textblock
16135 #: ../fish/guestfish.pod:996
16136 msgid ""
16137 "Variables that you can set in inputrc that change the behaviour of guestfish "
16138 "in useful ways include:"
16139 msgstr ""
16140
16141 # type: =item
16142 #: ../fish/guestfish.pod:1001
16143 msgid "completion-ignore-case (default: on)"
16144 msgstr ""
16145
16146 # type: textblock
16147 #: ../fish/guestfish.pod:1003
16148 msgid ""
16149 "By default, guestfish will ignore case when tab-completing paths on the "
16150 "disk.  Use:"
16151 msgstr ""
16152
16153 # type: verbatim
16154 #: ../fish/guestfish.pod:1006
16155 #, no-wrap
16156 msgid ""
16157 " set completion-ignore-case off\n"
16158 "\n"
16159 msgstr ""
16160
16161 # type: textblock
16162 #: ../fish/guestfish.pod:1008
16163 msgid "to make guestfish case sensitive."
16164 msgstr ""
16165
16166 # type: =item
16167 #: ../fish/guestfish.pod:1012
16168 msgid "test1.img"
16169 msgstr ""
16170
16171 # type: =item
16172 #: ../fish/guestfish.pod:1014
16173 msgid "test2.img (etc)"
16174 msgstr ""
16175
16176 # type: textblock
16177 #: ../fish/guestfish.pod:1016
16178 msgid ""
16179 "When using the C<-N> or C<--new> option, the prepared disk or filesystem "
16180 "will be created in the file C<test1.img> in the current directory.  The "
16181 "second use of C<-N> will use C<test2.img> and so on.  Any existing file with "
16182 "the same name will be overwritten."
16183 msgstr ""
16184
16185 # type: textblock
16186 #: ../fish/guestfish.pod:1025
16187 msgid ""
16188 "L<guestfs(3)>, L<http://libguestfs.org/>, L<virt-cat(1)>, L<virt-df(1)>, "
16189 "L<virt-edit(1)>, L<virt-list-filesystems(1)>, L<virt-list-partitions(1)>, "
16190 "L<virt-ls(1)>, L<virt-make-fs(1)>, L<virt-rescue(1)>, L<virt-resize(1)>, "
16191 "L<virt-tar(1)>, L<virt-win-reg(1)>."
16192 msgstr ""
16193
16194 # type: textblock
16195 #: ../fish/guestfish.pod:1048 ../test-tool/libguestfs-test-tool.pod:124 ../fuse/guestmount.pod:198 ../inspector/virt-inspector.pl:865 ../tools/virt-cat.pl:181 ../tools/virt-df.pl:499 ../tools/virt-edit.pl:345 ../tools/virt-list-filesystems.pl:211 ../tools/virt-list-partitions.pl:248 ../tools/virt-ls.pl:229 ../tools/virt-make-fs.pl:560 ../tools/virt-rescue.pl:249 ../tools/virt-resize.pl:1415 ../tools/virt-tar.pl:276 ../tools/virt-win-reg.pl:495
16196 msgid ""
16197 "This program is free software; you can redistribute it and/or modify it "
16198 "under the terms of the GNU General Public License as published by the Free "
16199 "Software Foundation; either version 2 of the License, or (at your option) "
16200 "any later version."
16201 msgstr ""
16202
16203 # type: textblock
16204 #: ../fish/guestfish.pod:1053 ../test-tool/libguestfs-test-tool.pod:129 ../fuse/guestmount.pod:203 ../inspector/virt-inspector.pl:870 ../tools/virt-cat.pl:186 ../tools/virt-df.pl:504 ../tools/virt-edit.pl:350 ../tools/virt-list-filesystems.pl:216 ../tools/virt-list-partitions.pl:253 ../tools/virt-ls.pl:234 ../tools/virt-make-fs.pl:565 ../tools/virt-rescue.pl:254 ../tools/virt-resize.pl:1420 ../tools/virt-tar.pl:281 ../tools/virt-win-reg.pl:500
16205 msgid ""
16206 "This program is distributed in the hope that it will be useful, but WITHOUT "
16207 "ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or "
16208 "FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for "
16209 "more details."
16210 msgstr ""
16211
16212 # type: textblock
16213 #: ../fish/guestfish.pod:1058 ../test-tool/libguestfs-test-tool.pod:134 ../fuse/guestmount.pod:208 ../inspector/virt-inspector.pl:875 ../tools/virt-cat.pl:191 ../tools/virt-df.pl:509 ../tools/virt-edit.pl:355 ../tools/virt-list-filesystems.pl:221 ../tools/virt-list-partitions.pl:258 ../tools/virt-ls.pl:239 ../tools/virt-make-fs.pl:570 ../tools/virt-rescue.pl:259 ../tools/virt-resize.pl:1425 ../tools/virt-tar.pl:286 ../tools/virt-win-reg.pl:505
16214 msgid ""
16215 "You should have received a copy of the GNU General Public License along with "
16216 "this program; if not, write to the Free Software Foundation, Inc., 675 Mass "
16217 "Ave, Cambridge, MA 02139, USA."
16218 msgstr ""
16219
16220 # type: =head2
16221 #: ../fish/guestfish-actions.pod:1
16222 msgid "add-cdrom | cdrom"
16223 msgstr ""
16224
16225 # type: verbatim
16226 #: ../fish/guestfish-actions.pod:3
16227 #, no-wrap
16228 msgid ""
16229 " add-cdrom filename\n"
16230 "\n"
16231 msgstr ""
16232
16233 # type: textblock
16234 #: ../fish/guestfish-actions.pod:15
16235 msgid ""
16236 "This call checks for the existence of C<filename>.  This stops you from "
16237 "specifying other types of drive which are supported by qemu such as C<nbd:> "
16238 "and C<http:> URLs.  To specify those, use the general C<config> call "
16239 "instead."
16240 msgstr ""
16241
16242 # type: textblock
16243 #: ../fish/guestfish-actions.pod:22
16244 msgid ""
16245 "If you just want to add an ISO file (often you use this as an efficient way "
16246 "to transfer large files into the guest), then you should probably use "
16247 "C<add-drive-ro> instead."
16248 msgstr ""
16249
16250 # type: =head2
16251 #: ../fish/guestfish-actions.pod:28
16252 msgid "add-drive | add"
16253 msgstr ""
16254
16255 # type: verbatim
16256 #: ../fish/guestfish-actions.pod:30
16257 #, no-wrap
16258 msgid ""
16259 " add-drive filename\n"
16260 "\n"
16261 msgstr ""
16262
16263 # type: textblock
16264 #: ../fish/guestfish-actions.pod:49 ../fish/guestfish-actions.pod:75
16265 msgid ""
16266 "C<if=...> is set at compile time by the configuration option C<./configure "
16267 "--with-drive-if=...>.  In the rare case where you might need to change this "
16268 "at run time, use C<add-drive-with-if> or C<add-drive-ro-with-if>."
16269 msgstr ""
16270
16271 # type: textblock
16272 #: ../fish/guestfish-actions.pod:54 ../fish/guestfish-actions.pod:80
16273 msgid ""
16274 "Note that this call checks for the existence of C<filename>.  This stops you "
16275 "from specifying other types of drive which are supported by qemu such as "
16276 "C<nbd:> and C<http:> URLs.  To specify those, use the general C<config> call "
16277 "instead."
16278 msgstr ""
16279
16280 # type: =head2
16281 #: ../fish/guestfish-actions.pod:59
16282 msgid "add-drive-ro | add-ro"
16283 msgstr ""
16284
16285 # type: verbatim
16286 #: ../fish/guestfish-actions.pod:61
16287 #, no-wrap
16288 msgid ""
16289 " add-drive-ro filename\n"
16290 "\n"
16291 msgstr ""
16292
16293 # type: =head2
16294 #: ../fish/guestfish-actions.pod:85
16295 msgid "add-drive-ro-with-if"
16296 msgstr ""
16297
16298 # type: verbatim
16299 #: ../fish/guestfish-actions.pod:87
16300 #, no-wrap
16301 msgid ""
16302 " add-drive-ro-with-if filename iface\n"
16303 "\n"
16304 msgstr ""
16305
16306 # type: textblock
16307 #: ../fish/guestfish-actions.pod:89
16308 msgid ""
16309 "This is the same as C<add-drive-ro> but it allows you to specify the QEMU "
16310 "interface emulation to use at run time."
16311 msgstr ""
16312
16313 # type: =head2
16314 #: ../fish/guestfish-actions.pod:92
16315 msgid "add-drive-with-if"
16316 msgstr ""
16317
16318 # type: verbatim
16319 #: ../fish/guestfish-actions.pod:94
16320 #, no-wrap
16321 msgid ""
16322 " add-drive-with-if filename iface\n"
16323 "\n"
16324 msgstr ""
16325
16326 # type: textblock
16327 #: ../fish/guestfish-actions.pod:96
16328 msgid ""
16329 "This is the same as C<add-drive> but it allows you to specify the QEMU "
16330 "interface emulation to use at run time."
16331 msgstr ""
16332
16333 # type: =head2
16334 #: ../fish/guestfish-actions.pod:99
16335 msgid "aug-clear"
16336 msgstr ""
16337
16338 # type: verbatim
16339 #: ../fish/guestfish-actions.pod:101
16340 #, no-wrap
16341 msgid ""
16342 " aug-clear augpath\n"
16343 "\n"
16344 msgstr ""
16345
16346 # type: =head2
16347 #: ../fish/guestfish-actions.pod:106
16348 msgid "aug-close"
16349 msgstr ""
16350
16351 # type: verbatim
16352 #: ../fish/guestfish-actions.pod:108
16353 #, no-wrap
16354 msgid ""
16355 " aug-close\n"
16356 "\n"
16357 msgstr ""
16358
16359 # type: textblock
16360 #: ../fish/guestfish-actions.pod:110
16361 msgid ""
16362 "Close the current Augeas handle and free up any resources used by it.  After "
16363 "calling this, you have to call C<aug-init> again before you can use any "
16364 "other Augeas functions."
16365 msgstr ""
16366
16367 # type: =head2
16368 #: ../fish/guestfish-actions.pod:115
16369 msgid "aug-defnode"
16370 msgstr ""
16371
16372 # type: verbatim
16373 #: ../fish/guestfish-actions.pod:117
16374 #, no-wrap
16375 msgid ""
16376 " aug-defnode name expr val\n"
16377 "\n"
16378 msgstr ""
16379
16380 # type: textblock
16381 #: ../fish/guestfish-actions.pod:122
16382 msgid ""
16383 "If C<expr> evaluates to an empty nodeset, a node is created, equivalent to "
16384 "calling C<aug-set> C<expr>, C<value>.  C<name> will be the nodeset "
16385 "containing that single node."
16386 msgstr ""
16387
16388 # type: =head2
16389 #: ../fish/guestfish-actions.pod:130
16390 msgid "aug-defvar"
16391 msgstr ""
16392
16393 # type: verbatim
16394 #: ../fish/guestfish-actions.pod:132
16395 #, no-wrap
16396 msgid ""
16397 " aug-defvar name expr\n"
16398 "\n"
16399 msgstr ""
16400
16401 # type: =head2
16402 #: ../fish/guestfish-actions.pod:141
16403 msgid "aug-get"
16404 msgstr ""
16405
16406 # type: verbatim
16407 #: ../fish/guestfish-actions.pod:143
16408 #, no-wrap
16409 msgid ""
16410 " aug-get augpath\n"
16411 "\n"
16412 msgstr ""
16413
16414 # type: =head2
16415 #: ../fish/guestfish-actions.pod:148
16416 msgid "aug-init"
16417 msgstr ""
16418
16419 # type: verbatim
16420 #: ../fish/guestfish-actions.pod:150
16421 #, no-wrap
16422 msgid ""
16423 " aug-init root flags\n"
16424 "\n"
16425 msgstr ""
16426
16427 # type: textblock
16428 #: ../fish/guestfish-actions.pod:156
16429 msgid "You must call this before using any other C<aug-*> commands."
16430 msgstr ""
16431
16432 # type: textblock
16433 #: ../fish/guestfish-actions.pod:191
16434 msgid "Do not load the tree in C<aug-init>."
16435 msgstr ""
16436
16437 # type: textblock
16438 #: ../fish/guestfish-actions.pod:195
16439 msgid "To close the handle, you can call C<aug-close>."
16440 msgstr ""
16441
16442 # type: =head2
16443 #: ../fish/guestfish-actions.pod:199
16444 msgid "aug-insert"
16445 msgstr ""
16446
16447 # type: verbatim
16448 #: ../fish/guestfish-actions.pod:201
16449 #, no-wrap
16450 msgid ""
16451 " aug-insert augpath label true|false\n"
16452 "\n"
16453 msgstr ""
16454
16455 # type: =head2
16456 #: ../fish/guestfish-actions.pod:211
16457 msgid "aug-load"
16458 msgstr ""
16459
16460 # type: verbatim
16461 #: ../fish/guestfish-actions.pod:213
16462 #, no-wrap
16463 msgid ""
16464 " aug-load\n"
16465 "\n"
16466 msgstr ""
16467
16468 # type: =head2
16469 #: ../fish/guestfish-actions.pod:220
16470 msgid "aug-ls"
16471 msgstr ""
16472
16473 # type: verbatim
16474 #: ../fish/guestfish-actions.pod:222
16475 #, no-wrap
16476 msgid ""
16477 " aug-ls augpath\n"
16478 "\n"
16479 msgstr ""
16480
16481 # type: textblock
16482 #: ../fish/guestfish-actions.pod:224
16483 msgid ""
16484 "This is just a shortcut for listing C<aug-match> C<path/*> and sorting the "
16485 "resulting nodes into alphabetical order."
16486 msgstr ""
16487
16488 # type: =head2
16489 #: ../fish/guestfish-actions.pod:227
16490 msgid "aug-match"
16491 msgstr ""
16492
16493 # type: verbatim
16494 #: ../fish/guestfish-actions.pod:229
16495 #, no-wrap
16496 msgid ""
16497 " aug-match augpath\n"
16498 "\n"
16499 msgstr ""
16500
16501 # type: =head2
16502 #: ../fish/guestfish-actions.pod:235
16503 msgid "aug-mv"
16504 msgstr ""
16505
16506 # type: verbatim
16507 #: ../fish/guestfish-actions.pod:237
16508 #, no-wrap
16509 msgid ""
16510 " aug-mv src dest\n"
16511 "\n"
16512 msgstr ""
16513
16514 # type: =head2
16515 #: ../fish/guestfish-actions.pod:242
16516 msgid "aug-rm"
16517 msgstr ""
16518
16519 # type: verbatim
16520 #: ../fish/guestfish-actions.pod:244
16521 #, no-wrap
16522 msgid ""
16523 " aug-rm augpath\n"
16524 "\n"
16525 msgstr ""
16526
16527 # type: =head2
16528 #: ../fish/guestfish-actions.pod:250
16529 msgid "aug-save"
16530 msgstr ""
16531
16532 # type: verbatim
16533 #: ../fish/guestfish-actions.pod:252
16534 #, no-wrap
16535 msgid ""
16536 " aug-save\n"
16537 "\n"
16538 msgstr ""
16539
16540 # type: textblock
16541 #: ../fish/guestfish-actions.pod:256
16542 msgid ""
16543 "The flags which were passed to C<aug-init> affect exactly how files are "
16544 "saved."
16545 msgstr ""
16546
16547 # type: =head2
16548 #: ../fish/guestfish-actions.pod:259
16549 msgid "aug-set"
16550 msgstr ""
16551
16552 # type: verbatim
16553 #: ../fish/guestfish-actions.pod:261
16554 #, no-wrap
16555 msgid ""
16556 " aug-set augpath val\n"
16557 "\n"
16558 msgstr ""
16559
16560 # type: textblock
16561 #: ../fish/guestfish-actions.pod:265
16562 msgid ""
16563 "In the Augeas API, it is possible to clear a node by setting the value to "
16564 "NULL.  Due to an oversight in the libguestfs API you cannot do that with "
16565 "this call.  Instead you must use the C<aug-clear> call."
16566 msgstr ""
16567
16568 # type: =head2
16569 #: ../fish/guestfish-actions.pod:270
16570 msgid "available"
16571 msgstr ""
16572
16573 # type: verbatim
16574 #: ../fish/guestfish-actions.pod:272
16575 #, no-wrap
16576 msgid ""
16577 " available 'groups ...'\n"
16578 "\n"
16579 msgstr ""
16580
16581 # type: textblock
16582 #: ../fish/guestfish-actions.pod:278
16583 msgid ""
16584 "The libguestfs groups, and the functions that those groups correspond to, "
16585 "are listed in L<guestfs(3)/AVAILABILITY>.  You can also fetch this list at "
16586 "runtime by calling C<available-all-groups>."
16587 msgstr ""
16588
16589 # type: textblock
16590 #: ../fish/guestfish-actions.pod:302
16591 msgid "You must call C<launch> before calling this function."
16592 msgstr ""
16593
16594 # type: textblock
16595 #: ../fish/guestfish-actions.pod:324
16596 msgid ""
16597 "This call was added in version C<1.0.80>.  In previous versions of "
16598 "libguestfs all you could do would be to speculatively execute a command to "
16599 "find out if the daemon implemented it.  See also C<version>."
16600 msgstr ""
16601
16602 # type: =head2
16603 #: ../fish/guestfish-actions.pod:331
16604 msgid "available-all-groups"
16605 msgstr ""
16606
16607 # type: verbatim
16608 #: ../fish/guestfish-actions.pod:333
16609 #, no-wrap
16610 msgid ""
16611 " available-all-groups\n"
16612 "\n"
16613 msgstr ""
16614
16615 # type: textblock
16616 #: ../fish/guestfish-actions.pod:335
16617 msgid ""
16618 "This command returns a list of all optional groups that this daemon knows "
16619 "about.  Note this returns both supported and unsupported groups.  To find "
16620 "out which ones the daemon can actually support you have to call C<available> "
16621 "on each member of the returned list."
16622 msgstr ""
16623
16624 # type: textblock
16625 #: ../fish/guestfish-actions.pod:341
16626 msgid "See also C<available> and L<guestfs(3)/AVAILABILITY>."
16627 msgstr ""
16628
16629 # type: =head2
16630 #: ../fish/guestfish-actions.pod:343
16631 msgid "base64-in"
16632 msgstr ""
16633
16634 # type: verbatim
16635 #: ../fish/guestfish-actions.pod:345
16636 #, no-wrap
16637 msgid ""
16638 " base64-in (base64file|-) filename\n"
16639 "\n"
16640 msgstr ""
16641
16642 # type: textblock
16643 #: ../fish/guestfish-actions.pod:350 ../fish/guestfish-actions.pod:359 ../fish/guestfish-actions.pod:583 ../fish/guestfish-actions.pod:730 ../fish/guestfish-actions.pod:777 ../fish/guestfish-actions.pod:1154 ../fish/guestfish-actions.pod:3657 ../fish/guestfish-actions.pod:3669 ../fish/guestfish-actions.pod:3680 ../fish/guestfish-actions.pod:3691 ../fish/guestfish-actions.pod:3743 ../fish/guestfish-actions.pod:3752 ../fish/guestfish-actions.pod:3802
16644 msgid "Use C<-> instead of a filename to read/write from stdin/stdout."
16645 msgstr ""
16646
16647 # type: =head2
16648 #: ../fish/guestfish-actions.pod:352
16649 msgid "base64-out"
16650 msgstr ""
16651
16652 # type: verbatim
16653 #: ../fish/guestfish-actions.pod:354
16654 #, no-wrap
16655 msgid ""
16656 " base64-out filename (base64file|-)\n"
16657 "\n"
16658 msgstr ""
16659
16660 # type: =head2
16661 #: ../fish/guestfish-actions.pod:361
16662 msgid "blockdev-flushbufs"
16663 msgstr ""
16664
16665 # type: verbatim
16666 #: ../fish/guestfish-actions.pod:363
16667 #, no-wrap
16668 msgid ""
16669 " blockdev-flushbufs device\n"
16670 "\n"
16671 msgstr ""
16672
16673 # type: =head2
16674 #: ../fish/guestfish-actions.pod:370
16675 msgid "blockdev-getbsz"
16676 msgstr ""
16677
16678 # type: verbatim
16679 #: ../fish/guestfish-actions.pod:372
16680 #, no-wrap
16681 msgid ""
16682 " blockdev-getbsz device\n"
16683 "\n"
16684 msgstr ""
16685
16686 # type: =head2
16687 #: ../fish/guestfish-actions.pod:381
16688 msgid "blockdev-getro"
16689 msgstr ""
16690
16691 # type: verbatim
16692 #: ../fish/guestfish-actions.pod:383
16693 #, no-wrap
16694 msgid ""
16695 " blockdev-getro device\n"
16696 "\n"
16697 msgstr ""
16698
16699 # type: =head2
16700 #: ../fish/guestfish-actions.pod:390
16701 msgid "blockdev-getsize64"
16702 msgstr ""
16703
16704 # type: verbatim
16705 #: ../fish/guestfish-actions.pod:392
16706 #, no-wrap
16707 msgid ""
16708 " blockdev-getsize64 device\n"
16709 "\n"
16710 msgstr ""
16711
16712 # type: textblock
16713 #: ../fish/guestfish-actions.pod:396
16714 msgid "See also C<blockdev-getsz>."
16715 msgstr ""
16716
16717 # type: =head2
16718 #: ../fish/guestfish-actions.pod:400
16719 msgid "blockdev-getss"
16720 msgstr ""
16721
16722 # type: verbatim
16723 #: ../fish/guestfish-actions.pod:402
16724 #, no-wrap
16725 msgid ""
16726 " blockdev-getss device\n"
16727 "\n"
16728 msgstr ""
16729
16730 # type: textblock
16731 #: ../fish/guestfish-actions.pod:407
16732 msgid "(Note, this is not the size in sectors, use C<blockdev-getsz> for that)."
16733 msgstr ""
16734
16735 # type: =head2
16736 #: ../fish/guestfish-actions.pod:412
16737 msgid "blockdev-getsz"
16738 msgstr ""
16739
16740 # type: verbatim
16741 #: ../fish/guestfish-actions.pod:414
16742 #, no-wrap
16743 msgid ""
16744 " blockdev-getsz device\n"
16745 "\n"
16746 msgstr ""
16747
16748 # type: textblock
16749 #: ../fish/guestfish-actions.pod:419
16750 msgid ""
16751 "See also C<blockdev-getss> for the real sector size of the device, and "
16752 "C<blockdev-getsize64> for the more useful I<size in bytes>."
16753 msgstr ""
16754
16755 # type: =head2
16756 #: ../fish/guestfish-actions.pod:425
16757 msgid "blockdev-rereadpt"
16758 msgstr ""
16759
16760 # type: verbatim
16761 #: ../fish/guestfish-actions.pod:427
16762 #, no-wrap
16763 msgid ""
16764 " blockdev-rereadpt device\n"
16765 "\n"
16766 msgstr ""
16767
16768 # type: =head2
16769 #: ../fish/guestfish-actions.pod:433
16770 msgid "blockdev-setbsz"
16771 msgstr ""
16772
16773 # type: verbatim
16774 #: ../fish/guestfish-actions.pod:435
16775 #, no-wrap
16776 msgid ""
16777 " blockdev-setbsz device blocksize\n"
16778 "\n"
16779 msgstr ""
16780
16781 # type: =head2
16782 #: ../fish/guestfish-actions.pod:444
16783 msgid "blockdev-setro"
16784 msgstr ""
16785
16786 # type: verbatim
16787 #: ../fish/guestfish-actions.pod:446
16788 #, no-wrap
16789 msgid ""
16790 " blockdev-setro device\n"
16791 "\n"
16792 msgstr ""
16793
16794 # type: =head2
16795 #: ../fish/guestfish-actions.pod:452
16796 msgid "blockdev-setrw"
16797 msgstr ""
16798
16799 # type: verbatim
16800 #: ../fish/guestfish-actions.pod:454
16801 #, no-wrap
16802 msgid ""
16803 " blockdev-setrw device\n"
16804 "\n"
16805 msgstr ""
16806
16807 # type: =head2
16808 #: ../fish/guestfish-actions.pod:460
16809 msgid "case-sensitive-path"
16810 msgstr ""
16811
16812 # type: verbatim
16813 #: ../fish/guestfish-actions.pod:462
16814 #, no-wrap
16815 msgid ""
16816 " case-sensitive-path path\n"
16817 "\n"
16818 msgstr ""
16819
16820 # type: textblock
16821 #: ../fish/guestfish-actions.pod:486
16822 msgid ""
16823 "Thus C<case-sensitive-path> (\"/Windows/System32\")  might return "
16824 "C<\"/WINDOWS/system32\"> (the exact return value would depend on details of "
16825 "how the directories were originally created under Windows)."
16826 msgstr ""
16827
16828 # type: textblock
16829 #: ../fish/guestfish-actions.pod:494
16830 msgid "See also C<realpath>."
16831 msgstr ""
16832
16833 # type: =head2
16834 #: ../fish/guestfish-actions.pod:496
16835 msgid "cat"
16836 msgstr ""
16837
16838 # type: verbatim
16839 #: ../fish/guestfish-actions.pod:498
16840 #, no-wrap
16841 msgid ""
16842 " cat path\n"
16843 "\n"
16844 msgstr ""
16845
16846 # type: textblock
16847 #: ../fish/guestfish-actions.pod:502
16848 msgid ""
16849 "Note that this function cannot correctly handle binary files (specifically, "
16850 "files containing C<\\0> character which is treated as end of string).  For "
16851 "those you need to use the C<read-file> or C<download> functions which have a "
16852 "more complex interface."
16853 msgstr ""
16854
16855 # type: =head2
16856 #: ../fish/guestfish-actions.pod:510
16857 msgid "checksum"
16858 msgstr ""
16859
16860 # type: verbatim
16861 #: ../fish/guestfish-actions.pod:512
16862 #, no-wrap
16863 msgid ""
16864 " checksum csumtype path\n"
16865 "\n"
16866 msgstr ""
16867
16868 # type: textblock
16869 #: ../fish/guestfish-actions.pod:555
16870 msgid "To get the checksum for a device, use C<checksum-device>."
16871 msgstr ""
16872
16873 # type: textblock
16874 #: ../fish/guestfish-actions.pod:557
16875 msgid "To get the checksums for many files, use C<checksums-out>."
16876 msgstr ""
16877
16878 # type: =head2
16879 #: ../fish/guestfish-actions.pod:559
16880 msgid "checksum-device"
16881 msgstr ""
16882
16883 # type: verbatim
16884 #: ../fish/guestfish-actions.pod:561
16885 #, no-wrap
16886 msgid ""
16887 " checksum-device csumtype device\n"
16888 "\n"
16889 msgstr ""
16890
16891 # type: textblock
16892 #: ../fish/guestfish-actions.pod:563
16893 msgid ""
16894 "This call computes the MD5, SHAx or CRC checksum of the contents of the "
16895 "device named C<device>.  For the types of checksums supported see the "
16896 "C<checksum> command."
16897 msgstr ""
16898
16899 # type: =head2
16900 #: ../fish/guestfish-actions.pod:567
16901 msgid "checksums-out"
16902 msgstr ""
16903
16904 # type: verbatim
16905 #: ../fish/guestfish-actions.pod:569
16906 #, no-wrap
16907 msgid ""
16908 " checksums-out csumtype directory (sumsfile|-)\n"
16909 "\n"
16910 msgstr ""
16911
16912 # type: =head2
16913 #: ../fish/guestfish-actions.pod:585
16914 msgid "chmod"
16915 msgstr ""
16916
16917 # type: verbatim
16918 #: ../fish/guestfish-actions.pod:587
16919 #, no-wrap
16920 msgid ""
16921 " chmod mode path\n"
16922 "\n"
16923 msgstr ""
16924
16925 # type: =head2
16926 #: ../fish/guestfish-actions.pod:598
16927 msgid "chown"
16928 msgstr ""
16929
16930 # type: verbatim
16931 #: ../fish/guestfish-actions.pod:600
16932 #, no-wrap
16933 msgid ""
16934 " chown owner group path\n"
16935 "\n"
16936 msgstr ""
16937
16938 # type: =head2
16939 #: ../fish/guestfish-actions.pod:608
16940 msgid "command"
16941 msgstr ""
16942
16943 # type: verbatim
16944 #: ../fish/guestfish-actions.pod:610
16945 #, no-wrap
16946 msgid ""
16947 " command 'arguments ...'\n"
16948 "\n"
16949 msgstr ""
16950
16951 # type: textblock
16952 #: ../fish/guestfish-actions.pod:617
16953 msgid ""
16954 "The single parameter is an argv-style list of arguments.  The first element "
16955 "is the name of the program to run.  Subsequent elements are parameters.  The "
16956 "list must be non-empty (ie. must contain a program name).  Note that the "
16957 "command runs directly, and is I<not> invoked via the shell (see C<sh>)."
16958 msgstr ""
16959
16960 # type: =head2
16961 #: ../fish/guestfish-actions.pod:645
16962 msgid "command-lines"
16963 msgstr ""
16964
16965 # type: verbatim
16966 #: ../fish/guestfish-actions.pod:647
16967 #, no-wrap
16968 msgid ""
16969 " command-lines 'arguments ...'\n"
16970 "\n"
16971 msgstr ""
16972
16973 # type: textblock
16974 #: ../fish/guestfish-actions.pod:649
16975 msgid "This is the same as C<command>, but splits the result into a list of lines."
16976 msgstr ""
16977
16978 # type: textblock
16979 #: ../fish/guestfish-actions.pod:652
16980 msgid "See also: C<sh-lines>"
16981 msgstr ""
16982
16983 # type: =head2
16984 #: ../fish/guestfish-actions.pod:657
16985 msgid "config"
16986 msgstr ""
16987
16988 # type: verbatim
16989 #: ../fish/guestfish-actions.pod:659
16990 #, no-wrap
16991 msgid ""
16992 " config qemuparam qemuvalue\n"
16993 "\n"
16994 msgstr ""
16995
16996 # type: =head2
16997 #: ../fish/guestfish-actions.pod:670
16998 msgid "copy-size"
16999 msgstr ""
17000
17001 # type: verbatim
17002 #: ../fish/guestfish-actions.pod:672
17003 #, no-wrap
17004 msgid ""
17005 " copy-size src dest size\n"
17006 "\n"
17007 msgstr ""
17008
17009 # type: =head2
17010 #: ../fish/guestfish-actions.pod:680
17011 msgid "cp"
17012 msgstr ""
17013
17014 # type: verbatim
17015 #: ../fish/guestfish-actions.pod:682
17016 #, no-wrap
17017 msgid ""
17018 " cp src dest\n"
17019 "\n"
17020 msgstr ""
17021
17022 # type: =head2
17023 #: ../fish/guestfish-actions.pod:687
17024 msgid "cp-a"
17025 msgstr ""
17026
17027 # type: verbatim
17028 #: ../fish/guestfish-actions.pod:689
17029 #, no-wrap
17030 msgid ""
17031 " cp-a src dest\n"
17032 "\n"
17033 msgstr ""
17034
17035 # type: =head2
17036 #: ../fish/guestfish-actions.pod:694
17037 msgid "dd"
17038 msgstr ""
17039
17040 # type: verbatim
17041 #: ../fish/guestfish-actions.pod:696
17042 #, no-wrap
17043 msgid ""
17044 " dd src dest\n"
17045 "\n"
17046 msgstr ""
17047
17048 # type: textblock
17049 #: ../fish/guestfish-actions.pod:703
17050 msgid ""
17051 "If the destination is a device, it must be as large or larger than the "
17052 "source file or device, otherwise the copy will fail.  This command cannot do "
17053 "partial copies (see C<copy-size>)."
17054 msgstr ""
17055
17056 # type: =head2
17057 #: ../fish/guestfish-actions.pod:707
17058 msgid "debug"
17059 msgstr ""
17060
17061 # type: verbatim
17062 #: ../fish/guestfish-actions.pod:709
17063 #, no-wrap
17064 msgid ""
17065 " debug subcmd 'extraargs ...'\n"
17066 "\n"
17067 msgstr ""
17068
17069 # type: textblock
17070 #: ../fish/guestfish-actions.pod:711
17071 msgid ""
17072 "The C<debug> command exposes some internals of C<guestfsd> (the guestfs "
17073 "daemon) that runs inside the qemu subprocess."
17074 msgstr ""
17075
17076 # type: =head2
17077 #: ../fish/guestfish-actions.pod:719
17078 msgid "debug-upload"
17079 msgstr ""
17080
17081 # type: verbatim
17082 #: ../fish/guestfish-actions.pod:721
17083 #, no-wrap
17084 msgid ""
17085 " debug-upload (filename|-) tmpname mode\n"
17086 "\n"
17087 msgstr ""
17088
17089 # type: textblock
17090 #: ../fish/guestfish-actions.pod:723
17091 msgid "The C<debug-upload> command uploads a file to the libguestfs appliance."
17092 msgstr ""
17093
17094 # type: =head2
17095 #: ../fish/guestfish-actions.pod:732
17096 msgid "df"
17097 msgstr ""
17098
17099 # type: verbatim
17100 #: ../fish/guestfish-actions.pod:734
17101 #, no-wrap
17102 msgid ""
17103 " df\n"
17104 "\n"
17105 msgstr ""
17106
17107 # type: =head2
17108 #: ../fish/guestfish-actions.pod:742
17109 msgid "df-h"
17110 msgstr ""
17111
17112 # type: verbatim
17113 #: ../fish/guestfish-actions.pod:744
17114 #, no-wrap
17115 msgid ""
17116 " df-h\n"
17117 "\n"
17118 msgstr ""
17119
17120 # type: =head2
17121 #: ../fish/guestfish-actions.pod:753
17122 msgid "dmesg"
17123 msgstr ""
17124
17125 # type: verbatim
17126 #: ../fish/guestfish-actions.pod:755
17127 #, no-wrap
17128 msgid ""
17129 " dmesg\n"
17130 "\n"
17131 msgstr ""
17132
17133 # type: textblock
17134 #: ../fish/guestfish-actions.pod:761
17135 msgid ""
17136 "Another way to get the same information is to enable verbose messages with "
17137 "C<set-verbose> or by setting the environment variable C<LIBGUESTFS_DEBUG=1> "
17138 "before running the program."
17139 msgstr ""
17140
17141 # type: =head2
17142 #: ../fish/guestfish-actions.pod:766
17143 msgid "download"
17144 msgstr ""
17145
17146 # type: verbatim
17147 #: ../fish/guestfish-actions.pod:768
17148 #, no-wrap
17149 msgid ""
17150 " download remotefilename (filename|-)\n"
17151 "\n"
17152 msgstr ""
17153
17154 # type: textblock
17155 #: ../fish/guestfish-actions.pod:775
17156 msgid "See also C<upload>, C<cat>."
17157 msgstr ""
17158
17159 # type: =head2
17160 #: ../fish/guestfish-actions.pod:779
17161 msgid "drop-caches"
17162 msgstr ""
17163
17164 # type: verbatim
17165 #: ../fish/guestfish-actions.pod:781
17166 #, no-wrap
17167 msgid ""
17168 " drop-caches whattodrop\n"
17169 "\n"
17170 msgstr ""
17171
17172 # type: =head2
17173 #: ../fish/guestfish-actions.pod:793
17174 msgid "du"
17175 msgstr ""
17176
17177 # type: verbatim
17178 #: ../fish/guestfish-actions.pod:795
17179 #, no-wrap
17180 msgid ""
17181 " du path\n"
17182 "\n"
17183 msgstr ""
17184
17185 # type: =head2
17186 #: ../fish/guestfish-actions.pod:807
17187 msgid "e2fsck-f"
17188 msgstr ""
17189
17190 # type: verbatim
17191 #: ../fish/guestfish-actions.pod:809
17192 #, no-wrap
17193 msgid ""
17194 " e2fsck-f device\n"
17195 "\n"
17196 msgstr ""
17197
17198 # type: textblock
17199 #: ../fish/guestfish-actions.pod:815
17200 msgid ""
17201 "This command is only needed because of C<resize2fs> (q.v.).  Normally you "
17202 "should use C<fsck>."
17203 msgstr ""
17204
17205 # type: =head2
17206 #: ../fish/guestfish-actions.pod:818
17207 msgid "echo-daemon"
17208 msgstr ""
17209
17210 # type: verbatim
17211 #: ../fish/guestfish-actions.pod:820
17212 #, no-wrap
17213 msgid ""
17214 " echo-daemon 'words ...'\n"
17215 "\n"
17216 msgstr ""
17217
17218 # type: textblock
17219 #: ../fish/guestfish-actions.pod:827
17220 msgid "See also C<ping-daemon>."
17221 msgstr ""
17222
17223 # type: =head2
17224 #: ../fish/guestfish-actions.pod:829
17225 msgid "egrep"
17226 msgstr ""
17227
17228 # type: verbatim
17229 #: ../fish/guestfish-actions.pod:831
17230 #, no-wrap
17231 msgid ""
17232 " egrep regex path\n"
17233 "\n"
17234 msgstr ""
17235
17236 # type: =head2
17237 #: ../fish/guestfish-actions.pod:839
17238 msgid "egrepi"
17239 msgstr ""
17240
17241 # type: verbatim
17242 #: ../fish/guestfish-actions.pod:841
17243 #, no-wrap
17244 msgid ""
17245 " egrepi regex path\n"
17246 "\n"
17247 msgstr ""
17248
17249 # type: =head2
17250 #: ../fish/guestfish-actions.pod:849
17251 msgid "equal"
17252 msgstr ""
17253
17254 # type: verbatim
17255 #: ../fish/guestfish-actions.pod:851
17256 #, no-wrap
17257 msgid ""
17258 " equal file1 file2\n"
17259 "\n"
17260 msgstr ""
17261
17262 # type: =head2
17263 #: ../fish/guestfish-actions.pod:858
17264 msgid "exists"
17265 msgstr ""
17266
17267 # type: verbatim
17268 #: ../fish/guestfish-actions.pod:860
17269 #, no-wrap
17270 msgid ""
17271 " exists path\n"
17272 "\n"
17273 msgstr ""
17274
17275 # type: textblock
17276 #: ../fish/guestfish-actions.pod:865
17277 msgid "See also C<is-file>, C<is-dir>, C<stat>."
17278 msgstr ""
17279
17280 # type: =head2
17281 #: ../fish/guestfish-actions.pod:867
17282 msgid "fallocate"
17283 msgstr ""
17284
17285 # type: verbatim
17286 #: ../fish/guestfish-actions.pod:869
17287 #, no-wrap
17288 msgid ""
17289 " fallocate path len\n"
17290 "\n"
17291 msgstr ""
17292
17293 # type: =head2
17294 #: ../fish/guestfish-actions.pod:886
17295 msgid "fallocate64"
17296 msgstr ""
17297
17298 # type: verbatim
17299 #: ../fish/guestfish-actions.pod:888
17300 #, no-wrap
17301 msgid ""
17302 " fallocate64 path len\n"
17303 "\n"
17304 msgstr ""
17305
17306 # type: textblock
17307 #: ../fish/guestfish-actions.pod:894
17308 msgid ""
17309 "Note that this call allocates disk blocks for the file.  To create a sparse "
17310 "file use C<truncate-size> instead."
17311 msgstr ""
17312
17313 # type: textblock
17314 #: ../fish/guestfish-actions.pod:897
17315 msgid ""
17316 "The deprecated call C<fallocate> does the same, but owing to an oversight it "
17317 "only allowed 30 bit lengths to be specified, effectively limiting the "
17318 "maximum size of files created through that call to 1GB."
17319 msgstr ""
17320
17321 # type: =head2
17322 #: ../fish/guestfish-actions.pod:906
17323 msgid "fgrep"
17324 msgstr ""
17325
17326 # type: verbatim
17327 #: ../fish/guestfish-actions.pod:908
17328 #, no-wrap
17329 msgid ""
17330 " fgrep pattern path\n"
17331 "\n"
17332 msgstr ""
17333
17334 # type: =head2
17335 #: ../fish/guestfish-actions.pod:916
17336 msgid "fgrepi"
17337 msgstr ""
17338
17339 # type: verbatim
17340 #: ../fish/guestfish-actions.pod:918
17341 #, no-wrap
17342 msgid ""
17343 " fgrepi pattern path\n"
17344 "\n"
17345 msgstr ""
17346
17347 # type: =head2
17348 #: ../fish/guestfish-actions.pod:926
17349 msgid "file"
17350 msgstr ""
17351
17352 # type: verbatim
17353 #: ../fish/guestfish-actions.pod:928
17354 #, no-wrap
17355 msgid ""
17356 " file path\n"
17357 "\n"
17358 msgstr ""
17359
17360 # type: textblock
17361 #: ../fish/guestfish-actions.pod:940
17362 msgid ""
17363 "This command can also be used on C</dev/> devices (and partitions, LV "
17364 "names).  You can for example use this to determine if a device contains a "
17365 "filesystem, although it's usually better to use C<vfs-type>."
17366 msgstr ""
17367
17368 # type: =head2
17369 #: ../fish/guestfish-actions.pod:950
17370 msgid "file-architecture"
17371 msgstr ""
17372
17373 # type: verbatim
17374 #: ../fish/guestfish-actions.pod:952
17375 #, no-wrap
17376 msgid ""
17377 " file-architecture filename\n"
17378 "\n"
17379 msgstr ""
17380
17381 # type: =head2
17382 #: ../fish/guestfish-actions.pod:1055
17383 msgid "filesize"
17384 msgstr ""
17385
17386 # type: verbatim
17387 #: ../fish/guestfish-actions.pod:1057
17388 #, no-wrap
17389 msgid ""
17390 " filesize file\n"
17391 "\n"
17392 msgstr ""
17393
17394 # type: textblock
17395 #: ../fish/guestfish-actions.pod:1061
17396 msgid ""
17397 "To get other stats about a file, use C<stat>, C<lstat>, C<is-dir>, "
17398 "C<is-file> etc.  To get the size of block devices, use "
17399 "C<blockdev-getsize64>."
17400 msgstr ""
17401
17402 # type: =head2
17403 #: ../fish/guestfish-actions.pod:1065
17404 msgid "fill"
17405 msgstr ""
17406
17407 # type: verbatim
17408 #: ../fish/guestfish-actions.pod:1067
17409 #, no-wrap
17410 msgid ""
17411 " fill c len path\n"
17412 "\n"
17413 msgstr ""
17414
17415 # type: textblock
17416 #: ../fish/guestfish-actions.pod:1073
17417 msgid ""
17418 "To fill a file with zero bytes (sparsely), it is much more efficient to use "
17419 "C<truncate-size>.  To create a file with a pattern of repeating bytes use "
17420 "C<fill-pattern>."
17421 msgstr ""
17422
17423 # type: =head2
17424 #: ../fish/guestfish-actions.pod:1078
17425 msgid "fill-pattern"
17426 msgstr ""
17427
17428 # type: verbatim
17429 #: ../fish/guestfish-actions.pod:1080
17430 #, no-wrap
17431 msgid ""
17432 " fill-pattern pattern len path\n"
17433 "\n"
17434 msgstr ""
17435
17436 # type: textblock
17437 #: ../fish/guestfish-actions.pod:1082
17438 msgid ""
17439 "This function is like C<fill> except that it creates a new file of length "
17440 "C<len> containing the repeating pattern of bytes in C<pattern>.  The pattern "
17441 "is truncated if necessary to ensure the length of the file is exactly C<len> "
17442 "bytes."
17443 msgstr ""
17444
17445 # type: =head2
17446 #: ../fish/guestfish-actions.pod:1087
17447 msgid "find"
17448 msgstr ""
17449
17450 # type: verbatim
17451 #: ../fish/guestfish-actions.pod:1089
17452 #, no-wrap
17453 msgid ""
17454 " find directory\n"
17455 "\n"
17456 msgstr ""
17457
17458 # type: textblock
17459 #: ../fish/guestfish-actions.pod:1103
17460 msgid "then the returned list from C<find> C</tmp> would be 4 elements:"
17461 msgstr ""
17462
17463 # type: textblock
17464 #: ../fish/guestfish-actions.pod:1116
17465 msgid "See also C<find0>."
17466 msgstr ""
17467
17468 # type: =head2
17469 #: ../fish/guestfish-actions.pod:1121
17470 msgid "find0"
17471 msgstr ""
17472
17473 # type: verbatim
17474 #: ../fish/guestfish-actions.pod:1123
17475 #, no-wrap
17476 msgid ""
17477 " find0 directory (files|-)\n"
17478 "\n"
17479 msgstr ""
17480
17481 # type: textblock
17482 #: ../fish/guestfish-actions.pod:1129
17483 msgid "This command works the same way as C<find> with the following exceptions:"
17484 msgstr ""
17485
17486 # type: =head2
17487 #: ../fish/guestfish-actions.pod:1156
17488 msgid "findfs-label"
17489 msgstr ""
17490
17491 # type: verbatim
17492 #: ../fish/guestfish-actions.pod:1158
17493 #, no-wrap
17494 msgid ""
17495 " findfs-label label\n"
17496 "\n"
17497 msgstr ""
17498
17499 # type: textblock
17500 #: ../fish/guestfish-actions.pod:1164
17501 msgid "To find the label of a filesystem, use C<vfs-label>."
17502 msgstr ""
17503
17504 # type: =head2
17505 #: ../fish/guestfish-actions.pod:1166
17506 msgid "findfs-uuid"
17507 msgstr ""
17508
17509 # type: verbatim
17510 #: ../fish/guestfish-actions.pod:1168
17511 #, no-wrap
17512 msgid ""
17513 " findfs-uuid uuid\n"
17514 "\n"
17515 msgstr ""
17516
17517 # type: textblock
17518 #: ../fish/guestfish-actions.pod:1174
17519 msgid "To find the UUID of a filesystem, use C<vfs-uuid>."
17520 msgstr ""
17521
17522 # type: =head2
17523 #: ../fish/guestfish-actions.pod:1176
17524 msgid "fsck"
17525 msgstr ""
17526
17527 # type: verbatim
17528 #: ../fish/guestfish-actions.pod:1178
17529 #, no-wrap
17530 msgid ""
17531 " fsck fstype device\n"
17532 "\n"
17533 msgstr ""
17534
17535 # type: =head2
17536 #: ../fish/guestfish-actions.pod:1208
17537 msgid "get-append"
17538 msgstr ""
17539
17540 # type: verbatim
17541 #: ../fish/guestfish-actions.pod:1210
17542 #, no-wrap
17543 msgid ""
17544 " get-append\n"
17545 "\n"
17546 msgstr ""
17547
17548 # type: =head2
17549 #: ../fish/guestfish-actions.pod:1217
17550 msgid "get-autosync"
17551 msgstr ""
17552
17553 # type: verbatim
17554 #: ../fish/guestfish-actions.pod:1219
17555 #, no-wrap
17556 msgid ""
17557 " get-autosync\n"
17558 "\n"
17559 msgstr ""
17560
17561 # type: =head2
17562 #: ../fish/guestfish-actions.pod:1223
17563 msgid "get-direct"
17564 msgstr ""
17565
17566 # type: verbatim
17567 #: ../fish/guestfish-actions.pod:1225
17568 #, no-wrap
17569 msgid ""
17570 " get-direct\n"
17571 "\n"
17572 msgstr ""
17573
17574 # type: =head2
17575 #: ../fish/guestfish-actions.pod:1229
17576 msgid "get-e2label"
17577 msgstr ""
17578
17579 # type: verbatim
17580 #: ../fish/guestfish-actions.pod:1231
17581 #, no-wrap
17582 msgid ""
17583 " get-e2label device\n"
17584 "\n"
17585 msgstr ""
17586
17587 # type: =head2
17588 #: ../fish/guestfish-actions.pod:1243
17589 msgid "get-e2uuid"
17590 msgstr ""
17591
17592 # type: verbatim
17593 #: ../fish/guestfish-actions.pod:1245
17594 #, no-wrap
17595 msgid ""
17596 " get-e2uuid device\n"
17597 "\n"
17598 msgstr ""
17599
17600 # type: =head2
17601 #: ../fish/guestfish-actions.pod:1257
17602 msgid "get-memsize"
17603 msgstr ""
17604
17605 # type: verbatim
17606 #: ../fish/guestfish-actions.pod:1259
17607 #, no-wrap
17608 msgid ""
17609 " get-memsize\n"
17610 "\n"
17611 msgstr ""
17612
17613 # type: textblock
17614 #: ../fish/guestfish-actions.pod:1264
17615 msgid ""
17616 "If C<set-memsize> was not called on this handle, and if "
17617 "C<LIBGUESTFS_MEMSIZE> was not set, then this returns the compiled-in default "
17618 "value for memsize."
17619 msgstr ""
17620
17621 # type: =head2
17622 #: ../fish/guestfish-actions.pod:1271
17623 msgid "get-network"
17624 msgstr ""
17625
17626 # type: verbatim
17627 #: ../fish/guestfish-actions.pod:1273
17628 #, no-wrap
17629 msgid ""
17630 " get-network\n"
17631 "\n"
17632 msgstr ""
17633
17634 # type: =head2
17635 #: ../fish/guestfish-actions.pod:1277
17636 msgid "get-path"
17637 msgstr ""
17638
17639 # type: verbatim
17640 #: ../fish/guestfish-actions.pod:1279
17641 #, no-wrap
17642 msgid ""
17643 " get-path\n"
17644 "\n"
17645 msgstr ""
17646
17647 # type: =head2
17648 #: ../fish/guestfish-actions.pod:1286
17649 msgid "get-pid | pid"
17650 msgstr ""
17651
17652 # type: verbatim
17653 #: ../fish/guestfish-actions.pod:1288
17654 #, no-wrap
17655 msgid ""
17656 " get-pid\n"
17657 "\n"
17658 msgstr ""
17659
17660 # type: =head2
17661 #: ../fish/guestfish-actions.pod:1295
17662 msgid "get-qemu"
17663 msgstr ""
17664
17665 # type: verbatim
17666 #: ../fish/guestfish-actions.pod:1297
17667 #, no-wrap
17668 msgid ""
17669 " get-qemu\n"
17670 "\n"
17671 msgstr ""
17672
17673 # type: =head2
17674 #: ../fish/guestfish-actions.pod:1304
17675 msgid "get-recovery-proc"
17676 msgstr ""
17677
17678 # type: verbatim
17679 #: ../fish/guestfish-actions.pod:1306
17680 #, no-wrap
17681 msgid ""
17682 " get-recovery-proc\n"
17683 "\n"
17684 msgstr ""
17685
17686 # type: =head2
17687 #: ../fish/guestfish-actions.pod:1310
17688 msgid "get-selinux"
17689 msgstr ""
17690
17691 # type: verbatim
17692 #: ../fish/guestfish-actions.pod:1312
17693 #, no-wrap
17694 msgid ""
17695 " get-selinux\n"
17696 "\n"
17697 msgstr ""
17698
17699 # type: textblock
17700 #: ../fish/guestfish-actions.pod:1314
17701 msgid ""
17702 "This returns the current setting of the selinux flag which is passed to the "
17703 "appliance at boot time.  See C<set-selinux>."
17704 msgstr ""
17705
17706 # type: =head2
17707 #: ../fish/guestfish-actions.pod:1320
17708 msgid "get-state"
17709 msgstr ""
17710
17711 # type: verbatim
17712 #: ../fish/guestfish-actions.pod:1322
17713 #, no-wrap
17714 msgid ""
17715 " get-state\n"
17716 "\n"
17717 msgstr ""
17718
17719 # type: =head2
17720 #: ../fish/guestfish-actions.pod:1329
17721 msgid "get-trace"
17722 msgstr ""
17723
17724 # type: verbatim
17725 #: ../fish/guestfish-actions.pod:1331
17726 #, no-wrap
17727 msgid ""
17728 " get-trace\n"
17729 "\n"
17730 msgstr ""
17731
17732 # type: =head2
17733 #: ../fish/guestfish-actions.pod:1335
17734 msgid "get-umask"
17735 msgstr ""
17736
17737 # type: verbatim
17738 #: ../fish/guestfish-actions.pod:1337
17739 #, no-wrap
17740 msgid ""
17741 " get-umask\n"
17742 "\n"
17743 msgstr ""
17744
17745 # type: textblock
17746 #: ../fish/guestfish-actions.pod:1339
17747 msgid ""
17748 "Return the current umask.  By default the umask is C<022> unless it has been "
17749 "set by calling C<umask>."
17750 msgstr ""
17751
17752 # type: =head2
17753 #: ../fish/guestfish-actions.pod:1342
17754 msgid "get-verbose"
17755 msgstr ""
17756
17757 # type: verbatim
17758 #: ../fish/guestfish-actions.pod:1344
17759 #, no-wrap
17760 msgid ""
17761 " get-verbose\n"
17762 "\n"
17763 msgstr ""
17764
17765 # type: =head2
17766 #: ../fish/guestfish-actions.pod:1348
17767 msgid "getcon"
17768 msgstr ""
17769
17770 # type: verbatim
17771 #: ../fish/guestfish-actions.pod:1350
17772 #, no-wrap
17773 msgid ""
17774 " getcon\n"
17775 "\n"
17776 msgstr ""
17777
17778 # type: textblock
17779 #: ../fish/guestfish-actions.pod:1354
17780 msgid "See the documentation about SELINUX in L<guestfs(3)>, and C<setcon>"
17781 msgstr ""
17782
17783 # type: =head2
17784 #: ../fish/guestfish-actions.pod:1357
17785 msgid "getxattrs"
17786 msgstr ""
17787
17788 # type: verbatim
17789 #: ../fish/guestfish-actions.pod:1359
17790 #, no-wrap
17791 msgid ""
17792 " getxattrs path\n"
17793 "\n"
17794 msgstr ""
17795
17796 # type: textblock
17797 #: ../fish/guestfish-actions.pod:1367
17798 msgid "See also: C<lgetxattrs>, L<attr(5)>."
17799 msgstr ""
17800
17801 # type: =head2
17802 #: ../fish/guestfish-actions.pod:1369
17803 msgid "glob-expand"
17804 msgstr ""
17805
17806 # type: verbatim
17807 #: ../fish/guestfish-actions.pod:1371
17808 #, no-wrap
17809 msgid ""
17810 " glob-expand pattern\n"
17811 "\n"
17812 msgstr ""
17813
17814 # type: =head2
17815 #: ../fish/guestfish-actions.pod:1384
17816 msgid "grep"
17817 msgstr ""
17818
17819 # type: verbatim
17820 #: ../fish/guestfish-actions.pod:1386
17821 #, no-wrap
17822 msgid ""
17823 " grep regex path\n"
17824 "\n"
17825 msgstr ""
17826
17827 # type: =head2
17828 #: ../fish/guestfish-actions.pod:1394
17829 msgid "grepi"
17830 msgstr ""
17831
17832 # type: verbatim
17833 #: ../fish/guestfish-actions.pod:1396
17834 #, no-wrap
17835 msgid ""
17836 " grepi regex path\n"
17837 "\n"
17838 msgstr ""
17839
17840 # type: =head2
17841 #: ../fish/guestfish-actions.pod:1404
17842 msgid "grub-install"
17843 msgstr ""
17844
17845 # type: verbatim
17846 #: ../fish/guestfish-actions.pod:1406
17847 #, no-wrap
17848 msgid ""
17849 " grub-install root device\n"
17850 "\n"
17851 msgstr ""
17852
17853 # type: =head2
17854 #: ../fish/guestfish-actions.pod:1422
17855 msgid "head"
17856 msgstr ""
17857
17858 # type: verbatim
17859 #: ../fish/guestfish-actions.pod:1424
17860 #, no-wrap
17861 msgid ""
17862 " head path\n"
17863 "\n"
17864 msgstr ""
17865
17866 # type: =head2
17867 #: ../fish/guestfish-actions.pod:1432
17868 msgid "head-n"
17869 msgstr ""
17870
17871 # type: verbatim
17872 #: ../fish/guestfish-actions.pod:1434
17873 #, no-wrap
17874 msgid ""
17875 " head-n nrlines path\n"
17876 "\n"
17877 msgstr ""
17878
17879 # type: =head2
17880 #: ../fish/guestfish-actions.pod:1447
17881 msgid "hexdump"
17882 msgstr ""
17883
17884 # type: verbatim
17885 #: ../fish/guestfish-actions.pod:1449
17886 #, no-wrap
17887 msgid ""
17888 " hexdump path\n"
17889 "\n"
17890 msgstr ""
17891
17892 # type: =head2
17893 #: ../fish/guestfish-actions.pod:1457
17894 msgid "initrd-cat"
17895 msgstr ""
17896
17897 # type: verbatim
17898 #: ../fish/guestfish-actions.pod:1459
17899 #, no-wrap
17900 msgid ""
17901 " initrd-cat initrdpath filename\n"
17902 "\n"
17903 msgstr ""
17904
17905 # type: textblock
17906 #: ../fish/guestfish-actions.pod:1471
17907 msgid "See also C<initrd-list>."
17908 msgstr ""
17909
17910 # type: =head2
17911 #: ../fish/guestfish-actions.pod:1476
17912 msgid "initrd-list"
17913 msgstr ""
17914
17915 # type: verbatim
17916 #: ../fish/guestfish-actions.pod:1478
17917 #, no-wrap
17918 msgid ""
17919 " initrd-list path\n"
17920 "\n"
17921 msgstr ""
17922
17923 # type: =head2
17924 #: ../fish/guestfish-actions.pod:1490
17925 msgid "inotify-add-watch"
17926 msgstr ""
17927
17928 # type: verbatim
17929 #: ../fish/guestfish-actions.pod:1492
17930 #, no-wrap
17931 msgid ""
17932 " inotify-add-watch path mask\n"
17933 "\n"
17934 msgstr ""
17935
17936 # type: =head2
17937 #: ../fish/guestfish-actions.pod:1504
17938 msgid "inotify-close"
17939 msgstr ""
17940
17941 # type: verbatim
17942 #: ../fish/guestfish-actions.pod:1506
17943 #, no-wrap
17944 msgid ""
17945 " inotify-close\n"
17946 "\n"
17947 msgstr ""
17948
17949 # type: =head2
17950 #: ../fish/guestfish-actions.pod:1512
17951 msgid "inotify-files"
17952 msgstr ""
17953
17954 # type: verbatim
17955 #: ../fish/guestfish-actions.pod:1514
17956 #, no-wrap
17957 msgid ""
17958 " inotify-files\n"
17959 "\n"
17960 msgstr ""
17961
17962 # type: textblock
17963 #: ../fish/guestfish-actions.pod:1516
17964 msgid ""
17965 "This function is a helpful wrapper around C<inotify-read> which just returns "
17966 "a list of pathnames of objects that were touched.  The returned pathnames "
17967 "are sorted and deduplicated."
17968 msgstr ""
17969
17970 # type: =head2
17971 #: ../fish/guestfish-actions.pod:1520
17972 msgid "inotify-init"
17973 msgstr ""
17974
17975 # type: verbatim
17976 #: ../fish/guestfish-actions.pod:1522
17977 #, no-wrap
17978 msgid ""
17979 " inotify-init maxevents\n"
17980 "\n"
17981 msgstr ""
17982
17983 # type: textblock
17984 #: ../fish/guestfish-actions.pod:1528
17985 msgid ""
17986 "C<maxevents> is the maximum number of events which will be queued up between "
17987 "calls to C<inotify-read> or C<inotify-files>.  If this is passed as C<0>, "
17988 "then the kernel (or previously set)  default is used.  For Linux 2.6.29 the "
17989 "default was 16384 events.  Beyond this limit, the kernel throws away events, "
17990 "but records the fact that it threw them away by setting a flag "
17991 "C<IN_Q_OVERFLOW> in the returned structure list (see C<inotify-read>)."
17992 msgstr ""
17993
17994 # type: textblock
17995 #: ../fish/guestfish-actions.pod:1538
17996 msgid ""
17997 "Before any events are generated, you have to add some watches to the "
17998 "internal watch list.  See: C<inotify-add-watch>, C<inotify-rm-watch> and "
17999 "C<inotify-watch-all>."
18000 msgstr ""
18001
18002 # type: textblock
18003 #: ../fish/guestfish-actions.pod:1544
18004 msgid ""
18005 "Queued up events should be read periodically by calling C<inotify-read> (or "
18006 "C<inotify-files> which is just a helpful wrapper around C<inotify-read>).  "
18007 "If you don't read the events out often enough then you risk the internal "
18008 "queue overflowing."
18009 msgstr ""
18010
18011 # type: textblock
18012 #: ../fish/guestfish-actions.pod:1551
18013 msgid ""
18014 "The handle should be closed after use by calling C<inotify-close>.  This "
18015 "also removes any watches automatically."
18016 msgstr ""
18017
18018 # type: =head2
18019 #: ../fish/guestfish-actions.pod:1560
18020 msgid "inotify-read"
18021 msgstr ""
18022
18023 # type: verbatim
18024 #: ../fish/guestfish-actions.pod:1562
18025 #, no-wrap
18026 msgid ""
18027 " inotify-read\n"
18028 "\n"
18029 msgstr ""
18030
18031 # type: =head2
18032 #: ../fish/guestfish-actions.pod:1575
18033 msgid "inotify-rm-watch"
18034 msgstr ""
18035
18036 # type: verbatim
18037 #: ../fish/guestfish-actions.pod:1577
18038 #, no-wrap
18039 msgid ""
18040 " inotify-rm-watch wd\n"
18041 "\n"
18042 msgstr ""
18043
18044 # type: textblock
18045 #: ../fish/guestfish-actions.pod:1579
18046 msgid "Remove a previously defined inotify watch.  See C<inotify-add-watch>."
18047 msgstr ""
18048
18049 # type: =head2
18050 #: ../fish/guestfish-actions.pod:1582
18051 msgid "inspect-get-arch"
18052 msgstr ""
18053
18054 # type: verbatim
18055 #: ../fish/guestfish-actions.pod:1584
18056 #, no-wrap
18057 msgid ""
18058 " inspect-get-arch root\n"
18059 "\n"
18060 msgstr ""
18061
18062 # type: textblock
18063 #: ../fish/guestfish-actions.pod:1586 ../fish/guestfish-actions.pod:1602 ../fish/guestfish-actions.pod:1648 ../fish/guestfish-actions.pod:1666 ../fish/guestfish-actions.pod:1687 ../fish/guestfish-actions.pod:1702 ../fish/guestfish-actions.pod:1725 ../fish/guestfish-actions.pod:1742
18064 msgid ""
18065 "This function should only be called with a root device string as returned by "
18066 "C<inspect-os>."
18067 msgstr ""
18068
18069 # type: textblock
18070 #: ../fish/guestfish-actions.pod:1589
18071 msgid ""
18072 "This returns the architecture of the inspected operating system.  The "
18073 "possible return values are listed under C<file-architecture>."
18074 msgstr ""
18075
18076 # type: =head2
18077 #: ../fish/guestfish-actions.pod:1598
18078 msgid "inspect-get-distro"
18079 msgstr ""
18080
18081 # type: verbatim
18082 #: ../fish/guestfish-actions.pod:1600
18083 #, no-wrap
18084 msgid ""
18085 " inspect-get-distro root\n"
18086 "\n"
18087 msgstr ""
18088
18089 # type: =head2
18090 #: ../fish/guestfish-actions.pod:1644
18091 msgid "inspect-get-filesystems"
18092 msgstr ""
18093
18094 # type: verbatim
18095 #: ../fish/guestfish-actions.pod:1646
18096 #, no-wrap
18097 msgid ""
18098 " inspect-get-filesystems root\n"
18099 "\n"
18100 msgstr ""
18101
18102 # type: textblock
18103 #: ../fish/guestfish-actions.pod:1659
18104 msgid ""
18105 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18106 "C<inspect-get-mountpoints>."
18107 msgstr ""
18108
18109 # type: =head2
18110 #: ../fish/guestfish-actions.pod:1662
18111 msgid "inspect-get-major-version"
18112 msgstr ""
18113
18114 # type: verbatim
18115 #: ../fish/guestfish-actions.pod:1664
18116 #, no-wrap
18117 msgid ""
18118 " inspect-get-major-version root\n"
18119 "\n"
18120 msgstr ""
18121
18122 # type: =head2
18123 #: ../fish/guestfish-actions.pod:1683
18124 msgid "inspect-get-minor-version"
18125 msgstr ""
18126
18127 # type: verbatim
18128 #: ../fish/guestfish-actions.pod:1685
18129 #, no-wrap
18130 msgid ""
18131 " inspect-get-minor-version root\n"
18132 "\n"
18133 msgstr ""
18134
18135 # type: textblock
18136 #: ../fish/guestfish-actions.pod:1695
18137 msgid ""
18138 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18139 "C<inspect-get-major-version>."
18140 msgstr ""
18141
18142 # type: =head2
18143 #: ../fish/guestfish-actions.pod:1698
18144 msgid "inspect-get-mountpoints"
18145 msgstr ""
18146
18147 # type: verbatim
18148 #: ../fish/guestfish-actions.pod:1700
18149 #, no-wrap
18150 msgid ""
18151 " inspect-get-mountpoints root\n"
18152 "\n"
18153 msgstr ""
18154
18155 # type: textblock
18156 #: ../fish/guestfish-actions.pod:1718
18157 msgid ""
18158 "Please read L<guestfs(3)/INSPECTION> for more details.  See also "
18159 "C<inspect-get-filesystems>."
18160 msgstr ""
18161
18162 # type: =head2
18163 #: ../fish/guestfish-actions.pod:1721
18164 msgid "inspect-get-product-name"
18165 msgstr ""
18166
18167 # type: verbatim
18168 #: ../fish/guestfish-actions.pod:1723
18169 #, no-wrap
18170 msgid ""
18171 " inspect-get-product-name root\n"
18172 "\n"
18173 msgstr ""
18174
18175 # type: =head2
18176 #: ../fish/guestfish-actions.pod:1738
18177 msgid "inspect-get-type"
18178 msgstr ""
18179
18180 # type: verbatim
18181 #: ../fish/guestfish-actions.pod:1740
18182 #, no-wrap
18183 msgid ""
18184 " inspect-get-type root\n"
18185 "\n"
18186 msgstr ""
18187
18188 # type: =head2
18189 #: ../fish/guestfish-actions.pod:1769
18190 msgid "inspect-os"
18191 msgstr ""
18192
18193 # type: verbatim
18194 #: ../fish/guestfish-actions.pod:1771
18195 #, no-wrap
18196 msgid ""
18197 " inspect-os\n"
18198 "\n"
18199 msgstr ""
18200
18201 # type: textblock
18202 #: ../fish/guestfish-actions.pod:1786
18203 msgid ""
18204 "You can pass the root string(s) returned to other C<inspect-get-*> functions "
18205 "in order to query further information about each operating system, such as "
18206 "the name and version."
18207 msgstr ""
18208
18209 # type: textblock
18210 #: ../fish/guestfish-actions.pod:1791
18211 msgid ""
18212 "This function uses other libguestfs features such as C<mount-ro> and "
18213 "C<umount-all> in order to mount and unmount filesystems and look at the "
18214 "contents.  This should be called with no disks currently mounted.  The "
18215 "function may also use Augeas, so any existing Augeas handle will be closed."
18216 msgstr ""
18217
18218 # type: =head2
18219 #: ../fish/guestfish-actions.pod:1803
18220 msgid "is-busy"
18221 msgstr ""
18222
18223 # type: verbatim
18224 #: ../fish/guestfish-actions.pod:1805
18225 #, no-wrap
18226 msgid ""
18227 " is-busy\n"
18228 "\n"
18229 msgstr ""
18230
18231 # type: =head2
18232 #: ../fish/guestfish-actions.pod:1812
18233 msgid "is-config"
18234 msgstr ""
18235
18236 # type: verbatim
18237 #: ../fish/guestfish-actions.pod:1814
18238 #, no-wrap
18239 msgid ""
18240 " is-config\n"
18241 "\n"
18242 msgstr ""
18243
18244 # type: =head2
18245 #: ../fish/guestfish-actions.pod:1821
18246 msgid "is-dir"
18247 msgstr ""
18248
18249 # type: verbatim
18250 #: ../fish/guestfish-actions.pod:1823
18251 #, no-wrap
18252 msgid ""
18253 " is-dir path\n"
18254 "\n"
18255 msgstr ""
18256
18257 # type: textblock
18258 #: ../fish/guestfish-actions.pod:1829 ../fish/guestfish-actions.pod:1839
18259 msgid "See also C<stat>."
18260 msgstr ""
18261
18262 # type: =head2
18263 #: ../fish/guestfish-actions.pod:1831
18264 msgid "is-file"
18265 msgstr ""
18266
18267 # type: verbatim
18268 #: ../fish/guestfish-actions.pod:1833
18269 #, no-wrap
18270 msgid ""
18271 " is-file path\n"
18272 "\n"
18273 msgstr ""
18274
18275 # type: =head2
18276 #: ../fish/guestfish-actions.pod:1841
18277 msgid "is-launching"
18278 msgstr ""
18279
18280 # type: verbatim
18281 #: ../fish/guestfish-actions.pod:1843
18282 #, no-wrap
18283 msgid ""
18284 " is-launching\n"
18285 "\n"
18286 msgstr ""
18287
18288 # type: =head2
18289 #: ../fish/guestfish-actions.pod:1850
18290 msgid "is-lv"
18291 msgstr ""
18292
18293 # type: verbatim
18294 #: ../fish/guestfish-actions.pod:1852
18295 #, no-wrap
18296 msgid ""
18297 " is-lv device\n"
18298 "\n"
18299 msgstr ""
18300
18301 # type: =head2
18302 #: ../fish/guestfish-actions.pod:1857
18303 msgid "is-ready"
18304 msgstr ""
18305
18306 # type: verbatim
18307 #: ../fish/guestfish-actions.pod:1859
18308 #, no-wrap
18309 msgid ""
18310 " is-ready\n"
18311 "\n"
18312 msgstr ""
18313
18314 # type: =head2
18315 #: ../fish/guestfish-actions.pod:1866
18316 msgid "kill-subprocess"
18317 msgstr ""
18318
18319 # type: verbatim
18320 #: ../fish/guestfish-actions.pod:1868
18321 #, no-wrap
18322 msgid ""
18323 " kill-subprocess\n"
18324 "\n"
18325 msgstr ""
18326
18327 # type: =head2
18328 #: ../fish/guestfish-actions.pod:1872
18329 msgid "launch | run"
18330 msgstr ""
18331
18332 # type: verbatim
18333 #: ../fish/guestfish-actions.pod:1874
18334 #, no-wrap
18335 msgid ""
18336 " launch\n"
18337 "\n"
18338 msgstr ""
18339
18340 # type: =head2
18341 #: ../fish/guestfish-actions.pod:1882
18342 msgid "lchown"
18343 msgstr ""
18344
18345 # type: verbatim
18346 #: ../fish/guestfish-actions.pod:1884
18347 #, no-wrap
18348 msgid ""
18349 " lchown owner group path\n"
18350 "\n"
18351 msgstr ""
18352
18353 # type: textblock
18354 #: ../fish/guestfish-actions.pod:1886
18355 msgid ""
18356 "Change the file owner to C<owner> and group to C<group>.  This is like "
18357 "C<chown> but if C<path> is a symlink then the link itself is changed, not "
18358 "the target."
18359 msgstr ""
18360
18361 # type: =head2
18362 #: ../fish/guestfish-actions.pod:1894
18363 msgid "lgetxattrs"
18364 msgstr ""
18365
18366 # type: verbatim
18367 #: ../fish/guestfish-actions.pod:1896
18368 #, no-wrap
18369 msgid ""
18370 " lgetxattrs path\n"
18371 "\n"
18372 msgstr ""
18373
18374 # type: textblock
18375 #: ../fish/guestfish-actions.pod:1898
18376 msgid ""
18377 "This is the same as C<getxattrs>, but if C<path> is a symbolic link, then it "
18378 "returns the extended attributes of the link itself."
18379 msgstr ""
18380
18381 # type: =head2
18382 #: ../fish/guestfish-actions.pod:1902
18383 msgid "list-devices"
18384 msgstr ""
18385
18386 # type: verbatim
18387 #: ../fish/guestfish-actions.pod:1904
18388 #, no-wrap
18389 msgid ""
18390 " list-devices\n"
18391 "\n"
18392 msgstr ""
18393
18394 # type: =head2
18395 #: ../fish/guestfish-actions.pod:1910
18396 msgid "list-partitions"
18397 msgstr ""
18398
18399 # type: verbatim
18400 #: ../fish/guestfish-actions.pod:1912
18401 #, no-wrap
18402 msgid ""
18403 " list-partitions\n"
18404 "\n"
18405 msgstr ""
18406
18407 # type: textblock
18408 #: ../fish/guestfish-actions.pod:1918
18409 msgid ""
18410 "This does not return logical volumes.  For that you will need to call "
18411 "C<lvs>."
18412 msgstr ""
18413
18414 # type: =head2
18415 #: ../fish/guestfish-actions.pod:1921
18416 msgid "ll"
18417 msgstr ""
18418
18419 # type: verbatim
18420 #: ../fish/guestfish-actions.pod:1923
18421 #, no-wrap
18422 msgid ""
18423 " ll directory\n"
18424 "\n"
18425 msgstr ""
18426
18427 # type: =head2
18428 #: ../fish/guestfish-actions.pod:1931
18429 msgid "ln"
18430 msgstr ""
18431
18432 # type: verbatim
18433 #: ../fish/guestfish-actions.pod:1933
18434 #, no-wrap
18435 msgid ""
18436 " ln target linkname\n"
18437 "\n"
18438 msgstr ""
18439
18440 # type: =head2
18441 #: ../fish/guestfish-actions.pod:1937
18442 msgid "ln-f"
18443 msgstr ""
18444
18445 # type: verbatim
18446 #: ../fish/guestfish-actions.pod:1939
18447 #, no-wrap
18448 msgid ""
18449 " ln-f target linkname\n"
18450 "\n"
18451 msgstr ""
18452
18453 # type: =head2
18454 #: ../fish/guestfish-actions.pod:1944
18455 msgid "ln-s"
18456 msgstr ""
18457
18458 # type: verbatim
18459 #: ../fish/guestfish-actions.pod:1946
18460 #, no-wrap
18461 msgid ""
18462 " ln-s target linkname\n"
18463 "\n"
18464 msgstr ""
18465
18466 # type: =head2
18467 #: ../fish/guestfish-actions.pod:1950
18468 msgid "ln-sf"
18469 msgstr ""
18470
18471 # type: verbatim
18472 #: ../fish/guestfish-actions.pod:1952
18473 #, no-wrap
18474 msgid ""
18475 " ln-sf target linkname\n"
18476 "\n"
18477 msgstr ""
18478
18479 # type: =head2
18480 #: ../fish/guestfish-actions.pod:1957
18481 msgid "lremovexattr"
18482 msgstr ""
18483
18484 # type: verbatim
18485 #: ../fish/guestfish-actions.pod:1959
18486 #, no-wrap
18487 msgid ""
18488 " lremovexattr xattr path\n"
18489 "\n"
18490 msgstr ""
18491
18492 # type: textblock
18493 #: ../fish/guestfish-actions.pod:1961
18494 msgid ""
18495 "This is the same as C<removexattr>, but if C<path> is a symbolic link, then "
18496 "it removes an extended attribute of the link itself."
18497 msgstr ""
18498
18499 # type: =head2
18500 #: ../fish/guestfish-actions.pod:1965
18501 msgid "ls"
18502 msgstr ""
18503
18504 # type: verbatim
18505 #: ../fish/guestfish-actions.pod:1967
18506 #, no-wrap
18507 msgid ""
18508 " ls directory\n"
18509 "\n"
18510 msgstr ""
18511
18512 # type: textblock
18513 #: ../fish/guestfish-actions.pod:1973
18514 msgid ""
18515 "This command is mostly useful for interactive sessions.  Programs should "
18516 "probably use C<readdir> instead."
18517 msgstr ""
18518
18519 # type: =head2
18520 #: ../fish/guestfish-actions.pod:1976
18521 msgid "lsetxattr"
18522 msgstr ""
18523
18524 # type: verbatim
18525 #: ../fish/guestfish-actions.pod:1978
18526 #, no-wrap
18527 msgid ""
18528 " lsetxattr xattr val vallen path\n"
18529 "\n"
18530 msgstr ""
18531
18532 # type: textblock
18533 #: ../fish/guestfish-actions.pod:1980
18534 msgid ""
18535 "This is the same as C<setxattr>, but if C<path> is a symbolic link, then it "
18536 "sets an extended attribute of the link itself."
18537 msgstr ""
18538
18539 # type: =head2
18540 #: ../fish/guestfish-actions.pod:1984
18541 msgid "lstat"
18542 msgstr ""
18543
18544 # type: verbatim
18545 #: ../fish/guestfish-actions.pod:1986
18546 #, no-wrap
18547 msgid ""
18548 " lstat path\n"
18549 "\n"
18550 msgstr ""
18551
18552 # type: textblock
18553 #: ../fish/guestfish-actions.pod:1990
18554 msgid ""
18555 "This is the same as C<stat> except that if C<path> is a symbolic link, then "
18556 "the link is stat-ed, not the file it refers to."
18557 msgstr ""
18558
18559 # type: =head2
18560 #: ../fish/guestfish-actions.pod:1996
18561 msgid "lstatlist"
18562 msgstr ""
18563
18564 # type: verbatim
18565 #: ../fish/guestfish-actions.pod:1998
18566 #, no-wrap
18567 msgid ""
18568 " lstatlist path 'names ...'\n"
18569 "\n"
18570 msgstr ""
18571
18572 # type: textblock
18573 #: ../fish/guestfish-actions.pod:2000
18574 msgid ""
18575 "This call allows you to perform the C<lstat> operation on multiple files, "
18576 "where all files are in the directory C<path>.  C<names> is the list of files "
18577 "from this directory."
18578 msgstr ""
18579
18580 # type: textblock
18581 #: ../fish/guestfish-actions.pod:2009
18582 msgid ""
18583 "This call is intended for programs that want to efficiently list a directory "
18584 "contents without making many round-trips.  See also C<lxattrlist> for a "
18585 "similarly efficient call for getting extended attributes.  Very long "
18586 "directory listings might cause the protocol message size to be exceeded, "
18587 "causing this call to fail.  The caller must split up such requests into "
18588 "smaller groups of names."
18589 msgstr ""
18590
18591 # type: =head2
18592 #: ../fish/guestfish-actions.pod:2017
18593 msgid "luks-add-key"
18594 msgstr ""
18595
18596 # type: verbatim
18597 #: ../fish/guestfish-actions.pod:2019
18598 #, no-wrap
18599 msgid ""
18600 " luks-add-key device keyslot\n"
18601 "\n"
18602 msgstr ""
18603
18604 # type: textblock
18605 #: ../fish/guestfish-actions.pod:2026
18606 msgid ""
18607 "Note that if C<keyslot> already contains a key, then this command will "
18608 "fail.  You have to use C<luks-kill-slot> first to remove that key."
18609 msgstr ""
18610
18611 # type: textblock
18612 #: ../fish/guestfish-actions.pod:2030 ../fish/guestfish-actions.pod:2052 ../fish/guestfish-actions.pod:2065 ../fish/guestfish-actions.pod:2079 ../fish/guestfish-actions.pod:2102 ../fish/guestfish-actions.pod:2112
18613 msgid ""
18614 "This command has one or more key or passphrase parameters.  Guestfish will "
18615 "prompt for these separately."
18616 msgstr ""
18617
18618 # type: =head2
18619 #: ../fish/guestfish-actions.pod:2033
18620 msgid "luks-close"
18621 msgstr ""
18622
18623 # type: verbatim
18624 #: ../fish/guestfish-actions.pod:2035
18625 #, no-wrap
18626 msgid ""
18627 " luks-close device\n"
18628 "\n"
18629 msgstr ""
18630
18631 # type: textblock
18632 #: ../fish/guestfish-actions.pod:2037
18633 msgid ""
18634 "This closes a LUKS device that was created earlier by C<luks-open> or "
18635 "C<luks-open-ro>.  The C<device> parameter must be the name of the LUKS "
18636 "mapping device (ie. C</dev/mapper/mapname>) and I<not> the name of the "
18637 "underlying block device."
18638 msgstr ""
18639
18640 # type: =head2
18641 #: ../fish/guestfish-actions.pod:2043
18642 msgid "luks-format"
18643 msgstr ""
18644
18645 # type: verbatim
18646 #: ../fish/guestfish-actions.pod:2045
18647 #, no-wrap
18648 msgid ""
18649 " luks-format device keyslot\n"
18650 "\n"
18651 msgstr ""
18652
18653 # type: =head2
18654 #: ../fish/guestfish-actions.pod:2058
18655 msgid "luks-format-cipher"
18656 msgstr ""
18657
18658 # type: verbatim
18659 #: ../fish/guestfish-actions.pod:2060
18660 #, no-wrap
18661 msgid ""
18662 " luks-format-cipher device keyslot cipher\n"
18663 "\n"
18664 msgstr ""
18665
18666 # type: textblock
18667 #: ../fish/guestfish-actions.pod:2062
18668 msgid ""
18669 "This command is the same as C<luks-format> but it also allows you to set the "
18670 "C<cipher> used."
18671 msgstr ""
18672
18673 # type: =head2
18674 #: ../fish/guestfish-actions.pod:2071
18675 msgid "luks-kill-slot"
18676 msgstr ""
18677
18678 # type: verbatim
18679 #: ../fish/guestfish-actions.pod:2073
18680 #, no-wrap
18681 msgid ""
18682 " luks-kill-slot device keyslot\n"
18683 "\n"
18684 msgstr ""
18685
18686 # type: =head2
18687 #: ../fish/guestfish-actions.pod:2082
18688 msgid "luks-open"
18689 msgstr ""
18690
18691 # type: verbatim
18692 #: ../fish/guestfish-actions.pod:2084
18693 #, no-wrap
18694 msgid ""
18695 " luks-open device mapname\n"
18696 "\n"
18697 msgstr ""
18698
18699 # type: textblock
18700 #: ../fish/guestfish-actions.pod:2098
18701 msgid ""
18702 "If this block device contains LVM volume groups, then calling C<vgscan> "
18703 "followed by C<vg-activate-all> will make them visible."
18704 msgstr ""
18705
18706 # type: =head2
18707 #: ../fish/guestfish-actions.pod:2105
18708 msgid "luks-open-ro"
18709 msgstr ""
18710
18711 # type: verbatim
18712 #: ../fish/guestfish-actions.pod:2107
18713 #, no-wrap
18714 msgid ""
18715 " luks-open-ro device mapname\n"
18716 "\n"
18717 msgstr ""
18718
18719 # type: textblock
18720 #: ../fish/guestfish-actions.pod:2109
18721 msgid "This is the same as C<luks-open> except that a read-only mapping is created."
18722 msgstr ""
18723
18724 # type: =head2
18725 #: ../fish/guestfish-actions.pod:2115
18726 msgid "lvcreate"
18727 msgstr ""
18728
18729 # type: verbatim
18730 #: ../fish/guestfish-actions.pod:2117
18731 #, no-wrap
18732 msgid ""
18733 " lvcreate logvol volgroup mbytes\n"
18734 "\n"
18735 msgstr ""
18736
18737 # type: =head2
18738 #: ../fish/guestfish-actions.pod:2122
18739 msgid "lvm-clear-filter"
18740 msgstr ""
18741
18742 # type: verbatim
18743 #: ../fish/guestfish-actions.pod:2124
18744 #, no-wrap
18745 msgid ""
18746 " lvm-clear-filter\n"
18747 "\n"
18748 msgstr ""
18749
18750 # type: textblock
18751 #: ../fish/guestfish-actions.pod:2126
18752 msgid ""
18753 "This undoes the effect of C<lvm-set-filter>.  LVM will be able to see every "
18754 "block device."
18755 msgstr ""
18756
18757 # type: =head2
18758 #: ../fish/guestfish-actions.pod:2132
18759 msgid "lvm-remove-all"
18760 msgstr ""
18761
18762 # type: verbatim
18763 #: ../fish/guestfish-actions.pod:2134
18764 #, no-wrap
18765 msgid ""
18766 " lvm-remove-all\n"
18767 "\n"
18768 msgstr ""
18769
18770 # type: =head2
18771 #: ../fish/guestfish-actions.pod:2142
18772 msgid "lvm-set-filter"
18773 msgstr ""
18774
18775 # type: verbatim
18776 #: ../fish/guestfish-actions.pod:2144
18777 #, no-wrap
18778 msgid ""
18779 " lvm-set-filter 'devices ...'\n"
18780 "\n"
18781 msgstr ""
18782
18783 # type: =head2
18784 #: ../fish/guestfish-actions.pod:2169
18785 msgid "lvremove"
18786 msgstr ""
18787
18788 # type: verbatim
18789 #: ../fish/guestfish-actions.pod:2171
18790 #, no-wrap
18791 msgid ""
18792 " lvremove device\n"
18793 "\n"
18794 msgstr ""
18795
18796 # type: =head2
18797 #: ../fish/guestfish-actions.pod:2179
18798 msgid "lvrename"
18799 msgstr ""
18800
18801 # type: verbatim
18802 #: ../fish/guestfish-actions.pod:2181
18803 #, no-wrap
18804 msgid ""
18805 " lvrename logvol newlogvol\n"
18806 "\n"
18807 msgstr ""
18808
18809 # type: =head2
18810 #: ../fish/guestfish-actions.pod:2185
18811 msgid "lvresize"
18812 msgstr ""
18813
18814 # type: verbatim
18815 #: ../fish/guestfish-actions.pod:2187
18816 #, no-wrap
18817 msgid ""
18818 " lvresize device mbytes\n"
18819 "\n"
18820 msgstr ""
18821
18822 # type: =head2
18823 #: ../fish/guestfish-actions.pod:2193
18824 msgid "lvresize-free"
18825 msgstr ""
18826
18827 # type: verbatim
18828 #: ../fish/guestfish-actions.pod:2195
18829 #, no-wrap
18830 msgid ""
18831 " lvresize-free lv percent\n"
18832 "\n"
18833 msgstr ""
18834
18835 # type: =head2
18836 #: ../fish/guestfish-actions.pod:2203
18837 msgid "lvs"
18838 msgstr ""
18839
18840 # type: verbatim
18841 #: ../fish/guestfish-actions.pod:2205
18842 #, no-wrap
18843 msgid ""
18844 " lvs\n"
18845 "\n"
18846 msgstr ""
18847
18848 # type: textblock
18849 #: ../fish/guestfish-actions.pod:2213
18850 msgid "See also C<lvs-full>."
18851 msgstr ""
18852
18853 # type: =head2
18854 #: ../fish/guestfish-actions.pod:2215
18855 msgid "lvs-full"
18856 msgstr ""
18857
18858 # type: verbatim
18859 #: ../fish/guestfish-actions.pod:2217
18860 #, no-wrap
18861 msgid ""
18862 " lvs-full\n"
18863 "\n"
18864 msgstr ""
18865
18866 # type: =head2
18867 #: ../fish/guestfish-actions.pod:2222
18868 msgid "lvuuid"
18869 msgstr ""
18870
18871 # type: verbatim
18872 #: ../fish/guestfish-actions.pod:2224
18873 #, no-wrap
18874 msgid ""
18875 " lvuuid device\n"
18876 "\n"
18877 msgstr ""
18878
18879 # type: =head2
18880 #: ../fish/guestfish-actions.pod:2228
18881 msgid "lxattrlist"
18882 msgstr ""
18883
18884 # type: verbatim
18885 #: ../fish/guestfish-actions.pod:2230
18886 #, no-wrap
18887 msgid ""
18888 " lxattrlist path 'names ...'\n"
18889 "\n"
18890 msgstr ""
18891
18892 # type: textblock
18893 #: ../fish/guestfish-actions.pod:2246
18894 msgid ""
18895 "This call is intended for programs that want to efficiently list a directory "
18896 "contents without making many round-trips.  See also C<lstatlist> for a "
18897 "similarly efficient call for getting standard stats.  Very long directory "
18898 "listings might cause the protocol message size to be exceeded, causing this "
18899 "call to fail.  The caller must split up such requests into smaller groups of "
18900 "names."
18901 msgstr ""
18902
18903 # type: =head2
18904 #: ../fish/guestfish-actions.pod:2254
18905 msgid "mkdir"
18906 msgstr ""
18907
18908 # type: verbatim
18909 #: ../fish/guestfish-actions.pod:2256
18910 #, no-wrap
18911 msgid ""
18912 " mkdir path\n"
18913 "\n"
18914 msgstr ""
18915
18916 # type: =head2
18917 #: ../fish/guestfish-actions.pod:2260
18918 msgid "mkdir-mode"
18919 msgstr ""
18920
18921 # type: verbatim
18922 #: ../fish/guestfish-actions.pod:2262
18923 #, no-wrap
18924 msgid ""
18925 " mkdir-mode path mode\n"
18926 "\n"
18927 msgstr ""
18928
18929 # type: textblock
18930 #: ../fish/guestfish-actions.pod:2271
18931 msgid "See also C<mkdir>, C<umask>"
18932 msgstr ""
18933
18934 # type: =head2
18935 #: ../fish/guestfish-actions.pod:2273
18936 msgid "mkdir-p"
18937 msgstr ""
18938
18939 # type: verbatim
18940 #: ../fish/guestfish-actions.pod:2275
18941 #, no-wrap
18942 msgid ""
18943 " mkdir-p path\n"
18944 "\n"
18945 msgstr ""
18946
18947 # type: =head2
18948 #: ../fish/guestfish-actions.pod:2280
18949 msgid "mkdtemp"
18950 msgstr ""
18951
18952 # type: verbatim
18953 #: ../fish/guestfish-actions.pod:2282
18954 #, no-wrap
18955 msgid ""
18956 " mkdtemp template\n"
18957 "\n"
18958 msgstr ""
18959
18960 # type: =head2
18961 #: ../fish/guestfish-actions.pod:2303
18962 msgid "mke2fs-J"
18963 msgstr ""
18964
18965 # type: verbatim
18966 #: ../fish/guestfish-actions.pod:2305
18967 #, no-wrap
18968 msgid ""
18969 " mke2fs-J fstype blocksize device journal\n"
18970 "\n"
18971 msgstr ""
18972
18973 # type: textblock
18974 #: ../fish/guestfish-actions.pod:2313
18975 msgid "See also C<mke2journal>."
18976 msgstr ""
18977
18978 # type: =head2
18979 #: ../fish/guestfish-actions.pod:2315
18980 msgid "mke2fs-JL"
18981 msgstr ""
18982
18983 # type: verbatim
18984 #: ../fish/guestfish-actions.pod:2317
18985 #, no-wrap
18986 msgid ""
18987 " mke2fs-JL fstype blocksize device label\n"
18988 "\n"
18989 msgstr ""
18990
18991 # type: textblock
18992 #: ../fish/guestfish-actions.pod:2322
18993 msgid "See also C<mke2journal-L>."
18994 msgstr ""
18995
18996 # type: =head2
18997 #: ../fish/guestfish-actions.pod:2324
18998 msgid "mke2fs-JU"
18999 msgstr ""
19000
19001 # type: verbatim
19002 #: ../fish/guestfish-actions.pod:2326
19003 #, no-wrap
19004 msgid ""
19005 " mke2fs-JU fstype blocksize device uuid\n"
19006 "\n"
19007 msgstr ""
19008
19009 # type: textblock
19010 #: ../fish/guestfish-actions.pod:2331
19011 msgid "See also C<mke2journal-U>."
19012 msgstr ""
19013
19014 # type: =head2
19015 #: ../fish/guestfish-actions.pod:2333
19016 msgid "mke2journal"
19017 msgstr ""
19018
19019 # type: verbatim
19020 #: ../fish/guestfish-actions.pod:2335
19021 #, no-wrap
19022 msgid ""
19023 " mke2journal blocksize device\n"
19024 "\n"
19025 msgstr ""
19026
19027 # type: =head2
19028 #: ../fish/guestfish-actions.pod:2342
19029 msgid "mke2journal-L"
19030 msgstr ""
19031
19032 # type: verbatim
19033 #: ../fish/guestfish-actions.pod:2344
19034 #, no-wrap
19035 msgid ""
19036 " mke2journal-L blocksize label device\n"
19037 "\n"
19038 msgstr ""
19039
19040 # type: =head2
19041 #: ../fish/guestfish-actions.pod:2348
19042 msgid "mke2journal-U"
19043 msgstr ""
19044
19045 # type: verbatim
19046 #: ../fish/guestfish-actions.pod:2350
19047 #, no-wrap
19048 msgid ""
19049 " mke2journal-U blocksize uuid device\n"
19050 "\n"
19051 msgstr ""
19052
19053 # type: =head2
19054 #: ../fish/guestfish-actions.pod:2354
19055 msgid "mkfifo"
19056 msgstr ""
19057
19058 # type: verbatim
19059 #: ../fish/guestfish-actions.pod:2356
19060 #, no-wrap
19061 msgid ""
19062 " mkfifo mode path\n"
19063 "\n"
19064 msgstr ""
19065
19066 # type: textblock
19067 #: ../fish/guestfish-actions.pod:2358
19068 msgid ""
19069 "This call creates a FIFO (named pipe) called C<path> with mode C<mode>.  It "
19070 "is just a convenient wrapper around C<mknod>."
19071 msgstr ""
19072
19073 # type: =head2
19074 #: ../fish/guestfish-actions.pod:2364
19075 msgid "mkfs"
19076 msgstr ""
19077
19078 # type: verbatim
19079 #: ../fish/guestfish-actions.pod:2366
19080 #, no-wrap
19081 msgid ""
19082 " mkfs fstype device\n"
19083 "\n"
19084 msgstr ""
19085
19086 # type: =head2
19087 #: ../fish/guestfish-actions.pod:2372
19088 msgid "mkfs-b"
19089 msgstr ""
19090
19091 # type: verbatim
19092 #: ../fish/guestfish-actions.pod:2374
19093 #, no-wrap
19094 msgid ""
19095 " mkfs-b fstype blocksize device\n"
19096 "\n"
19097 msgstr ""
19098
19099 # type: textblock
19100 #: ../fish/guestfish-actions.pod:2376
19101 msgid ""
19102 "This call is similar to C<mkfs>, but it allows you to control the block size "
19103 "of the resulting filesystem.  Supported block sizes depend on the filesystem "
19104 "type, but typically they are C<1024>, C<2048> or C<4096> only."
19105 msgstr ""
19106
19107 # type: =head2
19108 #: ../fish/guestfish-actions.pod:2384
19109 msgid "mkmountpoint"
19110 msgstr ""
19111
19112 # type: verbatim
19113 #: ../fish/guestfish-actions.pod:2386
19114 #, no-wrap
19115 msgid ""
19116 " mkmountpoint exemptpath\n"
19117 "\n"
19118 msgstr ""
19119
19120 # type: textblock
19121 #: ../fish/guestfish-actions.pod:2388
19122 msgid ""
19123 "C<mkmountpoint> and C<rmmountpoint> are specialized calls that can be used "
19124 "to create extra mountpoints before mounting the first filesystem."
19125 msgstr ""
19126
19127 # type: =head2
19128 #: ../fish/guestfish-actions.pod:2412
19129 msgid "mknod"
19130 msgstr ""
19131
19132 # type: verbatim
19133 #: ../fish/guestfish-actions.pod:2414
19134 #, no-wrap
19135 msgid ""
19136 " mknod mode devmajor devminor path\n"
19137 "\n"
19138 msgstr ""
19139
19140 # type: textblock
19141 #: ../fish/guestfish-actions.pod:2424
19142 msgid ""
19143 "Note that, just like L<mknod(2)>, the mode must be bitwise OR'd with "
19144 "S_IFBLK, S_IFCHR, S_IFIFO or S_IFSOCK (otherwise this call just creates a "
19145 "regular file).  These constants are available in the standard Linux header "
19146 "files, or you can use C<mknod-b>, C<mknod-c> or C<mkfifo> which are wrappers "
19147 "around this command which bitwise OR in the appropriate constant for you."
19148 msgstr ""
19149
19150 # type: =head2
19151 #: ../fish/guestfish-actions.pod:2434
19152 msgid "mknod-b"
19153 msgstr ""
19154
19155 # type: verbatim
19156 #: ../fish/guestfish-actions.pod:2436
19157 #, no-wrap
19158 msgid ""
19159 " mknod-b mode devmajor devminor path\n"
19160 "\n"
19161 msgstr ""
19162
19163 # type: textblock
19164 #: ../fish/guestfish-actions.pod:2438
19165 msgid ""
19166 "This call creates a block device node called C<path> with mode C<mode> and "
19167 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19168 "wrapper around C<mknod>."
19169 msgstr ""
19170
19171 # type: =head2
19172 #: ../fish/guestfish-actions.pod:2444
19173 msgid "mknod-c"
19174 msgstr ""
19175
19176 # type: verbatim
19177 #: ../fish/guestfish-actions.pod:2446
19178 #, no-wrap
19179 msgid ""
19180 " mknod-c mode devmajor devminor path\n"
19181 "\n"
19182 msgstr ""
19183
19184 # type: textblock
19185 #: ../fish/guestfish-actions.pod:2448
19186 msgid ""
19187 "This call creates a char device node called C<path> with mode C<mode> and "
19188 "device major/minor C<devmajor> and C<devminor>.  It is just a convenient "
19189 "wrapper around C<mknod>."
19190 msgstr ""
19191
19192 # type: =head2
19193 #: ../fish/guestfish-actions.pod:2454
19194 msgid "mkswap"
19195 msgstr ""
19196
19197 # type: verbatim
19198 #: ../fish/guestfish-actions.pod:2456
19199 #, no-wrap
19200 msgid ""
19201 " mkswap device\n"
19202 "\n"
19203 msgstr ""
19204
19205 # type: =head2
19206 #: ../fish/guestfish-actions.pod:2460
19207 msgid "mkswap-L"
19208 msgstr ""
19209
19210 # type: verbatim
19211 #: ../fish/guestfish-actions.pod:2462
19212 #, no-wrap
19213 msgid ""
19214 " mkswap-L label device\n"
19215 "\n"
19216 msgstr ""
19217
19218 # type: =head2
19219 #: ../fish/guestfish-actions.pod:2470
19220 msgid "mkswap-U"
19221 msgstr ""
19222
19223 # type: verbatim
19224 #: ../fish/guestfish-actions.pod:2472
19225 #, no-wrap
19226 msgid ""
19227 " mkswap-U uuid device\n"
19228 "\n"
19229 msgstr ""
19230
19231 # type: =head2
19232 #: ../fish/guestfish-actions.pod:2476
19233 msgid "mkswap-file"
19234 msgstr ""
19235
19236 # type: verbatim
19237 #: ../fish/guestfish-actions.pod:2478
19238 #, no-wrap
19239 msgid ""
19240 " mkswap-file path\n"
19241 "\n"
19242 msgstr ""
19243
19244 # type: textblock
19245 #: ../fish/guestfish-actions.pod:2482
19246 msgid ""
19247 "This command just writes a swap file signature to an existing file.  To "
19248 "create the file itself, use something like C<fallocate>."
19249 msgstr ""
19250
19251 # type: =head2
19252 #: ../fish/guestfish-actions.pod:2485
19253 msgid "modprobe"
19254 msgstr ""
19255
19256 # type: verbatim
19257 #: ../fish/guestfish-actions.pod:2487
19258 #, no-wrap
19259 msgid ""
19260 " modprobe modulename\n"
19261 "\n"
19262 msgstr ""
19263
19264 # type: =head2
19265 #: ../fish/guestfish-actions.pod:2494
19266 msgid "mount"
19267 msgstr ""
19268
19269 # type: verbatim
19270 #: ../fish/guestfish-actions.pod:2496
19271 #, no-wrap
19272 msgid ""
19273 " mount device mountpoint\n"
19274 "\n"
19275 msgstr ""
19276
19277 # type: textblock
19278 #: ../fish/guestfish-actions.pod:2512
19279 msgid ""
19280 "B<Important note:> When you use this call, the filesystem options C<sync> "
19281 "and C<noatime> are set implicitly.  This was originally done because we "
19282 "thought it would improve reliability, but it turns out that I<-o sync> has a "
19283 "very large negative performance impact and negligible effect on "
19284 "reliability.  Therefore we recommend that you avoid using C<mount> in any "
19285 "code that needs performance, and instead use C<mount-options> (use an empty "
19286 "string for the first parameter if you don't want any options)."
19287 msgstr ""
19288
19289 # type: =head2
19290 #: ../fish/guestfish-actions.pod:2522
19291 msgid "mount-loop"
19292 msgstr ""
19293
19294 # type: verbatim
19295 #: ../fish/guestfish-actions.pod:2524
19296 #, no-wrap
19297 msgid ""
19298 " mount-loop file mountpoint\n"
19299 "\n"
19300 msgstr ""
19301
19302 # type: =head2
19303 #: ../fish/guestfish-actions.pod:2530
19304 msgid "mount-options"
19305 msgstr ""
19306
19307 # type: verbatim
19308 #: ../fish/guestfish-actions.pod:2532
19309 #, no-wrap
19310 msgid ""
19311 " mount-options options device mountpoint\n"
19312 "\n"
19313 msgstr ""
19314
19315 # type: textblock
19316 #: ../fish/guestfish-actions.pod:2534
19317 msgid ""
19318 "This is the same as the C<mount> command, but it allows you to set the mount "
19319 "options as for the L<mount(8)> I<-o> flag."
19320 msgstr ""
19321
19322 # type: =head2
19323 #: ../fish/guestfish-actions.pod:2542
19324 msgid "mount-ro"
19325 msgstr ""
19326
19327 # type: verbatim
19328 #: ../fish/guestfish-actions.pod:2544
19329 #, no-wrap
19330 msgid ""
19331 " mount-ro device mountpoint\n"
19332 "\n"
19333 msgstr ""
19334
19335 # type: textblock
19336 #: ../fish/guestfish-actions.pod:2546
19337 msgid ""
19338 "This is the same as the C<mount> command, but it mounts the filesystem with "
19339 "the read-only (I<-o ro>) flag."
19340 msgstr ""
19341
19342 # type: =head2
19343 #: ../fish/guestfish-actions.pod:2549
19344 msgid "mount-vfs"
19345 msgstr ""
19346
19347 # type: verbatim
19348 #: ../fish/guestfish-actions.pod:2551
19349 #, no-wrap
19350 msgid ""
19351 " mount-vfs options vfstype device mountpoint\n"
19352 "\n"
19353 msgstr ""
19354
19355 # type: textblock
19356 #: ../fish/guestfish-actions.pod:2553
19357 msgid ""
19358 "This is the same as the C<mount> command, but it allows you to set both the "
19359 "mount options and the vfstype as for the L<mount(8)> I<-o> and I<-t> flags."
19360 msgstr ""
19361
19362 # type: =head2
19363 #: ../fish/guestfish-actions.pod:2557
19364 msgid "mountpoints"
19365 msgstr ""
19366
19367 # type: verbatim
19368 #: ../fish/guestfish-actions.pod:2559
19369 #, no-wrap
19370 msgid ""
19371 " mountpoints\n"
19372 "\n"
19373 msgstr ""
19374
19375 # type: textblock
19376 #: ../fish/guestfish-actions.pod:2561
19377 msgid ""
19378 "This call is similar to C<mounts>.  That call returns a list of devices.  "
19379 "This one returns a hash table (map) of device name to directory where the "
19380 "device is mounted."
19381 msgstr ""
19382
19383 # type: =head2
19384 #: ../fish/guestfish-actions.pod:2565
19385 msgid "mounts"
19386 msgstr ""
19387
19388 # type: verbatim
19389 #: ../fish/guestfish-actions.pod:2567
19390 #, no-wrap
19391 msgid ""
19392 " mounts\n"
19393 "\n"
19394 msgstr ""
19395
19396 # type: textblock
19397 #: ../fish/guestfish-actions.pod:2574
19398 msgid "See also: C<mountpoints>"
19399 msgstr ""
19400
19401 # type: =head2
19402 #: ../fish/guestfish-actions.pod:2576
19403 msgid "mv"
19404 msgstr ""
19405
19406 # type: verbatim
19407 #: ../fish/guestfish-actions.pod:2578
19408 #, no-wrap
19409 msgid ""
19410 " mv src dest\n"
19411 "\n"
19412 msgstr ""
19413
19414 # type: =head2
19415 #: ../fish/guestfish-actions.pod:2583
19416 msgid "ntfs-3g-probe"
19417 msgstr ""
19418
19419 # type: verbatim
19420 #: ../fish/guestfish-actions.pod:2585
19421 #, no-wrap
19422 msgid ""
19423 " ntfs-3g-probe true|false device\n"
19424 "\n"
19425 msgstr ""
19426
19427 # type: =head2
19428 #: ../fish/guestfish-actions.pod:2599
19429 msgid "ntfsresize"
19430 msgstr ""
19431
19432 # type: verbatim
19433 #: ../fish/guestfish-actions.pod:2601
19434 #, no-wrap
19435 msgid ""
19436 " ntfsresize device\n"
19437 "\n"
19438 msgstr ""
19439
19440 # type: =head2
19441 #: ../fish/guestfish-actions.pod:2607
19442 msgid "ntfsresize-size"
19443 msgstr ""
19444
19445 # type: verbatim
19446 #: ../fish/guestfish-actions.pod:2609
19447 #, no-wrap
19448 msgid ""
19449 " ntfsresize-size device size\n"
19450 "\n"
19451 msgstr ""
19452
19453 # type: textblock
19454 #: ../fish/guestfish-actions.pod:2611
19455 msgid ""
19456 "This command is the same as C<ntfsresize> except that it allows you to "
19457 "specify the new size (in bytes) explicitly."
19458 msgstr ""
19459
19460 # type: =head2
19461 #: ../fish/guestfish-actions.pod:2614
19462 msgid "part-add"
19463 msgstr ""
19464
19465 # type: verbatim
19466 #: ../fish/guestfish-actions.pod:2616
19467 #, no-wrap
19468 msgid ""
19469 " part-add device prlogex startsect endsect\n"
19470 "\n"
19471 msgstr ""
19472
19473 # type: textblock
19474 #: ../fish/guestfish-actions.pod:2618
19475 msgid ""
19476 "This command adds a partition to C<device>.  If there is no partition table "
19477 "on the device, call C<part-init> first."
19478 msgstr ""
19479
19480 # type: textblock
19481 #: ../fish/guestfish-actions.pod:2630
19482 msgid ""
19483 "Creating a partition which covers the whole disk is not so easy.  Use "
19484 "C<part-disk> to do that."
19485 msgstr ""
19486
19487 # type: =head2
19488 #: ../fish/guestfish-actions.pod:2633
19489 msgid "part-del"
19490 msgstr ""
19491
19492 # type: verbatim
19493 #: ../fish/guestfish-actions.pod:2635
19494 #, no-wrap
19495 msgid ""
19496 " part-del device partnum\n"
19497 "\n"
19498 msgstr ""
19499
19500 # type: =head2
19501 #: ../fish/guestfish-actions.pod:2643
19502 msgid "part-disk"
19503 msgstr ""
19504
19505 # type: verbatim
19506 #: ../fish/guestfish-actions.pod:2645
19507 #, no-wrap
19508 msgid ""
19509 " part-disk device parttype\n"
19510 "\n"
19511 msgstr ""
19512
19513 # type: textblock
19514 #: ../fish/guestfish-actions.pod:2647
19515 msgid ""
19516 "This command is simply a combination of C<part-init> followed by C<part-add> "
19517 "to create a single primary partition covering the whole disk."
19518 msgstr ""
19519
19520 # type: textblock
19521 #: ../fish/guestfish-actions.pod:2651
19522 msgid ""
19523 "C<parttype> is the partition table type, usually C<mbr> or C<gpt>, but other "
19524 "possible values are described in C<part-init>."
19525 msgstr ""
19526
19527 # type: =head2
19528 #: ../fish/guestfish-actions.pod:2657
19529 msgid "part-get-bootable"
19530 msgstr ""
19531
19532 # type: verbatim
19533 #: ../fish/guestfish-actions.pod:2659
19534 #, no-wrap
19535 msgid ""
19536 " part-get-bootable device partnum\n"
19537 "\n"
19538 msgstr ""
19539
19540 # type: textblock
19541 #: ../fish/guestfish-actions.pod:2664
19542 msgid "See also C<part-set-bootable>."
19543 msgstr ""
19544
19545 # type: =head2
19546 #: ../fish/guestfish-actions.pod:2666
19547 msgid "part-get-mbr-id"
19548 msgstr ""
19549
19550 # type: verbatim
19551 #: ../fish/guestfish-actions.pod:2668
19552 #, no-wrap
19553 msgid ""
19554 " part-get-mbr-id device partnum\n"
19555 "\n"
19556 msgstr ""
19557
19558 # type: textblock
19559 #: ../fish/guestfish-actions.pod:2673 ../fish/guestfish-actions.pod:2811
19560 msgid ""
19561 "Note that only MBR (old DOS-style) partitions have type bytes.  You will get "
19562 "undefined results for other partition table types (see "
19563 "C<part-get-parttype>)."
19564 msgstr ""
19565
19566 # type: =head2
19567 #: ../fish/guestfish-actions.pod:2677
19568 msgid "part-get-parttype"
19569 msgstr ""
19570
19571 # type: verbatim
19572 #: ../fish/guestfish-actions.pod:2679
19573 #, no-wrap
19574 msgid ""
19575 " part-get-parttype device\n"
19576 "\n"
19577 msgstr ""
19578
19579 # type: textblock
19580 #: ../fish/guestfish-actions.pod:2684
19581 msgid ""
19582 "Common return values include: C<msdos> (a DOS/Windows style MBR partition "
19583 "table), C<gpt> (a GPT/EFI-style partition table).  Other values are "
19584 "possible, although unusual.  See C<part-init> for a full list."
19585 msgstr ""
19586
19587 # type: =head2
19588 #: ../fish/guestfish-actions.pod:2689
19589 msgid "part-init"
19590 msgstr ""
19591
19592 # type: verbatim
19593 #: ../fish/guestfish-actions.pod:2691
19594 #, no-wrap
19595 msgid ""
19596 " part-init device parttype\n"
19597 "\n"
19598 msgstr ""
19599
19600 # type: textblock
19601 #: ../fish/guestfish-actions.pod:2697
19602 msgid ""
19603 "Initially there are no partitions.  Following this, you should call "
19604 "C<part-add> for each partition required."
19605 msgstr ""
19606
19607 # type: =head2
19608 #: ../fish/guestfish-actions.pod:2760
19609 msgid "part-list"
19610 msgstr ""
19611
19612 # type: verbatim
19613 #: ../fish/guestfish-actions.pod:2762
19614 #, no-wrap
19615 msgid ""
19616 " part-list device\n"
19617 "\n"
19618 msgstr ""
19619
19620 # type: textblock
19621 #: ../fish/guestfish-actions.pod:2777
19622 msgid ""
19623 "Start of the partition I<in bytes>.  To get sectors you have to divide by "
19624 "the device's sector size, see C<blockdev-getss>."
19625 msgstr ""
19626
19627 # type: =head2
19628 #: ../fish/guestfish-actions.pod:2790
19629 msgid "part-set-bootable"
19630 msgstr ""
19631
19632 # type: verbatim
19633 #: ../fish/guestfish-actions.pod:2792
19634 #, no-wrap
19635 msgid ""
19636 " part-set-bootable device partnum true|false\n"
19637 "\n"
19638 msgstr ""
19639
19640 # type: =head2
19641 #: ../fish/guestfish-actions.pod:2801
19642 msgid "part-set-mbr-id"
19643 msgstr ""
19644
19645 # type: verbatim
19646 #: ../fish/guestfish-actions.pod:2803
19647 #, no-wrap
19648 msgid ""
19649 " part-set-mbr-id device partnum idbyte\n"
19650 "\n"
19651 msgstr ""
19652
19653 # type: =head2
19654 #: ../fish/guestfish-actions.pod:2815
19655 msgid "part-set-name"
19656 msgstr ""
19657
19658 # type: verbatim
19659 #: ../fish/guestfish-actions.pod:2817
19660 #, no-wrap
19661 msgid ""
19662 " part-set-name device partnum name\n"
19663 "\n"
19664 msgstr ""
19665
19666 # type: =head2
19667 #: ../fish/guestfish-actions.pod:2825
19668 msgid "ping-daemon"
19669 msgstr ""
19670
19671 # type: verbatim
19672 #: ../fish/guestfish-actions.pod:2827
19673 #, no-wrap
19674 msgid ""
19675 " ping-daemon\n"
19676 "\n"
19677 msgstr ""
19678
19679 # type: =head2
19680 #: ../fish/guestfish-actions.pod:2834
19681 msgid "pread"
19682 msgstr ""
19683
19684 # type: verbatim
19685 #: ../fish/guestfish-actions.pod:2836
19686 #, no-wrap
19687 msgid ""
19688 " pread path count offset\n"
19689 "\n"
19690 msgstr ""
19691
19692 # type: textblock
19693 #: ../fish/guestfish-actions.pod:2844
19694 msgid "See also C<pwrite>."
19695 msgstr ""
19696
19697 # type: =head2
19698 #: ../fish/guestfish-actions.pod:2849
19699 msgid "pvcreate"
19700 msgstr ""
19701
19702 # type: verbatim
19703 #: ../fish/guestfish-actions.pod:2851
19704 #, no-wrap
19705 msgid ""
19706 " pvcreate device\n"
19707 "\n"
19708 msgstr ""
19709
19710 # type: =head2
19711 #: ../fish/guestfish-actions.pod:2857
19712 msgid "pvremove"
19713 msgstr ""
19714
19715 # type: verbatim
19716 #: ../fish/guestfish-actions.pod:2859
19717 #, no-wrap
19718 msgid ""
19719 " pvremove device\n"
19720 "\n"
19721 msgstr ""
19722
19723 # type: =head2
19724 #: ../fish/guestfish-actions.pod:2868
19725 msgid "pvresize"
19726 msgstr ""
19727
19728 # type: verbatim
19729 #: ../fish/guestfish-actions.pod:2870
19730 #, no-wrap
19731 msgid ""
19732 " pvresize device\n"
19733 "\n"
19734 msgstr ""
19735
19736 # type: =head2
19737 #: ../fish/guestfish-actions.pod:2875
19738 msgid "pvresize-size"
19739 msgstr ""
19740
19741 # type: verbatim
19742 #: ../fish/guestfish-actions.pod:2877
19743 #, no-wrap
19744 msgid ""
19745 " pvresize-size device size\n"
19746 "\n"
19747 msgstr ""
19748
19749 # type: textblock
19750 #: ../fish/guestfish-actions.pod:2879
19751 msgid ""
19752 "This command is the same as C<pvresize> except that it allows you to specify "
19753 "the new size (in bytes) explicitly."
19754 msgstr ""
19755
19756 # type: =head2
19757 #: ../fish/guestfish-actions.pod:2882
19758 msgid "pvs"
19759 msgstr ""
19760
19761 # type: verbatim
19762 #: ../fish/guestfish-actions.pod:2884
19763 #, no-wrap
19764 msgid ""
19765 " pvs\n"
19766 "\n"
19767 msgstr ""
19768
19769 # type: textblock
19770 #: ../fish/guestfish-actions.pod:2892
19771 msgid "See also C<pvs-full>."
19772 msgstr ""
19773
19774 # type: =head2
19775 #: ../fish/guestfish-actions.pod:2894
19776 msgid "pvs-full"
19777 msgstr ""
19778
19779 # type: verbatim
19780 #: ../fish/guestfish-actions.pod:2896
19781 #, no-wrap
19782 msgid ""
19783 " pvs-full\n"
19784 "\n"
19785 msgstr ""
19786
19787 # type: =head2
19788 #: ../fish/guestfish-actions.pod:2901
19789 msgid "pvuuid"
19790 msgstr ""
19791
19792 # type: verbatim
19793 #: ../fish/guestfish-actions.pod:2903
19794 #, no-wrap
19795 msgid ""
19796 " pvuuid device\n"
19797 "\n"
19798 msgstr ""
19799
19800 # type: =head2
19801 #: ../fish/guestfish-actions.pod:2907
19802 msgid "pwrite"
19803 msgstr ""
19804
19805 # type: verbatim
19806 #: ../fish/guestfish-actions.pod:2909
19807 #, no-wrap
19808 msgid ""
19809 " pwrite path content offset\n"
19810 "\n"
19811 msgstr ""
19812
19813 # type: textblock
19814 #: ../fish/guestfish-actions.pod:2920
19815 msgid "See also C<pread>."
19816 msgstr ""
19817
19818 # type: =head2
19819 #: ../fish/guestfish-actions.pod:2925
19820 msgid "read-file"
19821 msgstr ""
19822
19823 # type: verbatim
19824 #: ../fish/guestfish-actions.pod:2927
19825 #, no-wrap
19826 msgid ""
19827 " read-file path\n"
19828 "\n"
19829 msgstr ""
19830
19831 # type: textblock
19832 #: ../fish/guestfish-actions.pod:2932
19833 msgid ""
19834 "Unlike C<cat>, this function can correctly handle files that contain "
19835 "embedded ASCII NUL characters.  However unlike C<download>, this function is "
19836 "limited in the total size of file that can be handled."
19837 msgstr ""
19838
19839 # type: =head2
19840 #: ../fish/guestfish-actions.pod:2940
19841 msgid "read-lines"
19842 msgstr ""
19843
19844 # type: verbatim
19845 #: ../fish/guestfish-actions.pod:2942
19846 #, no-wrap
19847 msgid ""
19848 " read-lines path\n"
19849 "\n"
19850 msgstr ""
19851
19852 # type: textblock
19853 #: ../fish/guestfish-actions.pod:2949
19854 msgid ""
19855 "Note that this function cannot correctly handle binary files (specifically, "
19856 "files containing C<\\0> character which is treated as end of line).  For "
19857 "those you need to use the C<read-file> function which has a more complex "
19858 "interface."
19859 msgstr ""
19860
19861 # type: =head2
19862 #: ../fish/guestfish-actions.pod:2954
19863 msgid "readdir"
19864 msgstr ""
19865
19866 # type: verbatim
19867 #: ../fish/guestfish-actions.pod:2956
19868 #, no-wrap
19869 msgid ""
19870 " readdir dir\n"
19871 "\n"
19872 msgstr ""
19873
19874 # type: textblock
19875 #: ../fish/guestfish-actions.pod:3008
19876 msgid ""
19877 "This function is primarily intended for use by programs.  To get a simple "
19878 "list of names, use C<ls>.  To get a printable directory for human "
19879 "consumption, use C<ll>."
19880 msgstr ""
19881
19882 # type: =head2
19883 #: ../fish/guestfish-actions.pod:3012
19884 msgid "readlink"
19885 msgstr ""
19886
19887 # type: verbatim
19888 #: ../fish/guestfish-actions.pod:3014
19889 #, no-wrap
19890 msgid ""
19891 " readlink path\n"
19892 "\n"
19893 msgstr ""
19894
19895 # type: =head2
19896 #: ../fish/guestfish-actions.pod:3018
19897 msgid "readlinklist"
19898 msgstr ""
19899
19900 # type: verbatim
19901 #: ../fish/guestfish-actions.pod:3020
19902 #, no-wrap
19903 msgid ""
19904 " readlinklist path 'names ...'\n"
19905 "\n"
19906 msgstr ""
19907
19908 # type: =head2
19909 #: ../fish/guestfish-actions.pod:3044
19910 msgid "realpath"
19911 msgstr ""
19912
19913 # type: verbatim
19914 #: ../fish/guestfish-actions.pod:3046
19915 #, no-wrap
19916 msgid ""
19917 " realpath path\n"
19918 "\n"
19919 msgstr ""
19920
19921 # type: =head2
19922 #: ../fish/guestfish-actions.pod:3051
19923 msgid "removexattr"
19924 msgstr ""
19925
19926 # type: verbatim
19927 #: ../fish/guestfish-actions.pod:3053
19928 #, no-wrap
19929 msgid ""
19930 " removexattr xattr path\n"
19931 "\n"
19932 msgstr ""
19933
19934 # type: textblock
19935 #: ../fish/guestfish-actions.pod:3058
19936 msgid "See also: C<lremovexattr>, L<attr(5)>."
19937 msgstr ""
19938
19939 # type: =head2
19940 #: ../fish/guestfish-actions.pod:3060
19941 msgid "resize2fs"
19942 msgstr ""
19943
19944 # type: verbatim
19945 #: ../fish/guestfish-actions.pod:3062
19946 #, no-wrap
19947 msgid ""
19948 " resize2fs device\n"
19949 "\n"
19950 msgstr ""
19951
19952 # type: textblock
19953 #: ../fish/guestfish-actions.pod:3067
19954 msgid ""
19955 "I<Note:> It is sometimes required that you run C<e2fsck-f> on the C<device> "
19956 "before calling this command.  For unknown reasons C<resize2fs> sometimes "
19957 "gives an error about this and sometimes not.  In any case, it is always safe "
19958 "to call C<e2fsck-f> before calling this function."
19959 msgstr ""
19960
19961 # type: =head2
19962 #: ../fish/guestfish-actions.pod:3073
19963 msgid "resize2fs-size"
19964 msgstr ""
19965
19966 # type: verbatim
19967 #: ../fish/guestfish-actions.pod:3075
19968 #, no-wrap
19969 msgid ""
19970 " resize2fs-size device size\n"
19971 "\n"
19972 msgstr ""
19973
19974 # type: textblock
19975 #: ../fish/guestfish-actions.pod:3077
19976 msgid ""
19977 "This command is the same as C<resize2fs> except that it allows you to "
19978 "specify the new size (in bytes) explicitly."
19979 msgstr ""
19980
19981 # type: =head2
19982 #: ../fish/guestfish-actions.pod:3080
19983 msgid "rm"
19984 msgstr ""
19985
19986 # type: verbatim
19987 #: ../fish/guestfish-actions.pod:3082
19988 #, no-wrap
19989 msgid ""
19990 " rm path\n"
19991 "\n"
19992 msgstr ""
19993
19994 # type: =head2
19995 #: ../fish/guestfish-actions.pod:3086
19996 msgid "rm-rf"
19997 msgstr ""
19998
19999 # type: verbatim
20000 #: ../fish/guestfish-actions.pod:3088
20001 #, no-wrap
20002 msgid ""
20003 " rm-rf path\n"
20004 "\n"
20005 msgstr ""
20006
20007 # type: =head2
20008 #: ../fish/guestfish-actions.pod:3094
20009 msgid "rmdir"
20010 msgstr ""
20011
20012 # type: verbatim
20013 #: ../fish/guestfish-actions.pod:3096
20014 #, no-wrap
20015 msgid ""
20016 " rmdir path\n"
20017 "\n"
20018 msgstr ""
20019
20020 # type: =head2
20021 #: ../fish/guestfish-actions.pod:3100
20022 msgid "rmmountpoint"
20023 msgstr ""
20024
20025 # type: verbatim
20026 #: ../fish/guestfish-actions.pod:3102
20027 #, no-wrap
20028 msgid ""
20029 " rmmountpoint exemptpath\n"
20030 "\n"
20031 msgstr ""
20032
20033 # type: textblock
20034 #: ../fish/guestfish-actions.pod:3104
20035 msgid ""
20036 "This calls removes a mountpoint that was previously created with "
20037 "C<mkmountpoint>.  See C<mkmountpoint> for full details."
20038 msgstr ""
20039
20040 # type: =head2
20041 #: ../fish/guestfish-actions.pod:3108
20042 msgid "scrub-device"
20043 msgstr ""
20044
20045 # type: verbatim
20046 #: ../fish/guestfish-actions.pod:3110
20047 #, no-wrap
20048 msgid ""
20049 " scrub-device device\n"
20050 "\n"
20051 msgstr ""
20052
20053 # type: =head2
20054 #: ../fish/guestfish-actions.pod:3121
20055 msgid "scrub-file"
20056 msgstr ""
20057
20058 # type: verbatim
20059 #: ../fish/guestfish-actions.pod:3123
20060 #, no-wrap
20061 msgid ""
20062 " scrub-file file\n"
20063 "\n"
20064 msgstr ""
20065
20066 # type: =head2
20067 #: ../fish/guestfish-actions.pod:3133
20068 msgid "scrub-freespace"
20069 msgstr ""
20070
20071 # type: verbatim
20072 #: ../fish/guestfish-actions.pod:3135
20073 #, no-wrap
20074 msgid ""
20075 " scrub-freespace dir\n"
20076 "\n"
20077 msgstr ""
20078
20079 # type: textblock
20080 #: ../fish/guestfish-actions.pod:3137
20081 msgid ""
20082 "This command creates the directory C<dir> and then fills it with files until "
20083 "the filesystem is full, and scrubs the files as for C<scrub-file>, and "
20084 "deletes them.  The intention is to scrub any free space on the partition "
20085 "containing C<dir>."
20086 msgstr ""
20087
20088 # type: =head2
20089 #: ../fish/guestfish-actions.pod:3146
20090 msgid "set-append | append"
20091 msgstr ""
20092
20093 # type: verbatim
20094 #: ../fish/guestfish-actions.pod:3148
20095 #, no-wrap
20096 msgid ""
20097 " set-append append\n"
20098 "\n"
20099 msgstr ""
20100
20101 # type: =head2
20102 #: ../fish/guestfish-actions.pod:3159
20103 msgid "set-autosync | autosync"
20104 msgstr ""
20105
20106 # type: verbatim
20107 #: ../fish/guestfish-actions.pod:3161
20108 #, no-wrap
20109 msgid ""
20110 " set-autosync true|false\n"
20111 "\n"
20112 msgstr ""
20113
20114 # type: textblock
20115 #: ../fish/guestfish-actions.pod:3163
20116 msgid ""
20117 "If C<autosync> is true, this enables autosync.  Libguestfs will make a best "
20118 "effort attempt to run C<umount-all> followed by C<sync> when the handle is "
20119 "closed (also if the program exits without closing handles)."
20120 msgstr ""
20121
20122 # type: =head2
20123 #: ../fish/guestfish-actions.pod:3171
20124 msgid "set-direct | direct"
20125 msgstr ""
20126
20127 # type: verbatim
20128 #: ../fish/guestfish-actions.pod:3173
20129 #, no-wrap
20130 msgid ""
20131 " set-direct true|false\n"
20132 "\n"
20133 msgstr ""
20134
20135 # type: textblock
20136 #: ../fish/guestfish-actions.pod:3179
20137 msgid ""
20138 "One consequence of this is that log messages aren't caught by the library "
20139 "and handled by C<set-log-message-callback>, but go straight to stdout."
20140 msgstr ""
20141
20142 # type: =head2
20143 #: ../fish/guestfish-actions.pod:3188
20144 msgid "set-e2label"
20145 msgstr ""
20146
20147 # type: verbatim
20148 #: ../fish/guestfish-actions.pod:3190
20149 #, no-wrap
20150 msgid ""
20151 " set-e2label device label\n"
20152 "\n"
20153 msgstr ""
20154
20155 # type: textblock
20156 #: ../fish/guestfish-actions.pod:3196
20157 msgid ""
20158 "You can use either C<tune2fs-l> or C<get-e2label> to return the existing "
20159 "label on a filesystem."
20160 msgstr ""
20161
20162 # type: =head2
20163 #: ../fish/guestfish-actions.pod:3199
20164 msgid "set-e2uuid"
20165 msgstr ""
20166
20167 # type: verbatim
20168 #: ../fish/guestfish-actions.pod:3201
20169 #, no-wrap
20170 msgid ""
20171 " set-e2uuid device uuid\n"
20172 "\n"
20173 msgstr ""
20174
20175 # type: textblock
20176 #: ../fish/guestfish-actions.pod:3208
20177 msgid ""
20178 "You can use either C<tune2fs-l> or C<get-e2uuid> to return the existing UUID "
20179 "of a filesystem."
20180 msgstr ""
20181
20182 # type: =head2
20183 #: ../fish/guestfish-actions.pod:3211
20184 msgid "set-memsize | memsize"
20185 msgstr ""
20186
20187 # type: verbatim
20188 #: ../fish/guestfish-actions.pod:3213
20189 #, no-wrap
20190 msgid ""
20191 " set-memsize memsize\n"
20192 "\n"
20193 msgstr ""
20194
20195 # type: textblock
20196 #: ../fish/guestfish-actions.pod:3215
20197 msgid ""
20198 "This sets the memory size in megabytes allocated to the qemu subprocess.  "
20199 "This only has any effect if called before C<launch>."
20200 msgstr ""
20201
20202 # type: =head2
20203 #: ../fish/guestfish-actions.pod:3226
20204 msgid "set-network | network"
20205 msgstr ""
20206
20207 # type: verbatim
20208 #: ../fish/guestfish-actions.pod:3228
20209 #, no-wrap
20210 msgid ""
20211 " set-network true|false\n"
20212 "\n"
20213 msgstr ""
20214
20215 # type: textblock
20216 #: ../fish/guestfish-actions.pod:3236
20217 msgid "You must call this before calling C<launch>, otherwise it has no effect."
20218 msgstr ""
20219
20220 # type: =head2
20221 #: ../fish/guestfish-actions.pod:3239
20222 msgid "set-path | path"
20223 msgstr ""
20224
20225 # type: verbatim
20226 #: ../fish/guestfish-actions.pod:3241
20227 #, no-wrap
20228 msgid ""
20229 " set-path searchpath\n"
20230 "\n"
20231 msgstr ""
20232
20233 # type: =head2
20234 #: ../fish/guestfish-actions.pod:3250
20235 msgid "set-qemu | qemu"
20236 msgstr ""
20237
20238 # type: verbatim
20239 #: ../fish/guestfish-actions.pod:3252
20240 #, no-wrap
20241 msgid ""
20242 " set-qemu qemu\n"
20243 "\n"
20244 msgstr ""
20245
20246 # type: =head2
20247 #: ../fish/guestfish-actions.pod:3272
20248 msgid "set-recovery-proc | recovery-proc"
20249 msgstr ""
20250
20251 # type: verbatim
20252 #: ../fish/guestfish-actions.pod:3274
20253 #, no-wrap
20254 msgid ""
20255 " set-recovery-proc true|false\n"
20256 "\n"
20257 msgstr ""
20258
20259 # type: textblock
20260 #: ../fish/guestfish-actions.pod:3276
20261 msgid ""
20262 "If this is called with the parameter C<false> then C<launch> does not create "
20263 "a recovery process.  The purpose of the recovery process is to stop runaway "
20264 "qemu processes in the case where the main program aborts abruptly."
20265 msgstr ""
20266
20267 # type: textblock
20268 #: ../fish/guestfish-actions.pod:3281
20269 msgid ""
20270 "This only has any effect if called before C<launch>, and the default is "
20271 "true."
20272 msgstr ""
20273
20274 # type: =head2
20275 #: ../fish/guestfish-actions.pod:3290
20276 msgid "set-selinux | selinux"
20277 msgstr ""
20278
20279 # type: verbatim
20280 #: ../fish/guestfish-actions.pod:3292
20281 #, no-wrap
20282 msgid ""
20283 " set-selinux true|false\n"
20284 "\n"
20285 msgstr ""
20286
20287 # type: =head2
20288 #: ../fish/guestfish-actions.pod:3303
20289 msgid "set-trace | trace"
20290 msgstr ""
20291
20292 # type: verbatim
20293 #: ../fish/guestfish-actions.pod:3305
20294 #, no-wrap
20295 msgid ""
20296 " set-trace true|false\n"
20297 "\n"
20298 msgstr ""
20299
20300 # type: =head2
20301 #: ../fish/guestfish-actions.pod:3321
20302 msgid "set-verbose | verbose"
20303 msgstr ""
20304
20305 # type: verbatim
20306 #: ../fish/guestfish-actions.pod:3323
20307 #, no-wrap
20308 msgid ""
20309 " set-verbose true|false\n"
20310 "\n"
20311 msgstr ""
20312
20313 # type: =head2
20314 #: ../fish/guestfish-actions.pod:3330
20315 msgid "setcon"
20316 msgstr ""
20317
20318 # type: verbatim
20319 #: ../fish/guestfish-actions.pod:3332
20320 #, no-wrap
20321 msgid ""
20322 " setcon context\n"
20323 "\n"
20324 msgstr ""
20325
20326 # type: =head2
20327 #: ../fish/guestfish-actions.pod:3339
20328 msgid "setxattr"
20329 msgstr ""
20330
20331 # type: verbatim
20332 #: ../fish/guestfish-actions.pod:3341
20333 #, no-wrap
20334 msgid ""
20335 " setxattr xattr val vallen path\n"
20336 "\n"
20337 msgstr ""
20338
20339 # type: textblock
20340 #: ../fish/guestfish-actions.pod:3347
20341 msgid "See also: C<lsetxattr>, L<attr(5)>."
20342 msgstr ""
20343
20344 # type: =head2
20345 #: ../fish/guestfish-actions.pod:3349
20346 msgid "sfdisk"
20347 msgstr ""
20348
20349 # type: verbatim
20350 #: ../fish/guestfish-actions.pod:3351
20351 #, no-wrap
20352 msgid ""
20353 " sfdisk device cyls heads sectors 'lines ...'\n"
20354 "\n"
20355 msgstr ""
20356
20357 # type: textblock
20358 #: ../fish/guestfish-actions.pod:3373
20359 msgid "See also: C<sfdisk-l>, C<sfdisk-N>, C<part-init>"
20360 msgstr ""
20361
20362 # type: =head2
20363 #: ../fish/guestfish-actions.pod:3379
20364 msgid "sfdiskM"
20365 msgstr ""
20366
20367 # type: verbatim
20368 #: ../fish/guestfish-actions.pod:3381
20369 #, no-wrap
20370 msgid ""
20371 " sfdiskM device 'lines ...'\n"
20372 "\n"
20373 msgstr ""
20374
20375 # type: textblock
20376 #: ../fish/guestfish-actions.pod:3383
20377 msgid ""
20378 "This is a simplified interface to the C<sfdisk> command, where partition "
20379 "sizes are specified in megabytes only (rounded to the nearest cylinder) and "
20380 "you don't need to specify the cyls, heads and sectors parameters which were "
20381 "rarely if ever used anyway."
20382 msgstr ""
20383
20384 # type: textblock
20385 #: ../fish/guestfish-actions.pod:3389
20386 msgid "See also: C<sfdisk>, the L<sfdisk(8)> manpage and C<part-disk>"
20387 msgstr ""
20388
20389 # type: =head2
20390 #: ../fish/guestfish-actions.pod:3395
20391 msgid "sfdisk-N"
20392 msgstr ""
20393
20394 # type: verbatim
20395 #: ../fish/guestfish-actions.pod:3397
20396 #, no-wrap
20397 msgid ""
20398 " sfdisk-N device partnum cyls heads sectors line\n"
20399 "\n"
20400 msgstr ""
20401
20402 # type: textblock
20403 #: ../fish/guestfish-actions.pod:3402
20404 msgid ""
20405 "For other parameters, see C<sfdisk>.  You should usually pass C<0> for the "
20406 "cyls/heads/sectors parameters."
20407 msgstr ""
20408
20409 # type: textblock
20410 #: ../fish/guestfish-actions.pod:3405
20411 msgid "See also: C<part-add>"
20412 msgstr ""
20413
20414 # type: =head2
20415 #: ../fish/guestfish-actions.pod:3410
20416 msgid "sfdisk-disk-geometry"
20417 msgstr ""
20418
20419 # type: verbatim
20420 #: ../fish/guestfish-actions.pod:3412
20421 #, no-wrap
20422 msgid ""
20423 " sfdisk-disk-geometry device\n"
20424 "\n"
20425 msgstr ""
20426
20427 # type: textblock
20428 #: ../fish/guestfish-actions.pod:3414
20429 msgid ""
20430 "This displays the disk geometry of C<device> read from the partition table.  "
20431 "Especially in the case where the underlying block device has been resized, "
20432 "this can be different from the kernel's idea of the geometry (see "
20433 "C<sfdisk-kernel-geometry>)."
20434 msgstr ""
20435
20436 # type: =head2
20437 #: ../fish/guestfish-actions.pod:3422
20438 msgid "sfdisk-kernel-geometry"
20439 msgstr ""
20440
20441 # type: verbatim
20442 #: ../fish/guestfish-actions.pod:3424
20443 #, no-wrap
20444 msgid ""
20445 " sfdisk-kernel-geometry device\n"
20446 "\n"
20447 msgstr ""
20448
20449 # type: =head2
20450 #: ../fish/guestfish-actions.pod:3431
20451 msgid "sfdisk-l"
20452 msgstr ""
20453
20454 # type: verbatim
20455 #: ../fish/guestfish-actions.pod:3433
20456 #, no-wrap
20457 msgid ""
20458 " sfdisk-l device\n"
20459 "\n"
20460 msgstr ""
20461
20462 # type: textblock
20463 #: ../fish/guestfish-actions.pod:3439
20464 msgid "See also: C<part-list>"
20465 msgstr ""
20466
20467 # type: =head2
20468 #: ../fish/guestfish-actions.pod:3441
20469 msgid "sh"
20470 msgstr ""
20471
20472 # type: verbatim
20473 #: ../fish/guestfish-actions.pod:3443
20474 #, no-wrap
20475 msgid ""
20476 " sh command\n"
20477 "\n"
20478 msgstr ""
20479
20480 # type: textblock
20481 #: ../fish/guestfish-actions.pod:3448
20482 msgid "This is like C<command>, but passes the command to:"
20483 msgstr ""
20484
20485 # type: textblock
20486 #: ../fish/guestfish-actions.pod:3456
20487 msgid "All the provisos about C<command> apply to this call."
20488 msgstr ""
20489
20490 # type: =head2
20491 #: ../fish/guestfish-actions.pod:3458
20492 msgid "sh-lines"
20493 msgstr ""
20494
20495 # type: verbatim
20496 #: ../fish/guestfish-actions.pod:3460
20497 #, no-wrap
20498 msgid ""
20499 " sh-lines command\n"
20500 "\n"
20501 msgstr ""
20502
20503 # type: textblock
20504 #: ../fish/guestfish-actions.pod:3462
20505 msgid "This is the same as C<sh>, but splits the result into a list of lines."
20506 msgstr ""
20507
20508 # type: textblock
20509 #: ../fish/guestfish-actions.pod:3465
20510 msgid "See also: C<command-lines>"
20511 msgstr ""
20512
20513 # type: =head2
20514 #: ../fish/guestfish-actions.pod:3467
20515 msgid "sleep"
20516 msgstr ""
20517
20518 # type: verbatim
20519 #: ../fish/guestfish-actions.pod:3469
20520 #, no-wrap
20521 msgid ""
20522 " sleep secs\n"
20523 "\n"
20524 msgstr ""
20525
20526 # type: =head2
20527 #: ../fish/guestfish-actions.pod:3473
20528 msgid "stat"
20529 msgstr ""
20530
20531 # type: verbatim
20532 #: ../fish/guestfish-actions.pod:3475
20533 #, no-wrap
20534 msgid ""
20535 " stat path\n"
20536 "\n"
20537 msgstr ""
20538
20539 # type: =head2
20540 #: ../fish/guestfish-actions.pod:3481
20541 msgid "statvfs"
20542 msgstr ""
20543
20544 # type: verbatim
20545 #: ../fish/guestfish-actions.pod:3483
20546 #, no-wrap
20547 msgid ""
20548 " statvfs path\n"
20549 "\n"
20550 msgstr ""
20551
20552 # type: =head2
20553 #: ../fish/guestfish-actions.pod:3491
20554 msgid "strings"
20555 msgstr ""
20556
20557 # type: verbatim
20558 #: ../fish/guestfish-actions.pod:3493
20559 #, no-wrap
20560 msgid ""
20561 " strings path\n"
20562 "\n"
20563 msgstr ""
20564
20565 # type: =head2
20566 #: ../fish/guestfish-actions.pod:3501
20567 msgid "strings-e"
20568 msgstr ""
20569
20570 # type: verbatim
20571 #: ../fish/guestfish-actions.pod:3503
20572 #, no-wrap
20573 msgid ""
20574 " strings-e encoding path\n"
20575 "\n"
20576 msgstr ""
20577
20578 # type: textblock
20579 #: ../fish/guestfish-actions.pod:3505
20580 msgid ""
20581 "This is like the C<strings> command, but allows you to specify the encoding "
20582 "of strings that are looked for in the source file C<path>."
20583 msgstr ""
20584
20585 # type: textblock
20586 #: ../fish/guestfish-actions.pod:3515
20587 msgid ""
20588 "Single 7-bit-byte characters like ASCII and the ASCII-compatible parts of "
20589 "ISO-8859-X (this is what C<strings> uses)."
20590 msgstr ""
20591
20592 # type: =head2
20593 #: ../fish/guestfish-actions.pod:3547
20594 msgid "swapoff-device"
20595 msgstr ""
20596
20597 # type: verbatim
20598 #: ../fish/guestfish-actions.pod:3549
20599 #, no-wrap
20600 msgid ""
20601 " swapoff-device device\n"
20602 "\n"
20603 msgstr ""
20604
20605 # type: textblock
20606 #: ../fish/guestfish-actions.pod:3551
20607 msgid ""
20608 "This command disables the libguestfs appliance swap device or partition "
20609 "named C<device>.  See C<swapon-device>."
20610 msgstr ""
20611
20612 # type: =head2
20613 #: ../fish/guestfish-actions.pod:3555
20614 msgid "swapoff-file"
20615 msgstr ""
20616
20617 # type: verbatim
20618 #: ../fish/guestfish-actions.pod:3557
20619 #, no-wrap
20620 msgid ""
20621 " swapoff-file file\n"
20622 "\n"
20623 msgstr ""
20624
20625 # type: =head2
20626 #: ../fish/guestfish-actions.pod:3561
20627 msgid "swapoff-label"
20628 msgstr ""
20629
20630 # type: verbatim
20631 #: ../fish/guestfish-actions.pod:3563
20632 #, no-wrap
20633 msgid ""
20634 " swapoff-label label\n"
20635 "\n"
20636 msgstr ""
20637
20638 # type: =head2
20639 #: ../fish/guestfish-actions.pod:3568
20640 msgid "swapoff-uuid"
20641 msgstr ""
20642
20643 # type: verbatim
20644 #: ../fish/guestfish-actions.pod:3570
20645 #, no-wrap
20646 msgid ""
20647 " swapoff-uuid uuid\n"
20648 "\n"
20649 msgstr ""
20650
20651 # type: =head2
20652 #: ../fish/guestfish-actions.pod:3575
20653 msgid "swapon-device"
20654 msgstr ""
20655
20656 # type: verbatim
20657 #: ../fish/guestfish-actions.pod:3577
20658 #, no-wrap
20659 msgid ""
20660 " swapon-device device\n"
20661 "\n"
20662 msgstr ""
20663
20664 # type: textblock
20665 #: ../fish/guestfish-actions.pod:3579
20666 msgid ""
20667 "This command enables the libguestfs appliance to use the swap device or "
20668 "partition named C<device>.  The increased memory is made available for all "
20669 "commands, for example those run using C<command> or C<sh>."
20670 msgstr ""
20671
20672 # type: =head2
20673 #: ../fish/guestfish-actions.pod:3591
20674 msgid "swapon-file"
20675 msgstr ""
20676
20677 # type: verbatim
20678 #: ../fish/guestfish-actions.pod:3593
20679 #, no-wrap
20680 msgid ""
20681 " swapon-file file\n"
20682 "\n"
20683 msgstr ""
20684
20685 # type: textblock
20686 #: ../fish/guestfish-actions.pod:3595
20687 msgid "This command enables swap to a file.  See C<swapon-device> for other notes."
20688 msgstr ""
20689
20690 # type: =head2
20691 #: ../fish/guestfish-actions.pod:3598
20692 msgid "swapon-label"
20693 msgstr ""
20694
20695 # type: verbatim
20696 #: ../fish/guestfish-actions.pod:3600
20697 #, no-wrap
20698 msgid ""
20699 " swapon-label label\n"
20700 "\n"
20701 msgstr ""
20702
20703 # type: textblock
20704 #: ../fish/guestfish-actions.pod:3602
20705 msgid ""
20706 "This command enables swap to a labeled swap partition.  See C<swapon-device> "
20707 "for other notes."
20708 msgstr ""
20709
20710 # type: =head2
20711 #: ../fish/guestfish-actions.pod:3605
20712 msgid "swapon-uuid"
20713 msgstr ""
20714
20715 # type: verbatim
20716 #: ../fish/guestfish-actions.pod:3607
20717 #, no-wrap
20718 msgid ""
20719 " swapon-uuid uuid\n"
20720 "\n"
20721 msgstr ""
20722
20723 # type: textblock
20724 #: ../fish/guestfish-actions.pod:3609
20725 msgid ""
20726 "This command enables swap to a swap partition with the given UUID.  See "
20727 "C<swapon-device> for other notes."
20728 msgstr ""
20729
20730 # type: =head2
20731 #: ../fish/guestfish-actions.pod:3612
20732 msgid "sync"
20733 msgstr ""
20734
20735 # type: verbatim
20736 #: ../fish/guestfish-actions.pod:3614
20737 #, no-wrap
20738 msgid ""
20739 " sync\n"
20740 "\n"
20741 msgstr ""
20742
20743 # type: =head2
20744 #: ../fish/guestfish-actions.pod:3622
20745 msgid "tail"
20746 msgstr ""
20747
20748 # type: verbatim
20749 #: ../fish/guestfish-actions.pod:3624
20750 #, no-wrap
20751 msgid ""
20752 " tail path\n"
20753 "\n"
20754 msgstr ""
20755
20756 # type: =head2
20757 #: ../fish/guestfish-actions.pod:3632
20758 msgid "tail-n"
20759 msgstr ""
20760
20761 # type: verbatim
20762 #: ../fish/guestfish-actions.pod:3634
20763 #, no-wrap
20764 msgid ""
20765 " tail-n nrlines path\n"
20766 "\n"
20767 msgstr ""
20768
20769 # type: =head2
20770 #: ../fish/guestfish-actions.pod:3647
20771 msgid "tar-in"
20772 msgstr ""
20773
20774 # type: verbatim
20775 #: ../fish/guestfish-actions.pod:3649
20776 #, no-wrap
20777 msgid ""
20778 " tar-in (tarfile|-) directory\n"
20779 "\n"
20780 msgstr ""
20781
20782 # type: textblock
20783 #: ../fish/guestfish-actions.pod:3654
20784 msgid "To upload a compressed tarball, use C<tgz-in> or C<txz-in>."
20785 msgstr ""
20786
20787 # type: =head2
20788 #: ../fish/guestfish-actions.pod:3659
20789 msgid "tar-out"
20790 msgstr ""
20791
20792 # type: verbatim
20793 #: ../fish/guestfish-actions.pod:3661
20794 #, no-wrap
20795 msgid ""
20796 " tar-out directory (tarfile|-)\n"
20797 "\n"
20798 msgstr ""
20799
20800 # type: textblock
20801 #: ../fish/guestfish-actions.pod:3666
20802 msgid "To download a compressed tarball, use C<tgz-out> or C<txz-out>."
20803 msgstr ""
20804
20805 # type: =head2
20806 #: ../fish/guestfish-actions.pod:3671
20807 msgid "tgz-in"
20808 msgstr ""
20809
20810 # type: verbatim
20811 #: ../fish/guestfish-actions.pod:3673
20812 #, no-wrap
20813 msgid ""
20814 " tgz-in (tarball|-) directory\n"
20815 "\n"
20816 msgstr ""
20817
20818 # type: textblock
20819 #: ../fish/guestfish-actions.pod:3678
20820 msgid "To upload an uncompressed tarball, use C<tar-in>."
20821 msgstr ""
20822
20823 # type: =head2
20824 #: ../fish/guestfish-actions.pod:3682
20825 msgid "tgz-out"
20826 msgstr ""
20827
20828 # type: verbatim
20829 #: ../fish/guestfish-actions.pod:3684
20830 #, no-wrap
20831 msgid ""
20832 " tgz-out directory (tarball|-)\n"
20833 "\n"
20834 msgstr ""
20835
20836 # type: textblock
20837 #: ../fish/guestfish-actions.pod:3689
20838 msgid "To download an uncompressed tarball, use C<tar-out>."
20839 msgstr ""
20840
20841 # type: =head2
20842 #: ../fish/guestfish-actions.pod:3693
20843 msgid "touch"
20844 msgstr ""
20845
20846 # type: verbatim
20847 #: ../fish/guestfish-actions.pod:3695
20848 #, no-wrap
20849 msgid ""
20850 " touch path\n"
20851 "\n"
20852 msgstr ""
20853
20854 # type: =head2
20855 #: ../fish/guestfish-actions.pod:3704
20856 msgid "truncate"
20857 msgstr ""
20858
20859 # type: verbatim
20860 #: ../fish/guestfish-actions.pod:3706
20861 #, no-wrap
20862 msgid ""
20863 " truncate path\n"
20864 "\n"
20865 msgstr ""
20866
20867 # type: =head2
20868 #: ../fish/guestfish-actions.pod:3711
20869 msgid "truncate-size"
20870 msgstr ""
20871
20872 # type: verbatim
20873 #: ../fish/guestfish-actions.pod:3713
20874 #, no-wrap
20875 msgid ""
20876 " truncate-size path size\n"
20877 "\n"
20878 msgstr ""
20879
20880 # type: textblock
20881 #: ../fish/guestfish-actions.pod:3718
20882 msgid ""
20883 "If the current file size is less than C<size> then the file is extended to "
20884 "the required size with zero bytes.  This creates a sparse file (ie. disk "
20885 "blocks are not allocated for the file until you write to it).  To create a "
20886 "non-sparse file of zeroes, use C<fallocate64> instead."
20887 msgstr ""
20888
20889 # type: =head2
20890 #: ../fish/guestfish-actions.pod:3724
20891 msgid "tune2fs-l"
20892 msgstr ""
20893
20894 # type: verbatim
20895 #: ../fish/guestfish-actions.pod:3726
20896 #, no-wrap
20897 msgid ""
20898 " tune2fs-l device\n"
20899 "\n"
20900 msgstr ""
20901
20902 # type: =head2
20903 #: ../fish/guestfish-actions.pod:3736
20904 msgid "txz-in"
20905 msgstr ""
20906
20907 # type: verbatim
20908 #: ../fish/guestfish-actions.pod:3738
20909 #, no-wrap
20910 msgid ""
20911 " txz-in (tarball|-) directory\n"
20912 "\n"
20913 msgstr ""
20914
20915 # type: =head2
20916 #: ../fish/guestfish-actions.pod:3745
20917 msgid "txz-out"
20918 msgstr ""
20919
20920 # type: verbatim
20921 #: ../fish/guestfish-actions.pod:3747
20922 #, no-wrap
20923 msgid ""
20924 " txz-out directory (tarball|-)\n"
20925 "\n"
20926 msgstr ""
20927
20928 # type: =head2
20929 #: ../fish/guestfish-actions.pod:3754
20930 msgid "umask"
20931 msgstr ""
20932
20933 # type: verbatim
20934 #: ../fish/guestfish-actions.pod:3756
20935 #, no-wrap
20936 msgid ""
20937 " umask mask\n"
20938 "\n"
20939 msgstr ""
20940
20941 # type: textblock
20942 #: ../fish/guestfish-actions.pod:3770
20943 msgid "See also C<get-umask>, L<umask(2)>, C<mknod>, C<mkdir>."
20944 msgstr ""
20945
20946 # type: =head2
20947 #: ../fish/guestfish-actions.pod:3775
20948 msgid "umount | unmount"
20949 msgstr ""
20950
20951 # type: verbatim
20952 #: ../fish/guestfish-actions.pod:3777
20953 #, no-wrap
20954 msgid ""
20955 " umount pathordevice\n"
20956 "\n"
20957 msgstr ""
20958
20959 # type: =head2
20960 #: ../fish/guestfish-actions.pod:3783
20961 msgid "umount-all | unmount-all"
20962 msgstr ""
20963
20964 # type: verbatim
20965 #: ../fish/guestfish-actions.pod:3785
20966 #, no-wrap
20967 msgid ""
20968 " umount-all\n"
20969 "\n"
20970 msgstr ""
20971
20972 # type: =head2
20973 #: ../fish/guestfish-actions.pod:3791
20974 msgid "upload"
20975 msgstr ""
20976
20977 # type: verbatim
20978 #: ../fish/guestfish-actions.pod:3793
20979 #, no-wrap
20980 msgid ""
20981 " upload (filename|-) remotefilename\n"
20982 "\n"
20983 msgstr ""
20984
20985 # type: textblock
20986 #: ../fish/guestfish-actions.pod:3800
20987 msgid "See also C<download>."
20988 msgstr ""
20989
20990 # type: =head2
20991 #: ../fish/guestfish-actions.pod:3804
20992 msgid "utimens"
20993 msgstr ""
20994
20995 # type: verbatim
20996 #: ../fish/guestfish-actions.pod:3806
20997 #, no-wrap
20998 msgid ""
20999 " utimens path atsecs atnsecs mtsecs mtnsecs\n"
21000 "\n"
21001 msgstr ""
21002
21003 # type: =head2
21004 #: ../fish/guestfish-actions.pod:3825
21005 msgid "version"
21006 msgstr ""
21007
21008 # type: verbatim
21009 #: ../fish/guestfish-actions.pod:3827
21010 #, no-wrap
21011 msgid ""
21012 " version\n"
21013 "\n"
21014 msgstr ""
21015
21016 # type: textblock
21017 #: ../fish/guestfish-actions.pod:3854
21018 msgid ""
21019 "I<Note:> Don't use this call to test for availability of features.  In "
21020 "enterprise distributions we backport features from later versions into "
21021 "earlier versions, making this an unreliable way to test for features.  Use "
21022 "C<available> instead."
21023 msgstr ""
21024
21025 # type: =head2
21026 #: ../fish/guestfish-actions.pod:3860
21027 msgid "vfs-label"
21028 msgstr ""
21029
21030 # type: verbatim
21031 #: ../fish/guestfish-actions.pod:3862
21032 #, no-wrap
21033 msgid ""
21034 " vfs-label device\n"
21035 "\n"
21036 msgstr ""
21037
21038 # type: textblock
21039 #: ../fish/guestfish-actions.pod:3869
21040 msgid "To find a filesystem from the label, use C<findfs-label>."
21041 msgstr ""
21042
21043 # type: =head2
21044 #: ../fish/guestfish-actions.pod:3871
21045 msgid "vfs-type"
21046 msgstr ""
21047
21048 # type: verbatim
21049 #: ../fish/guestfish-actions.pod:3873
21050 #, no-wrap
21051 msgid ""
21052 " vfs-type device\n"
21053 "\n"
21054 msgstr ""
21055
21056 # type: =head2
21057 #: ../fish/guestfish-actions.pod:3883
21058 msgid "vfs-uuid"
21059 msgstr ""
21060
21061 # type: verbatim
21062 #: ../fish/guestfish-actions.pod:3885
21063 #, no-wrap
21064 msgid ""
21065 " vfs-uuid device\n"
21066 "\n"
21067 msgstr ""
21068
21069 # type: textblock
21070 #: ../fish/guestfish-actions.pod:3892
21071 msgid "To find a filesystem from the UUID, use C<findfs-uuid>."
21072 msgstr ""
21073
21074 # type: =head2
21075 #: ../fish/guestfish-actions.pod:3894
21076 msgid "vg-activate"
21077 msgstr ""
21078
21079 # type: verbatim
21080 #: ../fish/guestfish-actions.pod:3896
21081 #, no-wrap
21082 msgid ""
21083 " vg-activate true|false 'volgroups ...'\n"
21084 "\n"
21085 msgstr ""
21086
21087 # type: =head2
21088 #: ../fish/guestfish-actions.pod:3909
21089 msgid "vg-activate-all"
21090 msgstr ""
21091
21092 # type: verbatim
21093 #: ../fish/guestfish-actions.pod:3911
21094 #, no-wrap
21095 msgid ""
21096 " vg-activate-all true|false\n"
21097 "\n"
21098 msgstr ""
21099
21100 # type: =head2
21101 #: ../fish/guestfish-actions.pod:3921
21102 msgid "vgcreate"
21103 msgstr ""
21104
21105 # type: verbatim
21106 #: ../fish/guestfish-actions.pod:3923
21107 #, no-wrap
21108 msgid ""
21109 " vgcreate volgroup 'physvols ...'\n"
21110 "\n"
21111 msgstr ""
21112
21113 # type: =head2
21114 #: ../fish/guestfish-actions.pod:3928
21115 msgid "vglvuuids"
21116 msgstr ""
21117
21118 # type: verbatim
21119 #: ../fish/guestfish-actions.pod:3930
21120 #, no-wrap
21121 msgid ""
21122 " vglvuuids vgname\n"
21123 "\n"
21124 msgstr ""
21125
21126 # type: textblock
21127 #: ../fish/guestfish-actions.pod:3935
21128 msgid ""
21129 "You can use this along with C<lvs> and C<lvuuid> calls to associate logical "
21130 "volumes and volume groups."
21131 msgstr ""
21132
21133 # type: textblock
21134 #: ../fish/guestfish-actions.pod:3938
21135 msgid "See also C<vgpvuuids>."
21136 msgstr ""
21137
21138 # type: =head2
21139 #: ../fish/guestfish-actions.pod:3940
21140 msgid "vgpvuuids"
21141 msgstr ""
21142
21143 # type: verbatim
21144 #: ../fish/guestfish-actions.pod:3942
21145 #, no-wrap
21146 msgid ""
21147 " vgpvuuids vgname\n"
21148 "\n"
21149 msgstr ""
21150
21151 # type: textblock
21152 #: ../fish/guestfish-actions.pod:3947
21153 msgid ""
21154 "You can use this along with C<pvs> and C<pvuuid> calls to associate physical "
21155 "volumes and volume groups."
21156 msgstr ""
21157
21158 # type: textblock
21159 #: ../fish/guestfish-actions.pod:3950
21160 msgid "See also C<vglvuuids>."
21161 msgstr ""
21162
21163 # type: =head2
21164 #: ../fish/guestfish-actions.pod:3952
21165 msgid "vgremove"
21166 msgstr ""
21167
21168 # type: verbatim
21169 #: ../fish/guestfish-actions.pod:3954
21170 #, no-wrap
21171 msgid ""
21172 " vgremove vgname\n"
21173 "\n"
21174 msgstr ""
21175
21176 # type: =head2
21177 #: ../fish/guestfish-actions.pod:3961
21178 msgid "vgrename"
21179 msgstr ""
21180
21181 # type: verbatim
21182 #: ../fish/guestfish-actions.pod:3963
21183 #, no-wrap
21184 msgid ""
21185 " vgrename volgroup newvolgroup\n"
21186 "\n"
21187 msgstr ""
21188
21189 # type: =head2
21190 #: ../fish/guestfish-actions.pod:3967
21191 msgid "vgs"
21192 msgstr ""
21193
21194 # type: verbatim
21195 #: ../fish/guestfish-actions.pod:3969
21196 #, no-wrap
21197 msgid ""
21198 " vgs\n"
21199 "\n"
21200 msgstr ""
21201
21202 # type: textblock
21203 #: ../fish/guestfish-actions.pod:3977
21204 msgid "See also C<vgs-full>."
21205 msgstr ""
21206
21207 # type: =head2
21208 #: ../fish/guestfish-actions.pod:3979
21209 msgid "vgs-full"
21210 msgstr ""
21211
21212 # type: verbatim
21213 #: ../fish/guestfish-actions.pod:3981
21214 #, no-wrap
21215 msgid ""
21216 " vgs-full\n"
21217 "\n"
21218 msgstr ""
21219
21220 # type: =head2
21221 #: ../fish/guestfish-actions.pod:3986
21222 msgid "vgscan"
21223 msgstr ""
21224
21225 # type: verbatim
21226 #: ../fish/guestfish-actions.pod:3988
21227 #, no-wrap
21228 msgid ""
21229 " vgscan\n"
21230 "\n"
21231 msgstr ""
21232
21233 # type: =head2
21234 #: ../fish/guestfish-actions.pod:3993
21235 msgid "vguuid"
21236 msgstr ""
21237
21238 # type: verbatim
21239 #: ../fish/guestfish-actions.pod:3995
21240 #, no-wrap
21241 msgid ""
21242 " vguuid vgname\n"
21243 "\n"
21244 msgstr ""
21245
21246 # type: =head2
21247 #: ../fish/guestfish-actions.pod:3999
21248 msgid "wc-c"
21249 msgstr ""
21250
21251 # type: verbatim
21252 #: ../fish/guestfish-actions.pod:4001
21253 #, no-wrap
21254 msgid ""
21255 " wc-c path\n"
21256 "\n"
21257 msgstr ""
21258
21259 # type: =head2
21260 #: ../fish/guestfish-actions.pod:4006
21261 msgid "wc-l"
21262 msgstr ""
21263
21264 # type: verbatim
21265 #: ../fish/guestfish-actions.pod:4008
21266 #, no-wrap
21267 msgid ""
21268 " wc-l path\n"
21269 "\n"
21270 msgstr ""
21271
21272 # type: =head2
21273 #: ../fish/guestfish-actions.pod:4013
21274 msgid "wc-w"
21275 msgstr ""
21276
21277 # type: verbatim
21278 #: ../fish/guestfish-actions.pod:4015
21279 #, no-wrap
21280 msgid ""
21281 " wc-w path\n"
21282 "\n"
21283 msgstr ""
21284
21285 # type: =head2
21286 #: ../fish/guestfish-actions.pod:4020
21287 msgid "write"
21288 msgstr ""
21289
21290 # type: verbatim
21291 #: ../fish/guestfish-actions.pod:4022
21292 #, no-wrap
21293 msgid ""
21294 " write path content\n"
21295 "\n"
21296 msgstr ""
21297
21298 # type: =head2
21299 #: ../fish/guestfish-actions.pod:4030
21300 msgid "write-file"
21301 msgstr ""
21302
21303 # type: verbatim
21304 #: ../fish/guestfish-actions.pod:4032
21305 #, no-wrap
21306 msgid ""
21307 " write-file path content size\n"
21308 "\n"
21309 msgstr ""
21310
21311 # type: =head2
21312 #: ../fish/guestfish-actions.pod:4055
21313 msgid "zegrep"
21314 msgstr ""
21315
21316 # type: verbatim
21317 #: ../fish/guestfish-actions.pod:4057
21318 #, no-wrap
21319 msgid ""
21320 " zegrep regex path\n"
21321 "\n"
21322 msgstr ""
21323
21324 # type: =head2
21325 #: ../fish/guestfish-actions.pod:4065
21326 msgid "zegrepi"
21327 msgstr ""
21328
21329 # type: verbatim
21330 #: ../fish/guestfish-actions.pod:4067
21331 #, no-wrap
21332 msgid ""
21333 " zegrepi regex path\n"
21334 "\n"
21335 msgstr ""
21336
21337 # type: =head2
21338 #: ../fish/guestfish-actions.pod:4075
21339 msgid "zero"
21340 msgstr ""
21341
21342 # type: verbatim
21343 #: ../fish/guestfish-actions.pod:4077
21344 #, no-wrap
21345 msgid ""
21346 " zero device\n"
21347 "\n"
21348 msgstr ""
21349
21350 # type: textblock
21351 #: ../fish/guestfish-actions.pod:4085
21352 msgid "See also: C<zero-device>, C<scrub-device>."
21353 msgstr ""
21354
21355 # type: =head2
21356 #: ../fish/guestfish-actions.pod:4087
21357 msgid "zero-device"
21358 msgstr ""
21359
21360 # type: verbatim
21361 #: ../fish/guestfish-actions.pod:4089
21362 #, no-wrap
21363 msgid ""
21364 " zero-device device\n"
21365 "\n"
21366 msgstr ""
21367
21368 # type: textblock
21369 #: ../fish/guestfish-actions.pod:4091
21370 msgid ""
21371 "This command writes zeroes over the entire C<device>.  Compare with C<zero> "
21372 "which just zeroes the first few blocks of a device."
21373 msgstr ""
21374
21375 # type: =head2
21376 #: ../fish/guestfish-actions.pod:4098
21377 msgid "zerofree"
21378 msgstr ""
21379
21380 # type: verbatim
21381 #: ../fish/guestfish-actions.pod:4100
21382 #, no-wrap
21383 msgid ""
21384 " zerofree device\n"
21385 "\n"
21386 msgstr ""
21387
21388 # type: =head2
21389 #: ../fish/guestfish-actions.pod:4113
21390 msgid "zfgrep"
21391 msgstr ""
21392
21393 # type: verbatim
21394 #: ../fish/guestfish-actions.pod:4115
21395 #, no-wrap
21396 msgid ""
21397 " zfgrep pattern path\n"
21398 "\n"
21399 msgstr ""
21400
21401 # type: =head2
21402 #: ../fish/guestfish-actions.pod:4123
21403 msgid "zfgrepi"
21404 msgstr ""
21405
21406 # type: verbatim
21407 #: ../fish/guestfish-actions.pod:4125
21408 #, no-wrap
21409 msgid ""
21410 " zfgrepi pattern path\n"
21411 "\n"
21412 msgstr ""
21413
21414 # type: =head2
21415 #: ../fish/guestfish-actions.pod:4133
21416 msgid "zfile"
21417 msgstr ""
21418
21419 # type: verbatim
21420 #: ../fish/guestfish-actions.pod:4135
21421 #, no-wrap
21422 msgid ""
21423 " zfile meth path\n"
21424 "\n"
21425 msgstr ""
21426
21427 # type: textblock
21428 #: ../fish/guestfish-actions.pod:4142
21429 msgid "Since 1.0.63, use C<file> instead which can now process compressed files."
21430 msgstr ""
21431
21432 # type: =head2
21433 #: ../fish/guestfish-actions.pod:4152
21434 msgid "zgrep"
21435 msgstr ""
21436
21437 # type: verbatim
21438 #: ../fish/guestfish-actions.pod:4154
21439 #, no-wrap
21440 msgid ""
21441 " zgrep regex path\n"
21442 "\n"
21443 msgstr ""
21444
21445 # type: =head2
21446 #: ../fish/guestfish-actions.pod:4162
21447 msgid "zgrepi"
21448 msgstr ""
21449
21450 # type: verbatim
21451 #: ../fish/guestfish-actions.pod:4164
21452 #, no-wrap
21453 msgid ""
21454 " zgrepi regex path\n"
21455 "\n"
21456 msgstr ""
21457
21458 # type: textblock
21459 #: ../test-tool/libguestfs-test-tool.pod:5
21460 msgid "libguestfs-test-tool - End user tests for libguestfs"
21461 msgstr ""
21462
21463 # type: verbatim
21464 #: ../test-tool/libguestfs-test-tool.pod:9
21465 #, no-wrap
21466 msgid ""
21467 " libguestfs-test-tool [--options]\n"
21468 "\n"
21469 msgstr ""
21470
21471 # type: textblock
21472 #: ../test-tool/libguestfs-test-tool.pod:13
21473 msgid ""
21474 "libguestfs-test-tool is a test program shipped with libguestfs to end users "
21475 "and developers, to allow them to check basic libguestfs functionality is "
21476 "working.  This is needed because libguestfs occasionally breaks for reasons "
21477 "beyond our control: usually because of changes in the underlying qemu or "
21478 "kernel packages, or the host environment."
21479 msgstr ""
21480
21481 # type: textblock
21482 #: ../test-tool/libguestfs-test-tool.pod:20
21483 msgid "If you suspect a problem in libguestfs, then just run:"
21484 msgstr ""
21485
21486 # type: verbatim
21487 #: ../test-tool/libguestfs-test-tool.pod:22
21488 #, no-wrap
21489 msgid ""
21490 " libguestfs-test-tool\n"
21491 "\n"
21492 msgstr ""
21493
21494 # type: textblock
21495 #: ../test-tool/libguestfs-test-tool.pod:24
21496 msgid "It will print lots of diagnostic messages."
21497 msgstr ""
21498
21499 # type: textblock
21500 #: ../test-tool/libguestfs-test-tool.pod:26
21501 msgid "If it runs to completion successfully, you will see this near the end:"
21502 msgstr ""
21503
21504 # type: verbatim
21505 #: ../test-tool/libguestfs-test-tool.pod:28
21506 #, no-wrap
21507 msgid ""
21508 " ===== TEST FINISHED OK =====\n"
21509 "\n"
21510 msgstr ""
21511
21512 # type: textblock
21513 #: ../test-tool/libguestfs-test-tool.pod:30
21514 msgid "and the test tool will exit with code 0."
21515 msgstr ""
21516
21517 # type: textblock
21518 #: ../test-tool/libguestfs-test-tool.pod:32
21519 msgid ""
21520 "If it fails (and/or exits with non-zero error code), please paste the "
21521 "B<complete, unedited> output of the test tool into a bug report.  More "
21522 "information about reporting bugs can be found on the "
21523 "L<http://libguestfs.org/> website."
21524 msgstr ""
21525
21526 # type: =item
21527 #: ../test-tool/libguestfs-test-tool.pod:41
21528 msgid "I<--help>"
21529 msgstr ""
21530
21531 # type: textblock
21532 #: ../test-tool/libguestfs-test-tool.pod:43
21533 msgid "Display short usage information and exit."
21534 msgstr ""
21535
21536 # type: =item
21537 #: ../test-tool/libguestfs-test-tool.pod:45
21538 msgid "I<--helper /path/to/libguestfs-test-tool-helper>"
21539 msgstr ""
21540
21541 # type: textblock
21542 #: ../test-tool/libguestfs-test-tool.pod:47
21543 msgid ""
21544 "Pass an alternate name for the helper program.  libguestfs-test-tool will "
21545 "normally look in the C<$libexec> directory that was configured when the tool "
21546 "was built."
21547 msgstr ""
21548
21549 # type: =item
21550 #: ../test-tool/libguestfs-test-tool.pod:51
21551 msgid "I<--qemu qemu_binary>"
21552 msgstr ""
21553
21554 # type: textblock
21555 #: ../test-tool/libguestfs-test-tool.pod:53
21556 msgid ""
21557 "If you have downloaded another qemu binary, point this option at the full "
21558 "path of the binary to try it."
21559 msgstr ""
21560
21561 # type: =item
21562 #: ../test-tool/libguestfs-test-tool.pod:56
21563 msgid "I<--qemudir qemu_source_dir>"
21564 msgstr ""
21565
21566 # type: textblock
21567 #: ../test-tool/libguestfs-test-tool.pod:58
21568 msgid ""
21569 "If you have compiled qemu from source, point this option at the source "
21570 "directory to try it."
21571 msgstr ""
21572
21573 # type: =item
21574 #: ../test-tool/libguestfs-test-tool.pod:61
21575 msgid "I<--timeout N>"
21576 msgstr ""
21577
21578 # type: textblock
21579 #: ../test-tool/libguestfs-test-tool.pod:63
21580 msgid ""
21581 "Set the launch timeout to C<N> seconds.  The default is 120 seconds which "
21582 "does not usually need to be adjusted unless your machine is very slow."
21583 msgstr ""
21584
21585 # type: =head1
21586 #: ../test-tool/libguestfs-test-tool.pod:69
21587 msgid "TRYING OUT A DIFFERENT VERSION OF QEMU"
21588 msgstr ""
21589
21590 # type: textblock
21591 #: ../test-tool/libguestfs-test-tool.pod:71
21592 msgid ""
21593 "If you have compiled another version of qemu from source and would like to "
21594 "try that, then you can use the I<--qemudir> option to point to the qemu "
21595 "source directory."
21596 msgstr ""
21597
21598 # type: textblock
21599 #: ../test-tool/libguestfs-test-tool.pod:75
21600 msgid ""
21601 "If you have downloaded a qemu binary from somewhere, use the I<--qemu> "
21602 "option to point to the binary."
21603 msgstr ""
21604
21605 # type: textblock
21606 #: ../test-tool/libguestfs-test-tool.pod:78
21607 msgid ""
21608 "When using an alternate qemu with libguestfs, usually you would need to "
21609 "write a qemu wrapper script (see section I<QEMU WRAPPERS> in "
21610 "L<guestfs(3)>).  libguestfs-test-tool writes a temporary qemu wrapper script "
21611 "when you use either of the I<--qemudir> or I<--qemu> options."
21612 msgstr ""
21613
21614 # type: textblock
21615 #: ../test-tool/libguestfs-test-tool.pod:85
21616 msgid ""
21617 "libguestfs-test-tool returns I<0> if the tests completed without error, or "
21618 "I<1> if there was an error."
21619 msgstr ""
21620
21621 # type: =item
21622 #: ../test-tool/libguestfs-test-tool.pod:92
21623 msgid "/usr/libexec/libguestfs-test-tool-helper"
21624 msgstr ""
21625
21626 # type: textblock
21627 #: ../test-tool/libguestfs-test-tool.pod:94
21628 msgid ""
21629 "This helper program is run inside the appliance and provides additional "
21630 "tests."
21631 msgstr ""
21632
21633 # type: =item
21634 #: ../test-tool/libguestfs-test-tool.pod:97
21635 msgid "/usr/bin/mkisofs"
21636 msgstr ""
21637
21638 # type: textblock
21639 #: ../test-tool/libguestfs-test-tool.pod:99
21640 msgid ""
21641 "The C<mkisofs> command is required in order to construct a CD-ROM ISO file "
21642 "which is used as part of the tests."
21643 msgstr ""
21644
21645 # type: textblock
21646 #: ../test-tool/libguestfs-test-tool.pod:106
21647 msgid ""
21648 "For the full list of environment variables which may affect libguestfs, "
21649 "please see the L<guestfs(3)> manual page."
21650 msgstr ""
21651
21652 # type: textblock
21653 #: ../test-tool/libguestfs-test-tool.pod:111
21654 msgid "L<guestfs(3)>, L<http://libguestfs.org/>, L<http://qemu.org/>."
21655 msgstr ""
21656
21657 # type: textblock
21658 #: ../test-tool/libguestfs-test-tool.pod:121 ../fuse/guestmount.pod:195
21659 msgid "Copyright (C) 2009 Red Hat Inc.  L<http://libguestfs.org/>"
21660 msgstr ""
21661
21662 # type: textblock
21663 #: ../fuse/guestmount.pod:5
21664 msgid "guestmount - Mount a guest filesystem on the host using FUSE and libguestfs"
21665 msgstr ""
21666
21667 # type: verbatim
21668 #: ../fuse/guestmount.pod:9
21669 #, no-wrap
21670 msgid ""
21671 " guestmount [--options] -a disk.img -m device [--ro] mountpoint\n"
21672 "\n"
21673 msgstr ""
21674
21675 # type: textblock
21676 #: ../fuse/guestmount.pod:13
21677 msgid ""
21678 "You must I<not> use C<guestmount> in read-write mode on live virtual "
21679 "machines.  If you do this, you risk disk corruption in the VM."
21680 msgstr ""
21681
21682 # type: textblock
21683 #: ../fuse/guestmount.pod:18
21684 msgid ""
21685 "The guestmount program can be used to mount virtual machine filesystems and "
21686 "other disk images on the host.  It uses libguestfs for access to the guest "
21687 "filesystem, and FUSE (the \"filesystem in userspace\") to make it appear as "
21688 "a mountable device."
21689 msgstr ""
21690
21691 # type: textblock
21692 #: ../fuse/guestmount.pod:23
21693 msgid ""
21694 "Along with other options, you have to give at least one device (I<-a> "
21695 "option) and at least one mountpoint (I<-m> option).  How this works is "
21696 "better explained in the L<guestfish(1)> manual page, or you can use "
21697 "L<virt-inspector(1)> and/or the wrapper script C<guestmount-wrapper> to help "
21698 "you."
21699 msgstr ""
21700
21701 # type: textblock
21702 #: ../fuse/guestmount.pod:29
21703 msgid ""
21704 "FUSE lets you mount filesystems as non-root.  The mountpoint must be owned "
21705 "by you, and the filesystem will not be visible to any other users unless you "
21706 "make certain global configuration changes to C</etc/fuse.conf>.  To unmount "
21707 "the filesystem, use the C<fusermount -u> command."
21708 msgstr ""
21709
21710 # type: textblock
21711 #: ../fuse/guestmount.pod:37
21712 msgid ""
21713 "For a typical Windows guest which has its main filesystem on the first "
21714 "partition:"
21715 msgstr ""
21716
21717 # type: verbatim
21718 #: ../fuse/guestmount.pod:40
21719 #, no-wrap
21720 msgid ""
21721 " guestmount -a windows.img -m /dev/sda1 --ro /mnt\n"
21722 "\n"
21723 msgstr ""
21724
21725 # type: textblock
21726 #: ../fuse/guestmount.pod:42
21727 msgid ""
21728 "For a typical Linux guest which has a /boot filesystem on the first "
21729 "partition, and the root filesystem on a logical volume:"
21730 msgstr ""
21731
21732 # type: verbatim
21733 #: ../fuse/guestmount.pod:45
21734 #, no-wrap
21735 msgid ""
21736 " guestmount -a linux.img -m /dev/VG/LV -m /dev/sda1:/boot --ro /mnt\n"
21737 "\n"
21738 msgstr ""
21739
21740 # type: textblock
21741 #: ../fuse/guestmount.pod:47
21742 msgid ""
21743 "To get L<virt-inspector(1)> to do the hard work of detecting guest "
21744 "mountpoints for you:"
21745 msgstr ""
21746
21747 # type: verbatim
21748 #: ../fuse/guestmount.pod:50
21749 #, no-wrap
21750 msgid ""
21751 " guestmount $(virt-inspector --ro-fish MyGuest) /mnt\n"
21752 "\n"
21753 msgstr ""
21754
21755 # type: textblock
21756 #: ../fuse/guestmount.pod:52
21757 msgid ""
21758 "(or use --fish if you don't want it to be a read only mount).  The option is "
21759 "called I<--ro-fish> or I<--fish> because these parameters are compatible "
21760 "with L<guestfish(1)>."
21761 msgstr ""
21762
21763 # type: textblock
21764 #: ../fuse/guestmount.pod:56
21765 msgid ""
21766 "If you don't know what filesystems are contained in a guest or disk image, "
21767 "use L<virt-list-filesystems(1)> first:"
21768 msgstr ""
21769
21770 # type: verbatim
21771 #: ../fuse/guestmount.pod:59
21772 #, no-wrap
21773 msgid ""
21774 " virt-list-filesystems MyGuest\n"
21775 "\n"
21776 msgstr ""
21777
21778 # type: textblock
21779 #: ../fuse/guestmount.pod:61
21780 msgid ""
21781 "If you want to trace the libguestfs calls but without excessive debugging, "
21782 "we recommend:"
21783 msgstr ""
21784
21785 # type: verbatim
21786 #: ../fuse/guestmount.pod:64
21787 #, no-wrap
21788 msgid ""
21789 " guestmount [-a ... -m ...] --trace /mnt\n"
21790 "\n"
21791 msgstr ""
21792
21793 # type: textblock
21794 #: ../fuse/guestmount.pod:66
21795 msgid "If you want to debug the program, we recommend:"
21796 msgstr ""
21797
21798 # type: verbatim
21799 #: ../fuse/guestmount.pod:68
21800 #, no-wrap
21801 msgid ""
21802 " guestmount [-a ... -m ...] --trace --verbose /mnt\n"
21803 "\n"
21804 msgstr ""
21805
21806 # type: textblock
21807 #: ../fuse/guestmount.pod:76
21808 msgid "Add a block device or virtual machine image."
21809 msgstr ""
21810
21811 # type: =item
21812 #: ../fuse/guestmount.pod:78
21813 msgid "B<--dir-cache-timeout N>"
21814 msgstr ""
21815
21816 # type: textblock
21817 #: ../fuse/guestmount.pod:80
21818 msgid ""
21819 "Set the readdir cache timeout to I<N> seconds, the default being 60 "
21820 "seconds.  The readdir cache [actually, there are several semi-independent "
21821 "caches] is populated after a readdir(2) call with the stat and extended "
21822 "attributes of the files in the directory, in anticipation that they will be "
21823 "requested soon after."
21824 msgstr ""
21825
21826 # type: textblock
21827 #: ../fuse/guestmount.pod:86
21828 msgid ""
21829 "There is also a different attribute cache implemented by FUSE (see the FUSE "
21830 "option I<-o attr_timeout>), but the FUSE cache does not anticipate future "
21831 "requests, only cache existing ones."
21832 msgstr ""
21833
21834 # type: =item
21835 #: ../fuse/guestmount.pod:90
21836 msgid "B<--fuse-help>"
21837 msgstr ""
21838
21839 # type: textblock
21840 #: ../fuse/guestmount.pod:92
21841 msgid "Display help on special FUSE options (see I<-o> below)."
21842 msgstr ""
21843
21844 # type: textblock
21845 #: ../fuse/guestmount.pod:96
21846 msgid "Display brief help and exit."
21847 msgstr ""
21848
21849 # type: =item
21850 #: ../fuse/guestmount.pod:98
21851 msgid "B<-m dev[:mnt]> | B<--mount dev[:mnt]>"
21852 msgstr ""
21853
21854 # type: textblock
21855 #: ../fuse/guestmount.pod:100
21856 msgid ""
21857 "Mount the named partition or logical volume on the given mountpoint B<in the "
21858 "guest> (this has nothing to do with mountpoints in the host)."
21859 msgstr ""
21860
21861 # type: textblock
21862 #: ../fuse/guestmount.pod:103
21863 msgid ""
21864 "If the mountpoint is omitted, it defaults to C</>.  You have to mount "
21865 "something on C</>."
21866 msgstr ""
21867
21868 # type: textblock
21869 #: ../fuse/guestmount.pod:108
21870 msgid ""
21871 "By default, we attempt to sync the guest disk when the FUSE mountpoint is "
21872 "unmounted.  If you specify this option, then we don't attempt to sync the "
21873 "disk.  See the discussion of autosync in the L<guestfs(3)> manpage."
21874 msgstr ""
21875
21876 # type: =item
21877 #: ../fuse/guestmount.pod:113
21878 msgid "B<-o option> | B<--option option>"
21879 msgstr ""
21880
21881 # type: textblock
21882 #: ../fuse/guestmount.pod:115
21883 msgid "Pass extra options to FUSE."
21884 msgstr ""
21885
21886 # type: textblock
21887 #: ../fuse/guestmount.pod:117
21888 msgid ""
21889 "To get a list of all the extra options supported by FUSE, use the command "
21890 "below.  Note that only the FUSE I<-o> options can be passed, and only some "
21891 "of them are a good idea."
21892 msgstr ""
21893
21894 # type: verbatim
21895 #: ../fuse/guestmount.pod:121
21896 #, no-wrap
21897 msgid ""
21898 " guestmount --fuse-help\n"
21899 "\n"
21900 msgstr ""
21901
21902 # type: textblock
21903 #: ../fuse/guestmount.pod:123
21904 msgid "Some potentially useful FUSE options:"
21905 msgstr ""
21906
21907 # type: =item
21908 #: ../fuse/guestmount.pod:127
21909 msgid "B<-o allow_other>"
21910 msgstr ""
21911
21912 # type: textblock
21913 #: ../fuse/guestmount.pod:129
21914 msgid "Allow other users to see the filesystem."
21915 msgstr ""
21916
21917 # type: =item
21918 #: ../fuse/guestmount.pod:131
21919 msgid "B<-o attr_timeout=N>"
21920 msgstr ""
21921
21922 # type: textblock
21923 #: ../fuse/guestmount.pod:133
21924 msgid "Enable attribute caching by FUSE, and set the timeout to I<N> seconds."
21925 msgstr ""
21926
21927 # type: =item
21928 #: ../fuse/guestmount.pod:135
21929 msgid "B<-o kernel_cache>"
21930 msgstr ""
21931
21932 # type: textblock
21933 #: ../fuse/guestmount.pod:137
21934 msgid ""
21935 "Allow the kernel to cache files (reduces the number of reads that have to go "
21936 "through the L<guestfs(3)> API).  This is generally a good idea if you can "
21937 "afford the extra memory usage."
21938 msgstr ""
21939
21940 # type: =item
21941 #: ../fuse/guestmount.pod:141
21942 msgid "B<-o uid=N> B<-o gid=N>"
21943 msgstr ""
21944
21945 # type: textblock
21946 #: ../fuse/guestmount.pod:143
21947 msgid ""
21948 "Use these options to map all UIDs and GIDs inside the guest filesystem to "
21949 "the chosen values."
21950 msgstr ""
21951
21952 # type: textblock
21953 #: ../fuse/guestmount.pod:150
21954 msgid ""
21955 "Add devices and mount everything read-only.  Also disallow writes and make "
21956 "the disk appear read-only to FUSE."
21957 msgstr ""
21958
21959 # type: textblock
21960 #: ../fuse/guestmount.pod:153
21961 msgid ""
21962 "This is highly recommended if you are not going to edit the guest disk.  If "
21963 "the guest is running and this option is I<not> supplied, then there is a "
21964 "strong risk of disk corruption in the guest.  We try to prevent this from "
21965 "happening, but it is not always possible."
21966 msgstr ""
21967
21968 # type: textblock
21969 #: ../fuse/guestmount.pod:160
21970 msgid "Enable SELinux support for the guest."
21971 msgstr ""
21972
21973 # type: =item
21974 #: ../fuse/guestmount.pod:162
21975 msgid "B<--trace>"
21976 msgstr ""
21977
21978 # type: textblock
21979 #: ../fuse/guestmount.pod:164
21980 msgid "Trace libguestfs calls (to stderr)."
21981 msgstr ""
21982
21983 # type: textblock
21984 #: ../fuse/guestmount.pod:166
21985 msgid "This also stops the daemon from forking into the background."
21986 msgstr ""
21987
21988 # type: textblock
21989 #: ../fuse/guestmount.pod:170
21990 msgid "Enable verbose messages from underlying libguestfs."
21991 msgstr ""
21992
21993 # type: textblock
21994 #: ../fuse/guestmount.pod:174
21995 msgid "Display the program version and exit."
21996 msgstr ""
21997
21998 # type: textblock
21999 #: ../fuse/guestmount.pod:180
22000 msgid ""
22001 "L<guestfish(1)>, L<virt-inspector(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
22002 "L<virt-tar(1)>, L<guestfs(3)>, L<http://libguestfs.org/>, "
22003 "L<http://fuse.sf.net/>."
22004 msgstr ""
22005
22006 # type: textblock
22007 #: ../inspector/virt-inspector.pl:40
22008 msgid ""
22009 "virt-inspector - Display OS version, kernel, drivers, mount points, "
22010 "applications, etc. in a virtual machine"
22011 msgstr ""
22012
22013 # type: verbatim
22014 #: ../inspector/virt-inspector.pl:44
22015 #, no-wrap
22016 msgid ""
22017 " virt-inspector [--connect URI] domname\n"
22018 "\n"
22019 msgstr ""
22020
22021 # type: verbatim
22022 #: ../inspector/virt-inspector.pl:46
22023 #, no-wrap
22024 msgid ""
22025 " virt-inspector guest.img [guest.img ...]\n"
22026 "\n"
22027 msgstr ""
22028
22029 # type: textblock
22030 #: ../inspector/virt-inspector.pl:50
22031 msgid ""
22032 "B<virt-inspector> examines a virtual machine and tries to determine the "
22033 "version of the OS, the kernel version, what drivers are installed, whether "
22034 "the virtual machine is fully virtualized (FV) or para-virtualized (PV), what "
22035 "applications are installed and more."
22036 msgstr ""
22037
22038 # type: textblock
22039 #: ../inspector/virt-inspector.pl:55
22040 msgid ""
22041 "Virt-inspector can produce output in several formats, including a readable "
22042 "text report, and XML for feeding into other programs."
22043 msgstr ""
22044
22045 # type: textblock
22046 #: ../inspector/virt-inspector.pl:58
22047 msgid ""
22048 "In the normal usage, use C<virt-inspector domname> where C<domname> is the "
22049 "libvirt domain (see: C<virsh list --all>)."
22050 msgstr ""
22051
22052 # type: textblock
22053 #: ../inspector/virt-inspector.pl:61
22054 msgid ""
22055 "You can also run virt-inspector directly on disk images from a single "
22056 "virtual machine.  Use C<virt-inspector guest.img>.  In rare cases a domain "
22057 "has several block devices, in which case you should list them one after "
22058 "another, with the first corresponding to the guest's C</dev/sda>, the second "
22059 "to the guest's C</dev/sdb> and so on."
22060 msgstr ""
22061
22062 # type: textblock
22063 #: ../inspector/virt-inspector.pl:67
22064 msgid ""
22065 "Virt-inspector can only inspect and report upon I<one domain at a time>.  To "
22066 "inspect several virtual machines, you have to run virt-inspector several "
22067 "times (for example, from a shell script for-loop)."
22068 msgstr ""
22069
22070 # type: textblock
22071 #: ../inspector/virt-inspector.pl:72
22072 msgid ""
22073 "Because virt-inspector needs direct access to guest images, it won't "
22074 "normally work over remote libvirt connections."
22075 msgstr ""
22076
22077 # type: textblock
22078 #: ../inspector/virt-inspector.pl:85 ../tools/virt-cat.pl:90 ../tools/virt-df.pl:81 ../tools/virt-edit.pl:83 ../tools/virt-list-filesystems.pl:60 ../tools/virt-list-partitions.pl:61 ../tools/virt-ls.pl:89 ../tools/virt-make-fs.pl:163 ../tools/virt-rescue.pl:113 ../tools/virt-tar.pl:109 ../tools/virt-win-reg.pl:182
22079 msgid "Display brief help."
22080 msgstr ""
22081
22082 # type: =item
22083 #: ../inspector/virt-inspector.pl:91 ../tools/virt-cat.pl:96 ../tools/virt-df.pl:87 ../tools/virt-edit.pl:89 ../tools/virt-list-filesystems.pl:66 ../tools/virt-list-partitions.pl:67 ../tools/virt-ls.pl:95 ../tools/virt-make-fs.pl:169 ../tools/virt-rescue.pl:119 ../tools/virt-resize.pl:249 ../tools/virt-tar.pl:115 ../tools/virt-win-reg.pl:188
22084 msgid "B<--version>"
22085 msgstr ""
22086
22087 # type: textblock
22088 #: ../inspector/virt-inspector.pl:93 ../tools/virt-cat.pl:98 ../tools/virt-df.pl:89 ../tools/virt-edit.pl:91 ../tools/virt-list-filesystems.pl:68 ../tools/virt-list-partitions.pl:69 ../tools/virt-ls.pl:97 ../tools/virt-make-fs.pl:171 ../tools/virt-rescue.pl:121 ../tools/virt-resize.pl:251 ../tools/virt-tar.pl:117 ../tools/virt-win-reg.pl:190
22089 msgid "Display version number and exit."
22090 msgstr ""
22091
22092 # type: =item
22093 #: ../inspector/virt-inspector.pl:99 ../tools/virt-cat.pl:104 ../tools/virt-df.pl:95 ../tools/virt-edit.pl:113 ../tools/virt-list-filesystems.pl:74 ../tools/virt-list-partitions.pl:75 ../tools/virt-ls.pl:103 ../tools/virt-rescue.pl:135 ../tools/virt-tar.pl:123 ../tools/virt-win-reg.pl:204
22094 msgid "B<--connect URI> | B<-c URI>"
22095 msgstr ""
22096
22097 # type: textblock
22098 #: ../inspector/virt-inspector.pl:101 ../tools/virt-cat.pl:106 ../tools/virt-df.pl:97 ../tools/virt-edit.pl:115 ../tools/virt-list-filesystems.pl:76 ../tools/virt-list-partitions.pl:77 ../tools/virt-ls.pl:105 ../tools/virt-rescue.pl:137 ../tools/virt-tar.pl:125 ../tools/virt-win-reg.pl:206
22099 msgid ""
22100 "If using libvirt, connect to the given I<URI>.  If omitted, then we connect "
22101 "to the default libvirt hypervisor."
22102 msgstr ""
22103
22104 # type: textblock
22105 #: ../inspector/virt-inspector.pl:104
22106 msgid ""
22107 "Libvirt is only used if you specify a C<domname> on the command line.  If "
22108 "you specify guest block devices directly, then libvirt is not used at all."
22109 msgstr ""
22110
22111 # type: textblock
22112 #: ../inspector/virt-inspector.pl:114
22113 msgid ""
22114 "The following options select the output format.  Use only one of them.  The "
22115 "default is a readable text report."
22116 msgstr ""
22117
22118 # type: =item
22119 #: ../inspector/virt-inspector.pl:119
22120 msgid "B<--text> (default)"
22121 msgstr ""
22122
22123 # type: textblock
22124 #: ../inspector/virt-inspector.pl:121
22125 msgid "Plain text report."
22126 msgstr ""
22127
22128 # type: =item
22129 #: ../inspector/virt-inspector.pl:123
22130 msgid "B<--none>"
22131 msgstr ""
22132
22133 # type: textblock
22134 #: ../inspector/virt-inspector.pl:125
22135 msgid "Produce no output at all."
22136 msgstr ""
22137
22138 # type: =item
22139 #: ../inspector/virt-inspector.pl:127
22140 msgid "B<--xml>"
22141 msgstr ""
22142
22143 # type: textblock
22144 #: ../inspector/virt-inspector.pl:129
22145 msgid ""
22146 "If you select I<--xml> then you get XML output which can be fed to other "
22147 "programs."
22148 msgstr ""
22149
22150 # type: =item
22151 #: ../inspector/virt-inspector.pl:132
22152 msgid "B<--yaml>"
22153 msgstr ""
22154
22155 # type: textblock
22156 #: ../inspector/virt-inspector.pl:134
22157 msgid ""
22158 "If you select I<--yaml> then you get YAML output which can be fed to other "
22159 "programs."
22160 msgstr ""
22161
22162 # type: =item
22163 #: ../inspector/virt-inspector.pl:137
22164 msgid "B<--perl>"
22165 msgstr ""
22166
22167 # type: textblock
22168 #: ../inspector/virt-inspector.pl:139
22169 msgid ""
22170 "If you select I<--perl> then you get Perl structures output which can be "
22171 "used directly in another Perl program."
22172 msgstr ""
22173
22174 # type: =item
22175 #: ../inspector/virt-inspector.pl:142
22176 msgid "B<--fish>"
22177 msgstr ""
22178
22179 # type: =item
22180 #: ../inspector/virt-inspector.pl:144
22181 msgid "B<--ro-fish>"
22182 msgstr ""
22183
22184 # type: textblock
22185 #: ../inspector/virt-inspector.pl:146
22186 msgid ""
22187 "If you select I<--fish> then we print a L<guestfish(1)> command line which "
22188 "will automatically mount up the filesystems on the correct mount points.  "
22189 "Try this for example:"
22190 msgstr ""
22191
22192 # type: verbatim
22193 #: ../inspector/virt-inspector.pl:150
22194 #, no-wrap
22195 msgid ""
22196 " guestfish $(virt-inspector --fish guest.img)\n"
22197 "\n"
22198 msgstr ""
22199
22200 # type: textblock
22201 #: ../inspector/virt-inspector.pl:152
22202 msgid ""
22203 "I<--ro-fish> is the same, but the I<--ro> option is passed to guestfish so "
22204 "that the filesystems are mounted read-only."
22205 msgstr ""
22206
22207 # type: =item
22208 #: ../inspector/virt-inspector.pl:155
22209 msgid "B<--query>"
22210 msgstr ""
22211
22212 # type: textblock
22213 #: ../inspector/virt-inspector.pl:157
22214 msgid ""
22215 "In \"query mode\" we answer common questions about the guest, such as "
22216 "whether it is fullvirt or needs a Xen hypervisor to run."
22217 msgstr ""
22218
22219 # type: textblock
22220 #: ../inspector/virt-inspector.pl:160
22221 msgid "See section I<QUERY MODE> below."
22222 msgstr ""
22223
22224 # type: =item
22225 #: ../inspector/virt-inspector.pl:166
22226 msgid "B<--windows-registry>"
22227 msgstr ""
22228
22229 # type: textblock
22230 #: ../inspector/virt-inspector.pl:168
22231 msgid ""
22232 "This flag is ignored for compatibility with earlier releases of the "
22233 "software."
22234 msgstr ""
22235
22236 # type: textblock
22237 #: ../inspector/virt-inspector.pl:171
22238 msgid ""
22239 "In this version, if L<Win::Hivex(3)> is available, then we attempt to parse "
22240 "information out of the Registry for any Windows guest."
22241 msgstr ""
22242
22243 # type: =head1
22244 #: ../inspector/virt-inspector.pl:218
22245 msgid "OUTPUT FORMAT"
22246 msgstr ""
22247
22248 # type: verbatim
22249 #: ../inspector/virt-inspector.pl:220
22250 #, no-wrap
22251 msgid ""
22252 " Operating system(s)\n"
22253 " -------------------\n"
22254 " Linux (distro + version)\n"
22255 " Windows (version)\n"
22256 "    |\n"
22257 "    |\n"
22258 "    +--- Filesystems ---------- Installed apps --- Kernel & drivers\n"
22259 "         -----------            --------------     ----------------\n"
22260 "         mount point => device  List of apps       Extra information\n"
22261 "         mount point => device  and versions       about kernel(s)\n"
22262 "              ...                                  and drivers\n"
22263 "         swap => swap device\n"
22264 "         (plus lots of extra information\n"
22265 "         about each filesystem)\n"
22266 "\n"
22267 msgstr ""
22268
22269 # type: textblock
22270 #: ../inspector/virt-inspector.pl:235
22271 msgid "The output of virt-inspector is a complex two-level data structure."
22272 msgstr ""
22273
22274 # type: textblock
22275 #: ../inspector/virt-inspector.pl:237
22276 msgid ""
22277 "At the top level is a list of the operating systems installed on the guest.  "
22278 "(For the vast majority of guests, only a single OS is installed.)  The data "
22279 "returned for the OS includes the name (Linux, Windows), the distribution and "
22280 "version."
22281 msgstr ""
22282
22283 # type: textblock
22284 #: ../inspector/virt-inspector.pl:242
22285 msgid "The diagram above shows what we return for each OS."
22286 msgstr ""
22287
22288 # type: textblock
22289 #: ../inspector/virt-inspector.pl:244
22290 msgid ""
22291 "With the I<--xml> option the output is mapped into an XML document.  There "
22292 "is a RELAX-NG schema for this XML in the file I<virt-inspector.rng> which "
22293 "normally ships with virt-inspector, or can be found in the source."
22294 msgstr ""
22295
22296 # type: textblock
22297 #: ../inspector/virt-inspector.pl:249
22298 msgid ""
22299 "With the I<--fish> or I<--ro-fish> option the mount points are mapped to "
22300 "L<guestfish(1)> command line parameters, so that you can go in afterwards "
22301 "and inspect the guest with everything mounted in the right place.  For "
22302 "example:"
22303 msgstr ""
22304
22305 # type: verbatim
22306 #: ../inspector/virt-inspector.pl:254
22307 #, no-wrap
22308 msgid ""
22309 " guestfish $(virt-inspector --ro-fish guest.img)\n"
22310 " ==> guestfish --ro -a guest.img -m /dev/VG/LV:/ -m /dev/sda1:/boot\n"
22311 "\n"
22312 msgstr ""
22313
22314 # type: =head1
22315 #: ../inspector/virt-inspector.pl:589
22316 msgid "QUERY MODE"
22317 msgstr ""
22318
22319 # type: textblock
22320 #: ../inspector/virt-inspector.pl:591
22321 msgid ""
22322 "When you use C<virt-inspector --query>, the output is a series of lines of "
22323 "the form:"
22324 msgstr ""
22325
22326 # type: verbatim
22327 #: ../inspector/virt-inspector.pl:594
22328 #, no-wrap
22329 msgid ""
22330 " windows=no\n"
22331 " linux=yes\n"
22332 " fullvirt=yes\n"
22333 " xen_pv_drivers=no\n"
22334 "\n"
22335 msgstr ""
22336
22337 # type: textblock
22338 #: ../inspector/virt-inspector.pl:599
22339 msgid ""
22340 "(each answer is usually C<yes> or C<no>, or the line is completely missing "
22341 "if we could not determine the answer at all)."
22342 msgstr ""
22343
22344 # type: textblock
22345 #: ../inspector/virt-inspector.pl:602
22346 msgid ""
22347 "If the guest is multiboot, you can get apparently conflicting answers "
22348 "(eg. C<windows=yes> and C<linux=yes>, or a guest which is both fullvirt and "
22349 "has a Xen PV kernel).  This is normal, and just means that the guest can do "
22350 "both things, although it might require operator intervention such as "
22351 "selecting a boot option when the guest is booting."
22352 msgstr ""
22353
22354 # type: textblock
22355 #: ../inspector/virt-inspector.pl:609
22356 msgid "This section describes the full range of answers possible."
22357 msgstr ""
22358
22359 # type: =item
22360 #: ../inspector/virt-inspector.pl:630
22361 msgid "windows=(yes|no)"
22362 msgstr ""
22363
22364 # type: textblock
22365 #: ../inspector/virt-inspector.pl:632
22366 msgid "Answer C<yes> if Microsoft Windows is installed in the guest."
22367 msgstr ""
22368
22369 # type: =item
22370 #: ../inspector/virt-inspector.pl:645
22371 msgid "linux=(yes|no)"
22372 msgstr ""
22373
22374 # type: textblock
22375 #: ../inspector/virt-inspector.pl:647
22376 msgid "Answer C<yes> if a Linux kernel is installed in the guest."
22377 msgstr ""
22378
22379 # type: =item
22380 #: ../inspector/virt-inspector.pl:660
22381 msgid "rhel=(yes|no)"
22382 msgstr ""
22383
22384 # type: textblock
22385 #: ../inspector/virt-inspector.pl:662
22386 msgid "Answer C<yes> if the guest contains Red Hat Enterprise Linux."
22387 msgstr ""
22388
22389 # type: =item
22390 #: ../inspector/virt-inspector.pl:676
22391 msgid "fedora=(yes|no)"
22392 msgstr ""
22393
22394 # type: textblock
22395 #: ../inspector/virt-inspector.pl:678
22396 msgid "Answer C<yes> if the guest contains the Fedora Linux distribution."
22397 msgstr ""
22398
22399 # type: =item
22400 #: ../inspector/virt-inspector.pl:691
22401 msgid "debian=(yes|no)"
22402 msgstr ""
22403
22404 # type: textblock
22405 #: ../inspector/virt-inspector.pl:693
22406 msgid "Answer C<yes> if the guest contains the Debian Linux distribution."
22407 msgstr ""
22408
22409 # type: =item
22410 #: ../inspector/virt-inspector.pl:706
22411 msgid "fullvirt=(yes|no)"
22412 msgstr ""
22413
22414 # type: textblock
22415 #: ../inspector/virt-inspector.pl:708
22416 msgid ""
22417 "Answer C<yes> if there is at least one operating system kernel installed in "
22418 "the guest which runs fully virtualized.  Such a guest would require a "
22419 "hypervisor which supports full system virtualization."
22420 msgstr ""
22421
22422 # type: =item
22423 #: ../inspector/virt-inspector.pl:731
22424 msgid "xen_domU_kernel=(yes|no)"
22425 msgstr ""
22426
22427 # type: textblock
22428 #: ../inspector/virt-inspector.pl:733
22429 msgid ""
22430 "Answer C<yes> if there is at least one Linux kernel installed in the guest "
22431 "which is compiled as a Xen DomU (a Xen paravirtualized guest)."
22432 msgstr ""
22433
22434 # type: =item
22435 #: ../inspector/virt-inspector.pl:753
22436 msgid "xen_pv_drivers=(yes|no)"
22437 msgstr ""
22438
22439 # type: textblock
22440 #: ../inspector/virt-inspector.pl:755
22441 msgid ""
22442 "Answer C<yes> if the guest has Xen paravirtualized drivers installed "
22443 "(usually the kernel itself will be fully virtualized, but the PV drivers "
22444 "have been installed by the administrator for performance reasons)."
22445 msgstr ""
22446
22447 # type: =item
22448 #: ../inspector/virt-inspector.pl:777
22449 msgid "virtio_drivers=(yes|no)"
22450 msgstr ""
22451
22452 # type: textblock
22453 #: ../inspector/virt-inspector.pl:779
22454 msgid ""
22455 "Answer C<yes> if the guest has virtio paravirtualized drivers installed.  "
22456 "Virtio drivers are commonly used to improve the performance of KVM."
22457 msgstr ""
22458
22459 # type: =item
22460 #: ../inspector/virt-inspector.pl:800
22461 msgid "userspace_arch=(x86_64|...)"
22462 msgstr ""
22463
22464 # type: textblock
22465 #: ../inspector/virt-inspector.pl:802
22466 msgid "Print the architecture of userspace."
22467 msgstr ""
22468
22469 # type: textblock
22470 #: ../inspector/virt-inspector.pl:804 ../inspector/virt-inspector.pl:825
22471 msgid "NB. For multi-boot VMs this can print several lines."
22472 msgstr ""
22473
22474 # type: =item
22475 #: ../inspector/virt-inspector.pl:821
22476 msgid "kernel_arch=(x86_64|...)"
22477 msgstr ""
22478
22479 # type: textblock
22480 #: ../inspector/virt-inspector.pl:823
22481 msgid "Print the architecture of the kernel."
22482 msgstr ""
22483
22484 # type: textblock
22485 #: ../inspector/virt-inspector.pl:848 ../tools/virt-df.pl:484
22486 msgid ""
22487 "L<guestfs(3)>, L<guestfish(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
22488 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
22489 msgstr ""
22490
22491 # type: textblock
22492 #: ../inspector/virt-inspector.pl:857 ../tools/virt-cat.pl:175 ../tools/virt-df.pl:493 ../tools/virt-edit.pl:339 ../tools/virt-list-filesystems.pl:205 ../tools/virt-list-partitions.pl:242 ../tools/virt-ls.pl:223 ../tools/virt-make-fs.pl:554 ../tools/virt-rescue.pl:243 ../tools/virt-resize.pl:1409 ../tools/virt-tar.pl:270 ../tools/virt-win-reg.pl:489
22493 msgid "Richard W.M. Jones L<http://people.redhat.com/~rjones/>"
22494 msgstr ""
22495
22496 # type: textblock
22497 #: ../inspector/virt-inspector.pl:859
22498 msgid "Matthew Booth L<mbooth@redhat.com>"
22499 msgstr ""
22500
22501 # type: textblock
22502 #: ../inspector/virt-inspector.pl:863 ../tools/virt-cat.pl:179 ../tools/virt-list-filesystems.pl:209 ../tools/virt-ls.pl:227 ../tools/virt-tar.pl:274
22503 msgid "Copyright (C) 2009 Red Hat Inc."
22504 msgstr ""
22505
22506 # type: textblock
22507 #: ../tools/virt-cat.pl:34
22508 msgid "virt-cat - Display a file in a virtual machine"
22509 msgstr ""
22510
22511 # type: verbatim
22512 #: ../tools/virt-cat.pl:38
22513 #, no-wrap
22514 msgid ""
22515 " virt-cat [--options] domname file\n"
22516 "\n"
22517 msgstr ""
22518
22519 # type: verbatim
22520 #: ../tools/virt-cat.pl:40
22521 #, no-wrap
22522 msgid ""
22523 " virt-cat [--options] disk.img [disk.img ...] file\n"
22524 "\n"
22525 msgstr ""
22526
22527 # type: textblock
22528 #: ../tools/virt-cat.pl:44
22529 msgid ""
22530 "C<virt-cat> is a command line tool to display the contents of C<file> where "
22531 "C<file> exists in the named virtual machine (or disk image)."
22532 msgstr ""
22533
22534 # type: textblock
22535 #: ../tools/virt-cat.pl:47
22536 msgid ""
22537 "C<virt-cat> can be used to quickly view a single file.  To edit a file, use "
22538 "C<virt-edit>.  For more complex cases you should look at the L<guestfish(1)> "
22539 "tool."
22540 msgstr ""
22541
22542 # type: textblock
22543 #: ../tools/virt-cat.pl:53
22544 msgid "Display C</etc/fstab> file from inside the libvirt VM called C<mydomain>:"
22545 msgstr ""
22546
22547 # type: verbatim
22548 #: ../tools/virt-cat.pl:56
22549 #, no-wrap
22550 msgid ""
22551 " virt-cat mydomain /etc/fstab\n"
22552 "\n"
22553 msgstr ""
22554
22555 # type: textblock
22556 #: ../tools/virt-cat.pl:58
22557 msgid "List syslog messages from a VM:"
22558 msgstr ""
22559
22560 # type: verbatim
22561 #: ../tools/virt-cat.pl:60
22562 #, no-wrap
22563 msgid ""
22564 " virt-cat mydomain /var/log/messages | tail\n"
22565 "\n"
22566 msgstr ""
22567
22568 # type: textblock
22569 #: ../tools/virt-cat.pl:62
22570 msgid "Find out what DHCP IP address a VM acquired:"
22571 msgstr ""
22572
22573 # type: verbatim
22574 #: ../tools/virt-cat.pl:64
22575 #, no-wrap
22576 msgid ""
22577 " virt-cat mydomain /var/log/messages | grep 'dhclient: bound to' | tail\n"
22578 "\n"
22579 msgstr ""
22580
22581 # type: textblock
22582 #: ../tools/virt-cat.pl:66
22583 msgid "Find out what packages were recently installed:"
22584 msgstr ""
22585
22586 # type: verbatim
22587 #: ../tools/virt-cat.pl:68
22588 #, no-wrap
22589 msgid ""
22590 " virt-cat mydomain /var/log/yum.log | tail\n"
22591 "\n"
22592 msgstr ""
22593
22594 # type: textblock
22595 #: ../tools/virt-cat.pl:70
22596 msgid "Find out who is logged on inside a virtual machine:"
22597 msgstr ""
22598
22599 # type: verbatim
22600 #: ../tools/virt-cat.pl:72
22601 #, no-wrap
22602 msgid ""
22603 " virt-cat mydomain /var/run/utmp > /tmp/utmp\n"
22604 " who /tmp/utmp\n"
22605 "\n"
22606 msgstr ""
22607
22608 # type: textblock
22609 #: ../tools/virt-cat.pl:75
22610 msgid "or who was logged on:"
22611 msgstr ""
22612
22613 # type: verbatim
22614 #: ../tools/virt-cat.pl:77
22615 #, no-wrap
22616 msgid ""
22617 " virt-cat mydomain /var/log/wtmp > /tmp/wtmp\n"
22618 " last -f /tmp/wtmp\n"
22619 "\n"
22620 msgstr ""
22621
22622 # type: textblock
22623 #: ../tools/virt-cat.pl:109 ../tools/virt-df.pl:100 ../tools/virt-edit.pl:118 ../tools/virt-list-filesystems.pl:79 ../tools/virt-list-partitions.pl:80 ../tools/virt-ls.pl:108 ../tools/virt-rescue.pl:140 ../tools/virt-tar.pl:128 ../tools/virt-win-reg.pl:209
22624 msgid ""
22625 "If you specify guest block devices directly, then libvirt is not used at "
22626 "all."
22627 msgstr ""
22628
22629 # type: textblock
22630 #: ../tools/virt-cat.pl:165
22631 msgid ""
22632 "L<guestfs(3)>, L<guestfish(1)>, L<virt-edit(1)>, L<Sys::Guestfs(3)>, "
22633 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
22634 msgstr ""
22635
22636 # type: =head1
22637 #: ../tools/virt-cat.pl:173 ../tools/virt-df.pl:491 ../tools/virt-edit.pl:337 ../tools/virt-list-filesystems.pl:203 ../tools/virt-list-partitions.pl:240 ../tools/virt-ls.pl:221 ../tools/virt-make-fs.pl:552 ../tools/virt-rescue.pl:241 ../tools/virt-resize.pl:1407 ../tools/virt-tar.pl:268 ../tools/virt-win-reg.pl:487
22638 msgid "AUTHOR"
22639 msgstr ""
22640
22641 # type: textblock
22642 #: ../tools/virt-df.pl:36
22643 msgid "virt-df - Display free space on virtual filesystems"
22644 msgstr ""
22645
22646 # type: verbatim
22647 #: ../tools/virt-df.pl:40
22648 #, no-wrap
22649 msgid ""
22650 " virt-df [--options]\n"
22651 "\n"
22652 msgstr ""
22653
22654 # type: verbatim
22655 #: ../tools/virt-df.pl:42
22656 #, no-wrap
22657 msgid ""
22658 " virt-df [--options] domname\n"
22659 "\n"
22660 msgstr ""
22661
22662 # type: verbatim
22663 #: ../tools/virt-df.pl:44
22664 #, no-wrap
22665 msgid ""
22666 " virt-df [--options] disk.img [disk.img ...]\n"
22667 "\n"
22668 msgstr ""
22669
22670 # type: textblock
22671 #: ../tools/virt-df.pl:48
22672 msgid ""
22673 "C<virt-df> is a command line tool to display free space on virtual machine "
22674 "filesystems.  Unlike other tools, it doesn't just display the amount of "
22675 "space allocated to a virtual machine, but can look inside the virtual "
22676 "machine to see how much space is really being used."
22677 msgstr ""
22678
22679 # type: textblock
22680 #: ../tools/virt-df.pl:53
22681 msgid ""
22682 "It is like the L<df(1)> command, but for virtual machines, except that it "
22683 "also works for Windows virtual machines."
22684 msgstr ""
22685
22686 # type: textblock
22687 #: ../tools/virt-df.pl:56
22688 msgid ""
22689 "If used without any arguments, C<virt-df> checks with libvirt to get a list "
22690 "of all active and inactive guests, and performs a C<df>-type operation on "
22691 "each one in turn, printing out the results."
22692 msgstr ""
22693
22694 # type: textblock
22695 #: ../tools/virt-df.pl:60
22696 msgid ""
22697 "If used with any argument(s), C<virt-df> performs a C<df>-type operation on "
22698 "either the single named libvirt domain, or on the disk image(s) listed on "
22699 "the command line (which must all belong to a single VM).  In this mode (with "
22700 "arguments), C<virt-df> will I<only work for a single guest>.  If you want to "
22701 "run on multiple guests, then you have to invoke C<virt-df> multiple times."
22702 msgstr ""
22703
22704 # type: textblock
22705 #: ../tools/virt-df.pl:67
22706 msgid ""
22707 "Use the C<--csv> option to get a format which can be easily parsed by other "
22708 "programs.  Other options are mostly similar to standard C<df> options.  See "
22709 "below for the complete list."
22710 msgstr ""
22711
22712 # type: =item
22713 #: ../tools/virt-df.pl:107
22714 msgid "B<--csv>"
22715 msgstr ""
22716
22717 # type: textblock
22718 #: ../tools/virt-df.pl:109
22719 msgid ""
22720 "Write out the results in CSV format (comma-separated values).  This format "
22721 "can be imported easily into databases and spreadsheets, but read L</NOTE "
22722 "ABOUT CSV FORMAT> below."
22723 msgstr ""
22724
22725 # type: =item
22726 #: ../tools/virt-df.pl:117
22727 msgid "B<--human-readable> | B<-h>"
22728 msgstr ""
22729
22730 # type: textblock
22731 #: ../tools/virt-df.pl:119
22732 msgid "Print sizes in human-readable format."
22733 msgstr ""
22734
22735 # type: textblock
22736 #: ../tools/virt-df.pl:121
22737 msgid "You are not allowed to use I<-h> and I<--csv> at the same time."
22738 msgstr ""
22739
22740 # type: =item
22741 #: ../tools/virt-df.pl:127
22742 msgid "B<--inodes> | B<-i>"
22743 msgstr ""
22744
22745 # type: textblock
22746 #: ../tools/virt-df.pl:129
22747 msgid "Print inodes instead of blocks."
22748 msgstr ""
22749
22750 # type: =head1
22751 #: ../tools/virt-df.pl:458
22752 msgid "NOTE ABOUT CSV FORMAT"
22753 msgstr ""
22754
22755 # type: textblock
22756 #: ../tools/virt-df.pl:460
22757 msgid ""
22758 "Comma-separated values (CSV) is a deceptive format.  It I<seems> like it "
22759 "should be easy to parse, but it is definitely not easy to parse."
22760 msgstr ""
22761
22762 # type: textblock
22763 #: ../tools/virt-df.pl:463
22764 msgid ""
22765 "Myth: Just split fields at commas.  Reality: This does I<not> work "
22766 "reliably.  This example has two columns:"
22767 msgstr ""
22768
22769 # type: verbatim
22770 #: ../tools/virt-df.pl:466
22771 #, no-wrap
22772 msgid ""
22773 " \"foo,bar\",baz\n"
22774 "\n"
22775 msgstr ""
22776
22777 # type: textblock
22778 #: ../tools/virt-df.pl:468
22779 msgid ""
22780 "Myth: Read the file one line at a time.  Reality: This does I<not> work "
22781 "reliably.  This example has one row:"
22782 msgstr ""
22783
22784 # type: verbatim
22785 #: ../tools/virt-df.pl:471
22786 #, no-wrap
22787 msgid ""
22788 " \"foo\n"
22789 " bar\",baz\n"
22790 "\n"
22791 msgstr ""
22792
22793 # type: textblock
22794 #: ../tools/virt-df.pl:474
22795 msgid ""
22796 "For shell scripts, use C<csvtool> (L<http://merjis.com/developers/csv> also "
22797 "packaged in major Linux distributions)."
22798 msgstr ""
22799
22800 # type: textblock
22801 #: ../tools/virt-df.pl:477
22802 msgid ""
22803 "For other languages, use a CSV processing library (eg. C<Text::CSV> for Perl "
22804 "or Python's built-in csv library)."
22805 msgstr ""
22806
22807 # type: textblock
22808 #: ../tools/virt-df.pl:480
22809 msgid "Most spreadsheets and databases can import CSV directly."
22810 msgstr ""
22811
22812 # type: textblock
22813 #: ../tools/virt-df.pl:497 ../tools/virt-edit.pl:343 ../tools/virt-list-partitions.pl:246 ../tools/virt-rescue.pl:247
22814 msgid "Copyright (C) 2009-2010 Red Hat Inc."
22815 msgstr ""
22816
22817 # type: textblock
22818 #: ../tools/virt-edit.pl:35
22819 msgid "virt-edit - Edit a file in a virtual machine"
22820 msgstr ""
22821
22822 # type: verbatim
22823 #: ../tools/virt-edit.pl:39
22824 #, no-wrap
22825 msgid ""
22826 " virt-edit [--options] domname file\n"
22827 "\n"
22828 msgstr ""
22829
22830 # type: verbatim
22831 #: ../tools/virt-edit.pl:41
22832 #, no-wrap
22833 msgid ""
22834 " virt-edit [--options] disk.img [disk.img ...] file\n"
22835 "\n"
22836 msgstr ""
22837
22838 # type: verbatim
22839 #: ../tools/virt-edit.pl:43
22840 #, no-wrap
22841 msgid ""
22842 " virt-edit [domname|disk.img] file -e 'expr'\n"
22843 "\n"
22844 msgstr ""
22845
22846 # type: textblock
22847 #: ../tools/virt-edit.pl:47
22848 msgid ""
22849 "You must I<not> use C<virt-edit> on live virtual machines.  If you do this, "
22850 "you risk disk corruption in the VM.  C<virt-edit> tries to stop you from "
22851 "doing this, but doesn't catch all cases."
22852 msgstr ""
22853
22854 # type: textblock
22855 #: ../tools/virt-edit.pl:53
22856 msgid ""
22857 "C<virt-edit> is a command line tool to edit C<file> where C<file> exists in "
22858 "the named virtual machine (or disk image)."
22859 msgstr ""
22860
22861 # type: textblock
22862 #: ../tools/virt-edit.pl:56
22863 msgid ""
22864 "If you want to just view a file, use L<virt-cat(1)>.  For more complex cases "
22865 "you should look at the L<guestfish(1)> tool."
22866 msgstr ""
22867
22868 # type: textblock
22869 #: ../tools/virt-edit.pl:61
22870 msgid "Edit the named files interactively:"
22871 msgstr ""
22872
22873 # type: verbatim
22874 #: ../tools/virt-edit.pl:63
22875 #, no-wrap
22876 msgid ""
22877 " virt-edit mydomain /boot/grub/grub.conf\n"
22878 "\n"
22879 msgstr ""
22880
22881 # type: verbatim
22882 #: ../tools/virt-edit.pl:65
22883 #, no-wrap
22884 msgid ""
22885 " virt-edit mydomain /etc/passwd\n"
22886 "\n"
22887 msgstr ""
22888
22889 # type: textblock
22890 #: ../tools/virt-edit.pl:67
22891 msgid ""
22892 "You can also edit files non-interactively (see L</NON-INTERACTIVE EDITING> "
22893 "below).  To change the init default level to 5:"
22894 msgstr ""
22895
22896 # type: verbatim
22897 #: ../tools/virt-edit.pl:71
22898 #, no-wrap
22899 msgid ""
22900 " virt-edit mydomain /etc/inittab -e 's/^id:.*/id:5:initdefault:/'\n"
22901 "\n"
22902 msgstr ""
22903
22904 # type: =item
22905 #: ../tools/virt-edit.pl:97
22906 msgid "B<--backup extension> | B<-b extension>"
22907 msgstr ""
22908
22909 # type: textblock
22910 #: ../tools/virt-edit.pl:99
22911 msgid ""
22912 "Create a backup of the original file I<in the guest disk image>.  The backup "
22913 "has the original filename with C<extension> added."
22914 msgstr ""
22915
22916 # type: textblock
22917 #: ../tools/virt-edit.pl:102
22918 msgid ""
22919 "Usually the first character of C<extension> would be a dot C<.> so you would "
22920 "write:"
22921 msgstr ""
22922
22923 # type: verbatim
22924 #: ../tools/virt-edit.pl:105
22925 #, no-wrap
22926 msgid ""
22927 " virt-edit -b .orig [etc]\n"
22928 "\n"
22929 msgstr ""
22930
22931 # type: textblock
22932 #: ../tools/virt-edit.pl:107
22933 msgid "By default, no backup file is made."
22934 msgstr ""
22935
22936 # type: =item
22937 #: ../tools/virt-edit.pl:125
22938 msgid "B<--expr EXPR> | B<-e EXPR>"
22939 msgstr ""
22940
22941 # type: textblock
22942 #: ../tools/virt-edit.pl:127
22943 msgid ""
22944 "Instead of launching the external editor, non-interactively apply the Perl "
22945 "expression C<EXPR> to each line in the file.  See L</NON-INTERACTIVE "
22946 "EDITING> below."
22947 msgstr ""
22948
22949 # type: textblock
22950 #: ../tools/virt-edit.pl:131
22951 msgid ""
22952 "Be careful to properly quote the expression to prevent it from being altered "
22953 "by the shell."
22954 msgstr ""
22955
22956 # type: =head1
22957 #: ../tools/virt-edit.pl:250
22958 msgid "NON-INTERACTIVE EDITING"
22959 msgstr ""
22960
22961 # type: textblock
22962 #: ../tools/virt-edit.pl:252
22963 msgid ""
22964 "C<virt-edit> normally calls out to C<$EDITOR> (or vi) so the system "
22965 "administrator can interactively edit the file."
22966 msgstr ""
22967
22968 # type: textblock
22969 #: ../tools/virt-edit.pl:255
22970 msgid ""
22971 "There are two ways also to use C<virt-edit> from scripts in order to make "
22972 "automated edits to files.  (Note that although you I<can> use C<virt-edit> "
22973 "like this, it's less error-prone to write scripts directly using the "
22974 "libguestfs API and Augeas for configuration file editing.)"
22975 msgstr ""
22976
22977 # type: textblock
22978 #: ../tools/virt-edit.pl:261
22979 msgid ""
22980 "The first method is to temporarily set C<$EDITOR> to any script or program "
22981 "you want to run.  The script is invoked as C<$EDITOR tmpfile> and it should "
22982 "update C<tmpfile> in place however it likes."
22983 msgstr ""
22984
22985 # type: textblock
22986 #: ../tools/virt-edit.pl:265
22987 msgid ""
22988 "The second method is to use the C<-e> parameter of C<virt-edit> to run a "
22989 "short Perl snippet in the style of L<sed(1)>.  For example to replace all "
22990 "instances of C<foo> with C<bar> in a file:"
22991 msgstr ""
22992
22993 # type: verbatim
22994 #: ../tools/virt-edit.pl:269
22995 #, no-wrap
22996 msgid ""
22997 " virt-edit domname filename -e 's/foo/bar/'\n"
22998 "\n"
22999 msgstr ""
23000
23001 # type: textblock
23002 #: ../tools/virt-edit.pl:271
23003 msgid ""
23004 "The full power of Perl regular expressions can be used (see L<perlre(1)>).  "
23005 "For example to delete root's password you could do:"
23006 msgstr ""
23007
23008 # type: verbatim
23009 #: ../tools/virt-edit.pl:274
23010 #, no-wrap
23011 msgid ""
23012 " virt-edit domname /etc/passwd -e 's/^root:.*?:/root::/'\n"
23013 "\n"
23014 msgstr ""
23015
23016 # type: textblock
23017 #: ../tools/virt-edit.pl:276
23018 msgid ""
23019 "What really happens is that the snippet is evaluated as a Perl expression "
23020 "for each line of the file.  The line, including the final C<\\n>, is passed "
23021 "in C<$_> and the expression should update C<$_> or leave it unchanged."
23022 msgstr ""
23023
23024 # type: textblock
23025 #: ../tools/virt-edit.pl:281
23026 msgid ""
23027 "To delete a line, set C<$_> to the empty string.  For example, to delete the "
23028 "C<apache> user account from the password file you can do:"
23029 msgstr ""
23030
23031 # type: verbatim
23032 #: ../tools/virt-edit.pl:284
23033 #, no-wrap
23034 msgid ""
23035 " virt-edit mydomain /etc/passwd -e '$_ = \"\" if /^apache:/'\n"
23036 "\n"
23037 msgstr ""
23038
23039 # type: textblock
23040 #: ../tools/virt-edit.pl:286
23041 msgid ""
23042 "To insert a line, prepend or append it to C<$_>.  However appending lines to "
23043 "the end of the file is rather difficult this way since there is no concept "
23044 "of \"last line of the file\" - your expression just doesn't get called "
23045 "again.  You might want to use the first method (setting C<$EDITOR>) if you "
23046 "want to do this."
23047 msgstr ""
23048
23049 # type: textblock
23050 #: ../tools/virt-edit.pl:292
23051 msgid ""
23052 "The variable C<$lineno> contains the current line number.  As is "
23053 "traditional, the first line in the file is number C<1>."
23054 msgstr ""
23055
23056 # type: textblock
23057 #: ../tools/virt-edit.pl:295
23058 msgid ""
23059 "The return value from the expression is ignored, but the expression may call "
23060 "C<die> in order to abort the whole program, leaving the original file "
23061 "untouched."
23062 msgstr ""
23063
23064 # type: textblock
23065 #: ../tools/virt-edit.pl:299
23066 msgid ""
23067 "Remember when matching the end of a line that C<$_> may contain the final "
23068 "C<\\n>, or (for DOS files) C<\\r\\n>, or if the file does not end with a "
23069 "newline then neither of these.  Thus to match or substitute some text at the "
23070 "end of a line, use this regular expression:"
23071 msgstr ""
23072
23073 # type: verbatim
23074 #: ../tools/virt-edit.pl:304
23075 #, no-wrap
23076 msgid ""
23077 " /some text(\\r?\\n)?$/\n"
23078 "\n"
23079 msgstr ""
23080
23081 # type: textblock
23082 #: ../tools/virt-edit.pl:306
23083 msgid ""
23084 "Alternately, use the perl C<chomp> function, being careful not to chomp "
23085 "C<$_> itself (since that would remove all newlines from the file):"
23086 msgstr ""
23087
23088 # type: verbatim
23089 #: ../tools/virt-edit.pl:310
23090 #, no-wrap
23091 msgid ""
23092 " my $m = $_; chomp $m; $m =~ /some text$/\n"
23093 "\n"
23094 msgstr ""
23095
23096 # type: =item
23097 #: ../tools/virt-edit.pl:316
23098 msgid "C<EDITOR>"
23099 msgstr ""
23100
23101 # type: textblock
23102 #: ../tools/virt-edit.pl:318
23103 msgid ""
23104 "If set, this string is used as the editor.  It may contain arguments, "
23105 "eg. C<\"emacs -nw\">"
23106 msgstr ""
23107
23108 # type: textblock
23109 #: ../tools/virt-edit.pl:321
23110 msgid "If not set, C<vi> is used."
23111 msgstr ""
23112
23113 # type: textblock
23114 #: ../tools/virt-edit.pl:327
23115 msgid ""
23116 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
23117 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>, "
23118 "L<perl(1)>, L<perlre(1)>."
23119 msgstr ""
23120
23121 # type: textblock
23122 #: ../tools/virt-list-filesystems.pl:32
23123 msgid "virt-list-filesystems - List filesystems in a virtual machine or disk image"
23124 msgstr ""
23125
23126 # type: verbatim
23127 #: ../tools/virt-list-filesystems.pl:36
23128 #, no-wrap
23129 msgid ""
23130 " virt-list-filesystems [--options] domname\n"
23131 "\n"
23132 msgstr ""
23133
23134 # type: verbatim
23135 #: ../tools/virt-list-filesystems.pl:38
23136 #, no-wrap
23137 msgid ""
23138 " virt-list-filesystems [--options] disk.img [disk.img ...]\n"
23139 "\n"
23140 msgstr ""
23141
23142 # type: textblock
23143 #: ../tools/virt-list-filesystems.pl:42
23144 msgid ""
23145 "C<virt-list-filesystems> is a command line tool to list the filesystems that "
23146 "are contained in a virtual machine or disk image."
23147 msgstr ""
23148
23149 # type: textblock
23150 #: ../tools/virt-list-filesystems.pl:46
23151 msgid ""
23152 "C<virt-list-filesystems> is just a simple wrapper around L<libguestfs(3)> "
23153 "functionality.  For more complex cases you should look at the "
23154 "L<guestfish(1)> tool."
23155 msgstr ""
23156
23157 # type: =item
23158 #: ../tools/virt-list-filesystems.pl:86 ../tools/virt-list-partitions.pl:95 ../tools/virt-ls.pl:115
23159 msgid "B<-l> | B<--long>"
23160 msgstr ""
23161
23162 # type: textblock
23163 #: ../tools/virt-list-filesystems.pl:88
23164 msgid ""
23165 "With this option, C<virt-list-filesystems> displays the type of each "
23166 "filesystem too (where \"type\" means C<ext3>, C<xfs> etc.)"
23167 msgstr ""
23168
23169 # type: =item
23170 #: ../tools/virt-list-filesystems.pl:95
23171 msgid "B<-a> | B<--all>"
23172 msgstr ""
23173
23174 # type: textblock
23175 #: ../tools/virt-list-filesystems.pl:97
23176 msgid ""
23177 "Normally we only show mountable filesystems.  If this option is given then "
23178 "swap devices are shown too."
23179 msgstr ""
23180
23181 # type: textblock
23182 #: ../tools/virt-list-filesystems.pl:193
23183 msgid ""
23184 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, "
23185 "L<virt-list-partitions(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
23186 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23187 msgstr ""
23188
23189 # type: textblock
23190 #: ../tools/virt-list-partitions.pl:32
23191 msgid "virt-list-partitions - List partitions in a virtual machine or disk image"
23192 msgstr ""
23193
23194 # type: verbatim
23195 #: ../tools/virt-list-partitions.pl:36
23196 #, no-wrap
23197 msgid ""
23198 " virt-list-partitions [--options] domname\n"
23199 "\n"
23200 msgstr ""
23201
23202 # type: verbatim
23203 #: ../tools/virt-list-partitions.pl:38
23204 #, no-wrap
23205 msgid ""
23206 " virt-list-partitions [--options] disk.img [disk.img ...]\n"
23207 "\n"
23208 msgstr ""
23209
23210 # type: textblock
23211 #: ../tools/virt-list-partitions.pl:42
23212 msgid ""
23213 "C<virt-list-partitions> is a command line tool to list the partitions that "
23214 "are contained in a virtual machine or disk image.  It is mainly useful as a "
23215 "first step to using L<virt-resize(1)>."
23216 msgstr ""
23217
23218 # type: textblock
23219 #: ../tools/virt-list-partitions.pl:47
23220 msgid ""
23221 "C<virt-list-partitions> is just a simple wrapper around L<libguestfs(3)> "
23222 "functionality.  For more complex cases you should look at the "
23223 "L<guestfish(1)> tool."
23224 msgstr ""
23225
23226 # type: =item
23227 #: ../tools/virt-list-partitions.pl:87
23228 msgid "B<-h> | B<--human-readable>"
23229 msgstr ""
23230
23231 # type: textblock
23232 #: ../tools/virt-list-partitions.pl:89
23233 msgid "Show sizes in human-readable form (eg. \"1G\")."
23234 msgstr ""
23235
23236 # type: textblock
23237 #: ../tools/virt-list-partitions.pl:97
23238 msgid ""
23239 "With this option, C<virt-list-partitions> displays the type and size of each "
23240 "partition too (where \"type\" means C<ext3>, C<pv> etc.)"
23241 msgstr ""
23242
23243 # type: =item
23244 #: ../tools/virt-list-partitions.pl:104
23245 msgid "B<-t> | B<--total>"
23246 msgstr ""
23247
23248 # type: textblock
23249 #: ../tools/virt-list-partitions.pl:106
23250 msgid "Display the total size of each block device (as a separate row or rows)."
23251 msgstr ""
23252
23253 # type: textblock
23254 #: ../tools/virt-list-partitions.pl:231
23255 msgid ""
23256 "L<guestfs(3)>, L<guestfish(1)>, L<virt-list-filesystems(1)>, "
23257 "L<virt-resize(1)>, L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, "
23258 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
23259 msgstr ""
23260
23261 # type: textblock
23262 #: ../tools/virt-ls.pl:35
23263 msgid "virt-ls - List files in a virtual machine"
23264 msgstr ""
23265
23266 # type: verbatim
23267 #: ../tools/virt-ls.pl:39
23268 #, no-wrap
23269 msgid ""
23270 " virt-ls [--options] domname directory\n"
23271 "\n"
23272 msgstr ""
23273
23274 # type: verbatim
23275 #: ../tools/virt-ls.pl:41
23276 #, no-wrap
23277 msgid ""
23278 " virt-ls [--options] disk.img [disk.img ...] directory\n"
23279 "\n"
23280 msgstr ""
23281
23282 # type: textblock
23283 #: ../tools/virt-ls.pl:45
23284 msgid ""
23285 "C<virt-ls> is a command line tool to list the names of files in a directory "
23286 "inside a virtual machine or disk image."
23287 msgstr ""
23288
23289 # type: textblock
23290 #: ../tools/virt-ls.pl:48
23291 msgid ""
23292 "C<virt-ls> is just a simple wrapper around L<libguestfs(3)> functionality.  "
23293 "For more complex cases you should look at the L<guestfish(1)> tool."
23294 msgstr ""
23295
23296 # type: textblock
23297 #: ../tools/virt-ls.pl:52
23298 msgid ""
23299 "C<virt-ls> can be used in one of three modes: simple, long and recursive.  A "
23300 "simple listing is like the ordinary L<ls(1)> command:"
23301 msgstr ""
23302
23303 # type: verbatim
23304 #: ../tools/virt-ls.pl:55
23305 #, no-wrap
23306 msgid ""
23307 " $ virt-ls myguest /\n"
23308 " bin\n"
23309 " boot\n"
23310 " [etc.]\n"
23311 "\n"
23312 msgstr ""
23313
23314 # type: textblock
23315 #: ../tools/virt-ls.pl:60
23316 msgid "With the C<-l> (C<--long>) option, C<virt-ls> shows more detail:"
23317 msgstr ""
23318
23319 # type: verbatim
23320 #: ../tools/virt-ls.pl:62
23321 #, no-wrap
23322 msgid ""
23323 " $ virt-ls -l myguest /\n"
23324 " total 204\n"
23325 " dr-xr-xr-x.   2 root root   4096 2009-08-25 19:06 bin\n"
23326 " dr-xr-xr-x.   5 root root   3072 2009-08-25 19:06 boot\n"
23327 " [etc.]\n"
23328 "\n"
23329 msgstr ""
23330
23331 # type: textblock
23332 #: ../tools/virt-ls.pl:68
23333 msgid ""
23334 "With the C<-R> (C<--recursive>) option, C<virt-ls> lists the names of files "
23335 "and directories recursively:"
23336 msgstr ""
23337
23338 # type: verbatim
23339 #: ../tools/virt-ls.pl:71
23340 #, no-wrap
23341 msgid ""
23342 " $ virt-ls -R myguest /tmp\n"
23343 " foo\n"
23344 " foo/bar\n"
23345 " [etc.]\n"
23346 "\n"
23347 msgstr ""
23348
23349 # type: textblock
23350 #: ../tools/virt-ls.pl:76
23351 msgid ""
23352 "You I<cannot> combine these options.  To do more complicated things, use "
23353 "L<guestfish(1)>."
23354 msgstr ""
23355
23356 # type: =item
23357 #: ../tools/virt-ls.pl:117
23358 msgid "B<-R> | B<--recursive>"
23359 msgstr ""
23360
23361 # type: textblock
23362 #: ../tools/virt-ls.pl:119
23363 msgid ""
23364 "Select the mode.  With neither of these options, C<virt-ls> produces a "
23365 "simple, flat list of the files in the named directory."
23366 msgstr ""
23367
23368 # type: textblock
23369 #: ../tools/virt-ls.pl:122
23370 msgid ""
23371 "C<virt-ls -l> produces a \"long listing\", which shows more detail (just "
23372 "like the plain C<ls -l> command)."
23373 msgstr ""
23374
23375 # type: textblock
23376 #: ../tools/virt-ls.pl:125
23377 msgid ""
23378 "C<virt-ls -R> produces a recursive list of files starting at the named "
23379 "directory.  See the documentation for the C<guestfs_find> command "
23380 "L<guestfs(3)> for precise details."
23381 msgstr ""
23382
23383 # type: textblock
23384 #: ../tools/virt-ls.pl:129
23385 msgid "You cannot combine these options."
23386 msgstr ""
23387
23388 # type: textblock
23389 #: ../tools/virt-ls.pl:212
23390 msgid ""
23391 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-tar(1)>, "
23392 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
23393 "L<http://libguestfs.org/>."
23394 msgstr ""
23395
23396 # type: textblock
23397 #: ../tools/virt-make-fs.pl:37
23398 msgid "virt-make-fs - Make a filesystem from a tar archive or files"
23399 msgstr ""
23400
23401 # type: verbatim
23402 #: ../tools/virt-make-fs.pl:41
23403 #, no-wrap
23404 msgid ""
23405 " virt-make-fs [--options] input.tar output.img\n"
23406 "\n"
23407 msgstr ""
23408
23409 # type: verbatim
23410 #: ../tools/virt-make-fs.pl:43
23411 #, no-wrap
23412 msgid ""
23413 " virt-make-fs [--options] input.tar.gz output.img\n"
23414 "\n"
23415 msgstr ""
23416
23417 # type: verbatim
23418 #: ../tools/virt-make-fs.pl:45
23419 #, no-wrap
23420 msgid ""
23421 " virt-make-fs [--options] directory output.img\n"
23422 "\n"
23423 msgstr ""
23424
23425 # type: textblock
23426 #: ../tools/virt-make-fs.pl:49
23427 msgid ""
23428 "Virt-make-fs is a command line tool for creating a filesystem from a tar "
23429 "archive or some files in a directory.  It is similar to tools like "
23430 "L<mkisofs(1)>, L<genisoimage(1)> and L<mksquashfs(1)>.  Unlike those tools, "
23431 "it can create common filesystem types like ext2/3 or NTFS, which can be "
23432 "useful if you want to attach these filesystems to existing virtual machines "
23433 "(eg. to import large amounts of read-only data to a VM)."
23434 msgstr ""
23435
23436 # type: textblock
23437 #: ../tools/virt-make-fs.pl:57
23438 msgid "Basic usage is:"
23439 msgstr ""
23440
23441 # type: verbatim
23442 #: ../tools/virt-make-fs.pl:59
23443 #, no-wrap
23444 msgid ""
23445 " virt-make-fs input output\n"
23446 "\n"
23447 msgstr ""
23448
23449 # type: textblock
23450 #: ../tools/virt-make-fs.pl:61
23451 msgid ""
23452 "where C<input> is either a directory containing files that you want to add, "
23453 "or a tar archive (either uncompressed tar or gzip-compressed tar); and "
23454 "C<output> is a disk image.  The input type is detected automatically.  The "
23455 "output disk image defaults to a raw ext2 image unless you specify extra "
23456 "flags (see L</OPTIONS> below)."
23457 msgstr ""
23458
23459 # type: =head2
23460 #: ../tools/virt-make-fs.pl:67
23461 msgid "EXTRA SPACE"
23462 msgstr ""
23463
23464 # type: textblock
23465 #: ../tools/virt-make-fs.pl:69
23466 msgid ""
23467 "Unlike formats such as tar and squashfs, a filesystem does not \"just fit\" "
23468 "the files that it contains, but might have extra space.  Depending on how "
23469 "you are going to use the output, you might think this extra space is wasted "
23470 "and want to minimize it, or you might want to leave space so that more files "
23471 "can be added later.  Virt-make-fs defaults to minimizing the extra space, "
23472 "but you can use the C<--size> flag to leave space in the filesystem if you "
23473 "want it."
23474 msgstr ""
23475
23476 # type: textblock
23477 #: ../tools/virt-make-fs.pl:77
23478 msgid ""
23479 "An alternative way to leave extra space but not make the output image any "
23480 "bigger is to use an alternative disk image format (instead of the default "
23481 "\"raw\" format).  Using C<--format=qcow2> will use the native QEmu/KVM qcow2 "
23482 "image format (check your hypervisor supports this before using it).  This "
23483 "allows you to choose a large C<--size> but the extra space won't actually be "
23484 "allocated in the image until you try to store something in it."
23485 msgstr ""
23486
23487 # type: textblock
23488 #: ../tools/virt-make-fs.pl:85
23489 msgid ""
23490 "Don't forget that you can also use local commands including L<resize2fs(8)> "
23491 "and L<virt-resize(1)> to resize existing filesystems, or rerun "
23492 "virt-make-resize to build another image from scratch."
23493 msgstr ""
23494
23495 # type: =head3
23496 #: ../tools/virt-make-fs.pl:89 ../tools/virt-make-fs.pl:123 ../tools/virt-make-fs.pl:142
23497 msgid "EXAMPLE"
23498 msgstr ""
23499
23500 # type: verbatim
23501 #: ../tools/virt-make-fs.pl:91
23502 #, no-wrap
23503 msgid ""
23504 " virt-make-fs --format=qcow2 --size=+200M input output.img\n"
23505 "\n"
23506 msgstr ""
23507
23508 # type: =head2
23509 #: ../tools/virt-make-fs.pl:93
23510 msgid "FILESYSTEM TYPE"
23511 msgstr ""
23512
23513 # type: textblock
23514 #: ../tools/virt-make-fs.pl:95
23515 msgid ""
23516 "The default filesystem type is C<ext2>.  Just about any filesystem type that "
23517 "libguestfs supports can be used (but I<not> read-only formats like "
23518 "ISO9660).  Here are some of the more common choices:"
23519 msgstr ""
23520
23521 # type: =item
23522 #: ../tools/virt-make-fs.pl:101
23523 msgid "I<ext3>"
23524 msgstr ""
23525
23526 # type: textblock
23527 #: ../tools/virt-make-fs.pl:103
23528 msgid ""
23529 "Note that ext3 filesystems contain a journal, typically 1-32 MB in size.  If "
23530 "you are not going to use the filesystem in a way that requires the journal, "
23531 "then this is just wasted overhead."
23532 msgstr ""
23533
23534 # type: =item
23535 #: ../tools/virt-make-fs.pl:107
23536 msgid "I<ntfs> or I<vfat>"
23537 msgstr ""
23538
23539 # type: textblock
23540 #: ../tools/virt-make-fs.pl:109
23541 msgid "Useful if exporting data to a Windows guest."
23542 msgstr ""
23543
23544 # type: textblock
23545 #: ../tools/virt-make-fs.pl:111
23546 msgid ""
23547 "I<Note for vfat>: The tar archive or local directory must only contain files "
23548 "which are owned by root (ie. UID:GID = 0:0).  The reason is that the tar "
23549 "program running within libguestfs is unable to change the ownership of "
23550 "non-root files, since vfat itself does not support this."
23551 msgstr ""
23552
23553 # type: =item
23554 #: ../tools/virt-make-fs.pl:116
23555 msgid "I<minix>"
23556 msgstr ""
23557
23558 # type: textblock
23559 #: ../tools/virt-make-fs.pl:118
23560 msgid ""
23561 "Lower overhead than C<ext2>, but certain limitations on filename length and "
23562 "total filesystem size."
23563 msgstr ""
23564
23565 # type: verbatim
23566 #: ../tools/virt-make-fs.pl:125
23567 #, no-wrap
23568 msgid ""
23569 " virt-make-fs --type=minix input minixfs.img\n"
23570 "\n"
23571 msgstr ""
23572
23573 # type: =head2
23574 #: ../tools/virt-make-fs.pl:127
23575 msgid "TO PARTITION OR NOT TO PARTITION"
23576 msgstr ""
23577
23578 # type: textblock
23579 #: ../tools/virt-make-fs.pl:129
23580 msgid "Optionally virt-make-fs can add a partition table to the output disk."
23581 msgstr ""
23582
23583 # type: textblock
23584 #: ../tools/virt-make-fs.pl:131
23585 msgid ""
23586 "Adding a partition can make the disk image more compatible with certain "
23587 "virtualized operating systems which don't expect to see a filesystem "
23588 "directly located on a block device (Linux doesn't care and will happily "
23589 "handle both types)."
23590 msgstr ""
23591
23592 # type: textblock
23593 #: ../tools/virt-make-fs.pl:136
23594 msgid ""
23595 "On the other hand, if you have a partition table then the output image is no "
23596 "longer a straight filesystem.  For example you cannot run L<fsck(8)> "
23597 "directly on a partitioned disk image.  (However libguestfs tools such as "
23598 "L<guestfish(1)> and L<virt-resize(1)> can still be used)."
23599 msgstr ""
23600
23601 # type: textblock
23602 #: ../tools/virt-make-fs.pl:144
23603 msgid "Add an MBR partition:"
23604 msgstr ""
23605
23606 # type: verbatim
23607 #: ../tools/virt-make-fs.pl:146
23608 #, no-wrap
23609 msgid ""
23610 " virt-make-fs --partition -- input disk.img\n"
23611 "\n"
23612 msgstr ""
23613
23614 # type: textblock
23615 #: ../tools/virt-make-fs.pl:148
23616 msgid ""
23617 "If the output disk image could be terabyte-sized or larger, it's better to "
23618 "use an EFI/GPT-compatible partition table:"
23619 msgstr ""
23620
23621 # type: verbatim
23622 #: ../tools/virt-make-fs.pl:151
23623 #, no-wrap
23624 msgid ""
23625 " virt-make-fs --partition=gpt --size=+4T --format=qcow2 input disk.img\n"
23626 "\n"
23627 msgstr ""
23628
23629 # type: =item
23630 #: ../tools/virt-make-fs.pl:177 ../tools/virt-win-reg.pl:196
23631 msgid "B<--debug>"
23632 msgstr ""
23633
23634 # type: textblock
23635 #: ../tools/virt-make-fs.pl:179
23636 msgid "Enable debugging information."
23637 msgstr ""
23638
23639 # type: =item
23640 #: ../tools/virt-make-fs.pl:185
23641 msgid "B<--size=E<lt>NE<gt>>"
23642 msgstr ""
23643
23644 # type: =item
23645 #: ../tools/virt-make-fs.pl:187
23646 msgid "B<--size=+E<lt>NE<gt>>"
23647 msgstr ""
23648
23649 # type: =item
23650 #: ../tools/virt-make-fs.pl:189
23651 msgid "B<-s E<lt>NE<gt>>"
23652 msgstr ""
23653
23654 # type: =item
23655 #: ../tools/virt-make-fs.pl:191
23656 msgid "B<-s +E<lt>NE<gt>>"
23657 msgstr ""
23658
23659 # type: textblock
23660 #: ../tools/virt-make-fs.pl:193
23661 msgid "Use the C<--size> (or C<-s>) option to choose the size of the output image."
23662 msgstr ""
23663
23664 # type: textblock
23665 #: ../tools/virt-make-fs.pl:196
23666 msgid ""
23667 "If this option is I<not> given, then the output image will be just large "
23668 "enough to contain all the files, with not much wasted space."
23669 msgstr ""
23670
23671 # type: textblock
23672 #: ../tools/virt-make-fs.pl:199
23673 msgid ""
23674 "To choose a fixed size output disk, specify an absolute number followed by "
23675 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
23676 "Petabytes or Exabytes.  This must be large enough to contain all the input "
23677 "files, else you will get an error."
23678 msgstr ""
23679
23680 # type: textblock
23681 #: ../tools/virt-make-fs.pl:204
23682 msgid ""
23683 "To leave extra space, specify C<+> (plus sign) and a number followed by "
23684 "b/K/M/G/T/P/E to mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, "
23685 "Petabytes or Exabytes.  For example: C<--size=+200M> means enough space for "
23686 "the input files, and (approximately) an extra 200 MB free space."
23687 msgstr ""
23688
23689 # type: textblock
23690 #: ../tools/virt-make-fs.pl:210
23691 msgid ""
23692 "Note that virt-make-fs estimates free space, and therefore will not produce "
23693 "filesystems containing precisely the free space requested.  (It is much more "
23694 "expensive and time-consuming to produce a filesystem which has precisely the "
23695 "desired free space)."
23696 msgstr ""
23697
23698 # type: =item
23699 #: ../tools/virt-make-fs.pl:219
23700 msgid "B<--format=E<lt>fmtE<gt>>"
23701 msgstr ""
23702
23703 # type: =item
23704 #: ../tools/virt-make-fs.pl:221
23705 msgid "B<-F E<lt>fmtE<gt>>"
23706 msgstr ""
23707
23708 # type: textblock
23709 #: ../tools/virt-make-fs.pl:223
23710 msgid "Choose the output disk image format."
23711 msgstr ""
23712
23713 # type: textblock
23714 #: ../tools/virt-make-fs.pl:225
23715 msgid "The default is C<raw> (raw disk image)."
23716 msgstr ""
23717
23718 # type: textblock
23719 #: ../tools/virt-make-fs.pl:227
23720 msgid ""
23721 "For other choices, see the L<qemu-img(1)> manpage.  The only other choice "
23722 "that would really make sense here is C<qcow2>."
23723 msgstr ""
23724
23725 # type: =item
23726 #: ../tools/virt-make-fs.pl:234
23727 msgid "B<--type=E<lt>fsE<gt>>"
23728 msgstr ""
23729
23730 # type: =item
23731 #: ../tools/virt-make-fs.pl:236
23732 msgid "B<-t E<lt>fsE<gt>>"
23733 msgstr ""
23734
23735 # type: textblock
23736 #: ../tools/virt-make-fs.pl:238
23737 msgid "Choose the output filesystem type."
23738 msgstr ""
23739
23740 # type: textblock
23741 #: ../tools/virt-make-fs.pl:240
23742 msgid "The default is C<ext2>."
23743 msgstr ""
23744
23745 # type: textblock
23746 #: ../tools/virt-make-fs.pl:242
23747 msgid "Any filesystem which is supported read-write by libguestfs can be used here."
23748 msgstr ""
23749
23750 # type: =item
23751 #: ../tools/virt-make-fs.pl:249
23752 msgid "B<--partition>"
23753 msgstr ""
23754
23755 # type: =item
23756 #: ../tools/virt-make-fs.pl:251
23757 msgid "B<--partition=E<lt>parttypeE<gt>>"
23758 msgstr ""
23759
23760 # type: textblock
23761 #: ../tools/virt-make-fs.pl:253
23762 msgid ""
23763 "If specified, this flag adds an MBR partition table to the output disk "
23764 "image."
23765 msgstr ""
23766
23767 # type: textblock
23768 #: ../tools/virt-make-fs.pl:256
23769 msgid ""
23770 "You can change the partition table type, eg. C<--partition=gpt> for large "
23771 "disks."
23772 msgstr ""
23773
23774 # type: textblock
23775 #: ../tools/virt-make-fs.pl:259
23776 msgid ""
23777 "Note that if you just use a lonesome C<--partition>, the Perl option parser "
23778 "might consider the next parameter to be the partition type.  For example:"
23779 msgstr ""
23780
23781 # type: verbatim
23782 #: ../tools/virt-make-fs.pl:263
23783 #, no-wrap
23784 msgid ""
23785 " virt-make-fs --partition input.tar ...\n"
23786 "\n"
23787 msgstr ""
23788
23789 # type: textblock
23790 #: ../tools/virt-make-fs.pl:265
23791 msgid ""
23792 "would cause virt-make-fs to think you wanted to use a partition type of "
23793 "C<input.tar> which is completely wrong.  To avoid this, use C<--> (a double "
23794 "dash) between options and the input file argument:"
23795 msgstr ""
23796
23797 # type: verbatim
23798 #: ../tools/virt-make-fs.pl:269
23799 #, no-wrap
23800 msgid ""
23801 " virt-make-fs --partition -- input.tar ...\n"
23802 "\n"
23803 msgstr ""
23804
23805 # type: textblock
23806 #: ../tools/virt-make-fs.pl:529
23807 msgid ""
23808 "L<guestfish(1)>, L<virt-resize(1)>, L<virt-tar(1)>, L<mkisofs(1)>, "
23809 "L<genisoimage(1)>, L<mksquashfs(1)>, L<mke2fs(8)>, L<resize2fs(8)>, "
23810 "L<guestfs(3)>, L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
23811 msgstr ""
23812
23813 # type: textblock
23814 #: ../tools/virt-make-fs.pl:543 ../tools/virt-win-reg.pl:478
23815 msgid ""
23816 "When reporting bugs, please enable debugging and capture the I<complete> "
23817 "output:"
23818 msgstr ""
23819
23820 # type: verbatim
23821 #: ../tools/virt-make-fs.pl:546
23822 #, no-wrap
23823 msgid ""
23824 " export LIBGUESTFS_DEBUG=1\n"
23825 " virt-make-fs --debug [...] > /tmp/virt-make-fs.log 2>&1\n"
23826 "\n"
23827 msgstr ""
23828
23829 # type: textblock
23830 #: ../tools/virt-make-fs.pl:549
23831 msgid ""
23832 "Attach /tmp/virt-make-fs.log to a new bug report at "
23833 "L<https://bugzilla.redhat.com/>"
23834 msgstr ""
23835
23836 # type: textblock
23837 #: ../tools/virt-make-fs.pl:558 ../tools/virt-resize.pl:1413 ../tools/virt-win-reg.pl:493
23838 msgid "Copyright (C) 2010 Red Hat Inc."
23839 msgstr ""
23840
23841 # type: textblock
23842 #: ../tools/virt-rescue.pl:33
23843 msgid "virt-rescue - Run a rescue shell on a virtual machine"
23844 msgstr ""
23845
23846 # type: verbatim
23847 #: ../tools/virt-rescue.pl:37
23848 #, no-wrap
23849 msgid ""
23850 " virt-rescue [--options] domname\n"
23851 "\n"
23852 msgstr ""
23853
23854 # type: verbatim
23855 #: ../tools/virt-rescue.pl:39
23856 #, no-wrap
23857 msgid ""
23858 " virt-rescue [--options] disk.img [disk.img ...]\n"
23859 "\n"
23860 msgstr ""
23861
23862 # type: textblock
23863 #: ../tools/virt-rescue.pl:43
23864 msgid ""
23865 "You must I<not> use C<virt-rescue> on live virtual machines.  Doing so will "
23866 "probably result in disk corruption in the VM.  C<virt-rescue> tries to stop "
23867 "you from doing this, but doesn't catch all cases."
23868 msgstr ""
23869
23870 # type: textblock
23871 #: ../tools/virt-rescue.pl:47
23872 msgid ""
23873 "However if you use the I<--ro> (read only) option, then you can attach a "
23874 "shell to a live virtual machine.  The results might be strange or "
23875 "inconsistent at times but you won't get disk corruption."
23876 msgstr ""
23877
23878 # type: textblock
23879 #: ../tools/virt-rescue.pl:53
23880 msgid ""
23881 "virt-rescue is like a Rescue CD, but for virtual machines, and without the "
23882 "need for a CD.  virt-rescue gives you a rescue shell and some simple "
23883 "recovery tools which you can use to examine or rescue a virtual machine or "
23884 "disk image."
23885 msgstr ""
23886
23887 # type: textblock
23888 #: ../tools/virt-rescue.pl:58
23889 msgid ""
23890 "You can run virt-rescue on any virtual machine known to libvirt, or directly "
23891 "on disk image(s):"
23892 msgstr ""
23893
23894 # type: verbatim
23895 #: ../tools/virt-rescue.pl:61
23896 #, no-wrap
23897 msgid ""
23898 " virt-rescue GuestName\n"
23899 "\n"
23900 msgstr ""
23901
23902 # type: verbatim
23903 #: ../tools/virt-rescue.pl:63
23904 #, no-wrap
23905 msgid ""
23906 " virt-rescue --ro /path/to/disk.img\n"
23907 "\n"
23908 msgstr ""
23909
23910 # type: verbatim
23911 #: ../tools/virt-rescue.pl:65
23912 #, no-wrap
23913 msgid ""
23914 " virt-rescue /dev/sdc\n"
23915 "\n"
23916 msgstr ""
23917
23918 # type: textblock
23919 #: ../tools/virt-rescue.pl:67
23920 msgid "For live VMs you I<must> use the --ro option."
23921 msgstr ""
23922
23923 # type: textblock
23924 #: ../tools/virt-rescue.pl:69
23925 msgid ""
23926 "When you run virt-rescue on a virtual machine or disk image, you are placed "
23927 "in an interactive bash shell where you can use many ordinary Linux "
23928 "commands.  What you see in C</> (C</bin>, C</lib> etc) is the rescue "
23929 "appliance.  You must mount the virtual machine's filesystems by hand.  There "
23930 "is an empty directory called C</sysroot> where you can mount filesystems."
23931 msgstr ""
23932
23933 # type: textblock
23934 #: ../tools/virt-rescue.pl:76
23935 msgid ""
23936 "In the example below, we list logical volumes, then choose one to mount "
23937 "under C</sysroot>:"
23938 msgstr ""
23939
23940 # type: verbatim
23941 #: ../tools/virt-rescue.pl:79
23942 #, no-wrap
23943 msgid ""
23944 " ><rescue> lvs\n"
23945 " LV      VG        Attr   LSize   Origin Snap%  Move Log Copy%  Convert\n"
23946 " lv_root vg_f11x64 -wi-a-   8.83G\n"
23947 " lv_swap vg_f11x64 -wi-a- 992.00M\n"
23948 " ><rescue> mount /dev/vg_f11x64/lv_root /sysroot\n"
23949 " ><rescue> ls /sysroot\n"
23950 "\n"
23951 msgstr ""
23952
23953 # type: textblock
23954 #: ../tools/virt-rescue.pl:86
23955 msgid ""
23956 "If you don't know what filesystems are available on the virtual machine then "
23957 "you can use commands such as L<parted(8)> and L<lvs(8)> to find out."
23958 msgstr ""
23959
23960 # type: =head1
23961 #: ../tools/virt-rescue.pl:90 ../tools/virt-resize.pl:1350
23962 msgid "NOTES"
23963 msgstr ""
23964
23965 # type: textblock
23966 #: ../tools/virt-rescue.pl:92
23967 msgid ""
23968 "Virt-rescue can be used on I<any> disk image file or device, not just a "
23969 "virtual machine.  For example you can use it on a blank file if you want to "
23970 "partition that file (although we would recommend using L<guestfish(1)> "
23971 "instead as it is more suitable for this purpose).  You can even use "
23972 "virt-rescue on things like SD cards."
23973 msgstr ""
23974
23975 # type: textblock
23976 #: ../tools/virt-rescue.pl:98
23977 msgid ""
23978 "This tool is just designed for quick interactive hacking on a virtual "
23979 "machine.  For more structured access to a virtual machine disk image, you "
23980 "should use L<guestfs(3)>.  To get a structured shell that you can use to "
23981 "make scripted changes to guests, use L<guestfish(1)>."
23982 msgstr ""
23983
23984 # type: =item
23985 #: ../tools/virt-rescue.pl:127
23986 msgid "B<--append kernelopts>"
23987 msgstr ""
23988
23989 # type: textblock
23990 #: ../tools/virt-rescue.pl:129
23991 msgid "Pass additional options to the rescue kernel."
23992 msgstr ""
23993
23994 # type: =item
23995 #: ../tools/virt-rescue.pl:147
23996 msgid "B<--memsize MB> | B<-m MB>"
23997 msgstr ""
23998
23999 # type: textblock
24000 #: ../tools/virt-rescue.pl:149
24001 msgid ""
24002 "Change the amount of memory allocated to the rescue system.  The default is "
24003 "set by libguestfs and is small but adequate for running system tools.  The "
24004 "occasional program might need more memory.  The parameter is specified in "
24005 "megabytes."
24006 msgstr ""
24007
24008 # type: =item
24009 #: ../tools/virt-rescue.pl:158
24010 msgid "B<--ro> | B<-r>"
24011 msgstr ""
24012
24013 # type: textblock
24014 #: ../tools/virt-rescue.pl:160
24015 msgid "Open the image read-only."
24016 msgstr ""
24017
24018 # type: textblock
24019 #: ../tools/virt-rescue.pl:172
24020 msgid ""
24021 "Enable SELinux in the rescue appliance.  You should read "
24022 "L<guestfs(3)/SELINUX> before using this option."
24023 msgstr ""
24024
24025 # type: textblock
24026 #: ../tools/virt-rescue.pl:228
24027 msgid ""
24028 "Several environment variables affect virt-rescue.  See "
24029 "L<guestfs(3)/ENVIRONMENT VARIABLES> for the complete list."
24030 msgstr ""
24031
24032 # type: textblock
24033 #: ../tools/virt-rescue.pl:233
24034 msgid ""
24035 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
24036 "L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>."
24037 msgstr ""
24038
24039 # type: textblock
24040 #: ../tools/virt-resize.pl:42
24041 msgid "virt-resize - Resize a virtual machine disk"
24042 msgstr ""
24043
24044 # type: verbatim
24045 #: ../tools/virt-resize.pl:46
24046 #, no-wrap
24047 msgid ""
24048 " virt-resize [--resize /dev/sdaN=[+/-]<size>[%]]\n"
24049 "   [--expand /dev/sdaN] [--shrink /dev/sdaN]\n"
24050 "   [--ignore /dev/sdaN] [--delete /dev/sdaN] [...] indisk outdisk\n"
24051 "\n"
24052 msgstr ""
24053
24054 # type: textblock
24055 #: ../tools/virt-resize.pl:52
24056 msgid ""
24057 "Virt-resize is a tool which can resize a virtual machine disk, making it "
24058 "larger or smaller overall, and resizing or deleting any partitions contained "
24059 "within."
24060 msgstr ""
24061
24062 # type: textblock
24063 #: ../tools/virt-resize.pl:56
24064 msgid ""
24065 "Virt-resize B<cannot> resize disk images in-place.  Virt-resize B<should "
24066 "not> be used on live virtual machines - for consistent results, shut the "
24067 "virtual machine down before resizing it."
24068 msgstr ""
24069
24070 # type: textblock
24071 #: ../tools/virt-resize.pl:60
24072 msgid ""
24073 "If you are not familiar with the associated tools: "
24074 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)> and L<virt-df(1)>, "
24075 "we recommend you go and read those manual pages first."
24076 msgstr ""
24077
24078 # type: textblock
24079 #: ../tools/virt-resize.pl:68
24080 msgid ""
24081 "Copy C<olddisk> to C<newdisk>, extending one of the guest's partitions to "
24082 "fill the extra 5GB of space."
24083 msgstr ""
24084
24085 # type: verbatim
24086 #: ../tools/virt-resize.pl:71
24087 #, no-wrap
24088 msgid ""
24089 " truncate -r olddisk newdisk; truncate -s +5G newdisk\n"
24090 " virt-list-partitions -lht olddisk\n"
24091 " # Note \"/dev/sda2\" is a partition inside the \"olddisk\" file.\n"
24092 " virt-resize --expand /dev/sda2 olddisk newdisk\n"
24093 "\n"
24094 msgstr ""
24095
24096 # type: textblock
24097 #: ../tools/virt-resize.pl:76
24098 msgid ""
24099 "As above, but make the /boot partition 200MB bigger, while giving the "
24100 "remaining space to /dev/sda2:"
24101 msgstr ""
24102
24103 # type: verbatim
24104 #: ../tools/virt-resize.pl:79
24105 #, no-wrap
24106 msgid ""
24107 " virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 olddisk newdisk\n"
24108 "\n"
24109 msgstr ""
24110
24111 # type: =head1
24112 #: ../tools/virt-resize.pl:81
24113 msgid "DETAILED USAGE"
24114 msgstr ""
24115
24116 # type: =head2
24117 #: ../tools/virt-resize.pl:83
24118 msgid "EXPANDING A VIRTUAL MACHINE DISK"
24119 msgstr ""
24120
24121 # type: =item
24122 #: ../tools/virt-resize.pl:87
24123 msgid "1. Shut down the virtual machine"
24124 msgstr ""
24125
24126 # type: =item
24127 #: ../tools/virt-resize.pl:89
24128 msgid "2. Locate input disk image"
24129 msgstr ""
24130
24131 # type: textblock
24132 #: ../tools/virt-resize.pl:91
24133 msgid ""
24134 "Locate the input disk image (ie. the file or device on the host containing "
24135 "the guest's disk).  If the guest is managed by libvirt, you can use C<virsh "
24136 "dumpxml> like this to find the disk image name:"
24137 msgstr ""
24138
24139 # type: verbatim
24140 #: ../tools/virt-resize.pl:95
24141 #, no-wrap
24142 msgid ""
24143 " # virsh dumpxml guestname | xpath /domain/devices/disk/source\n"
24144 " Found 1 nodes:\n"
24145 " -- NODE --\n"
24146 " <source dev=\"/dev/vg/lv_guest\" />\n"
24147 "\n"
24148 msgstr ""
24149
24150 # type: =item
24151 #: ../tools/virt-resize.pl:100
24152 msgid "3. Look at current sizing"
24153 msgstr ""
24154
24155 # type: textblock
24156 #: ../tools/virt-resize.pl:102
24157 msgid "Use L<virt-list-partitions(1)> to display the current partitions and sizes:"
24158 msgstr ""
24159
24160 # type: verbatim
24161 #: ../tools/virt-resize.pl:105
24162 #, no-wrap
24163 msgid ""
24164 " # virt-list-partitions -lht /dev/vg/lv_guest\n"
24165 " /dev/sda1 ext3 101.9M\n"
24166 " /dev/sda2 pv 7.9G\n"
24167 " /dev/sda device 8.0G\n"
24168 "\n"
24169 msgstr ""
24170
24171 # type: textblock
24172 #: ../tools/virt-resize.pl:110
24173 msgid ""
24174 "(This example is a virtual machine with an 8 GB disk which we would like to "
24175 "expand up to 10 GB)."
24176 msgstr ""
24177
24178 # type: =item
24179 #: ../tools/virt-resize.pl:113
24180 msgid "4. Create output disk"
24181 msgstr ""
24182
24183 # type: textblock
24184 #: ../tools/virt-resize.pl:115
24185 msgid ""
24186 "Virt-resize cannot do in-place disk modifications.  You have to have space "
24187 "to store the resized output disk."
24188 msgstr ""
24189
24190 # type: textblock
24191 #: ../tools/virt-resize.pl:118
24192 msgid "To store the resized disk image in a file, create a file of a suitable size:"
24193 msgstr ""
24194
24195 # type: verbatim
24196 #: ../tools/virt-resize.pl:121
24197 #, no-wrap
24198 msgid ""
24199 " # rm -f outdisk\n"
24200 " # truncate -s 10G outdisk\n"
24201 "\n"
24202 msgstr ""
24203
24204 # type: textblock
24205 #: ../tools/virt-resize.pl:124
24206 msgid "Or use L<lvcreate(1)> to create a logical volume:"
24207 msgstr ""
24208
24209 # type: verbatim
24210 #: ../tools/virt-resize.pl:126
24211 #, no-wrap
24212 msgid ""
24213 " # lvcreate -L 10G -n lv_name vg_name\n"
24214 "\n"
24215 msgstr ""
24216
24217 # type: textblock
24218 #: ../tools/virt-resize.pl:128
24219 msgid "Or use L<virsh(1)> vol-create-as to create a libvirt storage volume:"
24220 msgstr ""
24221
24222 # type: verbatim
24223 #: ../tools/virt-resize.pl:130
24224 #, no-wrap
24225 msgid ""
24226 " # virsh pool-list\n"
24227 " # virsh vol-create-as poolname newvol 10G\n"
24228 "\n"
24229 msgstr ""
24230
24231 # type: =item
24232 #: ../tools/virt-resize.pl:133
24233 msgid "5. Resize"
24234 msgstr ""
24235
24236 # type: textblock
24237 #: ../tools/virt-resize.pl:135
24238 msgid ""
24239 "virt-resize takes two mandatory parameters, the input disk (eg. device or "
24240 "file) and the output disk.  The output disk is the one created in the "
24241 "previous step."
24242 msgstr ""
24243
24244 # type: verbatim
24245 #: ../tools/virt-resize.pl:139
24246 #, no-wrap
24247 msgid ""
24248 " # virt-resize indisk outdisk\n"
24249 "\n"
24250 msgstr ""
24251
24252 # type: textblock
24253 #: ../tools/virt-resize.pl:141
24254 msgid ""
24255 "This command just copies disk image C<indisk> to disk image C<outdisk> "
24256 "I<without> resizing or changing any existing partitions.  If C<outdisk> is "
24257 "larger, then an extra, empty partition is created at the end of the disk "
24258 "covering the extra space.  If C<outdisk> is smaller, then it will give an "
24259 "error."
24260 msgstr ""
24261
24262 # type: textblock
24263 #: ../tools/virt-resize.pl:147
24264 msgid ""
24265 "More realistically you'd want to expand existing partitions in the disk "
24266 "image by passing extra options (for the full list see the L</OPTIONS> "
24267 "section below)."
24268 msgstr ""
24269
24270 # type: textblock
24271 #: ../tools/virt-resize.pl:151
24272 msgid ""
24273 "L</--expand> is the most useful option.  It expands the named partition "
24274 "within the disk to fill any extra space:"
24275 msgstr ""
24276
24277 # type: verbatim
24278 #: ../tools/virt-resize.pl:154
24279 #, no-wrap
24280 msgid ""
24281 " # virt-resize --expand /dev/sda2 indisk outdisk\n"
24282 "\n"
24283 msgstr ""
24284
24285 # type: textblock
24286 #: ../tools/virt-resize.pl:156
24287 msgid ""
24288 "(In this case, an extra partition is I<not> created at the end of the disk, "
24289 "because there will be no unused space)."
24290 msgstr ""
24291
24292 # type: textblock
24293 #: ../tools/virt-resize.pl:159
24294 msgid ""
24295 "L</--resize> is the other commonly used option.  The following would "
24296 "increase the size of /dev/sda1 by 200M, and expand /dev/sda2 to fill the "
24297 "rest of the available space:"
24298 msgstr ""
24299
24300 # type: verbatim
24301 #: ../tools/virt-resize.pl:163
24302 #, no-wrap
24303 msgid ""
24304 " # virt-resize --resize /dev/sda1=+200M --expand /dev/sda2 \\\n"
24305 "     indisk outdisk\n"
24306 "\n"
24307 msgstr ""
24308
24309 # type: textblock
24310 #: ../tools/virt-resize.pl:166
24311 msgid ""
24312 "If the expanded partition in the image contains a filesystem or LVM PV, then "
24313 "if virt-resize knows how, it will resize the contents, the equivalent of "
24314 "calling a command such as L<pvresize(8)>, L<resize2fs(8)> or "
24315 "L<ntfsresize(8)>.  However virt-resize does not know how to resize some "
24316 "filesystems, so you would have to online resize them after booting the "
24317 "guest.  And virt-resize also does not resize anything inside an LVM PV, it "
24318 "just resizes the PV itself and leaves the user to resize any LVs inside that "
24319 "PV as desired."
24320 msgstr ""
24321
24322 # type: textblock
24323 #: ../tools/virt-resize.pl:175
24324 msgid "Other options are covered below."
24325 msgstr ""
24326
24327 # type: =item
24328 #: ../tools/virt-resize.pl:177
24329 msgid "6. Test"
24330 msgstr ""
24331
24332 # type: textblock
24333 #: ../tools/virt-resize.pl:179
24334 msgid "Thoroughly test the new disk image I<before> discarding the old one."
24335 msgstr ""
24336
24337 # type: textblock
24338 #: ../tools/virt-resize.pl:181
24339 msgid "If you are using libvirt, edit the XML to point at the new disk:"
24340 msgstr ""
24341
24342 # type: verbatim
24343 #: ../tools/virt-resize.pl:183
24344 #, no-wrap
24345 msgid ""
24346 " # virsh edit guestname\n"
24347 "\n"
24348 msgstr ""
24349
24350 # type: textblock
24351 #: ../tools/virt-resize.pl:185
24352 msgid ""
24353 "Change E<lt>source ...E<gt>, see "
24354 "L<http://libvirt.org/formatdomain.html#elementsDisks>"
24355 msgstr ""
24356
24357 # type: textblock
24358 #: ../tools/virt-resize.pl:188
24359 msgid "Then start up the domain with the new, resized disk:"
24360 msgstr ""
24361
24362 # type: verbatim
24363 #: ../tools/virt-resize.pl:190
24364 #, no-wrap
24365 msgid ""
24366 " # virsh start guestname\n"
24367 "\n"
24368 msgstr ""
24369
24370 # type: textblock
24371 #: ../tools/virt-resize.pl:192
24372 msgid ""
24373 "and check that it still works.  See also the L</NOTES> section below for "
24374 "additional information."
24375 msgstr ""
24376
24377 # type: =item
24378 #: ../tools/virt-resize.pl:195
24379 msgid "7. Resize LVs etc inside the guest"
24380 msgstr ""
24381
24382 # type: textblock
24383 #: ../tools/virt-resize.pl:197
24384 msgid "(This can also be done offline using L<guestfish(1)>)"
24385 msgstr ""
24386
24387 # type: textblock
24388 #: ../tools/virt-resize.pl:199
24389 msgid ""
24390 "Once the guest has booted you should see the new space available, at least "
24391 "for filesystems that virt-resize knows how to resize, and for PVs.  The user "
24392 "may need to resize LVs inside PVs, and also resize filesystem types that "
24393 "virt-resize does not know how to expand."
24394 msgstr ""
24395
24396 # type: =head2
24397 #: ../tools/virt-resize.pl:206
24398 msgid "SHRINKING A VIRTUAL MACHINE DISK"
24399 msgstr ""
24400
24401 # type: textblock
24402 #: ../tools/virt-resize.pl:208
24403 msgid ""
24404 "Shrinking is somewhat more complex than expanding, and only an overview is "
24405 "given here."
24406 msgstr ""
24407
24408 # type: textblock
24409 #: ../tools/virt-resize.pl:211
24410 msgid ""
24411 "Firstly virt-resize will not attempt to shrink any partition content (PVs, "
24412 "filesystems).  The user has to shrink content before passing the disk image "
24413 "to virt-resize, and virt-resize will check that the content has been shrunk "
24414 "properly."
24415 msgstr ""
24416
24417 # type: textblock
24418 #: ../tools/virt-resize.pl:216
24419 msgid "(Shrinking can also be done offline using L<guestfish(1)>)"
24420 msgstr ""
24421
24422 # type: textblock
24423 #: ../tools/virt-resize.pl:218
24424 msgid ""
24425 "After shrinking PVs and filesystems, shut down the guest, and proceed with "
24426 "steps 3 and 4 above to allocate a new disk image."
24427 msgstr ""
24428
24429 # type: textblock
24430 #: ../tools/virt-resize.pl:221
24431 msgid "Then run virt-resize with any of the C<--shrink> and/or C<--resize> options."
24432 msgstr ""
24433
24434 # type: =head2
24435 #: ../tools/virt-resize.pl:224
24436 msgid "IGNORING OR DELETING PARTITIONS"
24437 msgstr ""
24438
24439 # type: textblock
24440 #: ../tools/virt-resize.pl:226
24441 msgid ""
24442 "virt-resize also gives a convenient way to ignore or delete partitions when "
24443 "copying from the input disk to the output disk.  Ignoring a partition speeds "
24444 "up the copy where you don't care about the existing contents of a "
24445 "partition.  Deleting a partition removes it completely, but note that it "
24446 "also renumbers any partitions after the one which is deleted, which can "
24447 "leave some guests unbootable."
24448 msgstr ""
24449
24450 # type: textblock
24451 #: ../tools/virt-resize.pl:243
24452 msgid "Display help."
24453 msgstr ""
24454
24455 # type: =item
24456 #: ../tools/virt-resize.pl:257
24457 msgid "B<--resize part=size>"
24458 msgstr ""
24459
24460 # type: textblock
24461 #: ../tools/virt-resize.pl:259
24462 msgid ""
24463 "Resize the named partition (expanding or shrinking it) so that it has the "
24464 "given size."
24465 msgstr ""
24466
24467 # type: textblock
24468 #: ../tools/virt-resize.pl:262
24469 msgid ""
24470 "C<size> can be expressed as an absolute number followed by b/K/M/G/T/P/E to "
24471 "mean bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Petabytes or "
24472 "Exabytes; or as a percentage of the current size; or as a relative number or "
24473 "percentage.  For example:"
24474 msgstr ""
24475
24476 # type: verbatim
24477 #: ../tools/virt-resize.pl:267
24478 #, no-wrap
24479 msgid ""
24480 " --resize /dev/sda2=10G\n"
24481 "\n"
24482 msgstr ""
24483
24484 # type: verbatim
24485 #: ../tools/virt-resize.pl:269
24486 #, no-wrap
24487 msgid ""
24488 " --resize /dev/sda4=90%\n"
24489 "\n"
24490 msgstr ""
24491
24492 # type: verbatim
24493 #: ../tools/virt-resize.pl:271
24494 #, no-wrap
24495 msgid ""
24496 " --resize /dev/sda2=+1G\n"
24497 "\n"
24498 msgstr ""
24499
24500 # type: verbatim
24501 #: ../tools/virt-resize.pl:273
24502 #, no-wrap
24503 msgid ""
24504 " --resize /dev/sda2=-200M\n"
24505 "\n"
24506 msgstr ""
24507
24508 # type: verbatim
24509 #: ../tools/virt-resize.pl:275
24510 #, no-wrap
24511 msgid ""
24512 " --resize /dev/sda1=+128K\n"
24513 "\n"
24514 msgstr ""
24515
24516 # type: verbatim
24517 #: ../tools/virt-resize.pl:277
24518 #, no-wrap
24519 msgid ""
24520 " --resize /dev/sda1=+10%\n"
24521 "\n"
24522 msgstr ""
24523
24524 # type: verbatim
24525 #: ../tools/virt-resize.pl:279
24526 #, no-wrap
24527 msgid ""
24528 " --resize /dev/sda1=-10%\n"
24529 "\n"
24530 msgstr ""
24531
24532 # type: textblock
24533 #: ../tools/virt-resize.pl:281
24534 msgid ""
24535 "You can increase the size of any partition.  Virt-resize will expand the "
24536 "direct content of the partition if it knows how (see C<--expand> below)."
24537 msgstr ""
24538
24539 # type: textblock
24540 #: ../tools/virt-resize.pl:285
24541 msgid ""
24542 "You can only I<decrease> the size of partitions that contain filesystems or "
24543 "PVs which have already been shrunk.  Virt-resize will check this has been "
24544 "done before proceeding, or else will print an error (see also "
24545 "C<--resize-force>)."
24546 msgstr ""
24547
24548 # type: textblock
24549 #: ../tools/virt-resize.pl:290 ../tools/virt-resize.pl:382 ../tools/virt-resize.pl:399
24550 msgid "You can give this option multiple times."
24551 msgstr ""
24552
24553 # type: =item
24554 #: ../tools/virt-resize.pl:296
24555 msgid "B<--resize-force part=size>"
24556 msgstr ""
24557
24558 # type: textblock
24559 #: ../tools/virt-resize.pl:298
24560 msgid ""
24561 "This is the same as C<--resize> except that it will let you decrease the "
24562 "size of any partition.  Generally this means you will lose any data which "
24563 "was at the end of the partition you shrink, but you may not care about that "
24564 "(eg. if shrinking an unused partition, or if you can easily recreate it such "
24565 "as a swap partition)."
24566 msgstr ""
24567
24568 # type: textblock
24569 #: ../tools/virt-resize.pl:304
24570 msgid "See also the C<--ignore> option."
24571 msgstr ""
24572
24573 # type: =item
24574 #: ../tools/virt-resize.pl:310
24575 msgid "B<--expand part>"
24576 msgstr ""
24577
24578 # type: textblock
24579 #: ../tools/virt-resize.pl:312
24580 msgid ""
24581 "Expand the named partition so it uses up all extra space (space left over "
24582 "after any other resize changes that you request have been done)."
24583 msgstr ""
24584
24585 # type: textblock
24586 #: ../tools/virt-resize.pl:315
24587 msgid ""
24588 "If virt-resize knows how, it will expand the direct content of the "
24589 "partition.  For example, if the partition is an LVM PV, it will expand the "
24590 "PV to fit (like calling L<pvresize(8)>).  Virt-resize leaves any other "
24591 "content it doesn't know about alone."
24592 msgstr ""
24593
24594 # type: textblock
24595 #: ../tools/virt-resize.pl:320
24596 msgid "Currently virt-resize can resize:"
24597 msgstr ""
24598
24599 # type: textblock
24600 #: ../tools/virt-resize.pl:326
24601 msgid ""
24602 "ext2, ext3 and ext4 filesystems when they are contained directly inside a "
24603 "partition."
24604 msgstr ""
24605
24606 # type: textblock
24607 #: ../tools/virt-resize.pl:331
24608 msgid ""
24609 "NTFS filesystems contained directly in a partition, if libguestfs was "
24610 "compiled with support for NTFS."
24611 msgstr ""
24612
24613 # type: textblock
24614 #: ../tools/virt-resize.pl:334
24615 msgid ""
24616 "The filesystem must have been shut down consistently last time it was used.  "
24617 "Additionally, L<ntfsresize(8)> marks the resized filesystem as requiring a "
24618 "consistency check, so at the first boot after resizing Windows will check "
24619 "the disk."
24620 msgstr ""
24621
24622 # type: textblock
24623 #: ../tools/virt-resize.pl:341
24624 msgid ""
24625 "LVM PVs (physical volumes).  However virt-resize does I<not> resize anything "
24626 "inside the PV.  The user will have to resize LVs as desired."
24627 msgstr ""
24628
24629 # type: textblock
24630 #: ../tools/virt-resize.pl:347 ../tools/virt-resize.pl:369
24631 msgid "Note that you cannot use C<--expand> and C<--shrink> together."
24632 msgstr ""
24633
24634 # type: =item
24635 #: ../tools/virt-resize.pl:353
24636 msgid "B<--shrink part>"
24637 msgstr ""
24638
24639 # type: textblock
24640 #: ../tools/virt-resize.pl:355
24641 msgid ""
24642 "Shrink the named partition until the overall disk image fits in the "
24643 "destination.  The named partition B<must> contain a filesystem or PV which "
24644 "has already been shrunk using another tool (eg. L<guestfish(1)> or other "
24645 "online tools).  Virt-resize will check this and give an error if it has not "
24646 "been done."
24647 msgstr ""
24648
24649 # type: textblock
24650 #: ../tools/virt-resize.pl:361
24651 msgid ""
24652 "The amount by which the overall disk must be shrunk (after carrying out all "
24653 "other operations requested by the user) is called the \"deficit\".  For "
24654 "example, a straight copy (assume no other operations)  from a 5GB disk image "
24655 "to a 4GB disk image results in a 1GB deficit.  In this case, virt-resize "
24656 "would give an error unless the user specified a partition to shrink and that "
24657 "partition had more than a gigabyte of free space."
24658 msgstr ""
24659
24660 # type: =item
24661 #: ../tools/virt-resize.pl:375
24662 msgid "B<--ignore part>"
24663 msgstr ""
24664
24665 # type: textblock
24666 #: ../tools/virt-resize.pl:377
24667 msgid ""
24668 "Ignore the named partition.  Effectively this means the partition is "
24669 "allocated on the destination disk, but the content is not copied across from "
24670 "the source disk.  The content of the partition will be blank (all zero "
24671 "bytes)."
24672 msgstr ""
24673
24674 # type: =item
24675 #: ../tools/virt-resize.pl:388
24676 msgid "B<--delete part>"
24677 msgstr ""
24678
24679 # type: textblock
24680 #: ../tools/virt-resize.pl:390
24681 msgid ""
24682 "Delete the named partition.  It would be more accurate to describe this as "
24683 "\"don't copy it over\", since virt-resize doesn't do in-place changes and "
24684 "the original disk image is left intact."
24685 msgstr ""
24686
24687 # type: textblock
24688 #: ../tools/virt-resize.pl:394
24689 msgid ""
24690 "Note that when you delete a partition, then anything contained in the "
24691 "partition is also deleted.  Furthermore, this causes any partitions that "
24692 "come after to be I<renumbered>, which can easily make your guest unbootable."
24693 msgstr ""
24694
24695 # type: =item
24696 #: ../tools/virt-resize.pl:405
24697 msgid "B<--LV-expand logvol>"
24698 msgstr ""
24699
24700 # type: textblock
24701 #: ../tools/virt-resize.pl:407
24702 msgid ""
24703 "This takes the logical volume and, as a final step, expands it to fill all "
24704 "the space available in its volume group.  A typical usage, assuming a Linux "
24705 "guest with a single PV C</dev/sda2> and a root device called "
24706 "C</dev/vg_guest/lv_root> would be:"
24707 msgstr ""
24708
24709 # type: verbatim
24710 #: ../tools/virt-resize.pl:412
24711 #, no-wrap
24712 msgid ""
24713 " virt-resize indisk outdisk \\\n"
24714 "   --expand /dev/sda2 --LV-expand /dev/vg_guest/lv_root\n"
24715 "\n"
24716 msgstr ""
24717
24718 # type: textblock
24719 #: ../tools/virt-resize.pl:415
24720 msgid ""
24721 "This would first expand the partition (and PV), and then expand the root "
24722 "device to fill the extra space in the PV."
24723 msgstr ""
24724
24725 # type: textblock
24726 #: ../tools/virt-resize.pl:418
24727 msgid ""
24728 "The contents of the LV are also resized if virt-resize knows how to do "
24729 "that.  You can stop virt-resize from trying to expand the content by using "
24730 "the option C<--no-expand-content>."
24731 msgstr ""
24732
24733 # type: textblock
24734 #: ../tools/virt-resize.pl:422
24735 msgid "Use L<virt-list-filesystems(1)> to list the filesystems in the guest."
24736 msgstr ""
24737
24738 # type: textblock
24739 #: ../tools/virt-resize.pl:425
24740 msgid ""
24741 "You can give this option multiple times, I<but> it doesn't make sense to do "
24742 "this unless the logical volumes you specify are all in different volume "
24743 "groups."
24744 msgstr ""
24745
24746 # type: =item
24747 #: ../tools/virt-resize.pl:433
24748 msgid "B<--no-copy-boot-loader>"
24749 msgstr ""
24750
24751 # type: textblock
24752 #: ../tools/virt-resize.pl:435
24753 msgid ""
24754 "By default, virt-resize copies over some sectors at the start of the disk "
24755 "(up to the beginning of the first partition).  Commonly these sectors "
24756 "contain the Master Boot Record (MBR) and the boot loader, and are required "
24757 "in order for the guest to boot correctly."
24758 msgstr ""
24759
24760 # type: textblock
24761 #: ../tools/virt-resize.pl:440
24762 msgid ""
24763 "If you specify this flag, then this initial copy is not done.  You may need "
24764 "to reinstall the boot loader in this case."
24765 msgstr ""
24766
24767 # type: =item
24768 #: ../tools/virt-resize.pl:448
24769 msgid "B<--no-extra-partition>"
24770 msgstr ""
24771
24772 # type: textblock
24773 #: ../tools/virt-resize.pl:450
24774 msgid ""
24775 "By default, virt-resize creates an extra partition if there is any extra, "
24776 "unused space after all resizing has happened.  Use this option to prevent "
24777 "the extra partition from being created.  If you do this then the extra space "
24778 "will be inaccessible until you run fdisk, parted, or some other partitioning "
24779 "tool in the guest."
24780 msgstr ""
24781
24782 # type: textblock
24783 #: ../tools/virt-resize.pl:456
24784 msgid ""
24785 "Note that if the surplus space is smaller than 10 MB, no extra partition "
24786 "will be created."
24787 msgstr ""
24788
24789 # type: =item
24790 #: ../tools/virt-resize.pl:463
24791 msgid "B<--no-expand-content>"
24792 msgstr ""
24793
24794 # type: textblock
24795 #: ../tools/virt-resize.pl:465
24796 msgid ""
24797 "By default, virt-resize will try to expand the direct contents of "
24798 "partitions, if it knows how (see C<--expand> option above)."
24799 msgstr ""
24800
24801 # type: textblock
24802 #: ../tools/virt-resize.pl:468
24803 msgid ""
24804 "If you give the C<--no-expand-content> option then virt-resize will not "
24805 "attempt this."
24806 msgstr ""
24807
24808 # type: =item
24809 #: ../tools/virt-resize.pl:475
24810 msgid "B<-d> | B<--debug>"
24811 msgstr ""
24812
24813 # type: textblock
24814 #: ../tools/virt-resize.pl:477 ../tools/virt-win-reg.pl:198
24815 msgid "Enable debugging messages."
24816 msgstr ""
24817
24818 # type: =item
24819 #: ../tools/virt-resize.pl:483
24820 msgid "B<-n> | B<--dryrun>"
24821 msgstr ""
24822
24823 # type: textblock
24824 #: ../tools/virt-resize.pl:485
24825 msgid "Print a summary of what would be done, but don't do anything."
24826 msgstr ""
24827
24828 # type: =item
24829 #: ../tools/virt-resize.pl:491
24830 msgid "B<-q> | B<--quiet>"
24831 msgstr ""
24832
24833 # type: textblock
24834 #: ../tools/virt-resize.pl:493
24835 msgid "Don't print the summary."
24836 msgstr ""
24837
24838 # type: =head2
24839 #: ../tools/virt-resize.pl:1352
24840 msgid "\"Partition 1 does not end on cylinder boundary.\""
24841 msgstr ""
24842
24843 # type: textblock
24844 #: ../tools/virt-resize.pl:1354
24845 msgid ""
24846 "Virt-resize aligns partitions to multiples of 64 sectors.  Usually this "
24847 "means the partitions will not be aligned to the ancient CHS geometry.  "
24848 "However CHS geometry is meaningless for disks manufactured since the early "
24849 "1990s, and doubly so for virtual hard drives.  Alignment of partitions to "
24850 "cylinders is not required by any modern operating system."
24851 msgstr ""
24852
24853 # type: =head2
24854 #: ../tools/virt-resize.pl:1361
24855 msgid "RESIZING WINDOWS VIRTUAL MACHINES"
24856 msgstr ""
24857
24858 # type: textblock
24859 #: ../tools/virt-resize.pl:1363
24860 msgid ""
24861 "In Windows Vista and later versions, Microsoft switched to using a separate "
24862 "boot partition.  In these VMs, typically C</dev/sda1> is the boot partition "
24863 "and C</dev/sda2> is the main (C:) drive.  We have not had any luck resizing "
24864 "the boot partition.  Doing so seems to break the guest completely.  However "
24865 "expanding the second partition (ie. C: drive) should work."
24866 msgstr ""
24867
24868 # type: textblock
24869 #: ../tools/virt-resize.pl:1370
24870 msgid ""
24871 "Windows may initiate a lengthy \"chkdsk\" on first boot after a resize, if "
24872 "NTFS partitions have been expanded.  This is just a safety check and (unless "
24873 "it find errors) is nothing to worry about."
24874 msgstr ""
24875
24876 # type: =head1
24877 #: ../tools/virt-resize.pl:1374
24878 msgid "ALTERNATIVE TOOLS"
24879 msgstr ""
24880
24881 # type: textblock
24882 #: ../tools/virt-resize.pl:1376
24883 msgid ""
24884 "There are several proprietary tools for resizing partitions.  We won't "
24885 "mention any here."
24886 msgstr ""
24887
24888 # type: textblock
24889 #: ../tools/virt-resize.pl:1379
24890 msgid ""
24891 "L<parted(8)> and its graphical shell gparted can do some types of resizing "
24892 "operations on disk images.  They can resize and move partitions, but I don't "
24893 "think they can do anything with the contents, and they certainly don't "
24894 "understand LVM."
24895 msgstr ""
24896
24897 # type: textblock
24898 #: ../tools/virt-resize.pl:1384
24899 msgid ""
24900 "L<guestfish(1)> can do everything that virt-resize can do and a lot more, "
24901 "but at a much lower level.  You will probably end up hand-calculating sector "
24902 "offsets, which is something that virt-resize was designed to avoid.  If you "
24903 "want to see the guestfish-equivalent commands that virt-resize runs, use the "
24904 "C<--debug> flag."
24905 msgstr ""
24906
24907 # type: textblock
24908 #: ../tools/virt-resize.pl:1392
24909 msgid ""
24910 "L<virt-list-partitions(1)>, L<virt-list-filesystems(1)>, L<virt-df(1)>, "
24911 "L<guestfs(3)>, L<guestfish(1)>, L<lvm(8)>, L<pvresize(8)>, L<lvresize(8)>, "
24912 "L<resize2fs(8)>, L<ntfsresize(8)>, L<virsh(1)>, L<parted(8)>, "
24913 "L<Sys::Guestfs(3)>, L<http://libguestfs.org/>."
24914 msgstr ""
24915
24916 # type: textblock
24917 #: ../tools/virt-tar.pl:34
24918 msgid "virt-tar - Extract or upload files to a virtual machine"
24919 msgstr ""
24920
24921 # type: verbatim
24922 #: ../tools/virt-tar.pl:38
24923 #, no-wrap
24924 msgid ""
24925 " virt-tar [--options] -x domname directory tarball\n"
24926 "\n"
24927 msgstr ""
24928
24929 # type: verbatim
24930 #: ../tools/virt-tar.pl:40
24931 #, no-wrap
24932 msgid ""
24933 " virt-tar [--options] -u domname tarball directory\n"
24934 "\n"
24935 msgstr ""
24936
24937 # type: verbatim
24938 #: ../tools/virt-tar.pl:42
24939 #, no-wrap
24940 msgid ""
24941 " virt-tar [--options] disk.img [disk.img ...] -x directory tarball\n"
24942 "\n"
24943 msgstr ""
24944
24945 # type: verbatim
24946 #: ../tools/virt-tar.pl:44
24947 #, no-wrap
24948 msgid ""
24949 " virt-tar [--options] disk.img [disk.img ...] -u tarball directory\n"
24950 "\n"
24951 msgstr ""
24952
24953 # type: textblock
24954 #: ../tools/virt-tar.pl:48
24955 msgid "Download C</home> from the VM into a local tarball:"
24956 msgstr ""
24957
24958 # type: verbatim
24959 #: ../tools/virt-tar.pl:50
24960 #, no-wrap
24961 msgid ""
24962 " virt-tar -x domname /home home.tar\n"
24963 "\n"
24964 msgstr ""
24965
24966 # type: verbatim
24967 #: ../tools/virt-tar.pl:52
24968 #, no-wrap
24969 msgid ""
24970 " virt-tar -zx domname /home home.tar.gz\n"
24971 "\n"
24972 msgstr ""
24973
24974 # type: textblock
24975 #: ../tools/virt-tar.pl:54
24976 msgid "Upload a local tarball and unpack it inside C</tmp> in the VM:"
24977 msgstr ""
24978
24979 # type: verbatim
24980 #: ../tools/virt-tar.pl:56
24981 #, no-wrap
24982 msgid ""
24983 " virt-tar -u domname uploadstuff.tar /tmp\n"
24984 "\n"
24985 msgstr ""
24986
24987 # type: verbatim
24988 #: ../tools/virt-tar.pl:58
24989 #, no-wrap
24990 msgid ""
24991 " virt-tar -zu domname uploadstuff.tar.gz /tmp\n"
24992 "\n"
24993 msgstr ""
24994
24995 # type: textblock
24996 #: ../tools/virt-tar.pl:62
24997 msgid ""
24998 "You must I<not> use C<virt-tar> with the C<-u> option (upload) on live "
24999 "virtual machines.  If you do this, you risk disk corruption in the VM.  "
25000 "C<virt-tar> tries to stop you from doing this, but doesn't catch all cases."
25001 msgstr ""
25002
25003 # type: textblock
25004 #: ../tools/virt-tar.pl:67
25005 msgid ""
25006 "You can use C<-x> (extract) on live virtual machines, but you might get "
25007 "inconsistent results or errors if there is filesystem activity inside the "
25008 "VM.  If the live VM is synched and quiescent, then C<virt-tar> will usually "
25009 "work, but the only way to guarantee consistent results is if the virtual "
25010 "machine is shut down."
25011 msgstr ""
25012
25013 # type: textblock
25014 #: ../tools/virt-tar.pl:75
25015 msgid ""
25016 "C<virt-tar> is a general purpose archive tool for downloading and uploading "
25017 "parts of a guest filesystem.  There are many possibilities: making backups, "
25018 "uploading data files, snooping on guest activity, fixing or customizing "
25019 "guests, etc."
25020 msgstr ""
25021
25022 # type: textblock
25023 #: ../tools/virt-tar.pl:80
25024 msgid ""
25025 "If you want to just view a single file, use L<virt-cat(1)>.  If you just "
25026 "want to edit a single file, use L<virt-edit(1)>.  For more complex cases you "
25027 "should look at the L<guestfish(1)> tool."
25028 msgstr ""
25029
25030 # type: textblock
25031 #: ../tools/virt-tar.pl:84
25032 msgid ""
25033 "There are two modes of operation: C<-x> (eXtract) downloads a directory and "
25034 "its contents (recursively) from the virtual machine into a local tarball.  "
25035 "C<-u> uploads from a local tarball, unpacking it into a directory inside the "
25036 "virtual machine.  You cannot use these two options together."
25037 msgstr ""
25038
25039 # type: textblock
25040 #: ../tools/virt-tar.pl:90
25041 msgid ""
25042 "In addition, you may need to use the C<-z> (gZip) option to enable "
25043 "compression.  When uploading, you have to specify C<-z> if the upload file "
25044 "is compressed because virt-tar won't detect this on its own."
25045 msgstr ""
25046
25047 # type: textblock
25048 #: ../tools/virt-tar.pl:94
25049 msgid ""
25050 "C<virt-tar> can only handle tar (optionally gzipped) format tarballs.  For "
25051 "example it cannot do PKZip files or bzip2 compression.  If you want that "
25052 "then you'll have to rebuild the tarballs yourself.  (This is a limitation of "
25053 "the L<libguestfs(3)> API)."
25054 msgstr ""
25055
25056 # type: =item
25057 #: ../tools/virt-tar.pl:135
25058 msgid "B<-x> | B<--extract> | B<--download>"
25059 msgstr ""
25060
25061 # type: =item
25062 #: ../tools/virt-tar.pl:137
25063 msgid "B<-u> | B<--upload>"
25064 msgstr ""
25065
25066 # type: textblock
25067 #: ../tools/virt-tar.pl:139
25068 msgid ""
25069 "Use C<-x> to extract (download) a directory from a virtual machine to a "
25070 "local tarball."
25071 msgstr ""
25072
25073 # type: textblock
25074 #: ../tools/virt-tar.pl:142
25075 msgid ""
25076 "Use C<-u> to upload and unpack from a local tarball into a virtual machine.  "
25077 "Please read the L</WARNING> section above before using this option."
25078 msgstr ""
25079
25080 # type: textblock
25081 #: ../tools/virt-tar.pl:146
25082 msgid "You must specify exactly one of these options."
25083 msgstr ""
25084
25085 # type: =item
25086 #: ../tools/virt-tar.pl:152
25087 msgid "B<-z> | B<--gzip>"
25088 msgstr ""
25089
25090 # type: textblock
25091 #: ../tools/virt-tar.pl:154
25092 msgid "Specify that the input or output tarball is gzip-compressed."
25093 msgstr ""
25094
25095 # type: textblock
25096 #: ../tools/virt-tar.pl:259
25097 msgid ""
25098 "L<guestfs(3)>, L<guestfish(1)>, L<virt-cat(1)>, L<virt-edit(1)>, "
25099 "L<Sys::Guestfs(3)>, L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, "
25100 "L<http://libguestfs.org/>."
25101 msgstr ""
25102
25103 # type: textblock
25104 #: ../tools/virt-win-reg.pl:38
25105 msgid ""
25106 "virt-win-reg - Export and merge Windows Registry entries from a Windows "
25107 "guest"
25108 msgstr ""
25109
25110 # type: verbatim
25111 #: ../tools/virt-win-reg.pl:42
25112 #, no-wrap
25113 msgid ""
25114 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey'\n"
25115 "\n"
25116 msgstr ""
25117
25118 # type: verbatim
25119 #: ../tools/virt-win-reg.pl:44
25120 #, no-wrap
25121 msgid ""
25122 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' name\n"
25123 "\n"
25124 msgstr ""
25125
25126 # type: verbatim
25127 #: ../tools/virt-win-reg.pl:46
25128 #, no-wrap
25129 msgid ""
25130 " virt-win-reg domname 'HKLM\\Path\\To\\Subkey' @\n"
25131 "\n"
25132 msgstr ""
25133
25134 # type: verbatim
25135 #: ../tools/virt-win-reg.pl:48
25136 #, no-wrap
25137 msgid ""
25138 " virt-win-reg --merge domname [input.reg ...]\n"
25139 "\n"
25140 msgstr ""
25141
25142 # type: verbatim
25143 #: ../tools/virt-win-reg.pl:50
25144 #, no-wrap
25145 msgid ""
25146 " virt-win-reg [--options] disk.img ... # instead of domname\n"
25147 "\n"
25148 msgstr ""
25149
25150 # type: textblock
25151 #: ../tools/virt-win-reg.pl:54
25152 msgid ""
25153 "You must I<not> use C<virt-win-reg> with the C<--merge> option on live "
25154 "virtual machines.  If you do this, you I<will> get irreversible disk "
25155 "corruption in the VM.  C<virt-win-reg> tries to stop you from doing this, "
25156 "but doesn't catch all cases."
25157 msgstr ""
25158
25159 # type: textblock
25160 #: ../tools/virt-win-reg.pl:59
25161 msgid ""
25162 "Modifying the Windows Registry is an inherently risky operation.  The format "
25163 "is deliberately obscure and undocumented, and Registry changes can leave the "
25164 "system unbootable.  Therefore when using the C<--merge> option, make sure "
25165 "you have a reliable backup first."
25166 msgstr ""
25167
25168 # type: textblock
25169 #: ../tools/virt-win-reg.pl:66
25170 msgid ""
25171 "This program can export and merge Windows Registry entries from a Windows "
25172 "guest."
25173 msgstr ""
25174
25175 # type: textblock
25176 #: ../tools/virt-win-reg.pl:69
25177 msgid ""
25178 "The first parameter is the libvirt guest name or the raw disk image of a "
25179 "Windows guest."
25180 msgstr ""
25181
25182 # type: textblock
25183 #: ../tools/virt-win-reg.pl:72
25184 msgid ""
25185 "If C<--merge> is I<not> specified, then the chosen registry key is "
25186 "displayed/exported (recursively).  For example:"
25187 msgstr ""
25188
25189 # type: verbatim
25190 #: ../tools/virt-win-reg.pl:75
25191 #, no-wrap
25192 msgid ""
25193 " $ virt-win-reg Windows7 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft'\n"
25194 "\n"
25195 msgstr ""
25196
25197 # type: textblock
25198 #: ../tools/virt-win-reg.pl:77
25199 msgid "You can also display single values from within registry keys, for example:"
25200 msgstr ""
25201
25202 # type: verbatim
25203 #: ../tools/virt-win-reg.pl:80
25204 #, no-wrap
25205 msgid ""
25206 " $ cvkey='HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion'\n"
25207 " $ virt-win-reg Windows7 $cvkey ProductName\n"
25208 " Windows 7 Enterprise\n"
25209 "\n"
25210 msgstr ""
25211
25212 # type: textblock
25213 #: ../tools/virt-win-reg.pl:84
25214 msgid ""
25215 "With C<--merge>, you can merge a textual regedit file into the Windows "
25216 "Registry:"
25217 msgstr ""
25218
25219 # type: verbatim
25220 #: ../tools/virt-win-reg.pl:87
25221 #, no-wrap
25222 msgid ""
25223 " $ virt-win-reg --merge Windows7 changes.reg\n"
25224 "\n"
25225 msgstr ""
25226
25227 # type: =head2
25228 #: ../tools/virt-win-reg.pl:89
25229 msgid "SUPPORTED SYSTEMS"
25230 msgstr ""
25231
25232 # type: textblock
25233 #: ../tools/virt-win-reg.pl:91
25234 msgid ""
25235 "The program currently supports Windows NT-derived guests starting with "
25236 "Windows XP through to at least Windows 7."
25237 msgstr ""
25238
25239 # type: textblock
25240 #: ../tools/virt-win-reg.pl:94
25241 msgid ""
25242 "Registry support is done for C<HKEY_LOCAL_MACHINE\\SAM>, "
25243 "C<HKEY_LOCAL_MACHINE\\SECURITY>, C<HKEY_LOCAL_MACHINE\\SOFTWARE>, "
25244 "C<HKEY_LOCAL_MACHINE\\SYSTEM> and C<HKEY_USERS\\.DEFAULT>."
25245 msgstr ""
25246
25247 # type: textblock
25248 #: ../tools/virt-win-reg.pl:98
25249 msgid ""
25250 "You can use C<HKLM> as a shorthand for C<HKEY_LOCAL_MACHINE>, and C<HKU> for "
25251 "C<HKEY_USERS>."
25252 msgstr ""
25253
25254 # type: textblock
25255 #: ../tools/virt-win-reg.pl:101
25256 msgid ""
25257 "C<HKEY_USERS\\$SID> and C<HKEY_CURRENT_USER> are B<not> supported at this "
25258 "time."
25259 msgstr ""
25260
25261 # type: =head2
25262 #: ../tools/virt-win-reg.pl:104
25263 msgid "NOTE"
25264 msgstr ""
25265
25266 # type: textblock
25267 #: ../tools/virt-win-reg.pl:106
25268 msgid ""
25269 "This program is only meant for simple access to the registry.  If you want "
25270 "to do complicated things with the registry, we suggest you download the "
25271 "Registry hive files from the guest using L<libguestfs(3)> or L<guestfish(1)> "
25272 "and access them locally, eg. using L<hivex(3)>, L<hivexsh(1)> or "
25273 "L<hivexregedit(1)>."
25274 msgstr ""
25275
25276 # type: =head2
25277 #: ../tools/virt-win-reg.pl:112
25278 msgid "ENCODING"
25279 msgstr ""
25280
25281 # type: textblock
25282 #: ../tools/virt-win-reg.pl:114
25283 msgid ""
25284 "C<virt-win-reg> expects that regedit files have already been reencoded in "
25285 "the local encoding.  Usually on Linux hosts, this means UTF-8 with "
25286 "Unix-style line endings.  Since Windows regedit files are often in UTF-16LE "
25287 "with Windows-style line endings, you may need to reencode the whole file "
25288 "before or after processing."
25289 msgstr ""
25290
25291 # type: textblock
25292 #: ../tools/virt-win-reg.pl:120
25293 msgid ""
25294 "To reencode a file from Windows format to Linux (before processing it with "
25295 "the C<--merge> option), you would do something like this:"
25296 msgstr ""
25297
25298 # type: verbatim
25299 #: ../tools/virt-win-reg.pl:123
25300 #, no-wrap
25301 msgid ""
25302 " iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg\n"
25303 "\n"
25304 msgstr ""
25305
25306 # type: textblock
25307 #: ../tools/virt-win-reg.pl:125
25308 msgid ""
25309 "To go in the opposite direction, after exporting and before sending the file "
25310 "to a Windows user, do something like this:"
25311 msgstr ""
25312
25313 # type: verbatim
25314 #: ../tools/virt-win-reg.pl:128
25315 #, no-wrap
25316 msgid ""
25317 " unix2dos linux.reg | iconv -f utf-8 -t utf-16le > win.reg\n"
25318 "\n"
25319 msgstr ""
25320
25321 # type: textblock
25322 #: ../tools/virt-win-reg.pl:130
25323 msgid "For more information about encoding, see L<Win::Hivex::Regedit(3)>."
25324 msgstr ""
25325
25326 # type: textblock
25327 #: ../tools/virt-win-reg.pl:132
25328 msgid ""
25329 "If you are unsure about the current encoding, use the L<file(1)> command.  "
25330 "Recent versions of Windows regedit.exe produce a UTF-16LE file with "
25331 "Windows-style (CRLF) line endings, like this:"
25332 msgstr ""
25333
25334 # type: verbatim
25335 #: ../tools/virt-win-reg.pl:136
25336 #, no-wrap
25337 msgid ""
25338 " $ file software.reg\n"
25339 " software.reg: Little-endian UTF-16 Unicode text, with very long lines,\n"
25340 " with CRLF line terminators\n"
25341 "\n"
25342 msgstr ""
25343
25344 # type: textblock
25345 #: ../tools/virt-win-reg.pl:140
25346 msgid "This file would need conversion before you could C<--merge> it."
25347 msgstr ""
25348
25349 # type: =head2
25350 #: ../tools/virt-win-reg.pl:142
25351 msgid "SHELL QUOTING"
25352 msgstr ""
25353
25354 # type: textblock
25355 #: ../tools/virt-win-reg.pl:144
25356 msgid ""
25357 "Be careful when passing parameters containing C<\\> (backslash) in the "
25358 "shell.  Usually you will have to use 'single quotes' or double backslashes "
25359 "(but not both) to protect them from the shell."
25360 msgstr ""
25361
25362 # type: textblock
25363 #: ../tools/virt-win-reg.pl:148
25364 msgid "Paths and value names are case-insensitive."
25365 msgstr ""
25366
25367 # type: =head2
25368 #: ../tools/virt-win-reg.pl:150
25369 msgid "CurrentControlSet etc."
25370 msgstr ""
25371
25372 # type: textblock
25373 #: ../tools/virt-win-reg.pl:152
25374 msgid ""
25375 "Registry keys like C<CurrentControlSet> don't really exist in the Windows "
25376 "Registry at the level of the hive file, and therefore you cannot modify "
25377 "these."
25378 msgstr ""
25379
25380 # type: textblock
25381 #: ../tools/virt-win-reg.pl:156
25382 msgid ""
25383 "C<CurrentControlSet> is usually an alias for C<ControlSet001>.  In some "
25384 "circumstances it might refer to another control set.  The way to find out is "
25385 "to look at the C<HKLM\\SYSTEM\\Select> key:"
25386 msgstr ""
25387
25388 # type: verbatim
25389 #: ../tools/virt-win-reg.pl:160
25390 #, no-wrap
25391 msgid ""
25392 " # virt-win-reg WindowsGuest 'HKLM\\SYSTEM\\Select'\n"
25393 " [HKEY_LOCAL_MACHINE\\SYSTEM\\Select]\n"
25394 " \"Current\"=dword:00000001\n"
25395 " \"Default\"=dword:00000001\n"
25396 " \"Failed\"=dword:00000000\n"
25397 " \"LastKnownGood\"=dword:00000002\n"
25398 "\n"
25399 msgstr ""
25400
25401 # type: textblock
25402 #: ../tools/virt-win-reg.pl:167
25403 msgid "\"Default\" is the one which Windows will choose when it boots."
25404 msgstr ""
25405
25406 # type: textblock
25407 #: ../tools/virt-win-reg.pl:169
25408 msgid "Similarly, other C<Current...> keys in the path may need to be replaced."
25409 msgstr ""
25410
25411 # type: =item
25412 #: ../tools/virt-win-reg.pl:216
25413 msgid "B<--merge>"
25414 msgstr ""
25415
25416 # type: textblock
25417 #: ../tools/virt-win-reg.pl:218
25418 msgid ""
25419 "In merge mode, this merges a textual regedit file into the Windows Registry "
25420 "of the virtual machine.  If this flag is I<not> given then virt-win-reg "
25421 "displays or exports Registry entries instead."
25422 msgstr ""
25423
25424 # type: textblock
25425 #: ../tools/virt-win-reg.pl:222
25426 msgid ""
25427 "Note that C<--merge> is I<unsafe> to use on live virtual machines, and will "
25428 "result in disk corruption.  However exporting (without this flag)  is always "
25429 "safe."
25430 msgstr ""
25431
25432 # type: =item
25433 #: ../tools/virt-win-reg.pl:230
25434 msgid "B<--encoding> UTF-16LE|ASCII"
25435 msgstr ""
25436
25437 # type: textblock
25438 #: ../tools/virt-win-reg.pl:232
25439 msgid ""
25440 "When merging (only), you may need to specify the encoding for strings to be "
25441 "used in the hive file.  This is explained in detail in "
25442 "L<Win::Hivex::Regedit(3)/ENCODING STRINGS>."
25443 msgstr ""
25444
25445 # type: textblock
25446 #: ../tools/virt-win-reg.pl:236
25447 msgid ""
25448 "The default is to use UTF-16LE, which should work with recent versions of "
25449 "Windows."
25450 msgstr ""
25451
25452 # type: textblock
25453 #: ../tools/virt-win-reg.pl:463
25454 msgid ""
25455 "L<hivex(3)>, L<hivexsh(1)>, L<hivexregedit(1)>, L<guestfs(3)>, "
25456 "L<guestfish(1)>, L<virt-cat(1)>, L<Sys::Guestfs(3)>, "
25457 "L<Sys::Guestfs::Lib(3)>, L<Win::Hivex(3)>, L<Win::Hivex::Regedit(3)>, "
25458 "L<Sys::Virt(3)>, L<http://libguestfs.org/>."
25459 msgstr ""
25460
25461 # type: verbatim
25462 #: ../tools/virt-win-reg.pl:481
25463 #, no-wrap
25464 msgid ""
25465 " export LIBGUESTFS_DEBUG=1\n"
25466 " virt-win-reg --debug [... rest ...] > /tmp/virt-win-reg.log 2>&1\n"
25467 "\n"
25468 msgstr ""
25469
25470 # type: textblock
25471 #: ../tools/virt-win-reg.pl:484
25472 msgid ""
25473 "Attach /tmp/virt-win-reg.log to a new bug report at "
25474 "L<https://bugzilla.redhat.com/>"
25475 msgstr ""