Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2001 20:31:23 CST
From:      Chris Csanady <ccsanady@iastate.edu>
To:        Love <lha@stacken.kth.se>
Cc:        freebsd-hackers@freebsd.org, arla-drinkers@stacken.kth.se
Subject:   Re: FreeBSD Linux emulation / arla 0.34.6 
Message-ID:  <200101290231.UAA12839@isua4.iastate.edu>
In-Reply-To: Your message of 29 Jan 2001 03:20:08 %2B0100. <am1ytnumjr.fsf@mom.e.kth.se> 

next in thread | previous in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101290231.UAA12839>