Commit 40122799 authored by Franco Fichtner's avatar Franco Fichtner

rc: print tweaks for importer

parent dac39c53
......@@ -30,6 +30,7 @@ DEVS=$(camcontrol devlist)
PART=
while [ -z "${PART}" ]; do
echo
echo "${DEVS}"
echo
read -p "Select a device import from or leave blank to exit: " DEV
......@@ -43,11 +44,13 @@ while [ -z "${PART}" ]; do
# GPT layout found
PART="/dev/${DEV}p3"
else
echo "No known partition layout was found."
echo
echo "No known partition layout was found for '${DEV}'."
fi
done
echo
mkdir -p ${MNT}
fsck -t ufs -y ${PART} > /dev/null
mount ${PART} ${MNT}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment