Re: scsi proc_info called unconditionally

From: Christoph Hellwig
Date: Sun Aug 17 2003 - 05:10:37 EST


On Sun, Aug 17, 2003 at 10:56:17AM +0100, Alan Cox wrote:
> It probably should give the driver name and version. Christoph is
> right in the longer term but in the real world people still expect
> /proc/scsi/* to contain at least that info.

/proc/scsi/* is not standardized so even if you add a name no
userspace tool can sanely parse it without knowing all drivers.
sysfs OTOH can do this sanely.

So, no it does not make sense to add anything here for a 2.6 driver.

> Possibly for 2.7.x /proc/scsi/* should become an fs or entirely sysfs

/proc/scsi/ will be optional and marked deprecated with with one of my
next patches and go away in 2.9.

-
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/