About this list Date view Thread view Subject view Author view Attachment view

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sun 07 Dec 2003 - 19:06:44 GMT


On Sun, Dec 07, 2003 at 07:40:51PM +0100, Jon Bendtsen wrote:
> On Sunday 07 December 2003 19:30, Dariush Pietrzak wrote:
> > > I think it reads it from a /proc entry,
> >
> > I don't think so...
>
> Well, how do you think it gets it's data?

through the smart-values for ide and the status
pages for scsi, both obtained via an ioctl on the
device ...

> > > minor number from the dev entry and asks the kernel.
> >
> > Hmm, I don't think kernel supports such things, there wouldn't be
> > need for such daemons if it would (oh, and I think it's a good
> > thing - look at the lm-sensors situation, and simple mbmon soft
> > that does exactly the same without touching kernel ).
>
> Not true, doesnt lm sensors go through /proc?
> That is the kernel

unless you want to count every filesystem to the
kernel, the proc filesystem is considered part of
the userspace, and lmsensors, just prepare this
data, for easy human perception ...

best,
Herbert

pS: wouldn't irc be a better place for such
'heavy stuff' discussions ...

> JonB
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 07 Dec 2003 - 19:07:53 GMT by hypermail 2.1.3