Subject: Re: Need some advice regarding portable user IDs
To: None <freebsd-hackers@FreeBSD.ORG, tech-userlevel@netbsd.org,>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 08/24/1999 09:56:12
>> Solving this is not trivial, I don't think changing the panic() to
>> return(appropriate_error_code) is the rigth thing to do, in some
>> case you want to panic if a filesystem gets corrupted.

> [...consider / or /usr...]

I think an error return is preferable to a panic, during the mount
operation.  During normal operation, it seems to me that the right
thing is to panic if the mount was done by root and to do the
forcible-unmount thing if non-root.  (This arguably should be a mount
option which is forced on for non-root mounts, so that root mounts can
get the force-unmount semantics if desired.)

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B