Date: Thu, 07 Apr 2011 14:46:52 -0700 From: Matthew Jacob <mj@feral.com> To: freebsd-scsi@freebsd.org Subject: Re: retry mounting with ro when rw fails Message-ID: <4D9E30CC.3080702@feral.com> In-Reply-To: <4D9E07C1.8070604@FreeBSD.org> References: <4D9DEDF7.2070107@FreeBSD.org> <4D9DF234.2070803@feral.com> <4D9E07C1.8070604@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D9E30CC.3080702>