Messages in this thread |  | | Date | Wed, 29 Nov 2000 15:46:41 +0000 (GMT) | From | Hugh Dickins <> | Subject | Re: access() says EROFS even for device files if /dev is mounted RO |
| |
On Wed, 29 Nov 2000, Alexander Viro wrote: > > On Wed, 29 Nov 2000, Hugh Dickins wrote: > > > 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. > > has r/o filesystems access() open() > What you are saying is that recent SysV variants have > yes ? ok > Nice, but what do they do on access()? If they do not return EROFS for > devices - that's it, standard needs to be fixed and 2.2 should drop the > special-casing in sys_access().
Sorry, I missed the point at issue here, and what changed when. Assuming (perhaps wrongly) it's independent of filesystem type,
Solaris yes ok ok HP-UX yes EROFS ok
I don't have UnixWare or OpenServer at hand to test, guess UnixWare as Solaris, can report OpenServer tomorrow. But it looks like a Floridan answer.
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/
|  |