Christoph Hellwig wrote on 11.08.2005 18:40:03: > On Thu, Aug 11, 2005 at 05:44:46PM +0200, Harald Seipp wrote: > > Thank you for your quick responses! It finally looks like the task I need > > to do - fully rescan all hosts for newly attached/changed devices - must > > include the logic to skip devices with mounted fs for 2.6. > > Why do you want to rescan a full bus anyway? What SCSI transport do you > want this for? All transports where new targets can be hot-plugged should > be doing automatic scanning already. Old-fashioned parallel SCSI bus and FC/SAN where there are no hot-plug events AFAIK. Rescanning is required for device diagnostics. Diagnostic usage will also demand online device exchange - testing multiple devices, one after another. Harald Seipp IBM Systems and Technology Group - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html