Subject: Re: hang during shutdown
To: None <drochner@zelux6.zel.kfa-juelich.de>
From: Ronald Khoo <ronald@demon.net>
List: current-users
Date: 09/12/1997 15:32:07
> I've checked in a patch which should fix it.
> (assumes that /usr is mounted if /usr/bin is present - better ideas?)

Urgle.  I don't have any machines which mount /usr at the moment,
but I did use to, and there *was* a /usr/bin underneath.  So
your fix would have broken me then.  Hm.....

What about

	set -- `ls -id /usr`
	case "$1 $2" in
		"2 /usr")	;;
		*)		mount /usr ;;
	esac

but that does make the ufs assumption of inode 2 being the root.
Who does that break ? :-)

-- 
Ronald Khoo <ronald@demon.net> Voice: +44 181 371 1000 Fax: +44 181 371 1150