On Tue, 2014-01-14 at 19:21 +0100, Stéphane Desneux wrote:
> AFAIK, mic doesn't start bmaptool but "is compatible with" the bmaptool
> principle. If we run 'bmaptool create xxx.raw', this doesn't work as mic
> copies the temp sparse file to the output file (which is a regular one).

Yeah, MIC would need to do smart copy. Should be fixable.

> Some ideas ?

FIEMAP is a relatively new IOCTL in some file-systems. But not supported
everywhere. What is your host FS? I only tested this with ext4 and
btrfs.

There is an older and slower FIBMAP ioctl, which is more widely
supported. I used it in the past, but then switched to FIEMAP and dumped
FIMBAP altogether. I can easilly bring it back and fall-back to FIBMAP
if FIEMAP is not supported.

So please, let me know what is your file-system, and I'll check v3.7 WRT
what is supported there.

But there FSes where this won't ever work, unfortunately. E.g., FAT-FS.
May be some networking FSes.

-- 
Best Regards,
Artem Bityutskiy

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to