public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Ming Zhang <mingz@ele.uri.edu>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: linux-scsi <linux-scsi@vger.kernel.org>,
	Damian Pietras <daper@daper.net>
Subject: Re: read only scsi disk
Date: Thu, 09 Feb 2006 16:11:18 -0500	[thread overview]
Message-ID: <1139519478.9367.124.camel@localhost.localdomain> (raw)
In-Reply-To: <43EBACD2.50005@s5r6.in-berlin.de>

thanks!

ming

On Thu, 2006-02-09 at 21:57 +0100, Stefan Richter wrote:
> Ming Zhang wrote:
> > thx, i found this was changed in at least 2.6.16-rc2.
> 
> > On Thu, 2006-02-09 at 20:36 +0100, Stefan Richter wrote:
> >>Ming Zhang wrote:
> >>>from sd.c, it looks like removable is judged first.
> >>>
> >>>             if (sdp->removable)
> >>>                   sd_read_write_protect_flag(sdkp, disk->disk_name,
> >>>                                                   buffer);
> >>
> >>This has been changed in the meantime. Check the current sources.
> 
> PS: It was discussed and changed in December.
> http://marc.theaimsgroup.com/?t=113406630600001
> http://marc.theaimsgroup.com/?l=linux-scsi&m=113414617020021
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=38d76df2f5483478dee803cb6e39da5e506a6643
> (Note: Commit date refers to James' tree. It went into Linus' tree later 
> after release of 2.6.15 but before 2.6.16-rc1.)


  reply	other threads:[~2006-02-09 21:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-09 17:04 read only scsi disk Ming Zhang
2006-02-09 19:02 ` Matthew Wilcox
2006-02-09 19:19   ` Ming Zhang
2006-02-09 19:54   ` Stefan Richter
2006-02-09 20:01     ` Ming Zhang
2006-02-10 10:35   ` Christoph Hellwig
2006-02-09 19:36 ` Stefan Richter
2006-02-09 19:41   ` Ming Zhang
2006-02-09 20:57     ` Stefan Richter
2006-02-09 21:11       ` Ming Zhang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-02-09 19:32 berthiaume_wayne
2006-02-09 19:38 ` Ming Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1139519478.9367.124.camel@localhost.localdomain \
    --to=mingz@ele.uri.edu \
    --cc=daper@daper.net \
    --cc=linux-scsi@vger.kernel.org \
    --cc=stefanr@s5r6.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox