Re: read() on relayfs channel returns premature 0

2005-03-28 Thread Kingsley Cheung
On Thu, Mar 24, 2005 at 01:11:39PM -0600, Tom Zanussi wrote: > Kingsley Cheung writes: > > On Wed, Mar 23, 2005 at 09:29:12AM -0600, Tom Zanussi wrote: > > > [EMAIL PROTECTED] writes: > > > > > > > > Now I understand that this is not the latest release of relayfs (there > > > > are the red

Re: read() on relayfs channel returns premature 0

2005-03-25 Thread Karim Yaghmour
Jan Engelhardt wrote: > Hm? Relayfs does not support a `cat /dev/relay/AChannelName` anymore? This was a requirement for it to be included. Karim -- Author, Speaker, Developer, Consultant Pushing Embedded and Real-Time Linux Systems Beyond the Limits http://www.opersys.com || [EMAIL PROTECTED]

Re: read() on relayfs channel returns premature 0

2005-03-24 Thread Jan Engelhardt
>BTW, I just want to point out that there aren't any problems with >read() in the version of relayfs included in the -mm tree (i.e. the >'redux' version), since of course it doesn't support read(). Hm? Relayfs does not support a `cat /dev/relay/AChannelName` anymore? >I'll continue maintaining th

Re: read() on relayfs channel returns premature 0

2005-03-24 Thread Tom Zanussi
Kingsley Cheung writes: > On Wed, Mar 23, 2005 at 09:29:12AM -0600, Tom Zanussi wrote: > > [EMAIL PROTECTED] writes: > > > > > > Now I understand that this is not the latest release of relayfs (there > > > are the redux patches, which I have yet to try). Nonetheless I'd like [...] >

Re: read() on relayfs channel returns premature 0

2005-03-23 Thread Jan Engelhardt
1>http://www.opersys.com/ftp/pub/relayfs/patch-relayfs-2.6.10-050113 2>ftp://oss.sgi.com/projects/pagg/download/linux-2.6.10-pagg.patch-4 I guess (2) is already in 2.6.11, because I do not get any compile and load errors (good so!), is it? Jan Engelhardt -- - To unsubscribe from this list: se

Re: read() on relayfs channel returns premature 0

2005-03-23 Thread Kingsley Cheung
On Wed, Mar 23, 2005 at 09:29:12AM -0600, Tom Zanussi wrote: > [EMAIL PROTECTED] writes: > > > > Now I understand that this is not the latest release of relayfs (there > > are the redux patches, which I have yet to try). Nonetheless I'd like > > to know whether this behaviour is deliberate.

Re: read() on relayfs channel returns premature 0

2005-03-23 Thread Tom Zanussi
[EMAIL PROTECTED] writes: > > Now I understand that this is not the latest release of relayfs (there > are the redux patches, which I have yet to try). Nonetheless I'd like > to know whether this behaviour is deliberate. Is it? Nope, looks like you've found a bug - thanks for the patch. A

read() on relayfs channel returns premature 0

2005-03-23 Thread kingsley
Hi I'm using relayfs to relay data from a kernel module to user space on a SuSE 2.6.5 kernel. I'm not absolutely sure what version of relayfs has been back ported to it. While reading data from the channel I've been seeing read() return 0 prematurely. However, the 0 does not signify that the f