Make /dev/rescue
This commit is contained in:
parent
d4e111c05d
commit
4e4d2f343c
1 changed files with 7 additions and 1 deletions
|
@ -15,7 +15,7 @@ case $#:$1 in
|
||||||
c0d4 c0d4p0 c0d4p0s0 c0d5 c0d5p0 c0d5p0s0 \
|
c0d4 c0d4p0 c0d4p0s0 c0d5 c0d5p0 c0d5p0s0 \
|
||||||
c0d6 c0d6p0 c0d6p0s0 c0d7 c0d7p0 c0d7p0s0 \
|
c0d6 c0d6p0 c0d6p0s0 c0d7 c0d7p0 c0d7p0s0 \
|
||||||
tty ttyc1 ttyc2 ttyc3 tty00 tty01 tty02 tty03 ttyp0 ttyp1 ttyp2 ttyp3 \
|
tty ttyc1 ttyc2 ttyc3 tty00 tty01 tty02 tty03 ttyp0 ttyp1 ttyp2 ttyp3 \
|
||||||
eth klog random cmos kbd psm
|
eth klog random cmos kbd psm rescue
|
||||||
;;
|
;;
|
||||||
0:|1:-\?)
|
0:|1:-\?)
|
||||||
cat >&2 <<EOF
|
cat >&2 <<EOF
|
||||||
|
@ -38,6 +38,7 @@ Where key is one of the following:
|
||||||
klog # Make /dev/klog
|
klog # Make /dev/klog
|
||||||
random # Make /dev/random, /dev/urandom
|
random # Make /dev/random, /dev/urandom
|
||||||
cmos # Make /dev/cmos
|
cmos # Make /dev/cmos
|
||||||
|
rescue # Make /dev/rescue
|
||||||
kbd # Make /dev/kbd*
|
kbd # Make /dev/kbd*
|
||||||
psm # Make /dev/psm*
|
psm # Make /dev/psm*
|
||||||
std # All standard devices
|
std # All standard devices
|
||||||
|
@ -238,6 +239,11 @@ do
|
||||||
$e mknod cmos c 17 0
|
$e mknod cmos c 17 0
|
||||||
$e chmod 600 cmos
|
$e chmod 600 cmos
|
||||||
;;
|
;;
|
||||||
|
rescue)
|
||||||
|
# rescue device
|
||||||
|
$e mknod rescue b 9 0
|
||||||
|
$e chmod 644 rescue
|
||||||
|
;;
|
||||||
klog)
|
klog)
|
||||||
# logging device.
|
# logging device.
|
||||||
$e mknod klog c 15 0
|
$e mknod klog c 15 0
|
||||||
|
|
Loading…
Reference in a new issue