[syslinux] [PATCH] 4 Patches for initrd+= and initrdfile= Options

H. Peter Anvin hpa at zytor.com
Fri Oct 26 14:54:24 PDT 2012


On 10/26/2012 01:24 PM, Gert Hulselmans wrote:
> It could be useful that instead of only being able to specify the file
> and the path in the initramfs:
> 
>   initrdfile=foo@/goes/to/foo
> 
> that the initrdfle parameter can also load a text file with:
> 
>   initrdfile=<files_to_add_to_initramfs.txt
> 
> where the "files_to_add_to_initramfs.txt" file contains entries like:
> 
> foo1@/goes/to/foo1
> foo2@/goes/to/foo2
> foo3@/goes/to/foo3
> foo4@/goes/to/foo4
> 
> I don't know what the length of the command line is that can be passed
> to linux.c32,
> but if it is limitted to 4 kiB, like the linux kernel command line, an
> approach like this
> might be needed when you want to add a rather large list of files to
> an initramfs.
> 

initrddir= I would call this.

Yes, it would not work over TFTP, and be very slow over HTTP, but it
would potentially be very handy for some other users.

	-hpa




More information about the Syslinux mailing list