get XO id via bash

Sascha Silbe sascha-ml-reply-to-2011-2 at
Fri Feb 25 14:08:21 EST 2011

Excerpts from Sameer Verma's message of Fri Feb 25 19:53:54 +0100 2011:

> Anyone know how to get the XO unique identifier using bash?

On OLPC kernels:

sn="$(cat /ofw/mfg-data/SN)"
uuid="$(cat /ofw/mfg-data/U#"

For mainline kernels the path is slightly different.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 494 bytes
Desc: not available
URL: <>

More information about the Devel mailing list