From owner-freebsd-current Sun Oct 17 13: 7:35 1999 Delivered-To: freebsd-current@freebsd.org Received: from kiwi.mail.easynet.net (kiwi.mail.easynet.net [195.40.1.40]) by hub.freebsd.org (Postfix) with ESMTP id B5B7D14A2D; Sun, 17 Oct 1999 13:07:25 -0700 (PDT) (envelope-from ak@freenet.co.uk) Received: from freenet.co.uk (alister.w.easynet.co.uk [212.212.251.86]) by kiwi.mail.easynet.net (Postfix) with ESMTP id 40423DAF84; Sun, 17 Oct 1999 21:07:23 +0100 (BST) Message-ID: <380A3C38.8C4311E4@freenet.co.uk> Date: Sun, 17 Oct 1999 21:14:32 +0000 From: Alex X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org, freebsd-current@freebsd.org Subject: duplicate filenames under Linux emulation Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I noticed that I often get duplicate filenames when running programs under Linux emulation. Attached below is a directory listing, in which the file bxutils-c.c is listed twice under Linux. I don't think the problem is ls(1) related, as I remember seeing duplicate names in file selection boxes as well, therefore it must be a bug in the mapping of the getdirentries(2) syscall. current:~/prog/motif/GUITests/Test2$ ls -l total 237 -rw-r--r-- 1 ak users 5626 Oct 17 20:38 #uil.uil# -rw-r--r-- 1 ak users 1127 Oct 17 20:23 Imakefile -rw-r--r-- 1 ak users 20103 Oct 17 20:28 Makefile -rw-r--r-- 1 ak users 495 Oct 17 20:23 app-defaults -rw-r--r-- 1 ak users 102042 Oct 17 20:23 bxutils-c.c -rw-r--r-- 1 ak users 23244 Oct 17 20:34 bxutils-c.o -rw-r--r-- 1 ak users 1822 Oct 17 20:27 callbacks-c.c -rw-r--r-- 1 ak users 896 Oct 17 20:34 callbacks-c.o -rw-r--r-- 1 ak users 8382 Oct 17 20:39 creation-c.c -rw-r--r-- 1 ak users 8156 Oct 17 20:23 creation-c.c~ -rw-r--r-- 1 ak users 4728 Oct 17 20:34 creation-c.o -rwxr-xr-x 1 ak users 32275 Oct 17 20:34 main-c -rw-r--r-- 1 ak users 3416 Oct 17 20:23 main-c.c -rw-r--r-- 1 ak users 1588 Oct 17 20:34 main-c.o -rw-r--r-- 1 ak users 1188 Oct 17 20:23 makefile-c -rw-r--r-- 1 ak users 7198 Oct 17 20:20 uil.uil current:~/prog/motif/GUITests/Test2$ /compat/linux/bin/bash current:~/prog/motif/GUITests/Test2$ ls -l total 349 -rw-r--r-- 1 ak users 5626 Oct 17 20:38 #uil.uil# -rw-r--r-- 1 ak users 1127 Oct 17 20:23 Imakefile -rw-r--r-- 1 ak users 20103 Oct 17 20:28 Makefile -rw-r--r-- 1 ak users 495 Oct 17 20:23 app-defaults -rw-r--r-- 1 ak users 102042 Oct 17 20:23 bxutils-c.c -rw-r--r-- 1 ak users 102042 Oct 17 20:23 bxutils-c.c -rw-r--r-- 1 ak users 23244 Oct 17 20:34 bxutils-c.o -rw-r--r-- 1 ak users 1822 Oct 17 20:27 callbacks-c.c -rw-r--r-- 1 ak users 896 Oct 17 20:34 callbacks-c.o -rw-r--r-- 1 ak users 8382 Oct 17 20:39 creation-c.c -rw-r--r-- 1 ak users 8156 Oct 17 20:23 creation-c.c~ -rw-r--r-- 1 ak users 4728 Oct 17 20:34 creation-c.o -rwxr-xr-x 1 ak users 32275 Oct 17 20:34 main-c -rw-r--r-- 1 ak users 3416 Oct 17 20:23 main-c.c -rw-r--r-- 1 ak users 1588 Oct 17 20:34 main-c.o -rw-r--r-- 1 ak users 1188 Oct 17 20:23 makefile-c -rw-r--r-- 1 ak users 7198 Oct 17 20:20 uil.uil I would be happy to provide additional info. My kernel is -current as of 11 Oct: -r-xr-xr-x 1 root wheel 1804310 Oct 11 18:42 /kernel (the Linux module compiled in). Thanks, Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message