All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Pat LaVarre <p.lavarre@ieee.org>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] fix cdrom mt rainier probe
Date: Fri, 16 Jul 2004 19:51:18 +0200	[thread overview]
Message-ID: <20040716175118.GG11255@suse.de> (raw)
In-Reply-To: <1089994751.4844.5.camel@patibmrh9>

On Fri, Jul 16 2004, Pat LaVarre wrote:
> Jens A:
> 
> > Have you tested it works as expected as well, with
> > rw and ro media?
> 
> Ouch, yes, please, never assume I've tested unless I say so explicitly.
> 
> So far I've just seen the expected, with one rewritable and one
> read-only disc, in a pair of USB and PATAPI drives:
> 
> $ sudo plscsi /dev/scd0 /dev/hdd
> export PLSCSI=/dev/scd0       // B Iomega   RRD              DB76
> export PLSCSI=/dev/hdd        // @ Iomega   RRD              74.B
> $
> $ sudo blockdev --getro /dev/scd0 /dev/hdd
> 0
> 0
> $
> $ sudo dd of=/dev/scd0 bs=64K seek=0 count=1 if=/dev/zero
> dd: opening `/dev/scd0': Read-only file system
> $ sudo dd of=/dev/hdd bs=64K seek=0 count=1 if=/dev/zero
> 1+0 records in
> 1+0 records out
> $
> $ # swap discs
> $
> $ sudo dd of=/dev/scd0 bs=64K seek=0 count=1 if=/dev/zero
> 1+0 records in
> 1+0 records out
> $ sudo dd of=/dev/hdd bs=64K seek=0 count=1 if=/dev/zero
> dd: opening `/dev/hdd': Read-only file system
> $

Looks good, thanks.

> > looks perfect!
> 
> Excellent, I conclude I have understood correctly.

You have.

> > Have you tested ...
> 
> I trust you will tell me if I can help further.

I'll start by forwarding this patch, so it at least will work in 2.6.8.

-- 
Jens Axboe


  reply	other threads:[~2004-07-16 17:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-13 17:57 [PATCH] fix cdrom mt rainier probe Pat LaVarre
2004-07-13 20:55 ` Pat LaVarre
2004-07-14  5:41   ` Jens Axboe
2004-07-14 23:34     ` Pat LaVarre
2004-07-16  0:39       ` Pat LaVarre
2004-07-16 12:25         ` Jens Axboe
2004-07-16 12:28           ` Jens Axboe
2004-07-16 15:58             ` Pat LaVarre
2004-07-16 16:02               ` Jens Axboe
2004-07-16 16:19                 ` Pat LaVarre
2004-07-16 17:51                   ` Jens Axboe [this message]
2004-07-18  0:43                     ` Pat LaVarre

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=20040716175118.GG11255@suse.de \
    --to=axboe@suse.de \
    --cc=linux-scsi@vger.kernel.org \
    --cc=p.lavarre@ieee.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.