Hi all, /proc/scsi/scsi currently has a very dumb implementation of the seq_file api which causes 'cat /proc/scsi/scsi' to return with -ENOMEM when a large amount of devices are connected. This patch impelements the proper seq_file interface which prints out all devices sequentially. The use of 'get_device()/put_device()' is interesting, as it relies on ->show being called after a successful call to ->start / ->next. But the current seq_file implementation does it that way; and using ->stop doesn't quite work as it's end up being called several times for no appearent reason. But I'm all ears for a better solution. Cheers, Hannes -- Dr. Hannes Reinecke hare@suse.de SuSE Linux AG S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de