tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Use consistent errno for read(2) failure on directories

On Fri, Dec 09, 2011 at 04:36:55AM -0500, Matthew Mondor wrote:
> On Fri, 9 Dec 2011 09:33:54 +0100
> Nicolas Joly <> wrote:
> > According to the online OpenGroup specification for read(2) available
> > at [1], read(2) on directories is implementation dependant. If
> > unsupported, it shall fail with EISDIR.
> In the case of sys/rump/librump/rumpvfs/rumpfs.c, is it possible that
> the underlaying implementation could previously decide if it could
> support read(2) on directories, and this would no longer be the case
> with this patch?

No. This only impact the rump fs itself (used as the root file system
in applications); its does not matter while accessing other fs through

Nicolas Joly

Projects and Developments in Bioinformatics
Institut Pasteur, Paris.

Home | Main Index | Thread Index | Old Index