summaryrefslogtreecommitdiff
path: root/probe-libblkid.c
Commit message (Collapse)AuthorAgeFilesLines
* probe: fallback to libblkid.so.1 when libblkid.so does not existJo-Philipp Wich2019-08-281-0/+3
| | | | | | | | | | | | OpenWrt commit 0e70f69a35 ("treewide: revise library packaging") removed the unversioned library symlink from the libblkid package, breaking dynamic loading of the library at runtime. Add a fallback to "libblkid.so.1" to allow using the dynamic library for filesystem probing again. Fixes: FS#2274 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* probe: stop handling name propertyJo-Philipp Wich2016-10-171-10/+3
| | | | | | | | | In the full liblkid there is no tag called "NAME" and the name value reported by libblkid-tiny was just the kind of uuid passed to blkid_probe_set_uuid_as(). Strip any handling of this property to allow removing it from libblkid-tiny. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* probe: add full libblkid supportJo-Philipp Wich2016-10-171-0/+117
Attempt to dlopen() libblkid.so at runtime and use it for proping filesystems if available. Signed-off-by: Jo-Philipp Wich <jo@mein.io>