On Fri, 29 Sep 2000, Alan Cox wrote: > > To read say 32 sectors anywhere on the disk, I have to do 1024-byte aligned > > bread()s, possibly doing an unaligned first block, aligned middle, and > > unaligned last block. > > > > Is there an easier method? > > Set the block size, but set it back when finished Matt is this SCSI or ATA? I ask because this sounds like DIAG stuff that I am working on. Cheers, Andre Hedrick The Linux ATA/IDE guy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- reading 1 hardsector size, not one block size Matt_Domsch
- Re: reading 1 hardsector size, not one block size Anton Altaparmakov
- Re: reading 1 hardsector size, not one block s... Andries Brouwer
- Re: reading 1 hardsector size, not one blo... Anton Altaparmakov
- Re: reading 1 hardsector size, not one block size Alan Cox
- RE: reading 1 hardsector size, not one block s... Andre Hedrick
- RE: reading 1 hardsector size, not one block size Matt_Domsch
- Re: reading 1 hardsector size, not one block s... Andries Brouwer
- Re: reading 1 hardsector size, not one blo... Anton Altaparmakov
- Re: reading 1 hardsector size, not one... Alexander Viro
- Re: reading 1 hardsector size, no... Anton Altaparmakov
- Re: reading 1 hardsector size, no... Jeff V. Merkey
- Re: reading 1 hardsector size... Theodore Y. Ts'o
- Re: reading 1 hardsector ... Jeff V. Merkey
- Re: reading 1 hardsector ... Andre Hedrick
- Re: reading 1 hardsector ... Theodore Y. Ts'o