On Tue, Aug 23, 2005 at 09:40:40AM -0700, Mark Haverkamp wrote: > > I'm not sure if people care about /proc/scsi, but here is a patch so you > can cat /proc/scsi/scsi when you have a large number of scsi devices. I > have over 4000 devices configured and when I would cat /proc/scsi/scsi I > would see a memory allocation error. I instead used the seq_file > iterator to display the devices. The patch is a little brute force, but > it only took about 2.5 seconds to display 4000 devices. We had this before, and the answer is: don't use /proc/scsi if you have lots of device. Don't even enable the config option. - : 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