Original question included at bottom.
A big thanks to:
Ralph Dell, Gary Richardson (Hi Gary!), Frank Cusack, Karl E. Vogel, juan
echeverria, Jerome A Joseph, Dan Pritts, D. Ellen March, Stephen Harris, Ed
Miesch, David Wolfskill, David Thorburn-Gundlach ...and any others on their
Most people correctly said that ufsdump will just die on its own. Mea
for not testing my script in the exact way I wanted to use it. A few people
suggested using "expect". I didn't try it so can't offer any experiences.
> This seems like a question that would have already been asked, but I
> find it in the archives or FAQ.
> I want to run ufsdump in a script that is called by cron. I *don't* want
> to send questions to the console that require answers, such as:
> DUMP: NEEDS ATTENTION: Cannot open `abc:/dev/rmt/0mn'. Do you want to
> the open?: ("yes" or "no")
> I'd rather just have it abort with an error because it will be running at
> time when no operators will be available.
> Is there a way to do this, or pass it a "no"? If not, will it eventually
> up or will it keep prompting until it is killed?
> (I am running Solaris 2.5.1 with a single 8mm tape drive.)
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:29 CDT