Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 20 Jun 2002 19:00:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 20 Jun 2002 19:00:11 -0400 Received: from test.inspired.net.au ([216.122.33.55]:53442 "EHLO test.inspired.net.au") by vger.kernel.org with ESMTP id ; Thu, 20 Jun 2002 19:00:09 -0400 Message-Id: <200206202259.IAA01298@thucydides.inspired.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 21 Jun 2002 08:59:19 +1000 To: Linus Torvalds Cc: Andries Brouwer , Kurt Garloff , Linux kernel list , Linux SCSI list , Patrick Mochel Subject: Re: [PATCH] /proc/scsi/map In-Reply-To: References: <20020620165553.GA16897@win.tue.nl> X-Mailer: VM 7.07 under Emacs 21.2.90.3 From: "Martin Schwenke" Reply-To: "Martin Schwenke" X-Music: Creedence Clearwater Revival / Willy and the Poor Boys / Effigy Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1115 Lines: 28 >>>>> "Linus" == Linus Torvalds 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/