[Libguestfs] [PATCH 2/5] virt-make-fs: Use mount instead of mount_options.

Richard W.M. Jones rjones at redhat.com
Thu May 3 13:36:28 UTC 2012


From: "Richard W.M. Jones" <rjones at redhat.com>

---
 tools/virt-make-fs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/virt-make-fs b/tools/virt-make-fs
index 9951ecd..3938e27 100755
--- a/tools/virt-make-fs
+++ b/tools/virt-make-fs
@@ -449,7 +449,7 @@ eval {
 
     # Create the filesystem.
     $g->mkfs ($type, $dev);
-    $g->mount_options ("", $dev, "/");
+    $g->mount ($dev, "/");
 
     # Copy the data in.
     my $ifile;
-- 
1.7.10




More information about the Libguestfs mailing list