Re: [PATCH 2.5-bkcvs] capability flag for ATAPI MO drives

Jens Axboe (axboe@suse.de)
Mon, 2 Jun 2003 12:45:12 +0200


On Thu, May 29 2003, Pascal Schmidt wrote:
>
> Hi!
>
> Now that ide-cd in 2.5 deals with ATAPI MO drivers, I think there
> should be a configuration/capability flag to identify the drive
> as an MO drive. This will be needed for later write support so that
> drivers/cdrom.c can tell that this drive is capable of writing.
>
> Please apply and/or comment.
>
> Jens, how will ide-cd.c/cdrom.c fly with sector sizes of 512 or
> 1024 bytes? There are MO disks with those sector sizes. I only have
> 640 MB disks with 2048 byte sector size, so I can't test.

It probably wont. I'd be reluctant to actually allow that without
someone doing the footwork of making sure it generally works. I'm not
sure it does.

Patch looks fine, btw.

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/