- 论坛徽章:
- 0
|
我的linux重启的问题。
我已经查到可能是启脚本这一段出了问题,可是我不能理解清楚,也不知道怎么避免这种问题,又会有哪些原因造成。谢谢!
# Try to get devfsd
if [ -c /dev/.devfsd ]; then
if [ -x /sbin/devfsd ]; then
action "Running DevFs daemon" devfsd /dev
if [ -f /etc/sysconfig/mouse ];then
. /etc/sysconfig/mouse
device=`echo $device | sed -e 's/psaux/misc\/psaux/' -e 's/ttyS\(.\)/tts\/\1/g'`
if [ -n "$device" ]; then
rm -f /dev/mouse
ln -s /dev/$device /dev/mouse
fi
fi
else
if ! grep -q "nodevfsd" /proc/cmdline;then
# devfs is used but devfsd isn't installed
gprintf " #### your system is currently using devfs but devfsd isn't availlable"
gprintf " #### you should disable devfs (add 'devfs=nomount' to the paramaters"
gprintf " #### that your bootloader gives to the kernel"
# Let devfs being tested, but disable it on /dev
action " Disabling devfs (was mounted on /dev)" umount /dev
fi
fi
fi |
|