Re: [PATCH] Use proper seq_file api for /proc/scsi/scsi

From: Christoph Hellwig
Date: Thu Apr 07 2005 - 05:35:11 EST


On Thu, Apr 07, 2005 at 11:46:27AM +0200, Hannes Reinecke wrote:
> 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.

/proc/scsi/scsi is deprecated and even only compiled in if
"legacy /proc/scsi/ support" is enabled. Please move over to lssci which
is using sysfs ASAP.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/