Re: hot(un)plugging IDE disks

Mark Lord (mlord@pobox.com)
Tue, 16 Nov 1999 11:25:43 -0500


Francois-Rene Rideau wrote:
..
> Still, the remaining question is: how to tell the kernel to rescan
> for a new drive geometry?
>
> > It also allows using modules to load/unload the IDE support as needed,
> > exactly the way that the existing PCMCIA code handles it.
> The problem is, you can't unload the IDE support when the root filesystem
> is on (another) IDE interface.
>
> > Look there for details.
> PCMCIA uses a utility named "ide_info", but that utility seemingly won't help
> with the geometry problem. The geometry stuff looks like it is handled inside
> the PCMCIA modules.

The PCMCIA stuff already works with removeable IDE stuff.
It really has solved a similar problem already.

Of course, if you want to invent your own.. hack away.

Cheers

-- 
Mark Lord
Real-Time Remedies Inc.
mlord@pobox.com

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