I have the following dump script and went I went to do a
#restore -if /dev/npt0
I could not find any subdirectories.
For exmaple if I do
restore> cd home
restore>ls
/home:
restore>
NO SUBDIRECTORIES AND AS A RESULT VERY LITTLE DATA!
AAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHH!
Here's my dump scipt:
#!/bin/sh
# this script talkes one arfument the dump level. If no paramater is
give then the script assumes 0 level dump.
if [ $1 ]; then
level=$1
else
# no dump level provided, so set it to zero
level="0"
fi
/sbin/dump/ $level 'uBf' 8000000 /dev/npt0 /
/sbin/dump/ $level 'uBf' 8000000 /dev/npt0 /home
/sbin/dump/ $level 'uBf' 8000000 /dev/npt0 /opt
/sbin/dump/ $level 'uBf' 8000000 /dev/npt0 /opt/src
/sbin/dump/ $level 'uBf' 8000000 /dev/npt0 /usr
/sbin/dump/ $level 'uBf' 8000000 /dev/npt0 /var
# if we are doing a zero level dump then rewind and eject the tape
if [ $level = "0" ]; then
/bin/mt -f /dev/pt0 rewind
# /bin/mt -f /dev/pt0 offline # command not accepted by
device driver
fi
# end
Can someone please help me?
Richard
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Mon Feb 18 2002 - 09:56:42 EST