 |
Forums |
Admin Discussion Forums: help Start New Thread
By: Masaaki KANEMOTO
RE: How FuseFS goes well together apache? [ reply ] 2007-04-10 07:19
|
I tried changing the value by "size" method to fixed value against real file size. Then, it seems "raw_read" is called(I didn't try "read_file") and apache returns the content when the size is less than 256, sure, it is stripped.
Unfortunately, I don't know apache's mechanism at all, but I wonder if stat() is related to the problem...
|
By: Masaaki KANEMOTO
How FuseFS goes well together apache? [ reply ] 2007-04-06 17:12
|
Hello,
I use FuseFS(0.6.0) in my rubyforge project PodcastFS, but I have a problem.
The filesystem generates some files, and I can read them with several pagers and editors, e.g. lv, vim and emacs. But when I download the files through Apache(2.2.3), it always returns empty files.
My environment is below:
* allow_other option is enabled(httpd user can read the filesystem)
* the filesystem is read only
* Debian GNU/Linux (etch)
* Linux(2.6.18, i386)
* Ruby 1.8.5
When I tried adding debug messages to each FuseFS API method, I found "read_file" method were not called. And also I used "raw_*" methods instead, but "raw_read" was not called. "size" returns correct value.
Please help me if you know how to do with my filesystem.
Thank you.
|
|
 |