Subject: Re: DIRBLKSIZ
To: Greywolf <greywolf@starwolf.com>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 02/04/2002 18:41:49
On Mon, Feb 04, 2002 at 10:17:23AM -0800, Greywolf wrote:
> Why the change to 1024 for dirblksize?

I don't know.. change?

quartz% cd /usr/src/include
quartz% cvs diff -r1.1.1.1 dirent.h | grep DIRBLKSIZ
quartz%

> On Mon, 4 Feb 2002, Patrick Welche wrote:
> 
> # Just noticed while making makefs..
> #
> #      $NetBSD: dirent.h,v 1.17 2000/04/16 14:43:56 mrg Exp $
> # #define DIRBLKSIZ       1024
> # ufs/ufs/
> #      $NetBSD: dir.h,v 1.11 2001/11/16 16:09:17 lukem Exp $
> # #define DIRBLKSIZ       DEV_BSIZE
> #
> # i386/
> #      $NetBSD: param.h,v 1.47 2001/08/03 01:03:10 groo Exp $
> # #define DEV_BSHIFT      9               /* log2(DEV_BSIZE) */
> # #define DEV_BSIZE       (1 << DEV_BSHIFT)
> #
> # == 512 ?
> #
> 
> 				--*greywolf;
> --
> NetBSD: The devil's advocate.
>