Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 1999 09:56:12 -0400 (EDT)
From:      der Mouse <mouse@Rodents.Montreal.QC.CA>
To:        freebsd-hackers@FreeBSD.ORG, tech-userlevel@netbsd.org, tech-kern@netbsd.org
Subject:   Re: Need some advice regarding portable user IDs
Message-ID:  <199908241356.JAA00845@Twig.Rodents.Montreal.QC.CA>

next in thread | raw e-mail | index | archive | help
>> 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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908241356.JAA00845>