Re: /dev/pts/n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dermot Paikkos wrote:

> The crux of my problem is the database frontend has a table of 
> terminal definitions which I have defined as /dev/pts/0....50. Now 
> from what you have said (and I have seen it in action now) the only 
> way to create files in /dev/pts/ is to ssh into the system. However 
> the database frontend is a java-terminal that operates out of a 
> browser window. I don't think it knows how to open a pty.
> 
> I have tried to use mknod to create devices and I get operation not 
> permitted. So I am a bit stuck at the moment.

You cannot create additional Unix98 ptys manually. Every time you open
/dev/ptmx, a new slave is created automatically in /dev/pts/.

You may be able to use BSD ptys (/dev/pty[p-za-e][0-9a-f] and
/dev/tty[p-za-e][0-9a-f]), which are created statically. However, the
application will need to be designed to use BSD ptys and not Unix98
ptys.

-- 
Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx>
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux