]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/740: pass the --quick option to mkfs.ntfs
authorChristoph Hellwig <hch@lst.de>
Sun, 23 Jun 2024 12:10:32 +0000 (14:10 +0200)
committerZorro Lang <zlang@kernel.org>
Fri, 12 Jul 2024 19:05:34 +0000 (03:05 +0800)
Without --quick mkfs.ntfs will zero the entire device, which can take
a very long time.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/740

index fc2ec627f2f20ce2400d18178c6e1337e0c83629..6a97ac69a642d03a3c95a523e3f2f94f4ca183d6 100755 (executable)
@@ -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"