From: Olaf Titz (s_titz@ira.uka.de)
Date: 08/02/93


From: s_titz@ira.uka.de (Olaf Titz)
Subject: Re: could this be realized ?(Kernel-Extensions)
Date: 2 Aug 1993 13:51:08 GMT

In article <1993Jul30.134512.20571@colorado.edu> drew@cs.colorado.edu (Drew Eckhardt) writes:
> The actual implementation would be pretty simple - basically, you just
> hook a timer, reset it on every SCSI disk read/write, and if it triggers
> issue a START/STOP UNIT command and set a bit in a scsi disk or scsi
> device structure. On every read/write, check that bit and if set
> start the disk, and clear the bit before issuing the command.

And beware of the sync() call - if it writes a timestamp the disks
will never stop. This probably had to be changed.

Anyway, I agree that stopping the disks does no good except in
power-critical laptops.

Olaf

-- 
        olaf titz     o       olaf@bigred.ka.sub.org          praetorius@irc
  comp.sc.student    _>\ _         s_titz@ira.uka.de      LINUX - the choice
karlsruhe germany   (_)<(_)      uknf@dkauni2.bitnet     of a GNU generation
what good is a photograph of you? everytime i look at it it makes me feel blue