From owner-freebsd-current Thu Feb 18 18:41:18 1999 Delivered-To: freebsd-current@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id 909C31180A for ; Thu, 18 Feb 1999 18:41:12 -0800 (PST) (envelope-from green@unixhelp.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.8.8/8.8.7) with ESMTP id VAA07004; Thu, 18 Feb 1999 21:41:02 -0500 (EST) Date: Thu, 18 Feb 1999 21:41:01 -0500 (EST) From: Brian Feldman X-Sender: green@janus.syracuse.net To: "Matthew D. Fuller" Cc: phoenix@calldei.com, Erik Funkenbusch , freebsd-current@FreeBSD.ORG Subject: Re: uptime weirdnessl In-Reply-To: <19990218202110.W596@futuresouth.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 18 Feb 1999, Matthew D. Fuller wrote: > On Thu, Feb 18, 1999 at 07:05:39PM -0500, a little birdie told me > that Brian Feldman remarked > > > On Thu, Feb 18, 1999, Erik Funkenbusch put this into my mailbox: > > > > > > > > Any ideas? > > > > Yes. Look at /var/run/wtmp. Look CAREFULLY at /dev/null. > > Look even more carefully at /var/run/utmp, since wtmp is in /var/log and > doesn't affect w/uptime anyway. O:-) > Eek, it must be that bug in remember.c:similarly_named_files(). Time to upgrade to Brain 1.1-STABLE! Btw, I was of course referring to wtmp being garbage and /dev/null being a "regular" file. > > > --- > > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > | Matthew Fuller http://www.over-yonder.net/~fullermd | > * fullermd@futuresouth.com fullermd@over-yonder.net * > | UNIX Systems Administrator Specializing in FreeBSD | > * FutureSouth Communications ISPHelp ISP Consulting * > | "The only reason I'm burning my candle at both ends, | > * is because I haven't figured out how to light the * > | middle yet" | > *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* > Brian Feldman _ __ ___ ___ ___ green@unixhelp.org _ __ ___ | _ ) __| \ http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) | FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message