[CentOS] Hardware serial number access from (a) command(s)

Tue Jul 29 00:47:05 UTC 2008
John R Pierce <pierce at hogranch.com>

Eduardo Silvestre wrote:
> howdy,
>
>  did you tried lshw? 
>
>   

have you? 

this package, available in rpmforge, shows considerably less than 
hal-device did, albeit in a somewhat cleaner output format... ..  

neither hal-device or lshw showed the serial of the optical devices on 
the 3 different random servers I tried them on.   lshw doesn't even show 
the serial on SCSI hard disk drives, which is available from several 
sources on the same machine.