[syslinux] fwrite?

H. Peter Anvin hpa at zytor.com
Mon Aug 1 12:18:29 PDT 2011


Bryan.James.Krone-EXT at jci.com wrote:

>Is the auxilliary data vector only accessible by Extlinux or does it
>also 
>work with Syslinux? I'm booting from a vfat partition.
>
>
>
>From:
>"H. Peter Anvin" <hpa at zytor.com>
>To:
>For discussion of Syslinux and tftp-hpa <syslinux at zytor.com>
>Cc:
>Bryan.James.Krone-EXT at jci.com, syslinux-bounces at zytor.com
>Date:
>08/01/2011 01:06 PM
>Subject:
>Re: [syslinux] fwrite?
>
>
>
>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.

Both, in current syslinux.
-- 
Sent from my mobile phone. Please excuse my brevity and lack of formatting.




More information about the Syslinux mailing list