linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cxscan-user.patch
@ 2005-09-16  5:36 Thomas Maguin
  2005-09-16 11:49 ` cxscan-user.patch Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Maguin @ 2005-09-16  5:36 UTC (permalink / raw)
  To: axboe, linux-scsi, dgilbert, linux-kernel

please add this, which which allows normal users to make a c1-, c2- and 
cu-scan (so called cxscan) with readcd on cxscan-capable cd/dvd-writers. 


--- drivers/block/old-scsi_ioctl.c      2005-09-16 07:06:37.000000000 +0200
+++ drivers/block/scsi_ioctl.c  2005-09-13 12:06:48.000000000 +0200
@@ -167,6 +167,7 @@ static int verify_command(struct file *f
                safe_for_write(WRITE_VERIFY_12),
                safe_for_write(WRITE_16),
                safe_for_write(WRITE_LONG),
+              safe_for_write(WRITE_LONG_2),
                safe_for_write(ERASE),
                safe_for_write(GPCMD_MODE_SELECT_10),
                safe_for_write(MODE_SELECT),


Source of the new readcd.c (will go to the official release of cdrtools):
http://www-user.tu-chemnitz.de/~noe/readcd/readcd.c.tar.gz

Thomas

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

* Re: cxscan-user.patch
  2005-09-16  5:36 cxscan-user.patch Thomas Maguin
@ 2005-09-16 11:49 ` Jens Axboe
  2005-09-16 12:13   ` cxscan-user.patch Thomas Maguin
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Axboe @ 2005-09-16 11:49 UTC (permalink / raw)
  To: Thomas Maguin; +Cc: linux-scsi, dgilbert, linux-kernel

On Fri, Sep 16 2005, Thomas Maguin wrote:
> please add this, which which allows normal users to make a c1-, c2- and 
> cu-scan (so called cxscan) with readcd on cxscan-capable cd/dvd-writers. 
> 
> 
> --- drivers/block/old-scsi_ioctl.c      2005-09-16 07:06:37.000000000 +0200
> +++ drivers/block/scsi_ioctl.c  2005-09-13 12:06:48.000000000 +0200
> @@ -167,6 +167,7 @@ static int verify_command(struct file *f
>                 safe_for_write(WRITE_VERIFY_12),
>                 safe_for_write(WRITE_16),
>                 safe_for_write(WRITE_LONG),
> +              safe_for_write(WRITE_LONG_2),
>                 safe_for_write(ERASE),
>                 safe_for_write(GPCMD_MODE_SELECT_10),
>                 safe_for_write(MODE_SELECT),

The patch is safe, however your mailer mangled the tabs. Can you resend
as an attachment, please?

-- 
Jens Axboe


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

* Re: cxscan-user.patch
  2005-09-16 11:49 ` cxscan-user.patch Jens Axboe
@ 2005-09-16 12:13   ` Thomas Maguin
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Maguin @ 2005-09-16 12:13 UTC (permalink / raw)
  To: linux-scsi

--- drivers/block/old-scsi_ioctl.c      2005-09-16 07:06:37.000000000 +0200
+++ drivers/block/scsi_ioctl.c  2005-09-13 12:06:48.000000000 +0200
@@ -167,6 +167,7 @@ static int verify_command(struct file *f
                safe_for_write(WRITE_VERIFY_12),
                safe_for_write(WRITE_16),
                safe_for_write(WRITE_LONG),
+               safe_for_write(WRITE_LONG_2),
                safe_for_write(ERASE),
                safe_for_write(GPCMD_MODE_SELECT_10),
                safe_for_write(MODE_SELECT),



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

* cxscan-user.patch
@ 2005-09-16 19:56 Thomas Maguin
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Maguin @ 2005-09-16 19:56 UTC (permalink / raw)
  To: linux-scsi

Here some additional information about c1-, c2- and cu-scan:

http://www-user.tu-chemnitz.de/~noe/Plextor/testing_cds/

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

end of thread, other threads:[~2005-09-16 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-16  5:36 cxscan-user.patch Thomas Maguin
2005-09-16 11:49 ` cxscan-user.patch Jens Axboe
2005-09-16 12:13   ` cxscan-user.patch Thomas Maguin
  -- strict thread matches above, loose matches on Subject: below --
2005-09-16 19:56 cxscan-user.patch Thomas Maguin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).