Followup to: <20011213155532Z284289firstname.lastname@example.org>
By author: DevilKin <email@example.com>
In newsgroup: linux.dev.kernel
> I've been looking on the web, and couldn't really find what i would want...
> Basically: is it possible to - one way or another - set variables at
> kernel boot and read those using userspace utilities?
The entire kernel command line is quoted verbatim in /proc/cmdline.
Additionally, items of the form foo=bar that are not recognized by the
kernel become environment variables to init, and items not of that
form *sometimes* become command-line options to init...
-- <firstname.lastname@example.org> at work, <email@example.com> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt <firstname.lastname@example.org> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Dec 15 2001 - 21:00:27 EST