Chinaunix首页 | 论坛 | 博客
  • 博客访问: 26218
  • 博文数量: 10
  • 博客积分: 297
  • 博客等级: 二等列兵
  • 技术积分: 110
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-24 21:20
文章分类
文章存档

2010年(10)

最近访客

分类:

2010-04-29 16:37:41

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) |
0

上一篇:tar分卷压缩

下一篇:TCPDump flags

给主人留下些什么吧!~~

安何2010-05-22 22:26:07