[syslinux] CONFIG and appended directory; current directory
H. Peter Anvin
hpa at zytor.com
Thu Sep 16 06:42:52 PDT 2010
On 09/15/2010 08:32 PM, Gene Cumm wrote:
> 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/".
>
It must accept /, but not necessarily interpret it as a directory
separator. Of course, all currently dominant OSes will.
-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