Re: [Pcihpd-discuss] Re: Is there a user space pci rescan method?

From: Rolf Eike Beer
Date: Fri Sep 24 2004 - 08:16:05 EST


Am Freitag, 24. September 2004 15:09 schrieb Matthew Wilcox:
> On Fri, Sep 24, 2004 at 02:16:09PM +0200, Jan Dittmer wrote:
> > My point was, I load dummyphp with showunused=0 and only get dirs for the
> > slots with devices in them. Now I decide to put a network card (or
> > whatever I have to spare) in an empty slot, hope that the system doesn't
> > reboot immediately, and voila I don't have any /sys/bus/pci/slots dir to
> > enable the slot and have to reboot nevertheless. Or does the pci system a
> > rescan if I reinsert the module?
>
> That is DANGEROUS and WILL DESTROY YOUR SYSTEM. Under no circumstances
> should we be encouraging people to do that.

Yes, and that's why there a big comments as well in the Kconfig help as well
as in the source of both dummyphp and fakephp.

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