Hot swap IDE/CompactFlash - safe?

From: Marek Michalkiewicz (
Date: Sat Jun 15 2002 - 15:48:15 EST


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.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:33 EST