fread on devices makes the system unsuable
|libc fread device
Running fread() on block devices does not work, but it also somehow crashes parts of the system. The program that calls fread on devices in /loc/bd (maybe others as well) firstly crashes without bdsh noticing and then makes the shell output whitespace chars instead of the typed letters, prints tabs and makes the system generally unusable.
What is expected to happen: either proceed normally without crashing the program or inform the user about not implemented feature.
Steps to reproduce:
1: run qemu with an emulated harddrive
2: run ata_bd, which creates /loc/bd/ata1disk0 file
3: run fread /loc/bd/ata1disk0