From owner-freebsd-hackers Thu Nov 2 14:05:17 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA18246 for hackers-outgoing; Thu, 2 Nov 1995 14:05:17 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA18215 for ; Thu, 2 Nov 1995 14:05:09 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id XAA26345 for ; Thu, 2 Nov 1995 23:05:00 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id XAA14006 for freebsd-hackers@freebsd.org; Thu, 2 Nov 1995 23:05:00 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id WAA07693 for freebsd-hackers@freebsd.org; Thu, 2 Nov 1995 22:40:50 +0100 From: J Wunsch Message-Id: <199511022140.WAA07693@uriah.heep.sax.de> Subject: Re: More nits To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Thu, 2 Nov 1995 22:40:47 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199511021412.GAA02819@corbin.Root.COM> from "David Greenman" at Nov 2, 95 06:12:15 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1281 Sender: owner-hackers@freebsd.org Precedence: bulk As David Greenman wrote: > > Okay, I think the solution is starting to become clear. Basically, mount > should return a failure code only in the case of it failing to mount a > filesystem because it is dirty... > Will this make people happy? Hmm, but what about people that need the CD since they prefer to run their /usr from it? (Or from an NFS mount, FWIW.) I think this was Rod's entire idea to include things like cd9660 into the list of `crucial' file systems. It was infact crucial for him at AAC, but it ain't for most people outside. However, as John Polstra did already note, you could achieve the very same effect (as your proposal) by making only failing ufs mounts fatal, and don't care for the exit status of mount(8) for things like cd9660. (This would be my favorite for 2.1 anyway, to avoid annoying too many innocent users.) In the long run, i think an ``optional'' clause has its merits: it allows the local system administrator for full flexibility in the decision of which file system is ``crucial'' for him, and which ain't. Nobody else than him will be able to decide this anyway. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)