
Hi Wolfgang,
Dear Lukasz,
In message 20131031222010.082d453f@jawa you wrote:
Why can we not have a common format for all media supporting the "raw" type? I mean, why can we not also use "start, size" for mmc? It should be trivial to convert into a LBA number.
I think, that I could do better with this table.
What I have meant, is that the "raw" extra parameters are the same in both cases. The interpretation of start and size (if they are LBA or "normal" addresses) depends on the <dev_name>.
I think they should _not_ be interpreted differently. I would expect that "start" is an offset in bytes from the beginning of the device, for all of the cases. Similar, "size" would be the number of bytes, for all cases - bot bytes here and sectors there.
Ok, lets do it in this way. LBA conversion will be done just before eMMC access.
Best regards,
Wolfgang Denk