All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] fix cdrom mt rainier probe
@ 2004-07-13 17:57 Pat LaVarre
  2004-07-13 20:55 ` Pat LaVarre
  0 siblings, 1 reply; 12+ messages in thread
From: Pat LaVarre @ 2004-07-13 17:57 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-ide

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-07-18  0:44 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2004-07-18  0:43                     ` Pat LaVarre

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.