因为要在debian6.0.5中使用DEBIAN提供的全套DVD进行本地源设置,因此要使用SHELL脚本挂载所有DVD镜像,但内核默认只有8个LOOP设备,查网上资料,后来发现直接在/etc/modules文件中直接添加loop max_loop=16,从起DEBIAN系统,loop设备就增加到16个了.下边是配置文件:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
loop max_loop=16
#options loop max_loop=64
比网上说的方法简单多了.贴出来和大家共享下.
阅读(738) | 评论(0) | 转发(0) |