Subject: pkg/30722: cannot open /dev/ptmx in Darwin8.1.0
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <k-1@yk.rim.or.jp>
List: pkgsrc-bugs
Date: 07/11/2005 15:47:00
>Number: 30722
>Category: pkg
>Synopsis: cannot open /dev/ptmx in Darwin8.1.0
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 11 15:47:00 +0000 2005
>Originator: ODA Terutaka
>Release: NetBSD 3.99.3/gnome-vfs2-2.10.1
>Organization:
>Environment:
Darwin lapis.arara.rim.or.jp 8.1.0 Darwin Kernel Version 8.1.0:
Tue May 10 18:16:08 PDT 2005;
root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc
>Description:
It is patched by patch-ar not to use posix_openpt(3) in
__APPLE__ and, as a result, opens direct "/dev/ptmx" in
_gnome_vfs_pty_getpt().
However, posix_openpt(3) works in Darwin-8.1.0, but
_gnome_vfs_pty_getpt() fails in "/dev/ptmx" because there is
not it.
[lapis:sysutils/gnome-vfs2/patches] root# uname -a
Darwin lapis.arara.rim.or.jp 8.1.0 Darwin Kernel Version 8.1.0:
Tue May 10 18:16:08 PDT 2005;
root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc
[lapis:sysutils/gnome-vfs2/patches] root# ls -l /dev/ptmx
ls: /dev/ptmx: No such file or directory
[lapis:sysutils/gnome-vfs2/patches] root# man -k posix_openpt
grantpt(3), ptsname(3), unlockpt(3), posix_openpt(3) -
pseudo-terminal access functions
>How-To-Repeat:
>Fix: