Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 1999 13:07:25 +0100 (CET)
From:      Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Extremely bizarre filename behavior (3.3-RELEASE)
Message-ID:  <199912211207.NAA07803@dorifer.heim3.tu-clausthal.de>

next in thread | raw e-mail | index | archive | help
Michael Robinson wrote in list.freebsd-stable:
 > I have an image repository indexed by md5 checksum.  The repository has 
 > about eleven thousand images, and about two dozen directory entries like
 > this:
 > [...]
 >   # touch cbd3b669fd20b2164b4391b053ed02e8.JPG
 >   # ls cbd3b669fd20b2164b4391b053ed02e8.JPG
 >   cbd3b669fd20b2164b4391b053ed02e8.JPG
 >   # ls
 >   cbd3b669fd20b2164b4391b053ed02e8.JPG    cbd3b669fd20b2164b4391b053ed02e8.JPG 
 >   # ls -li
 >   total 60
 >   468650 -rw-r--r--  1 root    staff      0 Dec 21 17:50 cbd3b669fd20b2164b4391b053ed02e8.JPG
 >   468593 -rwxr-xr-x  1 nobody  staff  30063 Dec 21 17:49 cbd3b669fd20b2164b4391b053ed02e8.JPG 
 > 
 > This filesystem passes fsck without a peep.  Is it possible that the vast
 > number of long, random filenames is causing lossage in the filename
 > hashing?

I don't think so.  The FS should not care about the structure
of filenames.  A lot of applications (web caches, news spools)
use similarly "hashed" filenames.  If there was a problem with
them, it would certainly have been discovered much earlier.

Are you _sure_ that that filename in question does not contain
any spaces, tabs, control characters etc.?  It seems to have a
space appended at the end, but that might be an artifact of
pasting it to the newsreader.  But you should definitely check
this.  It would certainly explain what you're experiencing.

Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)

"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912211207.NAA07803>