Jodok Ole Muellers
2009-Dec-23 15:01 UTC
[syslinux] special meaning of '--' in pxelinux.cfg
Hello, I often see the double dash -- in the append line in isolinux/syslinux configurations I only know this as "disable further option processing" e.g. in bash. What is the function of the -- ? I don't see any difference if I use it don't use it. E.g here : append vga=normal initrd=/install.amd/initrd.gz -- quiet append vga=normal initrd=debian-installer/amd64/initrd.gz -- console=ttyS0,9600n8 quiet Thanks in advance Jodok
Jodok Ole Muellers wrote:> > Hello, > > I often see the double dash -- in the append line in isolinux/syslinux > configurations > I only know this as "disable further option processing" e.g. in bash. > > What is the function of the -- ? >No idea. Triple-hyphen is for Multiboot (syslinux/doc/mboot.txt).> I don't see any difference if I use it don't use it. > > E.g here : > > append vga=normal initrd=/install.amd/initrd.gz -- quiet > append vga=normal initrd=debian-installer/amd64/initrd.gz -- > console=ttyS0,9600n8 quiet >In these two examples, the options before the double-hyphen are more for the boot-loader and the options afterwards more for the kernel. Perhaps these double-hyphens serve as a visual aid to distinguish these? - Shao Miller
On 12/23/2009 07:01 AM, Jodok Ole Muellers wrote:> Hello, > > I often see the double dash -- in the append line in isolinux/syslinux configurations > I only know this as "disable further option processing" e.g. in bash. > > What is the function of the -- ? > I don't see any difference if I use it don't use it. > > E.g here : > > append vga=normal initrd=/install.amd/initrd.gz -- quiet > append vga=normal initrd=debian-installer/amd64/initrd.gz -- console=ttyS0,9600n8 quiet >No idea. The kernel certainly doesn't care, and neither does the boot loader. It's possible that the Debian initrd does something special with it. I'm wondering, though, if it isn't just someone being confused. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.