From: Steven J. <py...@li...> - 2004-09-03 03:02:20
|
Greetings, My vote would be for the low level inode API covered by the higher level path based API as it is (It is a nice API for many uses). Possably some additional API can be added that provides both if someone needs that. The inodes are already there in the regular libfuse, they just get translated to path names before calling the user's ops. G'day, sjames ||||| |||| ||||||||||||| ||| by Linux Labs International, Inc. Steven James, CTO 55 Marietta Street Suite 1830 Atlanta, Ga 30303 866 824 9737 support On Thu, 2 Sep 2004, Paul Alfille wrote: > If we're voting, don't change the current API. It's a model of > simplicity. Usable even with NO documentation. > > Another level or an alternate library might make sense to people who > believe that inodes are essential. That approach would at least leave > the availability of the current clean design. > > My personal suspicion is that deeper thought might help people discover > inode-free algorithms. After all, inodes aren't intrinsic to > filesystems, they're just an implementation detail. > > Paul > > On Thu, 2004-09-02 at 10:59, Steven James wrote: > > Greetings, > > > > It's possible to do that. To minimize potential wasted cycles though, that > > API should be in an upper layer. > > > > Perhaps rename the inode version libfusei, then modify libfuse to make > > calls to libfusei and optionally present both inode and path as the user > > API. It's mostly a question of API complexity and the liklihood of a user > > filesystem wanting both inode and path resolution. > > > > G'day, > > sjames > > > > > > ||||| |||| ||||||||||||| ||| > > by Linux Labs International, Inc. > > Steven James, CTO > > > > 55 Marietta Street > > Suite 1830 > > Atlanta, Ga 30303 > > 866 824 9737 support > > > > > > On Thu, 2 Sep 2004, Franco Broi wrote: > > > > > > > > Couldn't you pass both path and inode to user routines? > > > > > > On Thu, 2004-09-02 at 01:40, Steven James wrote: > > > > Greetings, > > > > > > > > The attached tarball is my first pass at a libfuse that uses inode numbers > > > > rather than paths for the user API. It includes a modified example/hello.c > > > > using the new API. > > > > > > > > This was a 'just sit down and do it' hack, so I just created ilib and > > > > iexample directories and include/ifues.h. > > > > > > > > For the most part, I just added a lookup callback, changed the fuse_ops > > > > definition to use inode numbers, and stripped out the path/inode hashing. > > > > > > > > For a final version, it looks like it might be best to have libfuse wrap > > > > libifuse and do the path resolution for daemons that want that since > > > > otherwise, there is a good bit of code duplication. Others may have better > > > > ideas :-) > > > > > > > > > > > > G'day, > > > > sjames > > > > > > > > > > > > > > > > > > > > ||||| |||| ||||||||||||| ||| > > > > by Linux Labs International, Inc. > > > > Steven James, CTO > > > > > > > > 55 Marietta Street > > > > Suite 1830 > > > > Atlanta, Ga 30303 > > > > 866 824 9737 support > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by BEA Weblogic Workshop > > > FREE Java Enterprise J2EE developer tools! > > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > > _______________________________________________ > > > Avf-fuse-dev mailing list > > > Avf...@li... > > > https://lists.sourceforge.net/lists/listinfo/avf-fuse-dev > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by BEA Weblogic Workshop > > FREE Java Enterprise J2EE developer tools! > > Get your free copy of BEA WebLogic Workshop 8.1 today. > > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > > _______________________________________________ > > Avf-fuse-dev mailing list > > Avf...@li... > > https://lists.sourceforge.net/lists/listinfo/avf-fuse-dev > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Avf-fuse-dev mailing list > Avf...@li... > https://lists.sourceforge.net/lists/listinfo/avf-fuse-dev > |