Opened 13 years ago
Closed 13 years ago
#371 closed defect (duplicate)
fread on devices makes the system unsuable
Reported by: | dr.eddy | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 0.5.0 |
Component: | helenos/unspecified | Version: | mainline |
Keywords: | libc fread device | Cc: | |
Blocker for: | Depends on: | libc | |
See also: |
Description
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
Attachments (2)
Change History (4)
by , 13 years ago
by , 13 years ago
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
duplicate of #366