Re: [dev] cat unique deice identifier e.g. serial number
Ah, cool. That's exactly what I needed.
On 09.02.2012, Benjamin R. Haskell <suckless_AT_benizi.com> wrote:
> On Thu, 9 Feb 2012, hiro wrote:
>
>> mhm, so there's no native way on a linux?
>
> Depending on your kernel, the DMI information may be available via
> sysfs. You asked for the serial number before. I have that at:
>
> /sys/class/dmi/id/board_serial
>
> Contents are equivalent to `dmidecode -s baseboard-serial-number`. The
> equivalent of Christoph's suggestion (dmidecode -s system-uuid) is
> available at:
>
> /sys/class/dmi/id/product_uuid
>
> --
> Best,
> Ben
>
>
Received on Thu Feb 09 2012 - 11:24:21 CET
This archive was generated by hypermail 2.3.0
: Thu Feb 09 2012 - 11:36:04 CET