[PATCH 1/2] Fix /proc/*/cmdline.

2010-08-12 Thread Jeremie Koenig
On Linux, the per-process cmdline files should include the whole command line, with subsequent arguments separated by NUL bytes. However, for some reason we used to truncate it after the first one and append " \n". Signed-off-by: Jeremie Koenig --- procfs_pid_files.c | 15 --- 1 fi

[PATCH 2/2] Implement some (global) symlinks.

2010-08-12 Thread Jeremie Koenig
* /proc/cmdline -> /proc/2/cmdline (pid 2 is usually gnumach) This is not perfect, as the format of /proc/cmdline and /proc/*/cmdline are different on Linux. Namely, the latter includes NUL bytes to separate subsequent arguments, while the former contains only spaces. * /proc/mounts -> /etc

Re: Concept: Forking the web with the Hurd and Mercurial

2010-08-12 Thread olafBuddenhagen
Hi, On Wed, Aug 11, 2010 at 12:17:05AM +0200, Arne Babenhauserheide wrote: > Being able to edit any website in the web, see the changes locally and > share it with others. [...] > So, for those brave souls who followed me till here :) : what do you > think about the concept? > > Does it show t

Re: What do you need from the Hurd for your day-to-day tasks?

2010-08-12 Thread olafBuddenhagen
Hi, On Tue, Aug 10, 2010 at 09:17:34AM +0200, Arne Babenhauserheide wrote: > What about console on X? Would that suffice for your needs? Oh, sorry, forgot to answer that question. No, it wouldn't suffice. If I was content with X, why would I ever want to port KGI?... Admittedly, X would proba