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

⟦599036a51⟧ TextFile

    Length: 781 (0x30d)
    Types: TextFile
    Notes: UNIX file
    Names: »fsckroot«

Derivation

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

TextFile

#! /bin/csh -f

if (! -d /lost+found) then
	echo ""
	echo "No /lost+found directory - you've omitted a previous step"
	echo "Executing: cd /; mklost+found"
	cd /; mklost+found
endif

echo ""
echo "Executing: fsck -p /dev/rdc1a"
fsck -p /dev/rdc1a
if ($status) then
	echo ""
	echo "Excessive errors discovered.  As you've already spent a lot"
	echo "of time making the system, it may be worth trying to fix"
	echo "everything anyway.  Type first 'help' to the next question."
	switch (`ask fsckbad "Run file system check again?"`)
	case quit:
		exit(1)
	case n:
	case no:
		breaksw
	case y:
	case yes:
		echo ""
		echo "Re-making /lost+found directory"
		rm -rf /lost+found
		cd /; mklost+found
		echo ""
		echo "Executing: fsck /dev/rdc1a"
		fsck /dev/rdc1a
		breaksw
	endsw
endif