Let's take a scenario where a Linux system has booted and is running correctly. A user comes along and hotplugs a USB memory device.
The sequence of events that happen are illustrated on the diagram below:
Where does modprobe load its driver into ?
Is the driver for the requested device found in
/sys/bus/drivers after modprobe loads it or before ?
What I'm trying to establish here is the relationship between entries in
/sys/ and the events that happen on the graph above.