From mboxrd@z Thu Jan 1 00:00:00 1970 From: Norbert Sendetzky Subject: Re: [RFC] per-driver filesystems made easy Date: Sun, 12 May 2002 15:03:38 -0100 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <200205121503.38502.norbert@linuxnetworks.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: linux-fsdevel@vger.kernel.org Return-path: To: Alexander Viro In-Reply-To: List-Id: linux-fsdevel.vger.kernel.org On Saturday 11 May 2002 19:53, Alexander Viro wrote: > It's a toy driver - PCI side is completely trivial (I wanted to get > temperature readings from VIA-based motherboard without screwing > with lm-sensors). I've never done PCI drivers before and didn't > want to mess with anything more complex than that. > > It exports a small tree (it's trivial to extend adding more > readings, etc., but again, that's not the point). Right now all it > got is 3 files - readings from 3 sensors. You say > # mount -t devvia pci0:7.4 /mnt > and you've got /mnt/temp{1,2,3}. I am wondering if this information isn't something that should be located in a subdirectory of /proc, shouldn't it? And perhaps it could be extended to support more chipsets by loading additional modules. Just my 2ct ;-) Norbert