Dat-scsi

John Horne john.horne at plymouth.ac.uk
Tue Jul 11 10:46:09 UTC 2006


On Tue, 2006-07-11 at 11:39 +0200, Andrea Bencini wrote:
> Ok thank
> When I do
> echo 'engage scsi' >/proc/driver/cciss/cciss0
> I must type "return" for "yes"
> Is it possible to answer in automatic to put it in my script?
>
How odd. The files in /proc are not 'normal' files so it shouldn't be
prompting for anything. The 'engage scsi' is treated as a command to it,
not something to be literally written to it.

You could 'cd' to /proc and work your way down to cciss to ensure that
cciss0 exists. If for example you have cciss1 instead then try echoing
to that instead. Then run 'mt status' to see what happens.

We put the echo command in to our /etc/rc.local file, which is run at
system boot time. That way the system always sees the tape deck after
rebooting.


John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: John.Horne at plymouth.ac.uk       Fax: +44 (0)1752 233839




More information about the fedora-list mailing list