On Fri, 2007-08-17 at 08:24 -0700, Alan Coopersmith wrote: > Anil Gulecha wrote: > > I'm looking for a very simple way to generate PCID in an x86 > > machinevery early in the bootup (when root file system is mounted). > > the varience should be enough to distinguish between various desktps, > > laptops and motherboards. I'm not looking for absolute unique IDs > > (around 8 characters). > > > > Currently I came up : > > /usr/X11/bin/scanpci | /usr/bin/digest -a md5 | /usr/bin/cut -c 1-8 > > I'm not sure what PCID is, so don't know if it matters, but if you're > expecting scanpci to always give identical output for the same machine, > be very careful - the output may change without warning, either in > format (less likely) or in the name assigned to a specific device (more > common - happens to some devices every time we pull in a new dump of the > PCI ids database from pciids.sf.net). >
I'm curious as well, what is the purpose of this? -- Garrett _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code