Home
last modified time | relevance | path

Searched refs:g_fstype (Results 1 – 1 of 1) sorted by relevance

/third_party/ltp/testcases/kernel/mce-test/stress/
Dhwpoison.sh201 local mkfs="mkfs.$g_fstype"
205 [ $g_fstype = reiserfs ] && mkfs="mkreiserfs"
206 [ $g_fstype = ocfs2 ] && mkfs_opts="$mkfs_opts -M local"
207 [ $g_fstype = cifs ] && mount_opts="-o password="""
210 silent_exec which $mkfs || err "mkfs: unsupported fstype: $g_fstype"
211 if [ $g_force -eq 0 -a $g_fstype != "ocfs2" ]; then
212 echo -n "test will format $g_dev to $g_fstype, continue [y/n]? "
217 if [ $g_fstype = "vfat" -o $g_fstype = "msdos" -o $g_fstype = "btrfs" ]; then
219 elif [ $g_fstype = "xfs" ]; then
222 [ $g_fstype = ocfs2 ] && echo -n "test will format $g_dev to $g_fstype, continue [y/n]? "
[all …]