Tim Small wrote:
On a related topic, is there any way to do anything other than "surprise" removal with libata? It'd be nice to put a drive to sleep (e.g. with "hdparm -Y"), and ensure that nothing comes along and causes the drive to be reset and spin the drive attached to that SATA port back up prior to a removal and reinsertion. I'm assuming that physically unplugging a non-spinning drive is preferable to unplugging a spinning one from a drive longevity point of view (I use SATA drives as removable backup medium in some cases).
Unplugging the SATA cable is fine. I wouldn't yank power while it's actively storing data, though.
Jeff -- 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