From owner-freebsd-current Sun Aug 5 2:41:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id C898737B401 for ; Sun, 5 Aug 2001 02:41:47 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.4/8.11.4) with ESMTP id f759fJx29408; Sun, 5 Aug 2001 11:41:28 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Michael Reifenberger Cc: FreeBSD-Current Subject: Re: Linux ls fails on DEVFS /dev In-Reply-To: Your message of "Sun, 05 Aug 2001 11:05:08 +0200." <20010805104350.A1188-100000@nihil> Date: Sun, 05 Aug 2001 11:41:19 +0200 Message-ID: <29406.997004479@critter> From: Poul-Henning Kamp Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010805104350.A1188-100000@nihil>, Michael Reifenberger writes: >Hi, >linux ls fails on DEVFS /dev because linux_getdents fails because >linux_getdents uses VOP_READDIR( ..., &ncookies, &cookies ) instead of >VOP_READDIR( ..., NULL, NULL ) because it seems to need the offsets for >linux_dirent and sizeof(dirent) != sizeof(linux_dirent)... Open a PR so I don't forget and please include how I can reproduce it while I test. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message