Re: [PATCH] /proc/scsi/map

From: Martin Schwenke (martin@meltin.net)
Date: Thu Jun 20 2002 - 17:59:19 EST


>>>>> "Linus" == Linus Torvalds <torvalds@transmeta.com> writes:

    Linus> But driverfs also gives information that /sbin/hotplug doesn't:

    Linus> [...]

    Linus> In other words, it's just a way of exposing information
    Linus> that the kernel already has, and that the kernel has to
    Linus> have _anyway_.

Does it have to be limited ot information that the kernel already has?

In particular, I'm thinking of the SCSI standard inquiry and EVPD
inquiry pages. Mike Sullivan's patch does some SCSI inquiries and
extracts information from the results. I'm wondering if the SCSI
driver could just do all of the available EVPD inquiries (available
pages are listed in the TOC on EVPD inquiry page 0), and use driverfs
to expose all of that (binary) information.

Right now the inquiries can be done from userspace using an ioctl().

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



This archive was generated by hypermail 2b29 : Sun Jun 23 2002 - 22:00:23 EST