[syslinux] multiple ".." support

Ady Ady ady-sf at hotmail.com
Fri Jun 29 03:48:35 PDT 2012


> > OK, it's not 100% clear to me what you had expected from this test case,

Simple. Start with: 
 
  /boot/syslinux/syslinux.cfg 
 
containing: 
 
  CONFIG <some/new/cfg/file/in/some/location/newcfg.cfg> 
  APPEND ../../ 
 
which means going up 2 directory levels from "/boot/syslinux/" to "/".
 
But the new resulting working directory is: 
 
  /boot/ 
 
instead of being: 
 
  / 
 
as it was intended with the above APPEND command.
 
If the APPEND command is:
 
  APPEND ../../otherdir/ 
 
(meaning it contains multiple "../" but it does NOT end with "../")
 
then the new resulting working directory is correct.
 
Of course these paths are just simple examples.
 
When using ISOLINUX all variants work correctly, but not with SYSLINUX.

If it is still not clear enough, please let me know.
 
 
 
> OK, try 4.06-pre9.
 

 
With 4.06-pre9 I tried using the win32 SYSLINUX installer:
 
  syslinux.exe -i -d \boot\syslinux\ a: 
 
and I received an error: 
 
  invalid media signature (not an FAT/NTFS volume?) 
 
Using the exact same method with v.4.06-pre7 the installer works (but of course the CONFIG+APPEND issue is still present in 4.06-pre7).
 
Should I try the linux-based SYSLINUX installer anyway? Is there any additional info you need?
 
TIA. 		 	   		  



More information about the Syslinux mailing list