Re: Hardware Inventory [was: Re: ISA slot detection on PCI systems?]

Andrew Morton (akpm@zip.com.au)
Mon, 07 Jan 2002 12:16:13 -0800


Patrick Mochel wrote:
>
> ...
> "What do you mean, 'don't use proc'?" (Since I already had done it).
>
> He pointed out that it was old and crufty, and already over-abused. He
> suggested that I write my own fs to do it.
>
> So I did. It was easy. I blatantly ripped off ramfs, and it worked.
>

One little problem I have with driverfs (and with the whole "everything
is a filesystem" idea) is that the infrastructure just isn't ready for
it yet.

For example, driverfs_create_dir(). That has no driverfs-specific
content at all. It's 100% mucking with VFS internals.

The more cut-n-paste-filesystems we create, the harder it all gets
to maintain. We need a library layer which simplifies and abstracts
these operations. (Says me, looking at you-know-who :)

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