Date: Sun, 10 Mar 2002 15:40:03 -0800 (PST) From: "Crist J. Clark" <crist.clark@attbi.com> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/35725: /etc/rc should create missing "dumpdir". Message-ID: <200203102340.g2ANe3V90540@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/35725; it has been noted by GNATS. From: "Crist J. Clark" <crist.clark@attbi.com> To: "Gary W. Swearingen" <swear@blarg.net> 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" <cjc@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203102340.g2ANe3V90540>