Hardware Serial Numbers under FreeBSD

Dan Mahoney, System Admin danm at prime.gushi.org
Thu Nov 4 08:56:44 PST 2004


Hey all, I'm trying to create an inventory script for systems that will be 
loaded via net-boot.  I was wondering if there was any useful way to 
obtain the serial number of devices like the hard drives, processor, 
and/or motherboard.  (as far as I can guess, those are the only things 
likely to store a serial number in a machine-readable format).

I'm scripting in perl, but of course have nothing against making system 
calls to get at the low-level stuff.

Please email me, as I'm not subscribed.

-Dan

--

<Belldandy> ha. you have not met me.
<BaldDwarf> ha. but i have sene pictures
<Belldandy> thanks but uh.,
<BaldDwarf> seen dammit! SEEN!
<Gushi> I don't know who dammit! is.
<Belldandy> so anyway

-Undernet #reboot, October 2nd, 2000, 3AM

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------



More information about the freebsd-hackers mailing list