From owner-freebsd-fs Thu Aug 12 7:48:48 1999 Delivered-To: freebsd-fs@freebsd.org Received: from critter.freebsd.dk (wandering-wizard.cybercity.dk [212.242.41.238]) by hub.freebsd.org (Postfix) with ESMTP id A779414EDF for ; Thu, 12 Aug 1999 07:48:43 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id QAA01406; Thu, 12 Aug 1999 16:45:09 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Zhihui Zhang Cc: Ollivier Robert , freebsd-fs@FreeBSD.ORG Subject: Re: Help with understand file system performance In-reply-to: Your message of "Thu, 12 Aug 1999 10:24:30 EDT." Date: Thu, 12 Aug 1999 16:45:09 +0200 Message-ID: <1404.934469109@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message , Zhi hui Zhang writes: > >> According to Poul-Henning Kamp: >> > Yes. The minimum directory size is the fragsize of the filesystem, >> >> I'm afraid it is not the case... >> >> 216 [13:35] root@tara:/src# ll >> total 5 >> drwxr-xr-x 2 roberto staff 512 Sep 26 1998 CVS/ >> ^^^ >The fsize is the number of bytes in a fragment. Even if your file is 1 >byte, that file needs 1024 bytes to store. However, the byte count is >still one byte. In your example, the byte count is 512 bytes. Yeah, well, the real issue is if the UFS implementation works on the 512 bytes size of the fragsize. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message