Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Oct 1999 21:14:32 +0000
From:      Alex <ak@freenet.co.uk>
To:        freebsd-emulation@freebsd.org, freebsd-current@freebsd.org
Subject:   duplicate filenames under Linux emulation
Message-ID:  <380A3C38.8C4311E4@freenet.co.uk>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?380A3C38.8C4311E4>