DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦96077d1a5⟧ TextFile

    Length: 544 (0x220)
    Types: TextFile
    Notes: UNIX file
    Names: »S06TMPRAMD«

Derivation

└─⟦5fb5a153b⟧ Bits:30004042/hpdd.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦5fb5a153b⟧ UNIX Filesystem
    └─⟦this⟧ »hp/new/etc/rc2.d/S06TMPRAMD« 

TextFile

#ident "@(#)S06TMPRAMD	1.1 - 88/03/15"

# This script make a filesystem on the RAMdisk and mounts it as /tmp if
# that hasn't already been done.

if [ -r /tmp/.Ramdisk ]
then    exit 0
fi
sz=`ramdsize`
if [ "$sz" = "0" ]
then    exit 0
fi
echo "\nCreating RAMdisk /tmp ($sz blocks)...\c"
mkfs /dev/dsk/ram $sz 1 8 >/dev/null 2>&1
mount /dev/dsk/ram /mnt >/dev/null 2>&1
echo "copying files...\c"
( cd /tmp; find . -print | cpio -pdvma /mnt >/dev/null 2>&1)
sync
umount /mnt
mount /dev/dsk/ram /tmp >/dev/null 2>&1
>/tmp/.Ramdisk
echo "done.\n"