Re: Christmas list for the kernel

From: Vojtech Pavlik
Date: Wed Nov 23 2005 - 12:16:31 EST


On Wed, Nov 23, 2005 at 12:13:06PM -0500, Jon Smirl wrote:

> On 11/23/05, Marc Koschewski <marc@xxxxxxxxxxxxxxx> wrote:
> > * Jon Smirl <jonsmirl@xxxxxxxxx> [2005-11-23 11:59:27 -0500]:
> > > Another would be to have a little user space daemon that listened to
> > > the pty creation, and then mknod the tty nodes as need and pipe the
> > > data through. That would be a first step to moving to a user space
> > > console implementation.
> >
> > Shouldn't this be udev then? I hear people scream when 'some deamon'
> > created a device in /dev. Was it udev? Was is 'ttydevd'? Even
> > 'ondemanddevd'?
>
> udev listens to /sys/class for it's indications on when to create a node.
>
> The tty daemon would need to listen for pty creation to tell it when
> to create a node. Then after it creates the node it needs to maintain
> a pipe between the pty and tty. This is a lot different than what udev
> does.

Except for that it wouldn't work for a reason I've described earlier, it
could well be launched from udev.

--
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/