Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Apr 2011 10:19:48 -0700
From:      Matthew Jacob <mj@feral.com>
To:        freebsd-scsi@freebsd.org
Subject:   Re: retry mounting with ro when rw fails
Message-ID:  <4D9DF234.2070803@feral.com>
In-Reply-To: <4D9DEDF7.2070107@FreeBSD.org>
References:  <4D9DEDF7.2070107@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> The first part is in CAM/SCSI to make sure that ENODEV is consistently returned to
> signal that an operation is not supported by a device (in accordance to intro(2))
> and specifically to return ENODEV on write attempt to a read-only or
> write-protected media.  Making this change in SCSI should cover real SCSI devices,
> as well as ATAPI through ahci/siis/atapicam or similar, plus majority (all?) of
> USB Mass Storage devices.

This may be the right thing to do (which is debatable) but I can tell 
you here and now this will break a lot of commercial usages of FreeBSD 
with SANS which depend (foolishly) on existing error codes.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D9DF234.2070803>