Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 96ea0c0434263bff96b544bc4e7c57a2 > files > 21

gsmartcontrol-0.8.4-2mdv2010.0.i586.rpm


This directory contains scripts and an example crontab to allow GSmartControl
to read smartctl data from cron-generated files. This allows users to read
somewhat recent smartctl information without having to run GSmartControl as
root.

Put the scripts into /usr/local/bin, run GSmartControl and set smartctl path
to "/usr/local/bin/smartctl_subst.sh" (without quotes). An example crontab
runs cron_gather_smart.sh script every 10 minutes, storing its output to
"/var/run/smart-$devname". The smartctl_subst.sh script prints the contents of
this file instead of running smartctl, thus eliminating the need to run
GSmartControl as root when reading SMART values.

Note: These scripts provide read-only capabilities only, they don't allow
changing SMART settings or running self-tests.

Contributed by Alex Butcher <alex dot butcher 'at' assursys.co.uk>.