From: Mark Mielke <mark@mark.mielke.cc>
To: Ian Kent <raven@themaw.net>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: DevFS vs. udev
Date: Tue, 23 Dec 2003 12:34:29 -0500 [thread overview]
Message-ID: <20031223173429.GA9032@mark.mielke.cc> (raw)
In-Reply-To: <Pine.LNX.4.44.0312240005180.4342-100000@raven.themaw.net>
On Wed, Dec 24, 2003 at 12:19:00AM +0800, Ian Kent wrote:
> When this thread first started I had a look at the code and, I must admit,
> it is a little untidy (ugly actually). I think it would require a
> considerable amount of effort just to make it maintainable. Maybe then
> some of the problems (whatever they are) would present themselves.
> So it's deprecated in 2.6. Is this only because no one is willing to take
> on maintenance of it or is it to late?
In true open source style, it is never too late.
All you need to do is convince enough influential people to include *your*
fixes into the tree. At this point in time, it looks like you would need
to improve the devfs code quite a bit to change their minds. udev, once
implemented, will be elegant (interface-wise) competition.
The arguments against udev that I have seen to date are:
1) Device metadata does not belong in user space. To this, I say 'why'?
For *decades*, /dev has existed as a file system without *any* kernel
support. udev follows in these steps. devfs is the drastically
different model that has been difficult to make work right in all
circumstances. /dev has a file system only had problems of capacity.
2) udev is slow. To this, I say 'prove it'. Why should it be slow?
As a tmpfs file system, I *assume* that the vfs name lookup routines
are implemented quite efficiently. What would make udev be slow?
How often are devices added and removed from the kernel? Does anybody
have a real life scenario where a kernel model is added and removed
hundreds of times a second?
3) udev takes up more memory. Why should this be the case? It is in
user space, meaning that for a running system, it, and it's
configuration file don't even need to take up swap space. The only
space requirements are those dictated by the file system. For tmpfs
I doubt the space is that much more than devfs (both need kernel
data structures to be initialized and in existence). For a regular
file system, it isn't a fair comparison, but the cost should be
quite minimal. They're device files. They don't have data outside
their inode structure.
I blame the udev people for this thread. :-) They should have their beast
*finished* already, and their sales skills need to be improved. Volunteer
techies! Hehe...
mark
--
mark@mielke.cc/markm@ncf.ca/markm@nortelnetworks.com __________________________
. . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
|\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
| | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada
One ring to rule them all, one ring to find them, one ring to bring them all
and in the darkness bind them...
http://mark.mielke.cc/
next prev parent reply other threads:[~2003-12-23 18:01 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-23 11:51 DevFS vs. udev Bradley W. Allen
2003-12-23 12:06 ` Duncan Sands
2003-12-23 12:12 ` Xavier Bestel
2003-12-23 12:37 ` Marcelo Bezerra
2003-12-23 13:02 ` Ed Tomlinson
2003-12-25 12:11 ` Kai Henningsen
2003-12-23 14:30 ` Paul Dickson
2003-12-23 23:23 ` Bradley W. Allen
2003-12-23 23:46 ` Brett
2003-12-24 4:01 ` alex.g.goddard.1
2003-12-23 16:19 ` Ian Kent
2003-12-23 17:34 ` Mark Mielke [this message]
2003-12-23 22:02 ` Greg KH
2003-12-23 22:13 ` Tomasz Torcz
2003-12-24 0:45 ` Martin Schlemmer
2003-12-24 1:07 ` Greg KH
2003-12-24 1:22 ` memory mapping help - oracle stack dumps Paul
2003-12-27 21:13 ` Francois Romieu
2003-12-24 1:28 ` DevFS vs. udev Martin Schlemmer
2003-12-23 21:59 ` Greg KH
2003-12-24 1:52 ` Ian Kent
2003-12-24 2:03 ` Rob Love
2003-12-24 2:21 ` Ian Kent
2003-12-24 2:22 ` Rob Love
2003-12-24 2:32 ` Stan Bubrouski
2003-12-24 2:39 ` Rob Love
2003-12-24 2:38 ` Andrew Morton
2003-12-24 3:41 ` viro
2003-12-24 11:33 ` Witukind
2003-12-24 4:13 ` Rusty Russell
2003-12-24 4:38 ` Stan Bubrouski
2003-12-24 11:15 ` Xavier Bestel
2003-12-24 13:44 ` Ian Soboroff
2003-12-24 14:17 ` Xavier Bestel
-- strict thread matches above, loose matches on Subject: below --
2003-10-07 12:38 devfs " Måns Rullgård
2003-10-07 13:41 ` Andreas Jellinghaus
2003-10-07 14:07 ` Måns Rullgård
2003-10-07 14:23 ` Robert L. Harris
2003-10-07 14:29 ` Måns Rullgård
2003-10-07 16:06 ` Andreas Jellinghaus
2003-10-07 16:11 ` Måns Rullgård
2003-10-07 16:14 ` Robert L. Harris
2003-10-07 16:54 ` Hugo Mills
2003-10-07 17:19 ` Måns Rullgård
2003-10-07 17:47 ` Greg KH
2003-10-07 17:49 ` Greg KH
2003-10-07 17:58 ` Hugo Mills
2003-10-07 18:10 ` Greg KH
2003-10-09 13:43 ` Ian Kent
2003-10-09 20:54 ` Greg KH
2003-10-07 17:55 ` Greg KH
2003-10-14 13:51 ` Ian Kent
2003-10-17 4:34 ` Greg KH
2003-10-07 17:54 ` Greg KH
2003-10-07 14:01 ` tabris
2003-10-07 17:53 ` Greg KH
2003-10-07 18:24 ` viro
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=20031223173429.GA9032@mark.mielke.cc \
--to=mark@mark.mielke.cc \
--cc=linux-kernel@vger.kernel.org \
--cc=raven@themaw.net \
/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