[syslinux] [PATCH 1/1] COMBOOT API: Add get current working directory call to most

Geert Stappers stappers at stappers.nl
Mon Nov 10 14:14:09 PST 2008


Op 20081110 om 11:28 schreef H. Peter Anvin:
> Gene Cumm wrote:
> > On the flip side, PXELINUX does assume that it can use "/" when trying
> > to find the configuration. 

'does assume'  ???

> > But, this could be interpreted by the TFTP server as either a

'could be'

> > directory separator or as a normal file name character (if there is
> > any OS that _might_ do this.  I don't know of one.  DOS/WIndows does
> > not.  Unix-like would of course use it as a directory separator.) and
> > still be able to use PXELINUX.
> 
> MacOS classic, for one.

MacOS classic uses colon  ( :  )  as directory separator
and sees slash ( / )  as a normal file name character.


Back to directory separators in the Syslinux project.

dictated by the file system
SYSLINUX:   \    
ISOLINUX:   \
EXTLINUX:   /

PXELINUX:   /
It is up to us agree that a slash is the directory separator.

Why slash?  (and not backslash?)
Because it matches http://www.kernel.org/pub/linux/utils/boot/syslinux/
and git://git.kernel.org/pub/scm/boot/syslinux/syslinux.git


The slash might indeed inconvinent for some TFTP servers.
But at server side are more resources available
then at bootloader side being the small client.


Two cents from
Geert Stappers




More information about the Syslinux mailing list