aboutsummaryrefslogtreecommitdiff
path: root/util-linux/volume_id/volume_id_internal.h
diff options
context:
space:
mode:
authorSven-Göran Bergh <sgb@systemaxion.se>2018-01-19 20:36:15 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-01-19 20:37:13 +0100
commite411cd071a2b6456c653f1a7179b83bef810bb72 (patch)
treeacaef2c064f79d3dc86ab6d532b3c2c360aefcdc /util-linux/volume_id/volume_id_internal.h
parentf6dd9e02155430a608e1b38036e355c045772d04 (diff)
downloadbusybox-e411cd071a2b6456c653f1a7179b83bef810bb72.tar.gz
volume_id: add LittleFS detection
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 <sgb@systemaxion.se> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id/volume_id_internal.h')
-rw-r--r--util-linux/volume_id/volume_id_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util-linux/volume_id/volume_id_internal.h b/util-linux/volume_id/volume_id_internal.h
index 0eaea9b34..ada18339d 100644
--- a/util-linux/volume_id/volume_id_internal.h
+++ b/util-linux/volume_id/volume_id_internal.h
@@ -187,6 +187,8 @@ int FAST_FUNC volume_id_probe_iso9660(struct volume_id *id /*,uint64_t off*/);
int FAST_FUNC volume_id_probe_jfs(struct volume_id *id /*,uint64_t off*/);
+int FAST_FUNC volume_id_probe_lfs(struct volume_id *id /*,uint64_t off*/);
+
int FAST_FUNC volume_id_probe_linux_swap(struct volume_id *id /*,uint64_t off*/);
int FAST_FUNC volume_id_probe_luks(struct volume_id *id /*,uint64_t off*/);