#!/bin/bash TS_TOPDIR="$(dirname $0)/../.." TS_DESC="umount" . $TS_TOPDIR/functions.sh ts_init "$*" ts_skip_nonroot # # Note that eject --force is required because scsi_debug is # not removable device. # function init_device { ts_scsi_debug_init dev_size_mb=100 } function init_partitions { local dev=$1 ts_log "Create partitions" $TS_CMD_FDISK $dev >> /dev/null 2>&1 <