以赛博中文的ISO文件为例。
你可以使用ISO文件在SCO下直接安装,但必须保证你的机器上已经安装了光驱,并且在核心中含有CDROM设备,即hwconfig -h 列表中有CDROM信息。接下来你可以通过下面的步骤来处理:
cd /dev
mv cd0 cd0.bak
cd /tmp (此处假定你的cyber.iso放在/tmp目录中)
marry -a cyber.iso
cd /dev
ln -s /dev/marry/tmp/cyber.iso cd0
l cd0 显示结果如下:
brw-r----- 1 root sys 76, 1 Feb 26 10:45 cd0@
mv rcd0 rcd0.bak
mknod rcd0 c 76 1
l *cd0 显示结果如下:
brw-r----- 1 root sys 76, 1 Feb 26 10:45 cd0@
crw-r--r-- 1 root sys 76, 1 Feb 26 10:48 rcd0
custom
选择安装介质时选CDROM就可以安装了。
记得安装完成之后
cd /dev
rm cd0 rcd0
mv cd0.bak cd0
mv rcd0.bak rcd0;
marry -d /tmp/cyber.iso
恢复你的光驱设备,否则你的光驱不能使用啦!
补充marry的说明:
marry -- marriage driver
The marriage driver allows a regular file to be treated as a device. It does not drive any hardware directly, but it redirects reads and writes on its device to the associated regular file.
marry(ADM) uses the marriage driver to associate a block special device file with a regular file. The regular file may then be accessed through the block device node created below the /dev/marry directory, or through a character device node.
swap(ADM) uses marry to allow a regular file to act as a block device for swapping. marry may also be used to allow a regular file to act as a block device for mounting.