Subject: Re: hang during shutdown
To: Matthias Drochner <firstname.lastname@example.org>
From: Bill Studenmund <email@example.com>
Date: 09/12/1997 09:39:31
On Fri, 12 Sep 1997, Matthias Drochner wrote:
> 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 | (
> while read what on where type fs; do
> if [ $where = /usr ]; then
> echo $usrmounted
I'm confused here. We're discussing cases where /usr gets mounted twice.
It's getting mounted twice from the same filesystem?
Isn't this a bug in mount? To quote the man page (from my infamous i386
-a Similar to the -A flag, except that if a file system (other than
the root file system) appears to be already mounted, mount will
not try to mount it again. Mount assumes that a file system is
already mounted if a file system with the same type is mounted on
the given mount point. More stringent checks are not possible
because some file system types report strange values for the
mounted-from device for mounted file systems.
Shouldn't mount be avoiding this anyway?
Or am I way low on clue this morning?