Subject: Re: problem with tmpfs and linux emulation?
To: None <current-users@NetBSD.org>
From: Matthias Scheler <email@example.com>
Date: 11/10/2005 22:50:07
In article <43722C24.firstname.lastname@example.org>,
Matt Thomas <email@example.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.
> 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.
Matthias Scheler http://scheler.de/~matthias/