Re: Disk Drive LED via Software???




sjconcord@xxxxxxxxx wrote:
Hi All,

Is there any program that would simulate a physical disk drive LED? My
controller card does not provide a physical LED connection point and I
would like to know when certain disks are being accessed. A software
version of a disk drive LED would also be helpful when connecting to
the system from a remote X server.

You can update some read/write counters in ide-disk.c and read it via
/proc.
You don't really get a real-time indicator, but at least some
statistics on accesses.


My current system is SUSE 10.0.

TIme to hack your own kernel. Take a look at
ide-disk.c/ide_do_rw_disk();

Good thing about Linux is that you are free to do something totally
unexpected or useless if you want to.


Thanks,

Steve

.



Relevant Pages

  • Re: Disk Drive LED via Software???
    ... linnix wrote: ... controller card does not provide a physical LED connection point and I ... statistics on accesses. ...
    (comp.os.linux.misc)
  • Disk Drive LED via Software???
    ... controller card does not provide a physical LED connection point and I ... the system from a remote X server. ... My current system is SUSE 10.0. ...
    (comp.os.linux.misc)