平台 论坛 博客 文库 | |
查看:
3430
|
回复:
2
|
[FreeBSD] 各位达人,Freebsd怎样减少swap分区的大小! [复制链接] |
|
5可用积分
最佳答案1. Be certain that your kernel configuration includes the vnode driver. It is not in recent versions of GENERIC.2. pseudo-device vn 1 #Vnode driver (turns a file into a device)3. create a vn-device:4. # cd /dev5. # sh MAKEDEV vn06. create a swapfile (/usr/swap0):7. # dd if=/dev/zero of=/usr/swap0 bs=1024k count=648. set proper permissions on (/usr/swap0):9. # chmod 0600 /usr/swap010. enable the sw ...
| |
|
||
|
| |
|
||
北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员 联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处
清除 Cookies - ChinaUnix - Archiver - WAP - TOP |