On 3/15/07, Henrique de Moraes Holschuh <hmh@xxxxxxxxxx> wrote:
2. It will do the right thing on plug and unplug. This means telling the rest of the kernel to disable the device in the bay, for example. Right now we shutdown one end of the PATA/SATA link on ThinkPads eletrically, and leave libata to scream blood murder until it disables its end due to too many retries, for example;
I'm not sure which stage of the unplug you're referring to, but after a "lever released" event on ThinkPads there must remain a way for userspace code to run before the kernel does anything irreversible to the drivers or hardware (e.g., in order to try unmounting filesystems and, if that failed, tell the user to not pull the lever). The two-stage mechanical eject mechanisms on ThinkPad is pretty useful in this respect. Shem - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html