Re: [dev] cat unique deice identifier e.g. serial number

From: Benjamin R. Haskell <suckless_AT_benizi.com>
Date: Wed, 8 Feb 2012 23:35:01 -0500 (EST)

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 - 05:35:01 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 09 2012 - 05:36:04 CET