Re: Christmas list for the kernel

Vojtech Pavlik
2005-11-23T17:16:49Z

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

> On 11/23/05, Marc Koschewski <marc@osknowledge.org> wrote:
> > * Jon Smirl <jonsmirl@gmail.com> [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