public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Ed Sweetman <ed.sweetman@wmich.edu>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: devfs to be obsloted by udev?
Date: Tue, 2 Sep 2003 11:20:25 -0700	[thread overview]
Message-ID: <20030902182025.GA18397@kroah.com> (raw)
In-Reply-To: <3F54A4AC.1020709@wmich.edu>

On Tue, Sep 02, 2003 at 10:09:48AM -0400, Ed Sweetman wrote:
> It appears that devfs is to be replaced by the use of udev in the not so 
> distant future.

Possibly.  There are some things that udev can not do that only devfs in
the kernel can do.  For those who need those things, devfs will be
required.

I'm just offering people a choice :)

> I'm not sure how it's supposed to replace a static /dev situaton
> seeing as how it is a userspace daemon.  Is it not supposed to replace
> /dev even when it's completed?

Yes.

Think of a userspace daemon using mknod and rm to manage device nodes
dynamically.

> I dont see the real benefit in having two directories that basically
> give the same info.

What "two directories"?  udev can handle /dev.  What other directory are
you talking about?

> Right now we have something like that with proc and sysfs although not
> everything in proc makes sense to be in sysfs and both are virtual
> fs's where as /dev is a static fs on the disk that takes up space and
> inodes and includes way too many files that a system may not use.

Then delete your /dev and use udev to manage it.

Well, don't do that today, we aren't quite yet there :)

> If udev is to take over the job of devfs, how will modules and drivers
> work that require device files to be present in order to work since
> undoubtedly the udev daemon will have to wait until the kernel is done
> booting before being run.

udev can run out of initramfs which is uncompressed before any busses
are probed.

For more details, please read my OLS 2003 paper about udev.

> I'm just not following how it is going to replace devfs and thus why 
> devfs is being abandoned as mentioned in akpm's patchset. Or as it 
> seems, already has been abandoned.

The devfs code base has been abandoned by its original
author/maintainer.  udev has nothing to do with that.

Hope this helps,

greg k-h
-
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/
On Tue, Sep 02, 2003 at 10:09:48AM -0400, Ed Sweetman wrote:
> It appears that devfs is to be replaced by the use of udev in the not so 
> distant future.

Possibly.  There are some things that udev can not do that only devfs in
the kernel can do.  For those who need those things, devfs will be
required.

I'm just offering people a choice :)

> I'm not sure how it's supposed to replace a static /dev situaton
> seeing as how it is a userspace daemon.  Is it not supposed to replace
> /dev even when it's completed?

Yes.

Think of a userspace daemon using mknod and rm to manage device nodes
dynamically.

> I dont see the real benefit in having two directories that basically
> give the same info.

What "two directories"?  udev can handle /dev.  What other directory are
you talking about?

> Right now we have something like that with proc and sysfs although not
> everything in proc makes sense to be in sysfs and both are virtual
> fs's where as /dev is a static fs on the disk that takes up space and
> inodes and includes way too many files that a system may not use.

Then delete your /dev and use udev to manage it.

Well, don't do that today, we aren't quite yet there :)

> If udev is to take over the job of devfs, how will modules and drivers
> work that require device files to be present in order to work since
> undoubtedly the udev daemon will have to wait until the kernel is done
> booting before being run.

udev can run out of initramfs which is uncompressed before any busses
are probed.

For more details, please read my OLS 2003 paper about udev.

> I'm just not following how it is going to replace devfs and thus why 
> devfs is being abandoned as mentioned in akpm's patchset. Or as it 
> seems, already has been abandoned.

The devfs code base has been abandoned by its original
author/maintainer.  udev has nothing to do with that.

Hope this helps,

greg k-h

  reply	other threads:[~2003-09-02 18:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-02 14:09 devfs to be obsloted by udev? Ed Sweetman
2003-09-02 18:20 ` Greg KH [this message]
2003-09-02 14:32   ` Ed Sweetman
2003-09-02 18:44     ` Greg KH
2003-09-02 23:56     ` Kurt Wall
2003-09-02 20:19 ` Bartlomiej Zolnierkiewicz
2003-09-03  9:38   ` Justin Cormack
2003-09-03 18:41     ` Greg KH
2003-09-03 19:06       ` Bryan O'Sullivan
2003-09-03 19:17       ` Sam Ravnborg
2003-09-03 21:09         ` Bryan O'Sullivan

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=20030902182025.GA18397@kroah.com \
    --to=greg@kroah.com \
    --cc=ed.sweetman@wmich.edu \
    --cc=linux-kernel@vger.kernel.org \
    /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