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

Re: How much of /proc is implemented?



Svante Signell, le Thu 27 Jan 2011 20:12:02 +0100, a écrit :
> On Tue, 2011-01-25 at 15:48 +0100, Guillem Jover wrote:
> > On Mon, 2011-01-24 at 11:29:35 +0100, Samuel Thibault wrote:
> > > Svante Signell, le Mon 24 Jan 2011 11:03:13 +0100, a écrit :
> > > > /etc/cron.daily/man-db:
> > > > egrep: /proc/self/status: No such file or directory
> > > 
> > > Self is not really implemented yet, yes.
> > 
> > This specific case for man-db is there only to handle Linux vserver
> > and OpenVZ. So it could be conditionalized.
> 
> Ok, that could be done. In the reply from Samuel, he mentions $$. What
> is that?

The special shell variable containing the shell pid.

> Does not seem to work, I changed on another computer having syslog-ng
> installed:
> /etc/syslog-ng/syslog-ng.conf
> # Hurd specific, does not work
>                     file("/dev/klog" program_override("kernel"));
> # Original code:
> #                    file("/proc/kmsg" program_override("kernel"));
> 
> from /var/log/{error,sylog} (plenty of them):
> Jan 27 19:58:31 kvm-hurd syslog-ng[93]: Error invoking seek on followed
> file; error='Illegal seek (1073741853)'

Mmm, syslog seeks on /proc/kmsg? What is it supposed to achieve?

Samuel


Reply to: