|
|

楼主 |
发表于 2006-7-27 17:12:56
|
显示全部楼层
我把/etc/rcS.d/下的东西都删除了,换成了一个文件/etc/rcS.d/S01all
case "$1" in
start)
/bin/mount -n -t proc proc /proc
/bin/mount -n -t sysfs sysfs /sys
/bin/mount -n -t tmpfs -o mode=0755 tmpfs /var/run
/bin/mount -n -t tmpfs -o mode=1777 tmpfs /var/lock
/bin/mount -n -t usbfs usbfs /proc/bus/usb
/bin/loadkeys /etc/console/boottime.kmap.gz
/bin/echo "keymay init done here"
#/bin/mkdir /dev/pts
#/bin/mkdir /dev/shm
/bin/mount -n -t devpts -ogid=5,mode=620 devpts /dev/pts
/bin/mount -n -t tmpfs tmpfs /dev/shm
echo " seudo filesystem done here"
#/bin/mount -n --bind /dev /etc/udev
echo "testing Mark:A"
/bin/mount -n -t tmpfs -o mode=0755 udev /dev
echo "testing Mark:B"
/bin/mkdir -m 0700 -p /dev/.static/dev
echo "testing Mark:B"
/bin/mount -n --move /etc/udev /dev/.static/dev
echo "testing Mark "
/bin/cp -a -f /lib/udev/devices/* /dev
echo "testing Mark:E"
/sbin/start-stop-daemon --start --exec /sbin/udevd -- --deamon
echo "testing Mark:F"
/sbin/swapon -a
/sbin/ifup -a
/usr/bin/touch /var/run/utmp
/bin/chmod 644 /var/run/utmp
/bin/chgrp utmp /var/run/utmp
/sbin/sysctl -p
echo "end??"
;;
esac
结果挂起
keymay init done here
Pseudo filesystem done here
最后屏幕上的两句如上。
不知道我哪儿做错了。谢谢!! |
|