Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2000 15:04:16 +0800 (HKT)
From:      Scott Hazen Mueller <scott@zorch.sf-bay.org>
To:        krentel@dreamscape.com, freebsd-emulation@FreeBSD.ORG
Subject:   Re: Linuxulator, getdents and Citrix
Message-ID:  <200008180704.PAA38557@zorba.sf-bay.org>

next in thread | raw e-mail | index | archive | help
>The remaining problem is that the Linux readdir(3) prematurely returns NULL
>on non-ufs partitions, and hence ls outputs too few files.  Are your
>directories on ext2 or NFS partitions?  Does it make a difference if you move
>them to a local ufs partition?

UFS partitions.  I don't have any ext2 or NFS partitions on this system.

>I'd be very interested in your results of these experiments.  Below are two
>simple programs to list a directory, using readdir(3) and getdents(2).

They both seem to run fine - they report the correct # of entries and the
numbers are the same between both.

t1:
	libc.so.6 => /lib/libc.so.6 (0x2805e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x28049000)
t2:
	libc.so.6 => /lib/libc.so.6 (0x2805e000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x28049000)

Curiously, the libc entry for the wfica (ICA Client) binary is fairly
different:

/usr/local/lib/ICAClient/wfica:
	libXaw.so.6 => /usr/i486-linux-libc5/lib/libXaw.so.6 (0x280a5000)
	libXt.so.6 => /usr/i486-linux-libc5/lib/libXt.so.6 (0x280da000)
	libX11.so.6 => /usr/i486-linux-libc5/lib/libX11.so.6 (0x28118000)
	libc.so.5 => /usr/i486-linux-libc5/lib/libc.so.5 (0x281aa000)
	libXmu.so.6 => /usr/i486-linux-libc5/lib/libXmu.so.6 (0x28273000)
	libSM.so.6 => /usr/i486-linux-libc5/lib/libSM.so.6 (0x28284000)
	libICE.so.6 => /usr/i486-linux-libc5/lib/libICE.so.6 (0x2828c000)
	libXext.so.6 => /usr/i486-linux-libc5/lib/libXext.so.6 (0x282a0000)

I have no idea if that signifies anything.  The local Linux box here has got
the same sort of libc version numbers as my Linuxulator does.

                           \scott



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




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