From root@nihil.plaut.de  Sun Aug  5 04:44:34 2001
Return-Path: <root@nihil.plaut.de>
Received: from ns.plaut.de (ns.plaut.de [194.99.75.166])
	by hub.freebsd.org (Postfix) with ESMTP id 56C9037B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  5 Aug 2001 04:44:33 -0700 (PDT)
	(envelope-from root@nihil.plaut.de)
Received: (from uucp@localhost)
	by ns.plaut.de (8.9.3/8.9.3) with UUCP id NAA03362
	for FreeBSD-gnats-submit@freebsd.org; Sun, 5 Aug 2001 13:44:32 +0200 (CEST)
	(envelope-from root@nihil.plaut.de)
Received: (from root@localhost)
	by nihil.plaut.de (8.11.3/8.8.8) id f75Bi3r01551;
	Sun, 5 Aug 2001 13:44:03 +0200 (CEST)
	(envelope-from root)
Message-Id: <200108051144.f75Bi3r01551@nihil.plaut.de>
Date: Sun, 5 Aug 2001 13:44:03 +0200 (CEST)
From: Michael Reifenberger <root@nihil.plaut.de>
Reply-To: root@nihil.plaut.de
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Linux ls fails on DEVFS /dev
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         29467
>Category:       kern
>Synopsis:       Linux ls fails on DEVFS /dev
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    phk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 05 04:50:01 PDT 2001
>Closed-Date:    Mon Aug 13 23:42:39 PDT 2001
>Last-Modified:  Mon Aug 13 23:42:49 PDT 2001
>Originator:     Michael Reifenberger
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD nihil 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Thu Aug 2 22:32:57 CEST 2001 root@nihil:/usr/src/sys/i386/compile/nihil i386


	
>Description:
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)...
	
>How-To-Repeat:
kldload linux
/compat/linux/bin/ls /dev
...and watch the non-output...

	
>Fix:
none yet
	
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->phk 
Responsible-Changed-By: dwmalone 
Responsible-Changed-When: Sun Aug 5 06:30:42 PDT 2001 
Responsible-Changed-Why:  
I think phk wants this one. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29467 
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Mon Aug 13 23:42:39 PDT 2001 
State-Changed-Why:  
committed, thanks! 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29467 
>Unformatted:
