Re: mei modalias files missing device name and newline
From: Petter Reinholdtsen
Date: Tue Jan 21 2025 - 03:15:02 EST
[Greg Kroah-Hartman]
> There's no "requirement" that modalias sysfs files have to have a
> trailing newline, so why is this considered "missing"?
This all started when it was discovered that after more than 8 years,
this one liner no longer worked as well as it used to:
cat $(find /sys/devices -name modalias) | sort -u
> Not all, most. If you want them all to, then we must sweep the whole
> tree and fix them up. And then deal with any fallout where that
> happens to break things :)
>From my perspective, as the author of the isenkram package, it was the
introduction of entries without newlines that broke things, not the
other way around.
--
Happy hacking
Petter Reinholdtsen