Re: question about scsi generic behavior

2001-06-08 Thread Alan Cox
> Hardcoding of block size to 512 bytes for disk devices is what currently > either the block device driver or the sd driver is doing. Because, if I'm using 2048 byte block sized scsi media just fine. I've not tried using sg on the same device - To unsubscribe from this list: send the line "un

RE: question about scsi generic behavior

2001-06-08 Thread hiren_mehta
transfer length is what matters. Regards, -hiren (408)970-3062 [EMAIL PROTECTED] > -Original Message- > From: David Chambliss [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 08, 2001 4:49 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject:

Re: question about scsi generic behavior

2001-06-08 Thread David Chambliss
I think you need to set bpt=8 . It is possible to set some drives to block sizes other than 512 bytes, and hardcoding 512 is not a good idea, especially in code that might last a while. In a few years we might have 4096-byte blocks to let the drives use more powerful error correcting codes. Da