[Gluster-devel] read/write on directory?

Emmanuel Dreyfus manu at netbsd.org
Thu Nov 10 20:52:31 UTC 2011


Emmanuel Dreyfus <manu at netbsd.org> wrote:

> What is the proper fix? Change NetBSD FUSE to catch read/write on
> directories and return EISDIR? Or make make sure glusterfs ignores the
> operation and returns no data?

I'll go for the first option, which is much easier to implement. It
breaks the way BSD has been reading directories, but if that is a
problem, I will turn read into readdir at FUSE level.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org




More information about the Gluster-devel mailing list