mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
mkfe2fs unfortunately hasn't heard about real enterprise setups using
whole disks and needs the -F option to create a filesystem on those without asking stupid questions that make the testcases block forever. Signed-off-by: Christoph Hellwig <hch@lst.de> Merge of master-melb:xfs-cmds:32546a by kenmcd. fix xfsqa on whole disks
This commit is contained in:
@@ -48,6 +48,10 @@ do
|
||||
[ $fs = reiserfs ] && preop="echo y |" && preargs="-f"
|
||||
# cramfs mkfs requires a directory argument
|
||||
[ $fs = cramfs ] && preargs=/proc/fs/xfs
|
||||
[ $fs = ext2 ] && preargs="-F"
|
||||
[ $fs = ext3 ] && preargs="-F"
|
||||
[ $fs = ext4 ] && preargs="-F"
|
||||
[ $fs = ext4dev ] && preargs="-F"
|
||||
|
||||
# overwite the first few Kb - should blow away superblocks
|
||||
src/devzero -n 20 $SCRATCH_DEV >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user