Re: accessing raw disk.

Gerard Roudier (groudier@club-internet.fr)
Wed, 2 Jun 1999 20:18:27 +0200 (MET DST)


On Tue, 1 Jun 1999, Stephen C. Tweedie wrote:

> Go to ftp://ftp.uk.linux.org/pub/linux/sct/fs/raw-io/ and pick up the
> latest diffs. Read the README, build a new kernel, set up /dev and
> start running raw character devices.

Thanks, Stephen, for your raw-io patch.

It does work, but refuses to work for me with non sector-size aligned
buffer address. If the IO is broken into several ones, perhaps this
condition would be required, but it seems to me that only the total IO
length has to be a multiple of the sector-size.

I have implemented recently the support of unaligned Wide Transfers in the
sym53c8xx driver and I need something that provides some oddly aligned
buffers to test the driver code. If it is possible to remove the checking
of buffer alignment in your code without serious breakage, this will fit
my needs.

Sorry if I missed something important.

Regards,
Gérard.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/