From owner-freebsd-emulation Fri Aug 18 0: 6:17 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from zork.sf-bay.org (zork.sf-bay.org [192.150.103.29]) by hub.freebsd.org (Postfix) with ESMTP id 5F6E437B446 for ; Fri, 18 Aug 2000 00:06:14 -0700 (PDT) Received: (from uucp@localhost) by zork.sf-bay.org (8.9.3/8.9.3) with UUCP id AAA04901; Fri, 18 Aug 2000 00:06:10 -0700 (PDT) (envelope-from scott@zorch.sf-bay.org) Received: (from scott@localhost) by zorba.sf-bay.org (8.9.3/8.8.8) id PAA38557 for krentel@dreamscape.com; Fri, 18 Aug 2000 15:04:16 +0800 (HKT) (envelope-from scott) Date: Fri, 18 Aug 2000 15:04:16 +0800 (HKT) From: Scott Hazen Mueller Message-Id: <200008180704.PAA38557@zorba.sf-bay.org> Subject: Re: Linuxulator, getdents and Citrix To: krentel@dreamscape.com, freebsd-emulation@FreeBSD.ORG X-Envelope-To: krentel@dreamscape.com Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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