From owner-freebsd-bugs Sun Mar 10 15:40:13 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 8037E37B420 for ; Sun, 10 Mar 2002 15:40:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2ANe3V90540; Sun, 10 Mar 2002 15:40:03 -0800 (PST) (envelope-from gnats) Date: Sun, 10 Mar 2002 15:40:03 -0800 (PST) Message-Id: <200203102340.g2ANe3V90540@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Crist J. Clark" Subject: Re: conf/35725: /etc/rc should create missing "dumpdir". Reply-To: "Crist J. Clark" 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: "Crist J. Clark" To: "Gary W. Swearingen" Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: conf/35725: /etc/rc should create missing "dumpdir". Date: Sun, 10 Mar 2002 15:32:10 -0800 On Sun, Mar 10, 2002 at 03:00:19PM -0800, Gary W. Swearingen wrote: > "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 we don't know if a dump was lost or not. You'd see the error everytime you booted. I'll word it more strongly, and I think perhaps another check may be in order. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message