|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T U r
Length: 653 (0x28d)
Types: TextFile
Notes: UNIX file
Names: »readfloppy«
└─⟦08d12fb7c⟧ Bits:30004153 SW95705I.2 386/ix Multi-User Rel 2.2 boot
└─⟦08d12fb7c⟧ UNIX Filesystem
└─⟦this⟧ »readfloppy«
:
# Copyright (c) 1984, 1986, 1987, 1988 AT&T
# All Rights Reserved
# THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
# The copyright notice above does not evidence any
# actual or intended publication of such source code.
#ident "@(#)readfloppy.s 2.4 - 88/10/07"
LABEL_LOC=$1
echo "\nInstallation is in progress -- do not remove the floppy disk."
retry=`expr 0`
seq=`dd if=/dev/rdsk/f0t count=1 bs=512 skip=${LABEL_LOC:=29} 2>/dev/null`
while [ $? -ne 0 -a $retry -le 2 ]
do
retry=`expr $retry + 1`
seq=`dd if=/dev/rdsk/f0t count=1 bs=512 skip=${LABEL_LOC} 2>/dev/null`
done
ERR=$?
if [ $ERR = 0 ]
then echo "$seq" > /tmp/seq
fi
exit $ERR