From aacc044363df468eea486e6be1f047e8d49c4066 Mon Sep 17 00:00:00 2001 From: jason <> Date: Mon, 2 Mar 1998 14:20:32 +0000 Subject: [PATCH] add cua devices for tty[a-d] --- src/etc/etc.sparc/MAKEDEV | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/etc/etc.sparc/MAKEDEV b/src/etc/etc.sparc/MAKEDEV index 7aefdb8a..bcee8fef 100644 --- a/src/etc/etc.sparc/MAKEDEV +++ b/src/etc/etc.sparc/MAKEDEV @@ -1,6 +1,6 @@ #!/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. # All rights reserved. @@ -55,7 +55,8 @@ # Pseudo terminals: # pty* set of 16 master and slave pseudo terminals # Printers: -# Call units: +# Terminal ports: +# tty[a-d] onboard zs serial ports # Special purpose devices: # audio # openprom @@ -479,7 +480,8 @@ tty[a-z]) *) echo unknown tty device $i ;; esac 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*)