|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: MAKEDEV,v 1.37 1998/03/02 05:12:20 todd Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: MAKEDEV,v 1.38 1998/03/02 14:20:32 jason Exp $ |
|
|
# |
|
|
# |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
# All rights reserved. |
|
|
# All rights reserved. |
|
@ -55,7 +55,8 @@ |
|
|
# Pseudo terminals: |
|
|
# Pseudo terminals: |
|
|
# pty* set of 16 master and slave pseudo terminals |
|
|
# pty* set of 16 master and slave pseudo terminals |
|
|
# Printers: |
|
|
# Printers: |
|
|
# Call units: |
|
|
|
|
|
|
|
|
# Terminal ports: |
|
|
|
|
|
# tty[a-d] onboard zs serial ports |
|
|
# Special purpose devices: |
|
|
# Special purpose devices: |
|
|
# audio |
|
|
# audio |
|
|
# openprom |
|
|
# openprom |
|
@ -479,7 +480,8 @@ tty[a-z]) |
|
|
*) echo unknown tty device $i ;; |
|
|
*) echo unknown tty device $i ;; |
|
|
esac |
|
|
esac |
|
|
mknod tty$unit c 12 $n |
|
|
mknod tty$unit c 12 $n |
|
|
chown uucp.wheel tty$unit |
|
|
|
|
|
|
|
|
mknod cua$unit c 12 `add $n 128` |
|
|
|
|
|
chown uucp.wheel tty$unit cua$unit |
|
|
;; |
|
|
;; |
|
|
|
|
|
|
|
|
pty*) |
|
|
pty*) |
|
|