[BusyBox] telnetd in kernel 2.6 segfaults (devfs)

Rob Landley rob at landley.net
Sat Feb 12 16:09:00 UTC 2005


On Saturday 12 February 2005 05:31 am, Ignacio García Pérez wrote:
> > > > If you do the same in kernel 2.6, no "0" file appears. The
> >
> > ptsname() call
> >
> > > > sets errno = ENOENT ("No such file...").
> > >
> > > Just confirming that you did compile in and mount devpts, right?
> >
> > I just ran into the same thing and mounting /dev/pts fixed it.
>
> Thanks. I just figured it out a couple of minutes ago.
>
> Do you happen to know why does kernel 2.6 not automount /dev/pts as 2.4
> does?

Because this is something init should do by reading /etc/fstab?  (Is /dev/pts 
in your /etc/fstab?)  The hacked knoppix I'm using has this line:

/dev/pts   /dev/pts    devpts mode=0622           0 0

Rob



More information about the busybox mailing list