You must rm -f lkm before attempting to create it.
This commit is contained in:
parent
9ae469c2bc
commit
2c4a2211a4
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user