[syslinux] CONFIG and appended directory; current directory

Gene Cumm gene.cumm at gmail.com
Wed Sep 15 20:32:09 PDT 2010


On Wed, Sep 15, 2010 at 19:39, H. Peter Anvin <hpa at zytor.com> wrote:
> On 09/14/2010 11:23 PM, Gene Cumm wrote:
>>
>> In PXELINUX, I'm also noticing that any specified file/path (including
>> calls to chdir()) is merely appended to the pwd unless it starts with
>> "::" (although I haven't testing using multiple TFTP servers or using
>> gpxelinux.0).  When using CONFIG/config.c32 and chdir(), the pwd is
>> also not tailed properly with a trailing "/" unless specified.
>>
>
> This is by design.  Keep in mind the TFTP server might not use / as
> directory separator!

Ah, yes.  I keep forgetting about those.  The only exception is that
the TFTP server must interpret a "/" (as a part of a fully qualified
filename) as a part of "pxelinux.cfg/".

-- 
-Gene




More information about the Syslinux mailing list