On 28/04/15 16:49, Alexey Orishko wrote: > [334203.113976] ata4: hard resetting link > [334203.836637] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310) > .. > > When a removable disk is connected, kernel log is overwhelmed with > messages about > disk and its partition like in example above. Messages in the kernel > log stop after disk > was removed (ejected). The messages are not really informative and I > wonder if they can be > switched off. Doing something like: echo 1 > /sys/block/sdc/device/delete prior to unplugging the drive will reduce messages on unplug (and will also spin down the disk etc.). On some kernel versions it will also stop the kernel speed limiting the interface (if that's a concern). Personally I use something like "logcheck" to handle this sort of thing, and add exclusion patterns for stuff I don't want to hear about. Tim. -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html