On Thu, 2 Nov 2000, S A McConnell wrote:
> init-2.03# cat /proc/mounts
> /dev/root / ext2 rw 0 0
> none /proc proc rw 0 0
> none /dev/pts devpts rw 0 0
> none /proc proc rw 0 0
> none /proc proc rw 0 0
>
> It appears to be mounted. Does anyone have a suggestion for a simple way
> to test the pseudo terms?
If you have devices in /dev/pts/ directory it is working.
[stewart@zathras stewart]$ ls /dev/pts -l|wc
14 132 765
[open an xterm]
[stewart@zathras stewart]$ ls /dev/pts -l|wc
15 142 824
So you can see I'm using them, as my xterms use pts devices. You should
be able to try the same with your sample program.
Any recent ssh will also use /dev/pts ptys. As well if you do
'ps aux|grep pts' and get entries of the form
stewart 868 0.0 1.1 2448 1444 pts/13 S 09:10 0:00 bash
for your program...
Make sense?
-Rms
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm