[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pty device minor numbers changed in -current
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: pty device minor numbers changed in -current
- From: "Todd C. Miller" <Todd_(_dot_)_Miller_(_at_)_courtesan_(_dot_)_com>
- Date: Mon, 12 Apr 2004 14:45:18 -0600
For people tracking -current (this is post-3.5 stuff).
This is also in http://www.openbsd.org/faq/upgrade-minifaq.html#3.5.1
The device minor numbers of pty devices have changed to increase
the maximum number of pseudo-terminals from 256 to 992, so you will
need to run the updated /dev/MAKEDEV before booting the new kernel:
o Update your source code tree
o Build and install a new kernel
o Build the rest of the system (make build)
o Copy the new MAKEDEV script to the dev directory and create the new
pty devices.
# cp /usr/src/etc/etc.`machine`/MAKEDEV /dev
# cd /dev && ./MAKEDEV pty0
o Boot the new kernel
o Remove the old pty devices no longer in use:
# cd /dev && rm -f [pt]ty[rq]*
Or, for the vax platform:
# cd /dev && rm -f [pt]tyr*
Visit your host, monkey.org