Content-MD5: 6Tta93BGYA/tIlQerrR3xw==
Precedence: bulk
There were a number of solutions. The following is the solution first used and
working:
I usually do this in a script:
#------------------------------------------------------------------------------
#!/bin/sh
cd /path
ufsrestore rf ufsdumpfile << EOI
1
y
EOI
---- original question ----
This seems like such an obvious question, but I've checked the FAQ and attempted
an archive search and can't find it, so...
I am writting a script that uses ufsrestore and would like to get rid of the
prompt to the user for volume #. I've tried piping a number into the command
with no success and can't find an argument in the man page to do the trick.
---------------------------
My thanks to:
amick@erim.org (Richard Amick)
Rahul Roy <roy@bluestone.com>
mike@trdlnk.com (Michael Sullivan)
Peter Marelas <maral@phase-one.com.au>
Dan Pritts <danno@us.itd.umich.edu>
cgo@dsi.elis.fr (Cyril GODON)
Marc S. Gibian
Telos Consulting Services phone: (617) 377-6350
PRISM/TFS email: gibian@stars1.hanscom.af.mil
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:10 CDT