Subject: bin/28341: ps(1) does not understand ptyfs
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <fun@naobsd.org>
List: netbsd-bugs
Date: 11/17/2004 14:15:02
>Number:         28341
>Category:       bin
>Synopsis:       ps(1) does not understand ptyfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 17 14:15:00 +0000 2004
>Originator:     FUKAUMI Naoki
>Release:        NetBSD 2.99.10
>Organization:
	FUKAUMI Naoki
>Environment:
System: NetBSD tr1.naobsd.org 2.99.10 NetBSD 2.99.10 (TR1) #0: Wed Nov 17 16:46:34 JST 2004 root@tr1.naobsd.org:/usr/src/sys/arch/i386/compile/TR1 i386
Architecture: i386
Machine: i386
Kernel & userland is built from today's source.
>Description:
	ps(1) does not understand ptyfs style tty name.

	$ w
	10:21PM  up 4 mins, 2 users, load averages: 0.41, 0.15, 0.06
	USER     TTY     FROM              LOGIN@  IDLE WHAT
	fun      pts/0   -                10:21PM     0 w 
	fun      ttyE0   -                10:21PM     0 xinit 
	$ ps
	 PID TTY   STAT    TIME COMMAND
	  98 ttyp0 Ss   0:00.01 ksh 
	 100 ttyp0 S    0:00.01 twm 
	 102 ttyp0 R+   0:00.00 ps 
	  81 ttyE0 S+   0:00.00 xinit 
	  97 ttyE0 S    0:00.03 xterm -geometry +1+1 -n login 
	1207 ttyE0 Ss   0:00.05 -ksh 
>How-To-Repeat:
	See above.
>Fix:
	Yes, please.