Commit 40122799 authored by Franco Fichtner's avatar Franco Fichtner

rc: print tweaks for importer

parent dac39c53
...@@ -30,6 +30,7 @@ DEVS=$(camcontrol devlist) ...@@ -30,6 +30,7 @@ DEVS=$(camcontrol devlist)
PART= PART=
while [ -z "${PART}" ]; do while [ -z "${PART}" ]; do
echo
echo "${DEVS}" echo "${DEVS}"
echo echo
read -p "Select a device import from or leave blank to exit: " DEV read -p "Select a device import from or leave blank to exit: " DEV
...@@ -43,11 +44,13 @@ while [ -z "${PART}" ]; do ...@@ -43,11 +44,13 @@ while [ -z "${PART}" ]; do
# GPT layout found # GPT layout found
PART="/dev/${DEV}p3" PART="/dev/${DEV}p3"
else else
echo "No known partition layout was found."
echo echo
echo "No known partition layout was found for '${DEV}'."
fi fi
done done
echo
mkdir -p ${MNT} mkdir -p ${MNT}
fsck -t ufs -y ${PART} > /dev/null fsck -t ufs -y ${PART} > /dev/null
mount ${PART} ${MNT} 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