help with a dd bug
On 3/3/2010 5:32 AM, Adrian Buciuman wrote:
> Can somebody reproduce this bug?
> dd if=/dev/zero of=/dev/my_usb_stick_device_name bs=4096 count=10000
> can not be stopped with ctrl-c and is not responding to signals
> (count=10000 can be modified to give you enough time to test)
> The bug has been closed with the following comment:
> "As said: dd is in an uninteruptable state when you do that. This is not a bug"
> This is wrong, because IMHO dd should receive the signal after it
> finishes the current read()/write() and returns to user space, but
> this is not happening.
> How can I reopen the bug?
If you want to kill a process that doesn't want to be killed, just send
it a -9. If that doesn't do it, it really is stuck in the device driver.
CentOS mailing list