[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]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux