[syslinux] pxelinux and getcwd

Sebastian Herbszt herbszt at gmx.de
Tue Nov 8 13:27:10 PST 2011


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)?

Sebastian




More information about the Syslinux mailing list