You must rm -f lkm before attempting to create it.

This commit is contained in:
rgrimes 1994-09-30 07:33:42 +00:00
parent 9ae469c2bc
commit 2c4a2211a4
2 changed files with 4 additions and 2 deletions

View File

@ -69,7 +69,7 @@
# snd* various sound cards
# pcaudio PCM audio driver
#
# $Id: MAKEDEV,v 1.39 1994/09/07 21:35:52 phk Exp $
# $Id: MAKEDEV,v 1.40 1994/09/23 19:17:27 wollman Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -89,6 +89,7 @@ all)
;;
std)
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
rm -f lkm
mknod console c 0 0; chmod 600 console; chown root.wheel console
mknod drum c 4 0; chmod 640 drum; chown root.kmem drum
mknod kmem c 2 1; chmod 640 kmem; chown root.kmem kmem

View File

@ -69,7 +69,7 @@
# snd* various sound cards
# pcaudio PCM audio driver
#
# $Id: MAKEDEV,v 1.39 1994/09/07 21:35:52 phk Exp $
# $Id: MAKEDEV,v 1.40 1994/09/23 19:17:27 wollman Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
@ -89,6 +89,7 @@ all)
;;
std)
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
rm -f lkm
mknod console c 0 0; chmod 600 console; chown root.wheel console
mknod drum c 4 0; chmod 640 drum; chown root.kmem drum
mknod kmem c 2 1; chmod 640 kmem; chown root.kmem kmem