On 8/17/07, Garrett D'Amore <[EMAIL PROTECTED]> wrote:
> 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?
>
Oops..

Here goes. I'm working on BeleniX liveUSB session saving. This would
allow users to save back changes that they make to their environment
back to the USB, thus making it available the next time the USB boots.

Now there are stuff that belenix asks for a PC: Keyboard choice,
decktop env (KDE/xfce) and the desktop resolution, network settings,
etc. I plan on saving these settings too, so they dont need to be
asked everytime. the scrips will identify that old setting of that PC
and boot accordingly. This could be interestign for livemedia project
as well (think encrypted liveUSB with xlofi)

To do this I need a method to identify the particular PC. this the
need for a pcid or signature for a particular machine.

All the scripts to do tis are ready now excluding the 'signature.sh'
((which currently just holds 'echo 4012323')

Alan pointed out an issue, however I dont think it should be of much
worry as the o/p of scanpci will be the same for a particular build of
ON.

I hope I've conveyed that well enough.

Anil
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to