Re: How to provide proxy nodes

2008-08-06 Thread Sergiu Ivanov
Hello, On Wed, Aug 6, 2008 at 7:53 PM, <[EMAIL PROTECTED]> wrote: > On Wed, Aug 06, 2008 at 02:17:34PM +0300, Sergiu Ivanov wrote: > > On Tue, Aug 5, 2008 at 4:16 AM, <[EMAIL PROTECTED]> wrote: > > > > The last step is to return the resulting translated node to the > > > client. Now I see two opt

Re: Some questions about the translator that helps open the device

2008-08-06 Thread Samuel Thibault
[EMAIL PROTECTED], le Wed 06 Aug 2008 17:27:53 +0200, a écrit : > On Wed, Aug 06, 2008 at 10:44:44AM +0100, Samuel Thibault wrote: > > Michael Casadevall, le Wed 06 Aug 2008 00:22:55 -0400, a écrit : > > > Well, I guess that if linux didn't add eth0 to /dev, that must be > > because there is more

Re: How to provide proxy nodes

2008-08-06 Thread olafBuddenhagen
Hi, On Wed, Aug 06, 2008 at 02:17:34PM +0300, Sergiu Ivanov wrote: > On Tue, Aug 5, 2008 at 4:16 AM, <[EMAIL PROTECTED]> wrote: > > The last step is to return the resulting translated node to the > > client. Now I see two options for that: Either we do the lookup with > > the remaining file name

Re: Some questions about the translator that helps open the device

2008-08-06 Thread olafBuddenhagen
Hi, On Wed, Aug 06, 2008 at 10:44:44AM +0100, Samuel Thibault wrote: > Michael Casadevall, le Wed 06 Aug 2008 00:22:55 -0400, a écrit : > Well, I guess that if linux didn't add eth0 to /dev, that must be > because there is more to it than just read/write (like MAC address > configuration etc). W

Re: Some questions about the translator that helps open the device

2008-08-06 Thread olafBuddenhagen
Hi, On Wed, Aug 06, 2008 at 02:02:52AM +0100, Samuel Thibault wrote: > Zheng Da, le Sat 02 Aug 2008 22:57:48 +0800, a écrit : > > I'm going to write a translator that helps other programs open the > > underlying device. > > Mmm, there are already two: storeio (for disks) and streamio (for > char

Re: How to provide proxy nodes

2008-08-06 Thread Sergiu Ivanov
Hello, On Tue, Aug 5, 2008 at 4:16 AM, <[EMAIL PROTECTED]> wrote: > On Mon, Aug 04, 2008 at 12:54:19PM +0300, Sergiu Ivanov wrote: > > [...] To provide a response to requests of this type, nsmux has to > > create *virtual* nodes, mirroring the nodes in the real filesystem, > > and stack translato

Re: Some questions about the translator that helps open the device

2008-08-06 Thread Samuel Thibault
Michael Casadevall, le Wed 06 Aug 2008 00:22:55 -0400, a écrit : > Maybe this falls under the "I'm an idiot" category, but isn't netio > essentially > the same as stream io? You open a socket, read in contents from the stream, it > blocks if its too full, etc. Well, I guess that if linux didn't a