Re: [PATCH -mm -v3] x86 boot : export boot_params via sysfs

From: Greg KH
Date: Fri Dec 14 2007 - 10:59:55 EST


On Fri, Dec 14, 2007 at 04:16:46PM +0800, Huang, Ying wrote:
> This patch export the boot parameters via sysfs. This can be used for
> debugging and kexec.
>
> The files added are as follow:
>
> /sys/kernel/boot_params/data : binary file for struct boot_params
> /sys/kernel/boot_params/version : boot protocol version
>
> This patch is based on 2.6.24-rc5-mm1 and has been tested on i386 and
> x86_64 platoform.
>
> This patch is based on the Peter Anvin's proposal.

But it ignored the fact that I said I didn't want this binary file in
sysfs :)

Please take Eric's suggestion and split it up into the different pieces.
Some of the fields can be binary files, as they come directly from the
firmware, but the others should be text.

thanks,

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