2006-08-14: Keith Bennett dixit:
> On Mon, Aug 14, 2006, EV wrote:
> > > I already implemented this at the weekend. I haven't submitted
> > > anything yet because I didn't know what you wanted to do about
> > > ethernet files. The easiest and most reliable method would be
> > > to create temporary files but I didn't know if you were happy
> > > to settle for the extra overhead.  I'll post some code this
> > > evening.
> > 
> > O.K. I wait for it, thanks.  The patch is only for libkarma? or 
> > also for lkarmafs?
> 
> Here are the two patches.

Thanks.  I'll test them leter this night.

> I was going to implement the temporary file stuff for ethernet
> this evening but was suprised to find that the fuse_file_info
> structure doesn't have an entry for filesystem-specific data. I
> guess that the filehandle could be pressed into action, but
> I'll leave it a few days in case you find a better way from
> within FUSE.

The standard approach is to interpret the fuse_file_info
filehandle field (fi->fh) as a pointer to some ad-hoc structure
which is allocated on open() and freed on release().  This allows
passing along everything needed. In our case, another possibility
is to give the temporary file a name derived from the pathname
(e.g., changing the '/' with '+' or something).

I'll take care of this myself.  I want first to convince myself
that it is not possible to access the just created (virtual)
lkarmafs file...

Best,
EV.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to