Re: reading 1 hardsector size, not one block size

From: Andre Hedrick (andre@linux-ide.org)
Date: Sat Sep 30 2000 - 02:24:23 EST


On Sat, 30 Sep 2000, Alexander Viro wrote:

> ??? If "FS" means "filesystem" - it couldn't care less. If your driver can

Yes FS == "filesystem", sorry, I thought that was generic.

> give these blocks some numbers and is ready to serve requests - fine,
> filesystem will neither know nor care about the way you are doing that.
> For all it cares you might have a _really_ big roll of paper tape and sit
> there punching the data with a toothpick.

Alex,

If you want to be able to access the drives ATA or SCSI at the drive level
there needs to be a method of doing so.

Matt asked can he go to a specified physical drive address and read a
given number of sectors from the drive. This is different than what
everyone else is giving him answers for by adjusting the FS block-size.

> It would help if you started with decoding TLA and TLAs...

Total Lame Answers, okay .... :-)

Can you tell me how to get/do this request? (seriously).

        read(32 sectors, beginning at LBA 50)

How can one do this through the FS-layer?

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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:26 EST