diff options
author | Bruce Evans <bde@FreeBSD.org> | 1995-04-28 07:39:21 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1995-04-28 07:39:21 +0000 |
commit | d45ae51059837159ae4c907b097c109f446dfd46 (patch) | |
tree | b61a97f09b07f87cd5d3d5cf5ef828a65e76571b /etc/MAKEDEV | |
parent | 2966c8b3da672bcf9bb64d564142ea9a4bbad35b (diff) | |
download | src-d45ae51059837159ae4c907b097c109f446dfd46.tar.gz src-d45ae51059837159ae4c907b097c109f446dfd46.zip |
Add cyclades serial devices cuac*, cuaic*, cualc*, ttyc*, ttyic* and ttylc*.
Notes
Notes:
svn path=/head/; revision=8120
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r-- | etc/MAKEDEV | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV index 224d69713e0c..586e5b0d22c9 100644 --- a/etc/MAKEDEV +++ b/etc/MAKEDEV @@ -83,7 +83,7 @@ # isdn* ISDN devices # labpc* National Instrument's Lab-PC and LAB-PC+ # -# $Id: MAKEDEV,v 1.84 1995/04/26 08:07:30 bde Exp $ +# $Id: MAKEDEV,v 1.85 1995/04/28 00:51:02 dufault Exp $ # PATH=/sbin:/bin/:/usr/bin:/usr/sbin: @@ -625,6 +625,28 @@ tty0?|ttyd?|tty?) chown root.wheel tty*d$unit ;; +cuac?) + umask 7 + unit=`expr $i : 'cua.*\(.\)$'` + rm -f cua*c$unit + m=`ttyminor $unit` + mknod cuac$unit c 48 `expr $m + 128` + mknod cuaic$unit c 48 `expr $m + 32 + 128` + mknod cualc$unit c 48 `expr $m + 64 + 128` + chown uucp.dialer cua*c$unit + umask 77 + ;; + +ttyc?) + unit=`expr $i : 'tty.*\(.\)$'` + rm -f tty*c$unit + m=`ttyminor $unit` + mknod ttyc$unit c 48 $m + mknod ttyic$unit c 48 `expr $m + 32` + mknod ttylc$unit c 48 `expr $m + 64` + chown root.wheel tty*c$unit + ;; + cuar?) umask 7 unit=`expr $i : 'cua.*\(.\)$'` |