On Tue, Aug 13, 2013 at 12:56 AM, Alexander Motin m...@freebsd.org wrote:
Log:
Return error when opening read-only volumes (like RAID4/5/...) for writing.
Previously opens succeeded, but actual write operations returned errors.
Requested by: peter
MFC after:2 weeks
Thanks! The
on 13/08/2013 10:56 Alexander Motin said the following:
+ /* Deny write opens for read-only volumes. */
+ if (vol-v_read_only acw 0) {
+ error = EROFS;
+ goto out;
+ }
I'd like to stir a small (hopefully) discussion (again, hopefully): is EROFS
In message 5209f968.4090...@freebsd.org, Alexander Motin writes:
On 13.08.2013 11:48, Andriy Gapon wrote:
I'd like to stir a small (hopefully) discussion (again, hopefully): is EROFS
appropriate here or would ENODEV be better?
EROFSRead-only filesystem
ENODEV Operation not