Thread (5 messages) 5 messages, 4 authors, 2002-06-26

Re: [PATCH] /proc/scsi/map

From: Martin Schwenke <hidden>
Date: 2002-06-20 23:00:12
Also in: lkml

quoted
quoted
quoted
quoted
"Linus" == Linus Torvalds [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help