Re: cd burning with plextor drives.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rogier Wolff writes:
>On Sat, Jul 29, 2006 at 01:22:05PM -0400, Dave Jones wrote:
>> I had visions of extending verify_command() to be of the form..
>> 
>> 	if (devicevendor==PLEXTOR) {
>> 		safe_for_write(ENABLE_BURN_PROOF);
>> 		safe_for_write(ENABLE_FROBNICATOR);
>> 	}
>> 	etc..
>
>Almost there.... 
>
>Instead it should walk a (device-specific (*)) table, that specifies
>what is "safe". The table has masks to specify which bits are
>important and what values are expected and allowed etc etc.
>
>This table could be initialized "empty". 
>
>Next a simple interface should allow root to modify the table. 

Yup. I proposed a proof-of-concept patch to allow this a while back -
let root define policy per-device:

http://marc.theaimsgroup.com/?l=linux-scsi&m=113214433405637&w=2

-- 
Steve McIntyre, Cambridge, UK.                                steve@xxxxxxxxxx
Into the distance, a ribbon of black
Stretched to the point of no turning back
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux