From owner-freebsd-bugs Sun Mar 10 15: 0:23 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2363637B417 for ; Sun, 10 Mar 2002 15:00:11 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2AN0AH81692; Sun, 10 Mar 2002 15:00:10 -0800 (PST) (envelope-from gnats) Date: Sun, 10 Mar 2002 15:00:10 -0800 (PST) Message-Id: <200203102300.g2AN0AH81692@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: swear@blarg.net (Gary W. Swearingen) Subject: Re: conf/35725: /etc/rc should create missing "dumpdir". Reply-To: swear@blarg.net (Gary W. Swearingen) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR conf/35725; it has been noted by GNATS. From: swear@blarg.net (Gary W. Swearingen) To: "Crist J. Clark" Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: conf/35725: /etc/rc should create missing "dumpdir". Date: 10 Mar 2002 15:00:19 -0800 "Crist J. Clark" writes: > I don't think that is a good idea (what if $dumpdev was fat fingered > someplace is shouldn't be and say, filled up your root > filesystem). However, it currently fails silently, which I don't think > is good either. How about have rc(8) bitch about it, Sounds like you speak from experience. I'll not argue with that. We'll need to rely mostly on a good warning in the FAQ and man page(s). Unless you educate me that I've got the PR SOP wrong, I'll write another PR on the docs and leave this PR for your change to "/etc/rc". Your patch looked good, except I'd prefer a stronger notice (of what happened) to the person recovering from this intermittent crash he's been awaiting for several days: echo "NOTICE: Core dump was lost because '${dumpdir}' was not a directory." But I guess he'll figure it out after not finding the dump files, so either message provides a clue that should be good enough to let him know it wasn't the software's fault that the files are missing. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message