lkml.org 
[lkml]   [2003]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: State of devfs in 2.6?
On Tue, Dec 09, 2003 at 09:21:56AM +0100, Holger Schurig wrote:
> Devfs for embedded devices is just great. It's all in the kernel, no
> external process to run (I use my embedded stuff without devfsd). I'm using
> it for about one year with various kernels.

I don't see why 'all in the kernel' is the best approach, embedded or
otherwise. I believe udev is being written to execute with a minimal
runtime environment. No glibc, or other such beasts.

> * space. devfs doesn't eat space like the MAKEDEV approach.

Can you prove this? tmpfs doesn't seem to take up much space, and given
that only devices that exist will require data structures in both cases,
it seems to me that the issue is a little irrelevant in either case.

> * simplicity: I run my system without devfsd and without an initial ramdisk.
> All needed modules are simply compiled into the kernel.

Isn't this an argument for udev?

> * No need for overcomplification, e.g a process that has to be started
> before userspace touches /dev, a specially compiled uclibc-based proggy in
> an initrd

Many of us believe that devfs is 'over-complification'.

> So, when /dev is accessed by userspace, all is there and well.

True in either case...

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/

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.102 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site