Thanks for your answer.
I've tried to set my fuse options with fuse.FuseOptParse:
It returns this "fusermount: option blkdev is privileged"
And If I mount with sudo I get "fuse: mount failed: No such file or
Further more, how could I change blksize after blkdev mounting works ?
I've found another option which passes fuse mount : "-osubtype=fuseblk" but
I didn't succeed to write in options : "blksize=32768".
I've seen in an other forum that miklos suggests to change st_blksize of
files by getattr api. But in my application it changes nothing.
If someone has more details, it would be very appreciate.
Best regards, Bastien
2009/7/20 Csaba Henk <csaba-ml@...>
> On 2009-07-10, Bastien Bouzerau <megabast@...> wrote:
> > I'm actually working on a nfs-based caching filesystem. This file system
> > uses fuse and is implemented in python. My fusermount version is 2.7.4.
> > obtain best performances with my filesystem I would like to use the
> > mount type. I didn't find how to set this fuse_attr by *fuse*-*python*
> > Of course, if I put blksize option with FuseOptParse, the answer is
> > unknown option.
> > I always have type fuse when mounting.
> > If I make cat /proc/filesystems, I can see fuseblk device.
> > So if you have any idea, it would be very nice to help me.
> In general (not just in the Python binding), you need to pass the
> "-oblkdev" option to libfuse's appropriate filesystem initialization
> In Python, if your fs processes command line options via the "parse" method
> the Fuse class, then you can use "-oblkdev" in the command line, and it
> will be passed down to the library code and it takes effect.
> Although I guess you'd prefer it being set it internally. You can add it
> in between parse() and main() [given that you use parse()... I don't
> know a reason for not using it, so let me assume it :) ], somehow like
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> fuse-devel mailing list