Current-Users archive

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

Re: vi: /dev/pts/2: No such file or directory



On Sun, Aug 09, 2009 at 10:35:56AM +0100, Iain Hibbert wrote:
> do you have ptyfs in /etc/fstab or otherwise mounted?
> 
> % mount
> /dev/wd0a on / type ffs (local)
> /dev/wd0e on /var type ffs (log, local)
> /dev/wd0f on /home type ffs (local)
> kernfs on /kern type kernfs (local)
> ptyfs on /dev/pts type ptyfs (local)
> /var/cvs/NetBSD-current/src on /usr/src type umap (nosuid, nodev, local)
> /var/cvs/NetBSD-current/xsrc on /usr/xsrc type umap (nosuid, nodev, local)
> /var/cvs/pkgsrc-current on /usr/pkgsrc type umap (nosuid, nodev, local)
> /var/cvs/pkgsrc-wip on /usr/pkgsrc/wip type null (nosuid, nodev, local)
> 
> why vi wants ptyfs I don't know, but /dev/pts/2 is stderr, AFAIK

# mount | grep pty
ptyfs on /dev/pts type ptyfs (local)

Seems so, though I don't remember enabling it.

# ll /dev/pts
total 37
dr-xr-xr-x  1 root  wheel    512 Jan  1  1970 .
drwxr-xr-x  7 root  wheel  35840 Jul 14 10:45 ..
crw-------  1 wiz   tty     5, 0 Aug  9 11:36 0
crw--w----  1 wiz   tty     5, 1 Aug  9 11:36 1
crw--w----  1 wiz   tty     5, 2 Aug  9 11:35 2
crw-------  1 wiz   tty     5, 3 Aug  9 11:36 3
crw-------  1 wiz   tty     5, 4 Aug  9 11:35 4
crw-------  1 wiz   tty     5, 5 Aug  9 11:36 5
crw-------  1 wiz   tty     5, 6 Aug  9 11:36 6
crw-------  1 wiz   tty     5, 7 Aug  9 11:36 7

 Thomas


Home | Main Index | Thread Index | Old Index