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

From: Jon Bendtsen (jon707_at_kollegiegaarden.dk)
Date: Sun 07 Dec 2003 - 20:38:54 GMT


On Sunday 07 December 2003 20:06, Dariush Pietrzak wrote:
> > > I don't think so...
> >
> > Well, how do you think it gets it's data?
>
> Like that:
>
> open("/dev/hda", O_RDONLY|O_NONBLOCK) = 3
> ioctl(3, 0x30d, 0x8051a80) = 0
> ioctl(3, 0x30d, 0x8051a80) = 0

Yes, ioctl... Thats the kernel. But this is not blockaccess, this is
ioctl, and that could technicaly be replaced by a /proc entry

> > > 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?
>
> Hmm, I'm not sure if you're kidding or just making fun of me?

neither, lm-sensors probably uses ioctl as well, and not block access

JonB

_______________________________________________
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 - 20:40:57 GMT by hypermail 2.1.3