From ae1c1caab759588d8e6f744f521a769aee83f905 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 5 May 2015 16:45:11 +0200 Subject: [PATCH] signal.7: Clarify that I/O operations on disks are not interrupted by signals See https://bugzilla.kernel.org/show_bug.cgi?id=97721 Reported-by: Steinar H. Gunderson Signed-off-by: Michael Kerrisk --- man7/signal.7 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man7/signal.7 b/man7/signal.7 index 10fd3e9d3..0277a7d43 100644 --- a/man7/signal.7 +++ b/man7/signal.7 @@ -666,11 +666,12 @@ and calls on "slow" devices. A "slow" device is one where the I/O call may block for an indefinite time, for example, a terminal, pipe, or socket. -(A disk is not a slow device according to this definition.) If an I/O call on a slow device has already transferred some data by the time it is interrupted by a signal handler, then the call will return a success status (normally, the number of bytes transferred). +Note that a (local) disk is not a slow device according to this definition; +I/O operations on disk devices are not interrupted by signals. .IP * .BR open (2), if it can block (e.g., when opening a FIFO; see