From owner-cvs-all Fri Oct 13 2:43:21 2000 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (flutter.freebsd.dk [212.242.40.147]) by hub.freebsd.org (Postfix) with ESMTP id 02B4B37B66D; Fri, 13 Oct 2000 02:43:17 -0700 (PDT) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.0/8.9.3) with ESMTP id e9D9h0N98968; Fri, 13 Oct 2000 11:43:00 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Dag-Erling Smorgrav Cc: Peter Wemm , dima@rdy.com, ache@FreeBSD.org, jkh@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc rc In-Reply-To: Your message of "13 Oct 2000 11:04:32 +0200." Date: Fri, 13 Oct 2000 11:43:00 +0200 Message-ID: <98966.971430180@critter> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message , Dag-Erling Smorgrav writes: >[resent due to Cc: fuckup] > >Peter Wemm writes: >> IMHO, the fix was what was needed given the current internals of >> savecore(8). Do you see it differently? > >Yes - savecore(8) or devname(3) needs to be fixed so that /etc/rc >doesn't need to be broken like this. savecore(8) is often run manually >in single-user mode and should not depend on dev_mkdb(8); I think it's >a bug in devname(3) that it does (devname(3) should use dev.db as a >fallback in case the sysctl doesn't work, rather than the reverse). The reason I implemented it thusly is because people without DEVFS might rename things, and in that case devname(3) should DTRT. IMO, the mistake is trying to open what devname(3) returns. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message