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
Index: T u

⟦d4273a275⟧ TextFile

    Length: 736 (0x2e0)
    Types: TextFile
    Names: »usr/admin/menu/diskmgmt/harddisk/mounthdfsys «

Derivation

└─⟦3d8f416b2⟧ Bits:30004042/core2.imd SW95705I 386/ix Multi-user Release 1.2
    └─⟦this⟧ »usr/admin/menu/diskmgmt/harddisk/mounthdfsys « 

TextFile

#ident	"@(#)mounthdfsys	1.1 - 87/11/25"
#menu# mounts a hard disk file system
#help#
#help#  Mounthdfsys enables you to mount the hard disk file system

trap 'exit 0' 1 2 3 15

echo

while true
do
	echo "Which file system do you want to mount? (/usr, /usr2, /usr1, q) \c"
	read fs

	fs=${fs:="BAD"}

	if [ "$fs" = "q" ]
	then
		exit 0
	fi

	if [ "$fs" != "BAD" ]
	then
		break
	fi

	echo "\nNeed a response.  Enter 'q' to quit.\n"
done

while true
do
	echo "Which device is the file system on? (0s1, 0s2, ..., 1s0, 1s1, ..., q) \c"
	read dev

	fs=${fs:="BAD"}

	if [ "$dev" = "q" ]
	then
		exit 0
	fi

	if [ "$fs" != "BAD" ]
	then
		break
	fi

	echo "\nNeed a response.  Enter 'q' to quit.\n"
done

/etc/mount /dev/dsk/$dev $fs

exit 0