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