[lkml]   [2000]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: reading 1 hardsector size, not one block size
    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.


    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
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:45    [W:0.021 / U:38.068 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site