[riot-notifications] [RIOT-OS/RIOT] vfs: add format in vfs API (#8315)

Vincent Dupont notifications at github.com
Fri Feb 9 12:10:34 CET 2018


@gebart thanks for the review. I'll address your comments.

To answer the question, I wondered if it should be part of vfs, and I came up with this because of its simplicity.

The use case we try to cover is indeed auto formatting when mounting fails. We have implemented a basic partition table and we can check and format at boot time if needed. At least the first boot, we need to format memory.

> If ROM usage becomes a problem we can add a compile time option to conditionally remove functions from the vfs_xxx_ops structs to be able to strip those functions from the binary.

+1


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/8315#issuecomment-364405546
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180209/ae9d8d32/attachment.html>


More information about the notifications mailing list