head     1.1;
access   ;
symbols  ;
locks    ;
comment  @@;


1.1
date     91.03.28.15.00.44;  author bin;  state Exp;
branches ;
next	;


desc
@init ver pulled from 310 ship disks
@



1.1
log
@Initial revision
@
text
@: /usr/bin/ramdisk 10/10/90
: Initialize RAM disk mounted on directory /ramdisk, which must exist.

: The following parameter must agree with the definition of /dev/ram0.
: The standard /dev/ram0 is 8 * 64KB = 512KB or 1024 blocks.
BLOCKS=1024

/etc/mkfs /dev/ram0 $BLOCKS
/etc/mount /dev/ram0 /ramdisk
chown bin /ramdisk
chgrp bin /ramdisk
su bin mkdir /ramdisk/bin /ramdisk/lib /ramdisk/tmp
su bin chmod 0777 /ramdisk/tmp

: To execute commands from the RAM disk,
: copy them to /ramdisk/bin as in the following example.
:	su bin cp -d /usr/bin/me /ramdisk/bin
: Also add /ramdisk/bin to the start of the PATH defined in /etc/profile
: so COHERENT will execute the RAM disk version when you use the command.
@
