retry mounting with ro when rw fails

Matthew Jacob mj at feral.com
Thu Apr 7 21:46:54 UTC 2011


On 4/7/2011 11:51 AM, Andriy Gapon wrote:
>
> Do you mean EACCES ->  ENODEV specifically?
> If yes, can you tell me how those application distinguish EACCES that means ro/wp
> media from EACCES that means there is something wrong with some permissions?
> Or EACCES that could be returned from cam_periph_mapmem?
>
> P.S. do you have specific applications in mind or do you speak hypothetically?
>
> P.P.S. the only reason for my EACCES ->  ENODEV is that *I* wanted to be sure what
> error condition I am seeing.  If compatibility is preferred over what I perceive
> as correctness, then be it, I would not insist.

Yes, these kinds of changes. Hypothetically, but it's an area that I 
know that there are a lot dependencies.

I think all I really want to note that "correctness" here can be 
perceived as "gratuitous difference" by consumers of FreeBSD as a base 
platform.


More information about the freebsd-scsi mailing list