Lines Matching refs:DEVICE
111 printf "${form}\n" $PROG $DEVICE > /dev/{MSGDEV}
120 printf "${form}\n" $PROG $DEVICE > /dev/${MSGDEV}
272 okcancel "Insert disk in $DEVICE."
277 error_exit $DEVICE \
281 okcancel "Insert disk in $DEVICE."
287 yesno "Do you want $DEVICE mounted?"
319 echo "Read-write mount of $DEVICE failed. Mounting read-only."
339 if [ -h /$VOLUME_MEDIATYPE/$DEVICE ]; then
341 VOLUME_PATH=`ls -l /$VOLUME_MEDIATYPE/$DEVICE|\
362 if [ "$target_device" = "$DEVICE" ]; then
373 error_exit $DEVICE "Error unmounting $DEVICE" "$rmmount_msg";;
377 eject_msg="`eject -f $DEVICE 2>&1`"
379 eject_msg="`eject $DEVICE 2>&1`"
386 msg "Please remove the disk from $DEVICE.";;
389 msg $DEVICE "Error ejecting disk from $DEVICE" \
400 eject_msg="`eject -f $DEVICE 2>&1`"
418 msg $DEVICE "Error ejecting disk from $DEVICE" \
464 DEVICE=$1
473 MAP=`/usr/sbin/list_devices -s -l $DEVICE`
495 SYMDEV=`echo $DEVICE | sed -e 's/_//'` # e.g., "cdrom" or "floppy"
522 if [ -d ${VOLUME_ZONE_PATH}/${VOLUME_MEDIATYPE}/*-${DEVICE} ]; then
523 VOLUME_USER=`ls -ld ${VOLUME_ZONE_PATH}/${VOLUME_MEDIATYPE}/*-${DEVICE} | awk '/^d/{print $3}'`
545 USERDIR=${VOLUME_USER}-${DEVICE} # e.g., "joeusr-cdrom0"