From: Pat LaVarre <p.lavarre@ieee.org>
To: Jens Axboe <axboe@suse.de>
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH] fix cdrom mt rainier probe
Date: 13 Jul 2004 11:57:09 -0600 [thread overview]
Message-ID: <1089741428.3806.3.camel@patibmrh9> (raw)
Jens A:
--- http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.8-rc1
--- ...
[PATCH] fix cdrom mt rainier probe
Mt rainier probe must be deferred to media load time, since it requires a
valid media (the drive may present a different capability based on what
media is loaded). This fixes that for ide-cd and sr.
...
---
Looks like something broke in deciding disc rewritable or not?
Only for /dev/hdd PATAPI, not for /dev/scd0 USB?
I see again we have rewritable by ioctl does not imply rewritable by dd
and mount. I'll blog my exploration outside, then report back if I come
to understand more, but specifically so far I've seen:
$ uname -srm
Linux 2.6.7 i686
$ sudo rrd scan
/dev/scd0 is Iomega RRD 74.B rw
/dev/hdd is Iomega RRD 74.B rw
$
$ sudo dd of=/dev/scd0 bs=64K count=1 if=/dev/zero
1+0 records in
1+0 records out
$ sudo dd of=/dev/hdd bs=64K count=1 if=/dev/zero
1+0 records in
1+0 records out
$
$ uname -srm
Linux 2.6.8-rc1 i686
$ sudo rrd scan
/dev/scd0 is Iomega RRD 74.B rw
/dev/hdd is Iomega RRD 74.B rw
$
$ sudo dd of=/dev/scd0 bs=64K count=1 if=/dev/zero
1+0 records in
1+0 records out
$ sudo dd of=/dev/hdd bs=64K count=1 if=/dev/zero
dd: writing `/dev/hdd': Operation not permitted
1+0 records in
0+0 records out
$
Pat LaVarre
http://linux-pel.blog-city.com/read/728344.htm
reply other threads:[~2004-07-13 17:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1089741428.3806.3.camel@patibmrh9 \
--to=p.lavarre@ieee.org \
--cc=axboe@suse.de \
--cc=linux-ide@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox