devfs vs. devpts

From: Ian Soboroff (ian@cs.umbc.edu)
Date: Fri Mar 16 2001 - 08:45:35 EST


I'm running 2.4.2ac7, and am having problems with Unix98 ptys.
Occasionally rxvt and Eterm fail to run because they can't get
permission to create their entry in /dev/pts. So i wondered if i have
a devfs problem, which led me to the following...

In Documentation/filesystems/devfs/README, it is thus written:

        Disable devpts
        I've had a report of devpts mounted on /dev/pts
        not working correctly. Since devfs will also manage /dev/pts,
        there is no need to mount devpts as well. You should either
        edit your /etc/fstab so devpts is not mounted, or disable
        devfs from your kernel configuration.

i don't have devpts mounted under 2.4.2 (debian checks whether you
have devfs before mounting devpts), so i tried building my kernel with
Unix 98 pty support but without the devpts filesystem. i get the
following error at the very end of 'make bzImage':

drivers/char/char.o: In function `pty_close':
drivers/char/char.o(.text+0x6646): undefined reference to `devpts_pty_kill'
make: *** [vmlinux] Error 1

so the devfs documentation is wrong; pty_close depends on
functionality from devpts. and secondly, has anyone else had problems
under 2.4.x creating entries in /dev/pts?

ian

-- 
----
Ian Soboroff                                       ian@cs.umbc.edu
University of MD Baltimore County      http://www.cs.umbc.edu/~ian
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 23 2001 - 21:00:08 EST