Subject: Re: DIRBLKSIZ
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Greywolf <greywolf@starwolf.com>
List: current-users
Date: 02/04/2002 10:17:23
Why the change to 1024 for dirblksize?

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.