bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kernel command line


From: Marcus Brinkmann
Subject: Re: kernel command line
Date: Sun, 6 May 2001 18:49:40 +0200
User-agent: Mutt/1.3.15i

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 brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]