[syslinux] comments about 5.00pre10

Bernd Blaauw bblaauw at home.nl
Sun Nov 18 01:30:31 PST 2012


Op 18-11-2012 5:56, Ady schreef:

> "syslinux.exe --directory /boot/syslinux --install a:" (empty fat12
> formatted volume, so directory not yet created). The command errors
> out, as it should, but it still leaves ldlinux.sys on "a:/". Do you
> mean that the file(s) are first copied to the root of the volume and
> then moved to the "--directory"? If that's the case, maybe it should
> FIRST check for the existence of the destination directory (together
> with any other condition to be met), and only _then_ install the
> files if appropriate?

I think it might have always done this. In DOS at least, Syslinux 
installer can choke on an already present "\LDLINUX.SYS" with RHS 
attributes (read-only, hidden, system) when trying to move its location, 
even if that location already exists.

e.g.:

SYSLINUX A:
echo A:\LDLINUX.SYS should now exist
MD A:\BOOT
SYSLINUX -d /BOOT --install A:
echo A:\BOOT\LDLINUX.SYS should exist..

I don't know if it's the project's intention to only allow 1 LDLINUX.SYS 
per medium or if multiple are allowed. If only 1, the previous 
LDLINUX.SYS could be deleted from root and/or target install dir.

Bernd



More information about the Syslinux mailing list