[syslinux] Syslinux search for config file

Schlomo Schapiro schlomo at schapiro.org
Wed Aug 29 12:47:09 PDT 2012


Hi,

On 29 August 2012 21:19, Jeffrey Hutzelman <jhutz at cmu.edu> wrote:

> On Wed, 2012-08-29 at 17:09 +0200, Tomas M wrote:
>
> > If syslinux fails to locate its config file, it is actually
> > UNBOOTABLE, in other works STUCK, simply said it's SCREWED :) If it
> > searches even the entire drive for a file 'syslinux.cfg' or other
> > filename, then it may 'recover' the situation. Backward compatibility
> > is fully retained, and it doesn't matter if the directories it
> > traverses are seen as 8-chars only.
> >
> > Is there a will to accept such behavior?
>
> Search the entire drive?  No.  That has terrible security properties.
>

Yes, and could take way too long. But why not simply search up from the
syslinux install path till /? That won't take too long and is very
predictable.

Regards,
Schlomo



More information about the Syslinux mailing list