Re: (Semi-random) thoughts on device tree structure and devfs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: der Mouse
Date: Thursday, March 11, 2010 - 8:04 am

First, a note - I asked a Linux person I work with why the penguins
switched from devfs to udevd.  He said that it was a question of
pulling relatively complex policy issues out of the kernel into
userland, the stance being that things like "users in group pix should
be able to access any USB scanner or camera devices that may appear" do
not belong in the kernel.  I'm sure this forms an argument of some sort
for NetBSD's purposes, but I'm not sure which way.

bqt wrote, of devfs and persistent state,


For your use cases, yes, perhaps.  My use cases too, most of them at
least.  But there are other use cases (some of them reasonable, even :)
which the traditional /dev does not support well, such as the "I want
the disk with UUID xyz to appear at some fixed place regardless of
whether it's on SCSI, USB, firewire, bluetooth, or what" one that's
been mentioned upthread.  Those use cases, the ones /dev does not
handle well, are what are driving devfs.

It may be that a devfs is not a good way to handle them.  But /dev
definitely is not; I don't see much alternative but to keep trying
various things until someone finds something better.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse@rodents-montreal.org
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
(Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sun Mar 7, 2:43 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Sun Mar 7, 3:12 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Sun Mar 7, 9:31 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Sun Mar 7, 9:41 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Mon Mar 8, 9:59 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Tue Mar 9, 8:25 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Tue Mar 9, 8:48 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Tue Mar 9, 9:35 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Tue Mar 9, 9:43 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Tue Mar 9, 10:46 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Tue Mar 9, 11:41 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Tue Mar 9, 11:57 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Tue Mar 9, 12:01 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Tue Mar 9, 12:23 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Tue Mar 9, 12:45 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Tue Mar 9, 12:51 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Tue Mar 9, 12:55 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Thor Lancelot Simon, (Tue Mar 9, 2:45 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Wed Mar 10, 5:57 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Wed Mar 10, 6:06 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Wed Mar 10, 6:36 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Wed Mar 10, 6:39 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Wed Mar 10, 6:46 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Wed Mar 10, 6:50 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Wed Mar 10, 7:41 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Wed Mar 10, 1:53 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Johnny Billquist, (Thu Mar 11, 7:32 am)
Re: (Semi-random) thoughts on device tree structure and devfs, der Mouse, (Thu Mar 11, 8:04 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Joerg Sonnenberger, (Thu Mar 11, 10:18 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Thu Mar 11, 11:37 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eric Haszlakiewicz, (Thu Mar 11, 11:42 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Quentin Garnier, (Thu Mar 11, 11:47 am)
Re: (Semi-random) thoughts on device tree structure and devfs, Eduardo Horvath, (Thu Mar 11, 12:06 pm)
Re: (Semi-random) thoughts on device tree structure and devfs , Matthias Drochner, (Thu Mar 11, 1:45 pm)
Re: (Semi-random) thoughts on device tree structure and devfs , Matthias Drochner, (Thu Mar 11, 2:24 pm)
Re: (Semi-random) thoughts on device tree structure and devfs , Matthias Drochner, (Fri Mar 12, 1:20 pm)
Re: (Semi-random) thoughts on device tree structure and devfs , Matthias Drochner, (Fri Mar 12, 4:37 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 10:51 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:00 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:08 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:11 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:16 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:25 pm)
Re: (Semi-random) thoughts on device tree structure and devfs, Masao Uebayashi, (Sat Mar 13, 11:33 pm)