httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31126] - Apache tries to access files as folders if Reiser4 FS is used
Date Wed, 08 Sep 2004 20:48:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31126>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31126

Apache tries to access files as folders if Reiser4 FS is used





------- Additional Comments From fasaxc@f2s.com  2004-09-08 20:48 -------
Been googling around a bit more, this is a designed behaviour of Reiser4 (in
theory it allows a plugin to reparse the path into a .tar for example so
/foo/bar.tar/some.file would be legit).

>From http://www.namesys.com/v4/v4.html:

"Files That Are Also Directories

In Reiser4 (but not ReiserFS 3) an object can be both a file and a directory at
the same time. If you access it as a file, you obtain the named sequence of
bytes. If you use it as a directory you can obtain files within it, directory
listings, etc. There was a lengthy discussion on the Linux Kernel Mailing List
about whether this was technically feasible to do. I won't reproduce it here
except to summarize that Linus showed that this was feasible without "breaking" VFS.

Allowing an object to be both a file and a directory is one of the features
necessary to to compose the functionality present in streams and attributes
using files and directories.

To implement a regular unix file with all of its metadata, we use a file plugin
for the body of the file, a directory plugin for finding file plugins for each
of the metadata, and particular file plugins for each of the metadata. We use a
unix_file file plugin to access the body of the file, and a unix_file_dir
directory plugin to resolve the names of its metadata to particular file plugins
for particular metadata. These particular file plugins for unix file metadata
(owner, permissions, etc.) are implemented to allow the metadata normally used
by unix files to be quite compactly stored."

Reiser4 still hasn't hit the mainline kernel so maybe this behaviour will be
dropped but right now it breaks Apache on my machine.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message