Re: Files and direcories with dir_index not accessable
Jörg Sommer <[email protected]> Wed, 23 Aug 2006 12:29:19 +0200
| Newsgroups | gmane.comp.file-systems.ext2.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Andreas,
Andreas Dilger schrieb am Mon 21. Aug, 15:09 (-0600):
> 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
>
> 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?
No. I renamed sprüche to sprueche and I could access it.
% umount /fs
% tune2fs -O^dir_index /dev/xy
% e2fsck -DfyC 0 /dev/xy
% mount /dev/xy /fs
% mv /fs/text/sprüche /fs/text/sprueche
% umount /fs
% tune2fs -Odir_index /dev/xy
% e2fsck -DfyC 0 /dev/xy
% mount /dev/xy /fs
% ls /fs/text/sprueche
> 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.
What can I do? I tried to reproduce this problem with a smaller file
system, but I was alright. Is the ‘Directory Hash Seed’ important? And, I
use tea as hash algorithm.
Bye, Jörg.
PS: Please Cc me.
--
"Unfortunately, the current generation of mail programs do not have
checkers to see if the sender knows what he is talking about"
-- Andrew S. Tanenbaum
-------------------------------------------------------------------------
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
signature.asc
(application/pgp-signature, 481 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iQEVAwUBROwt/oZ13Cz2nwVYAQJFBAf9H6Hy+Nx86FIQvaSu3zrRpxk5X42cuj1o Sso3SGNGhA8SAm+wT6a8PegQhHK3GRCUpjimKWRFPXeL2uJ7ergG7H+HQxlmq1Y/ A+R1CaJJkL+d8+3RYzvM7Xl9tTEWOOGgtoIwza/dePgRdYe5vnIhyOFU9hwoxiNF v0fUEvFIjZBZ4jWzxyLa+bsQlrOnFd6HM4ylIlgd7uU73hMJ6+auwwlTNCG2De0X QDtpd3blC5PD/Fz3Aa/nw1ZVF6PkElWTEm09GTx+VpbqN7iqZT5xV+BRZHwfT/XP gwJdiNjbdSfCto3nFRq8jdK/mRfTACEyhDWr0V6uUVJzHxRvph4H9A== =Fvra -----END PGP SIGNATURE-----