|
|
1.1 root 1: : /usr/bin/ramdisk 10/10/90
2: : Initialize RAM disk mounted on directory /ramdisk, which must exist.
3:
4: : The following parameter must agree with the definition of /dev/ram0.
5: : The standard /dev/ram0 is 8 * 64KB = 512KB or 1024 blocks.
6: BLOCKS=1024
7:
8: /etc/mkfs /dev/ram0 $BLOCKS
9: /etc/mount /dev/ram0 /ramdisk
10: chown bin /ramdisk
11: chgrp bin /ramdisk
12: su bin mkdir /ramdisk/bin /ramdisk/lib /ramdisk/tmp
13: su bin chmod 0777 /ramdisk/tmp
14:
15: : To execute commands from the RAM disk,
16: : copy them to /ramdisk/bin as in the following example.
17: : su bin cp -d /usr/bin/me /ramdisk/bin
18: : Also add /ramdisk/bin to the start of the PATH defined in /etc/profile
19: : so COHERENT will execute the RAM disk version when you use the command.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.