From owner-freebsd-stable Tue Dec 21 4: 7:30 1999 Delivered-To: freebsd-stable@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id F25801542C for ; Tue, 21 Dec 1999 04:07:26 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id NAA07803 for freebsd-stable@FreeBSD.ORG; Tue, 21 Dec 1999 13:07:25 +0100 (CET) (envelope-from olli) Date: Tue, 21 Dec 1999 13:07:25 +0100 (CET) From: Oliver Fromme Message-Id: <199912211207.NAA07803@dorifer.heim3.tu-clausthal.de> To: freebsd-stable@FreeBSD.ORG Subject: Re: Extremely bizarre filename behavior (3.3-RELEASE) Organization: Administration TU Clausthal Reply-To: freebsd-stable@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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