"Dan Mahoney, System Admin" <[EMAIL PROTECTED]> writes:

> 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.

for harddisk you can try smartctl, for bios/mainboard
you can try dmidecode (in ports).

Arne
-- 
compiling millions of tiny c-programs...done
checking for a working configure script... not found
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to