Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2000 11:43:00 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Peter Wemm <peter@netplex.com.au>, dima@rdy.com, ache@FreeBSD.org, jkh@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc rc 
Message-ID:  <98966.971430180@critter>
In-Reply-To: Your message of "13 Oct 2000 11:04:32 %2B0200." <xzp66mxnmcf.fsf@flood.ping.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <xzp66mxnmcf.fsf@flood.ping.uio.no>, Dag-Erling Smorgrav writes:
>[resent due to Cc: fuckup]
>
>Peter Wemm <peter@netplex.com.au> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?98966.971430180>