On 10/11/16 11:58, Hadrien Lacour wrote: > Hello, > I have this error going one: > head -c -1 < > /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors > or > head -c -1 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors > > both procuce the "file has shrunk too much" error while doing nothing (the > output > is the same as the file) but > cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors | > head -c -1 > > does work. I've copied the file to $HOME and everything works as it should, > so the > location of the file may do something (/sys or /proc?). Any idea of why it > doesn't work?
I think this was fixed in coreutils-8.24 with: http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.23-47-g2662702 thanks, Pádraig.
