[syslinux] isohybrid detecting usb vs. cdrom boot

H. Peter Anvin hpa at zytor.com
Wed Jun 3 10:50:14 PDT 2009


Nuspl Jr., Joe J wrote:
> Given an isohybrid image, I'd like default to a different label when booted from usb vs. when booted from cd.  Is there a way to do accomplish this, something similar to ifcpu64.c32 perhaps?

There isn't stock, but it should be easy enough to do.  Basically you
want to do something like ifcpu64.c but key off the value of
syslinux_derivative_info()->iso.cd_mode (defined in <syslinux/config.h>)
instead of CPUID information.

We need to get the lua bindings finished... does anyone even know what
the status of that is?

	-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