[syslinux] pxelinux and getcwd

H. Peter Anvin hpa at zytor.com
Thu Dec 15 16:29:41 PST 2011


On 11/08/2011 01:27 PM, Sebastian Herbszt wrote:
> Sebastian Herbszt wrote:
>> It seems there is a mismatch between the CWD returned by
>> AX=001Fh, INT 22h (COMBOOT) and getcwd (COM32).
>> getcwd() returns fs->cwd_name which is "::" on pxelinux.
>> The COMBOOT variant returns "" (CurrentDirName).
> 
>    /* Our name for the root */
>    strcpy(fs->cwd_name, "::");
> 
> Is this correct (pxe_fs_init() from core/fs/pxe/pxe.c)?
> 

I would say :: is probably the correct; or perhaps we should even
produce the full prefix including the IP address...

	-hpa




More information about the Syslinux mailing list