On Sat, May 05, 2001 at 08:22:42PM -0400, Roland McGrath wrote:
> The simplest kludge is to just use "ps --fmt=%command 2" or the libps
> equivalent thereof.  PID 2 is always the kernel task, and the existing init
> hack diddles things so that the kernel command line appears like a normal
> process's command line for the PID 2 pseudo-process.

Makes perfect sense.  Looking at the output of ps to get the kernel command
line is a natural thing to do, and much better than /proc/cmdline indeed.
I don't see any explicit need for a fancier programmable interface either.
 
Thanks for the explanations,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to