Subject: Re: problem with tmpfs and linux emulation?
To: None <current-users@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: current-users
Date: 11/10/2005 22:50:07
In article <43722C24.7020308@3am-software.com>,
Matt Thomas <matt@3am-software.com> writes:
> This implies that the linux_sys_read syscall (and friends) needs to know
> if it's reading from a directory, and if so, do the getdents dance itself.
Yes, indeed.
> This would be filesystem independent. And ugly as hell.
Why? Figuring out that it is a directory can be done by looking on the vnode.
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/