Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 18:40:29 GMT
From:      Salvo Bartolotta <bartequi@inwind.it>
To:        Malte Sackmann <maltes@theo.physik.uni-bremen.de>, David Malone <dwmalone@maths.tcd.ie>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: misc/24424: linux-programms under BSD cannot display all files in the directory
Message-ID:  <20010118.18402900@bartequi.ottodomain.org>
References:  <200101181250.f0ICo6i31737@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 1/18/01, 1:50:06 PM, Malte Sackmann
<maltes@theo.physik.uni-bremen.de> wrote regarding Re: misc/24424:
linux-programms under BSD cannot display all files in the directory:


> The following reply was made to PR misc/24424; it has been noted by
GNATS.

> From: Malte Sackmann <maltes@theo.physik.uni-bremen.de>
> To: David Malone <dwmalone@maths.tcd.ie>
> Cc: malte.sackmann@physik.uni-bremen.de,
>       freebsd-gnats-submit@FreeBSD.org
> Subject: Re: misc/24424: linux-programms under BSD cannot display all
files
>  in the directory
> Date: Thu, 18 Jan 2001 13:32:58 +0100 (MET)

>  On Thu, 18 Jan 2001, David Malone wrote:

>  > On Thu, Jan 18, 2001 at 01:51:01AM -0800,
malte.sackmann@physik.uni-bremen.de wrote:
>  > > Install a linux binary and open for example "/etc/*".
>  > > You will not see all existent files in that directory.
>  > > You will see always the same randomly chosen 8 files.
>  >
>  > You are probably seeing the contents of /compat/linux/etc because
>  > programs run under Linux compatability look for a version of the
>  > file/directory under /compat/linux before they look starting at /.
>  >
>  >    David.
>  >


>  We have shortly  discovered that the content from the /etc diretory
>  comes of course from /compat/linux/etc. No question.
>  But the problem with other directory contents is still the same!!!!

>  For example a mounted cdrom /cdrom with strongly missing directories
>  (some appeared, most disappeared) and files or various user/system
>  directories. Tested for example with linux netscape (from
FreeBSD-4.1.1
>  packages), acrobat4 . All programs show the same files/dirs or not.
>  We have done some debugging in the kernel source code (mainly
>  sys/i386/linux/linux_file.c) and have seen, that indeed the
>  getdents function only returns some of the entries of the specific
>  directory. But, from this already shrinked converted dir list (with
>  missing entries), additionaly some files/dirs lost "on the way" to
the
>  user program and were never shown by the user program.
>  Very strange and serious problem.



Dear Malte Sackmann and David Malone,

I seem to understand that the problem is, as it were, somewhat
cosmetic. The "features" described below might be relevant to your
discussion.

When I fire up eg StarOffice-5.X and I access various directories from
its "open window" (absit iniuria verbis :-), I can only see **part**
of their content(s). So far so good.

However, if I specify an existing filename (or directory name) not
shown in the tree by the dialog box, the name is completed, and it is
also shown on the filename line (but NOT within the directory tree);
besides -- wait for it -- I can **load** the file, or access the
directory.

Further, the above ahem "method" seems to recall these linux programs
-- or rather the underlying filesystem facilities -- to a... sense of
duty, and I can see much more directory content (if not all of it).

Best regards & best of luck,
Salvo





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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