Re: [BUG] D state process after unplug and umount usb disk

From: Lin Ming
Date: Sun Sep 04 2011 - 10:26:30 EST


On Sun, Sep 4, 2011 at 9:49 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
>
>> Where does this exit signal come from?
>> Does USB interrupt handler will send kill signal to all processes
>> accessing it when it's unplugged(by hand)?
>
> The USB stack does not send any signals at all unless a process
> specifically asks for them.

How to ask?

I have not checked, but think umount code path will not send signal to process.
Curiously, where does the exit signal come from?

Dave,
Did you press "Ctrl + C" on cat?

Lin Ming
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/