You must rm -f lkm before attempting to create it.
This commit is contained in:
parent
d66cc2a40a
commit
2a0f9fb71c
@ -69,7 +69,7 @@
|
|||||||
# snd* various sound cards
|
# snd* various sound cards
|
||||||
# pcaudio PCM audio driver
|
# 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:
|
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||||
@ -89,6 +89,7 @@ all)
|
|||||||
;;
|
;;
|
||||||
std)
|
std)
|
||||||
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
|
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 console c 0 0; chmod 600 console; chown root.wheel console
|
||||||
mknod drum c 4 0; chmod 640 drum; chown root.kmem drum
|
mknod drum c 4 0; chmod 640 drum; chown root.kmem drum
|
||||||
mknod kmem c 2 1; chmod 640 kmem; chown root.kmem kmem
|
mknod kmem c 2 1; chmod 640 kmem; chown root.kmem kmem
|
||||||
|
@ -69,7 +69,7 @@
|
|||||||
# snd* various sound cards
|
# snd* various sound cards
|
||||||
# pcaudio PCM audio driver
|
# 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:
|
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:
|
||||||
@ -89,6 +89,7 @@ all)
|
|||||||
;;
|
;;
|
||||||
std)
|
std)
|
||||||
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
|
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 console c 0 0; chmod 600 console; chown root.wheel console
|
||||||
mknod drum c 4 0; chmod 640 drum; chown root.kmem drum
|
mknod drum c 4 0; chmod 640 drum; chown root.kmem drum
|
||||||
mknod kmem c 2 1; chmod 640 kmem; chown root.kmem kmem
|
mknod kmem c 2 1; chmod 640 kmem; chown root.kmem kmem
|
||||||
|
Loading…
Reference in New Issue
Block a user