From owner-freebsd-hackers Sun Jan 28 18:31:44 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from isua4.iastate.edu (isua4.iastate.edu [129.186.1.204]) by hub.freebsd.org (Postfix) with ESMTP id 0176F37B404 for ; Sun, 28 Jan 2001 18:31:27 -0800 (PST) Received: from localhost (ccsanady@localhost) by isua4.iastate.edu (8.8.8/8.8.5) with SMTP id UAA12839; Sun, 28 Jan 2001 20:31:23 -0600 (CST) Message-Id: <200101290231.UAA12839@isua4.iastate.edu> To: Love Cc: freebsd-hackers@freebsd.org, arla-drinkers@stacken.kth.se Subject: Re: FreeBSD Linux emulation / arla 0.34.6 In-reply-to: Your message of 29 Jan 2001 03:20:08 +0100. Date: Sun, 28 Jan 2001 20:31:23 CST From: Chris Csanady Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >The problem is that linux_getdents uses a little too small buffer, arla >uses (before the patch) a directory-blocksize of 1024 bytes. This make >every entry that have its end past a 512 bytes offset disapper when running >under linux-emulation. > >Love That was quick. Really, I can't thank you enough for this.. This makes my life considerably easier. :) It seems kind of dangerous having these things hard coded--should the linux compatibility code be fixed? I notice that there is a #define DIRBLKSIZ 512 /* XXX we used to use ufs's DIRBLKSIZ */ at sys/compat/linux/linux_file.c:425. It is not clear to me what this should be though. Anyways, thanks again, Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message