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