Re: [PATCH v2] libata: Simulate REPORT LUNS for ATAPI devices
From: Darrick J. Wong
Date: Wed Dec 13 2006 - 12:39:49 EST
James Bottomley wrote:
> Er, if it's really a CD-ROM, doesn't it need a blacklist entry with
> BLIST_ROM then? Regardless, MMC is the only standard that seems to be
> inconsistent in this regard. Anything claiming to conform to SBC will
> need to be explicitly blacklisted if it claims SCSI-3 or higher and
> doesn't support REPORT LUNS.
Sorry, I should have clarified this earlier--the Quantum GoVault is a
removable disk drive, not a CD-ROM. The device is reminiscent of Zip
disks, but the cartridge is a sealed unit and contains a 2.5" SATA disk
inside; hence it's not a CD-ROM. So the patch below won't work for me,
because sdev->type == TYPE_DISK.
I wonder if the same sort of REPORT LUNS screw-up might apply to other
ATAPI devices too, such as tape drives. Since we've seen that
manufacturers of CD-ROMs and removable disks don't implement it, it
would not surprise me if the other ATAPI devices don't either. But,
that's speculation on my part.
--D
-
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/