From owner-freebsd-emulation Sat Aug 19 22:33:29 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from io.dreamscape.com (io.dreamscape.com [206.64.128.6]) by hub.freebsd.org (Postfix) with ESMTP id 868FA37B42C for ; Sat, 19 Aug 2000 22:33:27 -0700 (PDT) Received: from dreamscape.com (sA16-p57.dreamscape.com [209.217.195.184]) by io.dreamscape.com (8.9.3/8.8.4) with ESMTP id BAA25170; Sun, 20 Aug 2000 01:31:44 -0400 (EDT) X-Dreamscape-Track-A: sA16-p57.dreamscape.com [209.217.195.184] X-Dreamscape-Track-B: Sun, 20 Aug 2000 01:31:44 -0400 (EDT) Received: (from krentel@localhost) by dreamscape.com (8.9.3/8.9.3) id BAA00586; Sun, 20 Aug 2000 01:33:23 -0400 (EDT) (envelope-from krentel) Date: Sun, 20 Aug 2000 01:33:23 -0400 (EDT) From: "Mark W. Krentel" Message-Id: <200008200533.BAA00586@dreamscape.com> To: jlemon@flugsvamp.com Subject: Re: Linuxulator, getdents and Citrix Cc: freebsd-emulation@freebsd.org Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > There's definitely a bug in the linux emulator somewhere. I have booted > a FreeBSD kernel on top of a RedSplat system, (e.g.: everything on the > system is Linux except the kernel) and the the Linux `ls' is doing really > weird things. You're more daring than I am. Anyway, since you're using ext2 partitions, you should probably look at Bruce Evans's patches in PR kern/19407. > What I see is something like only the first couple of directory entries > are being returned. Searching for other entries may or may not succeed. Sounds exactly like the bug I'm seeing. Try the simple readdir program (opendir followed by a loop of readdir until NULL). For me, the bug is somewhere between getdents(2) (which works) and readdir(3) (which doesn't). --Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message