[BusyBox] [PATCH]: CONFIG_FEATURE_DEVPTS

Vladimir N. Oleynik dzo at simtreas.ru
Mon Nov 4 10:33:02 UTC 2002


Pavel,

> In the CVS busybox, networking/telnetd.c uses a preprocessor symbol
> HAVE_DEVPTS_FS that is not set anywhere.  This means that telnetd uses old
> BSD-style pseudoterminals unless somebody edits telnetd.c.  That's wrong.
> 
> devfs always provides Unix 98 pseudoterminals.  Also it's possible to use
> a special devpts filesystem and mount it on /dev/pts.
> 
> My patch makes using Unix 98 pseudoterminals a configurable parameter.
> The patch is attached.

Hmm. I don`t like the dependence from your path: 

if [ "$CONFIG_FEATURE_DEVFS" = "y" ]; then
+  define_bool $CONFIG_FEATURE_DEVPTS   

I don`t use dev filesystem but use pts filesystem.


--w
vodz



More information about the busybox mailing list