Re: hot-swap ide disk.

From: Kelledin (kelledin+LKML@skarpsey.dyndns.org)
Date: Thu Apr 24 2003 - 13:08:02 EST


On Thursday 24 April 2003 12:53 pm, Andrey Nekrasov wrote:
> Hello.
>
> There is a way to give command kernel to re-read parameters
> of the hard disk (mbr/etc)?
>
> Hard drive IDE, kernel 2.4.20, no modules support.
>
> May be in /proc/... ?

hdparm can unregister and re-register an entire IDE channel, at
which point the channel gets re-scanned. The hdparm source
comes with an "idectl" script that makes this easy.

Don't know about individual IDE devices, though. My
understanding is, it's all or nothing--IDE registration applies
to an entire channel. Also don't know how well Linux handles
serial ATA.

-- 
Kelledin
"If a server crashes in a server farm and no one pings it, does 
it still cost four figures to fix?"

- 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/



This archive was generated by hypermail 2b29 : Wed Apr 30 2003 - 22:00:17 EST