[PATCH 3/8] generic/740: pass the --quick option to mkfs.ntfs

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

 



Without --quick mkfs.ntfs will zero the entire device, which can take
a very long time.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
 tests/generic/740 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/generic/740 b/tests/generic/740
index fc2ec627f..6a97ac69a 100755
--- a/tests/generic/740
+++ b/tests/generic/740
@@ -57,6 +57,10 @@ do
 		# restrict to 2000 blocks
 		postargs=2000
 		;;
+	ntfs)
+		# "quick" format that doesn't zero the entire device
+		postargs="--quick"
+		;;
 	reiserfs|reiser4)
 		preop="echo y |"
 		preargs="-f"
-- 
2.43.0





[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux