Re: [PATCH] 2.4: BOOTPC /proc info.

Craig (penguin@wombat.ca)
Wed, 3 Apr 2002 18:41:32 -0500 (EST)


On 4 Apr 2002, Andi Kleen wrote:

> Craig <penguin@wombat.ca> writes:
>
> > Marcelo,
> > This patch is against 2.4.19-pre5, please apply.
>
> This is unbelievable ugly. Can't you just save the packet as a binary
> buffer, output it as binary in /proc and parse and format it in user space ?
>

Sure, we *could* have done that. We chose not to because some of the user space
programs were having problems during bootup times. Instead, we did it in the
kernel for our specific application as that was the better place where we had
more control (for *our* application).

> Better would be to not use bootpc at all in kernel, but run it in initrd
> (that is the long term plan anyways, removing dhcp/bootp completely
> and only supporting them from initrd)
>

Yes, Alan mentions the same thing.
We didn't realize that was the long term plan. Is that documented anywhere, or
was it discussed on this list eons ago and 'decided'? ;)

--
Craig.
+------------------------------------------------------+
http://www.wombat.ca               Why? Why not.
http://www.washington.edu/pine/    Pine @ the U of Wash.
+-------------=*sent via Pine4.42*=--------------------+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/