From: Greg KH <gregkh@suse.de>
To: Mike Bell <mike@mikebell.org>, Linus Torvalds <torvalds@osdl.org>,
Andrew Morton <akpm@osdl.org>,
linux-kernel@vger.kernel.org
Subject: Re: [GIT PATCH] Remove devfs from 2.6.13
Date: Sat, 10 Sep 2005 22:09:06 -0700 [thread overview]
Message-ID: <20050911050906.GA6635@suse.de> (raw)
In-Reply-To: <20050910230310.GS13742@mikebell.org>
On Sat, Sep 10, 2005 at 04:03:12PM -0700, Mike Bell wrote:
> On Sat, Sep 10, 2005 at 02:52:54PM -0700, Greg KH wrote:
> > I didn't say it was a "nice" solution, fully LSB compliant and all. All
> > it is is a solution that can work for some people, if they just want a
> > small, in-kernel devfs-like solution.
>
> It's not a solution if it doesn't /work/. If you think this works for
> anyone who likes devfs, you clearly still don't understand what said
> people like about devfs in the first place.
Said people who like devfs are lazy and don't like running userspace
programs. They pretty much also are pretty restricted to embedded
systems. That's all I have been able to determine so far. Care to help
flush this profile out some?
> > And it works just fine for alsa and input devices for me, just no
> > subdirs :)
>
> What version of alsa libraries are you using that can deal with the
> device nodes in the root of /dev? I'm grepping the latest source code
> right now and I don't see it. Or is this yet another one of those facts
> you just made up? In what sense can alsa be said to work if zero alsa
> programs work?
My applogies, I used the OSS compatible module for ALSA when I tested
this out. Hey, might as well use 1990's style interfaces, for 1990's
style kernel features... :)
> > Anyway, I'm not offering it up for inclusion in the kernel tree at
> > all, but for a proof-of-concept for those who were insisting that it
> > was impossible to keep a devfs-like patchset out of the main kernel
> > tree easily.
>
> You can use ndevfs, if you don't care about your device nodes working.
> However that kind of defeats the purpose. To have a /working/ devfs-like
> solution you need the names, and currently the only way to get those is
> the devfs hooks.
Hm, ok, ALSA will not work. Can you point to anything else? Who cares
about sound on embedded systems anyway...
> Nobody is obligating you to provide a working ndevfs, but don't claim
> it's a solution when it's not. A devfs-like solution whose device nodes
> have random names which break programs is copying the form of devfs
> (exporting nodes from kernel space) and ignoring the point of devfs.
I'm claiming that the people who insisted that keeping the devfs
patchset outside of the mainline kernel was impossible. I show how to
do this with 3 calls to "add a node" and three calls to "remove a node",
in a total of only 2 different kernel files. Such a patch is _easily_
maintainable for pretty much forever outside the kernel tree. Distros
maintain patches _way_ more complex and rough than that all the time.
That is my main point about ndevfs.
thanks,
greg k-h
next prev parent reply other threads:[~2005-09-11 6:10 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-09 21:45 [GIT PATCH] Remove devfs from 2.6.13 Greg KH
2005-09-10 8:27 ` Mike Bell
2005-09-10 21:52 ` Greg KH
2005-09-10 23:03 ` Mike Bell
2005-09-11 5:09 ` Greg KH [this message]
2005-09-12 13:40 ` Steven Rostedt
2005-09-14 20:00 ` Mike Bell
2005-09-14 20:28 ` Kyle Moffett
2005-09-14 23:06 ` Greg KH
2005-09-15 2:10 ` Ioan Ionita
2005-09-10 9:03 ` [GIT PATCH] " Michael Thonke
2005-09-10 12:32 ` Douglas McNaught
2005-09-10 21:55 ` Greg KH
2005-09-10 14:15 ` J.A. Magallon
2005-09-10 23:24 ` J.A. Magallon
2005-09-10 23:30 ` Greg KH
2005-09-11 0:48 ` David Lang
2005-09-11 3:07 ` Greg KH
2005-09-11 6:08 ` David Lang
2005-09-11 7:05 ` Arjan van de Ven
2005-09-11 7:13 ` Valdis.Kletnieks
2005-09-11 7:20 ` David Lang
2005-09-11 11:02 ` Theodore Ts'o
2005-09-12 8:01 ` Martin Schlemmer
2005-09-11 17:15 ` Greg KH
2005-09-11 11:35 ` Bastian Blank
2005-09-11 11:42 ` CaT
2005-09-11 17:17 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2005-09-11 11:44 linux
2005-09-11 15:43 ` Kyle Moffett
2005-09-14 20:01 ` Mike Bell
2005-09-14 20:13 ` Kyle Moffett
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=20050911050906.GA6635@suse.de \
--to=gregkh@suse.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mike@mikebell.org \
--cc=torvalds@osdl.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