pkgsrc-Users archive

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

Re: cannot start xterm on NetBSD-4.0



 Somebody said:
> > You can add this to MAKEDEV under "init)":
> >     makedev ptm
> >     mkdir -m 0755 /dev/pts

Ignoring why you want this, and commenting only on how to achieve what
you want: That mkdir line should be

        makedir pts 0755

Using an absolute directory names does the wrong thing when somebody
invokes MAKEDEV in a directory other than /dev.  Using a raw mkdir
command instead of the makedir function does the wrong thing when
MAKEDEV is invoked in mtree mode (which is also invoked internally
in some other modes).

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index