Sysfsutils is a collection of utilities developed on top of sysfs, a virtual file system present in Linux kernel 2.5 onwards.
Firstly, it offers libsysfs which provides a consistent and stable interface for querying system device information that's exposed through sysfs. It is accompanied by systool, a utility built atop libsysfs that lists devices by bus, class, and topology. Moreover, the "test" directory within the source tarball contains various utilities that demonstrate API usage, along with a comprehensive testsuite.
Version 2.0 of sysfsutils has brought several changes, one of which is the way attributes are populated. Another significant change is the removal of struct sysfs_directory. Udev has been shipping with a scaled-down version of libsysfs since February, which has resulted in Udevstart becoming 35% faster.
In the latest release, new features have been added in addition to minor fixes. Two APIs that were missing in version 2.0.0 have been included. Furthermore, C++ compilation support has been introduced, and subsystem support has been added to sysfs_device.
Overall, the sysfsutils project is a useful program for anyone requiring information on system devices exposed through sysfs. With its handy utilities and testsuite, it is a valuable tool for querying system device information.
Version 2.1.0: N/A