X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=tools%2Fvirt-make-fs;h=40a1437c39cfa0eb50fdc691a5dd0cc6a440a6c4;hp=74de4dee00b6877ed124378899a5ecf4d0c95255;hb=b8f9a20b039b34ba41098d1360866b6f9f74463d;hpb=e323d93ed2ab3b55885273ab6bd911e2996346d9 diff --git a/tools/virt-make-fs b/tools/virt-make-fs index 74de4de..40a1437 100755 --- a/tools/virt-make-fs +++ b/tools/virt-make-fs @@ -405,7 +405,7 @@ eval { # Run libguestfs. my $g = Sys::Guestfs->new (); - $g->add_drive ($output); + $g->add_drive_opts ($output, format => $format); $g->launch (); if ($type eq "ntfs" && !feature_available ($g, "ntfs3g", "ntfsprogs")) { @@ -524,11 +524,18 @@ sub create_pipe return $pipe; } +=head1 SHELL QUOTING + +Libvirt guest names can contain arbitrary characters, some of which +have meaning to the shell such as C<#> and space. You may need to +quote or escape these characters on the command line. See the shell +manual page L for details. + =head1 SEE ALSO L, L, -L, +L, L, L, L, @@ -551,7 +558,7 @@ L =head1 AUTHOR -Richard W.M. Jones L +Richard W.M. Jones L =head1 COPYRIGHT