smartmon tools should be able to tell you, if your drive supports it<br><br>smartctl -a /dev/hda<br><br><br><div class="gmail_quote">On Sun, May 24, 2009 at 1:06 PM, David L. Anselmi <span dir="ltr"><<a href="mailto:anselmi@anselmi.us">anselmi@anselmi.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I have a drive that's probably going bad. In order to find the right diagnostics for it I want to know the model number. But it isn't convenient to look at the label on the case.<br>
<br>
sudo /lib/udev/ata_id --export /dev/hda<br>
<br>
tells me the model as well as the serial number. udev is a pretty useful thing, I'm glad the kernel folks gave it to us. There's probably even more stuff available in sysfs but I don't need that today.<br>
<br>
Since man -k got me there quicker than Google I figured I'd mention it in case anyone else has scratched his head about the same thing.<br>
<br>
I guess if you know what you're looking for the model number is logged during boot. And you can find it in /proc/ide/hda/model.<br>
<br>
Dave<br>
_______________________________________________<br>
clue-tech mailing list<br>
<a href="mailto:clue-tech@cluedenver.org" target="_blank">clue-tech@cluedenver.org</a><br>
<a href="http://www.cluedenver.org/mailman/listinfo/clue-tech" target="_blank">http://www.cluedenver.org/mailman/listinfo/clue-tech</a><br>
</blockquote></div><br>