[LTP] [PATCH v3 00/31] Add sysfs sanity tests

Petr Vorel pvorel@suse.cz
Fri Sep 4 10:44:38 CEST 2026


Hi Cyril, Alejandro,

also, its nice that only /sys/fs/smackfs and /sys/kernel/cgroup/ are not
covered (both are subsystems are at least somehow covered in LTP).
=> very good test coverage.

$ for i in $(grep -h '.I /sys' ../man-pages.git/man/man5/sysfs.5 | cut -d  ' ' -f2); do git grep -q $i || echo "$i is missing"; done
/sys/fs/smackfs is missing
/sys/kernel/cgroup/ is missing

@Alejandro FYI man/man5/sysfs.5 (or other man pages) could be updated, few
/sys/ directories are missing:

man/man5/sysfs.5 (I haven't found more specific man page)
/sys/class/ata_device
/sys/class/bdi
/sys/class/hwmon
/sys/class/leds
/sys/class/thermal
/sys/class/wakeup
/sys/devices/system/cpu/vulnerabilities

man/man4/loop.4
/sys/block/loop

man/man4/rtc.4
/sys/class/rtc

I'm not sure if these should be documented in man page:

/sys/devices/system
/sys/devices/system/clockevents
/sys/devices/system/clocksource
/sys/kernel/mm/ksm
/sys/kernel/mm/swap

Kind regards,
Petr


More information about the ltp mailing list