Add erase block guessing code to libblkid

Registered by Arnd Bergmann on 2013-03-13

We want the various mkfs tools to be able to align fs data structures to erase blocks on flash media. There is code in flashbench to find out the parameters, but it should be easily available everywhere.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

Work items:
Implement reading from /sys/block/*/device/preferred-erase-size for MMC : TODO
Implement an algorithm based on "flashbench -a" : TODO
Implement an algorithm to guess from the media size : TODO
Submit the code for inclusion into util-linux : TODO

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.