X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=tools%2Fvirt-make-fs;h=4e928af440a0d58b9318ab34b0df39d2d1412bd2;hp=3f27a623e37560c192521f1ff9a21fc75dbd277a;hb=bf0280bf589573c11529999a73e9ec642dea9d61;hpb=9a608a1516bd339dc6d5ebe9952d3bced273c416 diff --git a/tools/virt-make-fs b/tools/virt-make-fs index 3f27a62..4e928af 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,6 +524,13 @@ 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,