[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH 1/5] virt-make-fs: Fix filesystem type check when estimating ntfs.



From: "Richard W.M. Jones" <rjones 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 f941a82..9951ecd 100755
--- a/tools/virt-make-fs
+++ b/tools/virt-make-fs
@@ -376,7 +376,7 @@ if ($type =~ /^ext[3-9]/) {
     $estimate += 1024 * 1024;   # For ext3/4, add some more for the journal.
 }
 
-if ($type =~ /^ntfs/) {
+if ($type eq "ntfs") {
     $estimate += 4 * 1024 * 1024; # NTFS journal.
 }
 
-- 
1.7.10


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]