DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

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

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦8c7105260⟧ TextFile

    Length: 189 (0xbd)
    Types: TextFile
    Notes: @(#)validfs.sh 13.2 (RC International) 91/07/25
    Names: »validfs«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/sadm/sysadm/bin/validfs« 

TextFile

#!/sbin/sh

#	@(#)validfs.sh	13.2 (RC International) 91/07/25
DEV=$1
if (ls -l $DEV | awk '$5 !~ /fs/ { exit 1 }
		      END { if (NR==0)
				exit 1 }')
then
	exit 0
else
	exit 1
fi
exit 1