From owner-freebsd-hackers Wed Aug 23 11:00:49 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id LAA15218 for hackers-outgoing; Wed, 23 Aug 1995 11:00:49 -0700 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id LAA15211 ; Wed, 23 Aug 1995 11:00:42 -0700 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA04730; Wed, 23 Aug 95 12:02:10 MDT From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9508231802.AA04730@cs.weber.edu> Subject: Re: Changing DEV_BSIZE To: bde@zeta.org.au (Bruce Evans) Date: Wed, 23 Aug 95 12:02:10 MDT Cc: curent@freebsd.org, hackers@freebsd.org In-Reply-To: <199508230718.RAA08698@godzilla.zeta.org.au> from "Bruce Evans" at Aug 23, 95 05:18:15 pm X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@freebsd.org Precedence: bulk > > >If there *is* a 512 byte limit in effect here, can I up DEV_BSIZE > >to get around it? I meant DIRBLKSZ in /sys/ufs/ufs/dir.h. The answer is "yes", I can, though the limit is artificially small. There is an assuption in the lib/libc/gen/*dir* code that at some point in the future that kernel/user page trades will at some point be possible. It turns out the dirent.h defines the system wide limit on DIRBLKSIZ to 1024. For anyone who's curious, 1024 is smaller than a page. Probably this ought to be increased to the page size (I'd hope using an include plus a #define DIRBLKSIZ DEFAULTPAGESIZE or something similar). So currently, the practical limit is 1024. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.