9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ggm@apnic.net
To: 9fans@cse.psu.edu
Subject: [9fans] Rest of the world waking up to filesystem based name models?
Date: Wed, 26 Jun 2002 13:02:39 +1000	[thread overview]
Message-ID: <7155.1025060559@garlic.apnic.net> (raw)
In-Reply-To: Your message of "Tue, 25 Jun 2002 21:58:34 -0400." <7b2da9c3f29b1a4d0c352b4167dd4757@plan9.bell-labs.com>


 From LWN, on some hubristical ottowa kernel summit

http://lwn.net/Articles/3327/

-----------
	:
	:

The other approach was presented by Patrick Mochel. As part of his ongoing
driver model work, he implemented "driverfs," the driver filesystem. driverfs
is a virtual filesystem initially developed as a debugging tool; it is a
convenient way of looking at the structure of the device tree. The facilities
provided by driverfs are similar to those provided by Rusty's scheme;
driverfs, too, is type-safe and easy to set up. It is also, for now, limited
to device drivers only; the question is whether it should be expanded to
handle kernel parameters in general.

While no conclusions were drawn in the session, driverfs looks (to your
author) like it is here to stay, since it so nicely incorporates the system's
structure in the filesystem it creates. It just needs to be expanded to cover
all of the other types of parameters in the system (i.e. VM, networking, etc.)
that are not directly associated with devices. A merger with some variant
Rusty's scheme would help in that regard, and seems likely at some point.

Linus pointed out that he would like to see a single, integrated filesystem
that includes all such information. Thus, for example, the "fsfs" that
provides filesystem information can include links to the underlying devices
holding those filesystems. Module information can link to the associated
driver and devices. Such a filesystem, he said, makes the linkages in the
system visible and explicit.

Eventually, /proc could be phased out in favor of a driverfs-like system, with
a "one file, one value" rule. This change really has to begin in 2.5, since
/proc has to be supported for at least one more stable kernel cycle. Expect to
see more activity in this area in the near future.

	:
	:




      reply	other threads:[~2002-06-26  3:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-26  1:58 [9fans] rtl8139 ether driver jmk
2002-06-26  3:02 ` ggm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7155.1025060559@garlic.apnic.net \
    --to=ggm@apnic.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).