On Tue, Aug 12, 2003 at 02:50:08PM -0500, Bruce Allen wrote:
> There are a few approaches that one could use for this:
> (1) Scan hardware database (/etc/sysconfig/hwconf on Redhat, for
> example) and use a pearl/python script to make /etc/smartd.conf
Debian lacks a hw database at the moment. Are hot pluggable devices
listed there too?
> (2) Add a -o filename option to smartd. This option makes it run silently
> in the foreground, construct a device list, probe devices (once) for SMART
> capabilities, print device list in correct format, and then exit. We
> could make smartd set itself an alarm and kill signal at the start so
> that it would be guaranteed to exit after (say) 20 seconds.
This sounds very good.
> Guido, if you like option 2, everything is already in place, with the
> exception of a routine to print the output file. This is nice because it
> keeps us from having to maintain a separate tool, and evolves in parallel
> with smartd.
I've put this on my TODO list but I don't think I'll find the time to
look into this in the very near future.
-- Guido
On Tue, Aug 12, 2003 at 02:50:08PM -0500, Bruce Allen wrote: /hwconf on Redhat, for
> There are a few approaches that one could use for this:
> (1) Scan hardware database (/etc/sysconfig
> example) and use a pearl/python script to make /etc/smartd.conf
Debian lacks a hw database at the moment. Are hot pluggable devices
listed there too?
> (2) Add a -o filename option to smartd. This option makes it run silently
> in the foreground, construct a device list, probe devices (once) for SMART
> capabilities, print device list in correct format, and then exit. We
> could make smartd set itself an alarm and kill signal at the start so
> that it would be guaranteed to exit after (say) 20 seconds.
This sounds very good.
> Guido, if you like option 2, everything is already in place, with the
> exception of a routine to print the output file. This is nice because it
> keeps us from having to maintain a separate tool, and evolves in parallel
> with smartd.
I've put this on my TODO list but I don't think I'll find the time to
look into this in the very near future.
-- Guido