Re: Task #272: killall implementation
On Wed, Dec 19, 2007 at 11:54:58PM +0530, Shakthi Kannan wrote:
> Is someone working on killall implementation (task #272,
> https://alioth.debian.org/projects/debian-hurd/). Is it something
> small that I can start with?
It's certainly not a *small* task; but probably not a very hard one.
Note that there are two different ways to accomplish it: One is to
reimplement or port killall&friends to use Hurd's libps instead of
/proc. The other is to implement a translator providing a
Linux-compatible procfs, so all the tools in the procps and psmisc
packages, as well as various top variants and other system monitors,
should work out of the box.
I'm not sure which variant requires more initial coding. procfs
certainly requires more Hurd-specific knowledge (writing translators) --
which, depending on your point of view, might be an advantage or a
disadvantage :-) procfs is the more useful approch in the long run IMHO.
Note that a procfs implementation already exists in the hurd-extras
repository, but it is quite broken: It is incomplete, has all kind of
bugs, and it should be switched from libtrivfs to libnetfs.