On Thu, 9 Oct 2008 07:09:42 +0300
Damyan Ivanov <[EMAIL PROTECTED]> wrote:
>  # dmidecode -s system-manufacturer
>  ASUSTeK Computer INC.
>  # dmidecode -s system-product-name
>  901

Or for that matter, skip dmidecode and get the info from:

cat /sys/class/dmi/id/sys_vendor
cat /sys/class/dmi/id/product_name

The nice thing about this method is you don't need to be root.  Also,
dmidecode isn't priority essential.

However, if you consider dmidecode a better/more stable abstraction
than /sys/class/dmi/id, it might still be preferable.

Ben
--
 ,-.  nSLUG    http://www.nslug.ns.ca   [EMAIL PROTECTED]
 \`'  Debian   http://www.debian.org    [EMAIL PROTECTED]
  `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to