Lines Matching refs:mkfs
201 local mkfs="mkfs.$g_fstype"
205 [ $g_fstype = reiserfs ] && mkfs="mkreiserfs"
210 silent_exec which $mkfs || err "mkfs: unsupported fstype: $g_fstype"
214 [ $in = 'y' -o $in = "yes" -o $in = 'Y' ] || err "$mkfs on $g_dev is cancelled"
216 begin "-- $mkfs $g_dev"
223 silent_exec $mkfs $mkfs_opts $g_dev || err "cannot $mkfs $mkfs_opts on $g_dev"
224 end "-- $mkfs $g_dev"
852 echo -e "\t-N \t\t: do not mkfs target block device"