Re: svn commit: r327996 - in head/sys: cam/scsi geom

2018-01-15 Thread Andriy Gapon
On 15/01/2018 14:25, Konstantin Belousov wrote: > On Mon, Jan 15, 2018 at 11:20:00AM +, Andriy Gapon wrote: >> Author: avg >> Date: Mon Jan 15 11:20:00 2018 >> New Revision: 327996 >> URL: https://svnweb.freebsd.org/changeset/base/327996 >> >> Log: >> geom_disk / scsi_da: deny opening write-p

Re: svn commit: r327996 - in head/sys: cam/scsi geom

2018-01-15 Thread Konstantin Belousov
On Mon, Jan 15, 2018 at 11:20:00AM +, Andriy Gapon wrote: > Author: avg > Date: Mon Jan 15 11:20:00 2018 > New Revision: 327996 > URL: https://svnweb.freebsd.org/changeset/base/327996 > > Log: > geom_disk / scsi_da: deny opening write-protected disks for writing > > Ths change consists

svn commit: r327996 - in head/sys: cam/scsi geom

2018-01-15 Thread Andriy Gapon
Author: avg Date: Mon Jan 15 11:20:00 2018 New Revision: 327996 URL: https://svnweb.freebsd.org/changeset/base/327996 Log: geom_disk / scsi_da: deny opening write-protected disks for writing Ths change consists of two parts. geom_disk: deny opening a disk for writing if it's marked as