Subject: Re: matlab and the new ptys
To: Juan RP <juan@xtrarom.org>
From: Simon Burge <simonb@wasabisystems.com>
List: current-users
Date: 09/23/2005 03:09:58
Juan RP wrote:

> On Thu, 22 Sep 2005 16:35:58 +0000
> Hauke Fath <hf@spg.tu-darmstadt.de> wrote:
> 
> > Hi,
> > 
> > starting matlab R13 on a netbsd-3 machine with suse 9.1 packages 
> > installed gives me (ktrace'd):
> 
> [..]
> >         "\^B\0\0\0\^B\0\0\0/dev/ptyp2\0\0\0\0\0\0/dev/ttyp2\0\0\0\0\0
> > \0" 746 matlab   RET   ioctl 0
> >     746 matlab   CALL  stat64(0xbfbf9ad0,0xbfbf9a20)
> >     746 matlab   NAMI  "/emul/linux/dev/pts/2"
> >     746 matlab   NAMI  "/dev/pts/2"
> 
> Do you have /dev/pts mounted with mount_ptyfs?
> 
> I think you need this...

Note that on the netbsd-3 branch, the only reference to ptyfs in any
kernel config file for any arch is in i386/conf/GENERIC.MPACPI where
it says:

  #file-system   PTYFS           # experimental - /dev/ptm support

and mount_ptyfs(8) says:

  BUGS
     This filesystem may not be NFS-exported.  This filesystem is experimen-
     tal.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/