[syslinux] fwrite?
H. Peter Anvin
hpa at zytor.com
Mon Aug 1 11:06:09 PDT 2011
On 08/01/2011 10:29 AM, Bryan.James.Krone-EXT at jci.com wrote:
> Is there a mechanism already in Syslinux that would count the number of
> reboot of an OS? I'm working with an embedded OS and I would like to
> reboot into another OS if the original fails to boot more than 10 times.
>
> Thanks for responding to my earlier question.
There is --once, but it sounds like you want it to have a counter. The
way to store persistent data in Syslinux is the ADV (auxilliary data
vector) which has its own API.
Adding a counter to the --once mechanism would be fairly easy.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
More information about the Syslinux
mailing list