1DESCRIPTION="enable MMP during mke2fs" 2FS_SIZE=65536 3MKE2FS_DEVICE_SECTSIZE=2048 4export MKE2FS_DEVICE_SECTSIZE 5TMPFILE=$test_name.tmp 6> $TMPFILE 7stat -f $TMPFILE | grep -q "Type: tmpfs" 8if [ $? = 0 ]; then 9 rm -f $TMPFILE 10 echo "$test_name: $test_description: skipped for tmpfs (no O_DIRECT)" 11 return 0 12fi 13MKE2FS_OPTS="-b 4096 -O mmp" 14. $cmd_dir/run_mke2fs 15unset MKE2FS_DEVICE_SECTSIZE 16