[BusyBox] telnetd in kernel 2.6 segfaults (devfs)

Ignacio García Pérez iggarpe at terra.es
Sat Feb 12 20:36:33 UTC 2005


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

Nope.

I set up a minimal root filesystem which contains little more than a basic
directory structure and a statically compiles busybox binary. The
/etc/init.d/rcS script (which is called by busybox's default internal
inittab when when no /etc/inittab is found) contains just:

mount -t proc /proc /proc

When I boot this system using kernel 2.4, dev and pts filesystems get
automatically mounted.

When I boot it using kernel 2.6, only dev filesystem gets automatically
mounted.

Since I use exactly the same root filesystem in both cases, the difference
is obviously in the kernel. Maybe it's adefault behaviour that has changed
for the 2.6 series.

Nacho.



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005




More information about the busybox mailing list