From e411cd071a2b6456c653f1a7179b83bef810bb72 Mon Sep 17 00:00:00 2001 From: Sven-Göran Bergh Date: Fri, 19 Jan 2018 20:36:15 +0100 Subject: volume_id: add LittleFS detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add support for LittleFS to blkid. Not included if FEATURE_BLKID_TYPE is not selected (neither UUID nor label). LittleFS is a small fail-safe filesystem designed for embedded systems. It has strong copy-on-write guarantees and storage on disk is always kept in a valid state. It also provides a form of dynamic wear levelling for systems that can not fit a full flash translation layer. (https://github.com/geky/littlefs) ARM has introduced it in its Mbed OS 5.7, so it starts to gain focus. (https://os.mbed.com/blog/entry/littlefs-high-integrity-embedded-fs/) function old new delta volume_id_probe_lfs - 62 +62 fs1 20 24 +4 Signed-off-by: Sven-Göran Bergh Signed-off-by: Denys Vlasenko --- util-linux/volume_id/volume_id.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util-linux/volume_id/volume_id.c') diff --git a/util-linux/volume_id/volume_id.c b/util-linux/volume_id/volume_id.c index 85315ced6..c3f07a741 100644 --- a/util-linux/volume_id/volume_id.c +++ b/util-linux/volume_id/volume_id.c @@ -97,6 +97,9 @@ static const probe_fptr fs1[] = { #if ENABLE_FEATURE_VOLUMEID_EXFAT volume_id_probe_exfat, #endif +#if ENABLE_FEATURE_VOLUMEID_LFS + volume_id_probe_lfs, +#endif #if ENABLE_FEATURE_VOLUMEID_MAC volume_id_probe_mac_partition_map, #endif -- cgit v1.2.3