DataMuseum.dk

Presents historical artifacts from the history of:

ICL Comet 32

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

See our Wiki for more about ICL Comet 32

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦e71cc20e6⟧ TextFile

    Length: 770 (0x302)
    Types: TextFile
    Notes: UNIX file
    Names: »fscktwo«

Derivation

└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
    └─⟦28c352965⟧ »/a« UNIX Filesystem
        └─⟦this⟧ »sys/build/fscktwo« 

TextFile

#! /bin/sh

if test -d /lost+found
then
	:
else
	echo "
You don't seem to have a /lost+found directory yet..."
	cd /
	mklost+found
fi

echo "
Executing: fsck -p /dev/rdc1a"
fsck -p /dev/rdc1a
case $? in
0)
	;;
*)
	echo "
Excessive errors discovered, probably caused by hardware problems.
As you have already spent a lot of time making the system, it may be
worth trying to correct everything anyway.  If you decide to do this
be sure to type first 'help' to the next question."
	case `ask fsckbad "Run file system check again?` in
	quit)
		exit 1
		;;
	yes)
		echo "
Re-making /lost+found directory"
		rm -rf /lost+found
		cd /
		mklost+found
		echo "
Executing: fsck /dev/rdc1a"
		fsck /dev/rdc1a
		case $? in
		0)
			;;
		*)
			exit 1
			;;
		esac
		;;
	esac
	;;
esac