On 11/5/06, <b class="gmail_sendername">Jason Schoon</b> <<a href="mailto:floydpink@gmail.com">floydpink@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span class="q">On 11/5/06, <b class="gmail_sendername">Bernhard Fischer</b> <<a href="mailto:rep.nop@aon.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rep.nop@aon.at</a>> wrote:</span><div>
<span class="q"><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, Nov 05, 2006 at 05:20:31PM +0000, Luciano Miguel Ferreira Rocha wrote:<br>>On Mon, Nov 06, 2006 at 01:09:43AM +0800, Moot Account wrote:<br><br>>You can change that behaviour by booting your kernel with "init=/linuxrc
<br>>root=/dev/ram0", and then the kernel runs linuxrc as init (IIRC).<br><br>resp. root=0100 which wastes less memory ;)<br><br>btw, is there a way to flush all or some of these convenience vars out of<br>the kernel-mem perhaps if CONFIG_EMBEDDED=y ? Didn't look yet, i admit..
</blockquote></span><div><br>By convenience vars, do you mean such as /dev/ram0? If so, turning of sysfs support will get rid of them. In many embedded scenarios sysfs doesn't buy you much anyway. If you are hotplugging or something similar though, the space savings are not likely to be worth not having sysfs.
</div></div></blockquote><div><br>Nevermind, I figured out what you were really asking. I have never seen a scenario (CONFIG_EMBEDDED or otherwise) where the full parameters were not available via /proc/cmdline. I'm guessing that means there isn't currently a way to get them out of memory.
<br><br>If anything, the linux-tiny guys might have a config option to do that.<br><br></div><br></div>