The HyperNews Linux KHG Discussion Pages

Question: How obtain bios number string(the id of the manufacturer)?

Forum: Device Drivers
Date: Tue, 04 Aug 1998 21:39:20 GMT
From: Martin Tapp <martin@cerca.umontreal.ca>

Hi, I would like to get the id of the bios to implement some kind of security check for my app on linux. On platforms other than a pc, I can access the cpu id, or the id of the internet card. I can't do that on linux, because not everyone has a network card installed and not all pc cpus have ids. So I would like to access the bios id, the video card id or the hard disk id.

The hard disk id with the ioctl call is impossible, because I have to be root to access /dev/hda for example. Any suggestions or ideas ?

Thank you :)

Martin Tapp martin@cerca.umontreal.ca