Subject: ptyfs problem?
To: None <current-users@netbsd.org>
From: Rui Paulo <rpaulo@netbsd-pt.org>
List: current-users
Date: 05/06/2005 13:20:02
Hi,
in a GENERIC kernel, I can't mount a ptyfs filesystem:
# ls -ld /dev/pts                                                        
drwxr-xr-x  2 root  wheel  512 Apr 16 09:21 /dev/pts
# ktrace mount_ptyfs -o ro ptyfs /dev/pts 
mount_ptyfs: ptyfs on /dev/pts: Operation not supported by device
# kdump
[...]
 13988 mount_ptyfs CALL  open(0xeff8b1bc,0,0x1b6)
 13988 mount_ptyfs NAMI  "/etc/group"
 13988 mount_ptyfs RET   open 3
 13988 mount_ptyfs CALL  __fstat13(3,0xffffcf00)
 13988 mount_ptyfs RET   __fstat13 0
 13988 mount_ptyfs CALL  read(3,0x1817000,0x2000)
 13988 mount_ptyfs GIO   fd 3 read 341 bytes
[...]
 13988 mount_ptyfs RET   read 341/0x155
 13988 mount_ptyfs CALL  close(3)
 13988 mount_ptyfs RET   close 0
 13988 mount_ptyfs CALL  __lstat13(0xffffd600,0xffffcd40)
 13988 mount_ptyfs NAMI  "/dev"
 13988 mount_ptyfs RET   __lstat13 0
 13988 mount_ptyfs CALL  __lstat13(0xffffd600,0xffffcd40)
 13988 mount_ptyfs NAMI  "/dev/pts"
 13988 mount_ptyfs RET   __lstat13 0
 13988 mount_ptyfs CALL  mount(0x18010d0,0xffffd600,1,0xffffd5f0)
 13988 mount_ptyfs NAMI  "/dev/pts"
 13988 mount_ptyfs RET   mount -1 errno 19 Operation not supported by device


This is on macppc 3.99.3 and i386 3.99.3. My i386 running 3.0_BETA
mounts it perfectly.

What could be the cause ?

-- 
Rui Paulo <rpaulo@netbsd-pt.org>