diff mbox series

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

Message ID 20240623121103.974270-4-hch@lst.de (mailing list archive)
State New
Headers show
Series [1/8] remove support for ext4dev | expand

Commit Message

Christoph Hellwig June 23, 2024, 12:10 p.m. UTC
Without --quick mkfs.ntfs will zero the entire device, which can take
a very long time.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 tests/generic/740 | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

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"