Fortunately, there's iPodLinux. With some changes it's possible to cross-compile smartmontools for iPodLinux and run it there. Here's a link to the modified smartmontools-6.1 source with the
smartctlbinary inside. I did this quickly a while ago. I'm sure it's possible to port smartmontools more elegantly, but this works.
I find iPodLinux text input annoyingly inefficient, so I prepared three text files with these common commands:
smartctl -d ata -a /dev/hda > sao
smartctl -d ata -t long /dev/hda
smartctl -d ata -t short /dev/hda
You must specify
-d atato tell smartctl what type of interface to use. I'm sure it's possible to improve the port to remove that requirement.