Anil Gulecha wrote: > Hi, > > 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 > > .. that normally works and would be useful enough, but it throws an > error when used evry early at startup ( digest: failed PKCS11 > CKR_GENERAL_ERROR or some such. Adding a 'cryptoadm start' before thid > did not help : /dev/cryptoadm not found)
cryptoadm start is explicitly documented as a private interface don't call it. You need to have your script that does this depend on the svc://system/cryptosvc:default SMF service. -- Darren J Moffat _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code