Hot swap IDE/CompactFlash - safe?

Marek Michalkiewicz (marekm@amelek.gda.pl)
Sat, 15 Jun 2002 22:48:15 +0200 (CEST)


Hi,

I searched the web for some information about this, and found that
generally this is not recommended, hardware can be damaged, etc.
But, this was mainly about disks (possible damage if +12V power is
applied before +5V, etc.) - my question is not about disks.

How about a CompactFlash card (which looks like a small IDE disk
to the system) in a CF-IDE adapter? (not CF-PCMCIA - has connectors
for 40-pin IDE ribbon cable and power, a slot for inserting a CF
card, and is mounted like a 3.5-inch floppy drive in a desktop PC)

I've read that CF cards themselves are designed for hot-swapping
(when not reading or writing, such a card draws very little power,
so it doesn't short the bus lines to ground like disks can do),
so the question is, is this safe with the Linux IDE drivers?
There should be some way to tell the kernel that a device was
connected to the bus, and later that it will be disconnected.

Thanks,
Marek

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