Way to tell if it is an XO

Jeremy Katz katzj at redhat.com
Wed Dec 10 17:32:03 EST 2008


On Tue, 2008-12-09 at 16:37 -0500, Chris Ball wrote:
>    > Hello, I need to know what is a good way to find out if the local
>    > machine running a python script is a XO.
> 
> One way might be to "cat /ofw/model".  If the file doesn't exist, or
> doesn't return a letter and number, you probably aren't running on an
> XO.

Note that this is not an upstream'd kernel interface and thus really
shouldn't be being depended on...

Jeremy




More information about the Devel mailing list