The problem occurs when you have a tmpfs file system mount.
1.This is why my patch to /etc/init.d/network worked. I am now using the following patch just before AVAILABLE_IFACES is set:
for i in 0 1 # 2 3 4 5 6 7 8 9
do
echo $PHYSICAL_IFACES | grep eth$i >/dev/null || PHYSICAL_IFACES="$PHYSICAL_IFACES eth$i"
done
And in /etc/fstab:
tmpfs /dev/shm tmpfs defaults,size=1024m 0 0
2.change the name of the directory that I wanted to mount the ramdisk on
/dev/shm
perhaps "/mnt/ram" or "/var/cache/Smarty"
阅读(648) | 评论(1) | 转发(0) |