Subject: Re: hang during shutdown
To: Ronald Khoo <ronald@demon.net>
From: Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>
List: current-users
Date: 09/12/1997 17:07:37
Excerpts from netbsd: 12-Sep-97 Re: hang during shutdown Ronald
Khoo@demon.net (565)

> 	case "`mount`" in "* /usr *") ;; *) mount /usr ;; esac

Not bad. (As long as nobody comes with a system where /usr is
a block device special file...)

I've to offer:
/sbin/mount | (
	usrmounted=no
	while read what on where type fs; do
		if [ $where = /usr ]; then
			usrmounted=yes
		fi
	done
	echo $usrmounted
)

best regards
Matthias