Re: ide-cd doesn't replace ide-scsi?

From: Jens Axboe
Date: Tue Nov 29 2005 - 10:21:31 EST


On Tue, Nov 29 2005, Bartlomiej Zolnierkiewicz wrote:
> > Unfortunately using ide-cd still doesn't have the code set to allow all
> > burning features to work if you are not root. Even if you have
> > read+write there's one command you need to do multi-session which is
> > only allowed to root. Works fine for single sessions, I guess that's all
> > someone uses.
>
> Interesting because both drivers ide-cd and sr+ide-scsi use exactly
> the same code (block/scsi_ioctl.c) to verify which commands don't
> need root privileges. Care to give details?

Not if he is using /dev/sgX with ide-scsi, only SG_IO through /dev/srX
will go through the block/scsi_ioctl.c path.

--
Jens Axboe

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