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

From: Andrew Morton (
Date: Mon Jan 07 2002 - 15:16:13 EST

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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:36 EST