[clue-tech] Hard drive model number.
Angelo Bertolli
angelo.bertolli at gmail.com
Sun May 24 19:47:49 MDT 2009
smartmon tools should be able to tell you, if your drive supports it
smartctl -a /dev/hda
On Sun, May 24, 2009 at 1:06 PM, David L. Anselmi <anselmi at anselmi.us>wrote:
> 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.
>
> sudo /lib/udev/ata_id --export /dev/hda
>
> 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.
>
> 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.
>
> 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.
>
> Dave
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue-tech/attachments/20090524/e09e0181/attachment.html
More information about the clue-tech
mailing list