add vmegen and wsfont devices

This commit is contained in:
drochner 2001-09-03 18:18:25 +00:00
parent 3b5dda2596
commit 19e9e70941
1 changed files with 20 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: MAKEDEV,v 1.139 2001/08/01 20:54:17 ad Exp $ # $NetBSD: MAKEDEV,v 1.140 2001/09/03 18:18:25 drochner 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.
@ -844,6 +844,25 @@ i4btrc*)
chmod 600 i4btrc$unit chmod 600 i4btrc$unit
;; ;;
vmegen)
sh $0 vmegen0 vmegen1 vmegen2 vmegen3
;;
vmegen*)
unit=${i#vmegen}
rm -f vmegen$unit
mknod vmegen$unit c 68 $(($unit * 16 + 0))
chown root:wheel vmegen$unit
chmod 600 vmegen$unit
;;
wsfont)
rm -f wsfont
mknod wsfont c 81 0
chown root:wheel wsfont
chmod 600 wsfont
;;
local) local)
umask 0 umask 0
sh $0.local all sh $0.local all