[syslinux] Syslinux search for config file

Tomas M tomas at slax.org
Mon Nov 12 10:20:04 PST 2012


Thanks, I already found answer to that. It just didn't work for me due
to the problem with backslashes versus forwardslashes, but I don't
care any longer since I'm now using forward slashes in the directory
argument which works fine on Windows as well.

For ISOLINUX, this is not the case, it never searches any custom
directory. Using recursive search would help here trendemously.
Without it, the CD would not boot at all, so using search (up to
recursion level 2 for example) may be very safe and simple solution
how to enable users to put syslinux.cfg to a nonstandard directory on
CD. In the meantime, I'm patching and recompiling isolinux.bin to add
my own directory path where to search ...

Tomas M



On Mon, Nov 12, 2012 at 7:06 PM, H. Peter Anvin <hpa at zytor.com> wrote:
> On 08/29/2012 04:42 AM, Tomas M wrote:
>>
>> There is -d option to install syslinux to any directory (if you
>> remember, I sponsored it few years ago), but still the config file
>> needs to be in /boot/syslinux/ for example. This way, the default
>> behavior (backward compatibility) would be preserved, because it would
>> still look to these hardcoded directories first, but if the config
>> file is not found inthere, it would try all other directories and all
>> other subdirectories (say, to recursion level 2).
>>
>
> As of the current versions of Syslinux, the install directory is always
> searched.
>
> Doing a global search of the filesystem is crazy.
>
>         -hpa
>
>



More information about the Syslinux mailing list