Re: Files and direcories with dir_index not accessable

Andreas Dilger <[email protected]> Mon, 21 Aug 2006 15:09:01 -0600
Newsgroups gmane.comp.file-systems.ext2.devel
Message-ID <[email protected]>
On Aug 21, 2006  22:17 +0200, J�rg Sommer wrote:
> I can not access some files and directories if I enable dir_index.
> 
> % \ls text/ |grep \^s
> sprüche
> svn-vortrag
> % \ls text/sprüche
> ls: text/sprüche: Datei oder Verzeichnis nicht gefunden
> zsh: exit 2     \ls text/sprüche
> 
> % ls uni/s9/ra1 | grep \^l
> loesung_2c.pdf
> lösung_tomasulo.pdf
> % \ls uni/s9/ra1/lösung_tomasulo.pdf
> ls: uni/s9/ra1/lösung_tomasulo.pdf: Datei oder Verzeichnis nicht gefunden
> zsh: exit 2     \ls uni/s9/ra1/lösung_tomasulo.pdf

Does this only happen with files using non-ASCII characters?  For example,
if you rename the above file to loesung_tomasulo.pdf does the problem
still happen?

I suspect there is some problem with the filename hash calculation for
8-bit characters and this is doing the lookup in the wrong leaf block.
I seem to recall a similar problem reported a year or two ago.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Ext2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ext2-devel