Messages in this thread | | | Date | Sat, 11 Dec 1999 00:21:25 -0500 | From | Douglas Gilbert <> | Subject | Re: SCSI probing? |
| |
> This might be obvious to someone, but not to me, so I figured I'd ask > here. > > How do I, from kernel space, make the SCSI system re-probe for devices? > The best way I've found so far is to basically make the same function call > that doing an echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi does > -- that looks safe, but is there a better way?
Another way is to build your scsi adapter driver as a module and rmmod it and insmod it again. Naturally this isn't a good idea if your root file system resides on the effected scsi bus.
Doug Gilbert P.S. Perhaps you could ask again on the linux-scsi newsgroup.
- 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/
| |