免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1125 | 回复: 0
打印 上一主题 下一主题

[SCO UNIX] 我帮助你好了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-10 16:21 |只看该作者 |倒序浏览
The swap size at ISL time is limited to 2GB.

If you want to add more swap, you will need to edit

/etc/swaptab

and add up to 256 entries in this file.

A line in the file is defined as:

Device_name start_offset size

Device_name can be either a block device or standard file.

The Device_name must be specified by a full pathname.


size (in 512-bytes blocks) can be up to 2GB maximum.

If the Device_name is a block device, you can use a "-" meaning that
the entire size of the Device_name will be used. Note that in this
case the size of the block device cannot exceed 2GB.

If you have specified a standard file as a swap file, you will need to
create an empty file with at least the size of blocks specified in
/etc/swaptab (If size was "-", make sure that the file will be created
with less than 2GB size).

Use the following commands (as superuser) to create the empty file:

ulimit unlimited
dd if=/dev/null of=< swap -c

The modification made on /etc/swaptab will only be used after the
reboot of the system. If you want to you the new added swap, use the
following command:

swap -a <
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP