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). Sebastian
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
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