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

⟦fa27ad4fe⟧ TextFile

    Length: 661 (0x295)
    Types: TextFile
    Notes: Uncompressed file

Derivation

└─⟦ce621b962⟧ Bits:30004623 Controller Environment R. 1.2 (5.25 inch)
└─⟦ce621b962⟧ UNIX Filesystem
    └─⟦bd2272576⟧ »CTENV.ISC/new/etc/carddump.Z« 
    └─⟦bd2272576⟧ »CTENV.SCO/new/etc/carddump.Z« 
└─⟦e03896eec⟧ Bits:30004624 Controller Environment R. 1.2 (3.5 inch)
└─⟦e03896eec⟧ UNIX Filesystem
    └─⟦bd2272576⟧ »CTENV.ISC/new/etc/carddump.Z« 
    └─⟦bd2272576⟧ »CTENV.SCO/new/etc/carddump.Z« 
        └─⟦this⟧ 

TextFile

#ident	"@(#)carddump.sh	1.1 - 91/05/16"

PATH=/usr/ctlr/bin:$PATH
export PATH

cmd=`basename $0` 

usage() {
	echo "usage: $cmd [-d] cardnum|cardname [dumpfile]" >&2
	exit 2
}

set -- `getopt d $*`

dbdev=""

while test $# -ge 1
do
	case "$1" in
	-d)	dbdev=d;;
	--)	shift; break;;
	-*)	usage;;
	esac
	shift
done

test $# -lt 1 && usage

cardarg="$1"; shift

if test $# -ne 0 ;then
	of="of=$1";
	shift
	test $# -eq 0 || usage
else
	of=""
fi

if cardnum=`cardname2num -d "$cardarg" 2>/dev/null`; then
	cardname=$cardarg
elif cardname=`cardnum2name -d "$cardarg" 2>/dev/null`; then
	:
else	usage
fi

devname=/dev/${cardname}${dbdev}
exec dd if=$devname bs=64k $of