Re: Dat-scsi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx       Fax: +44 (0)1752 233839


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux