Re: access() says EROFS even for device files if /dev is mounted RO

From: Hugh Dickins (hugh@veritas.com)
Date: Wed Nov 29 2000 - 07:01:38 EST


On Tue, 28 Nov 2000, Andries Brouwer wrote:
> On Tue, Nov 28, 2000 at 03:04:31PM +0100, Rogier Wolff wrote:
>
> > Ok, so if you read the standard carefully you get a bogus result.
>
> Why bogus? Things could have been otherwise, but the important
> part is that all Unices do things the same way.

Yes, and I think you'll have difficulty, Andries, finding
any other Unices which interpret the standard as you and
Linux do: Solaris, HP-UX, UnixWare and OpenServer all allow
writing to a device node (or FIFO) on read-only filesystem.

Hugh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 30 2000 - 21:00:22 EST