[syslinux] [PATCH] mboot using module path

Damien damien.nozay at gmail.com
Tue Jul 28 12:30:06 PDT 2009


Hey,

Yes, it would help,
the pxelinux code AFAIK, uses option 210 to get the path prefix, and
this is what is used as the CurrentDirName. The mangling function uses
PathPrefix when (IMHO) it should use CurrentDirName. The patches sent earlier
changes that in the mangling function and implements chdir as a function to
change CurrentDirName through syscall 0x22 - 0025h (a strcpy...). Iow,
PathPrefix
is safe, and can be restored anytime.
I only jumped in because this 127 chars limit is blocking me. If
someone can change that without the linker complaining that's fine too
:)

Thanks for the ideas.


On Mon, Jul 27, 2009 at 8:40 PM, Miller,
Shao<Shao.Miller at yrdsb.edu.on.ca> wrote:
> Hey Damien,
>
> In regards to your filename-path limitations, would DHCP option 210 as
> described in Syslinux/doc/rfc5071.txt help at all?  It's a prefix for
> relative file paths...  Maybe not so useful if you have multiple paths
> to use from your PXELINUX menu, but...
>
> Perhaps you could combine gPXE + PXELINUX to wind up with something a
> bit stronger?  gPXE should support the menu.c32, and could offer a
> product choice first, then set option 209 from a gPXE script, then
> continue on to load PXELINUX and any further menu options...  Just an
> idea.
>
> - Shao Miller
>
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
>
>




More information about the Syslinux mailing list