Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2002 16:24:08 -0400
From:      Mike Bohan <bogin@shortcircut.org>
To:        freebsd-questions@freebsd.org
Subject:   question on problem with w/uptime.
Message-ID:  <200204092051.g39KpPMH091172@cheetah.shortcircut.org>

next in thread | raw e-mail | index | archive | help
Hello there,

	Recently I've run into a little problem with w/uptime, which of course are 
equivalent programs other than their arguements.  Since a picture tells many 
words, here's an output of the problem to illustrate it.

$ w
w: /dev/:0: No such file or directory
 4:12PM  up 19:57, 4 users, load averages: 0.01, 0.03, 0.00
USER             TTY      FROM              LOGIN@  IDLE WHAT
bogin            p1       :0.0             11:34AM    13 ssh

As you can see, the w program performs all the operations it should, but 
leaves that curious error message.  I first noticed the problem after 
cvsuping and building world a few days ago.  Thinking that perhaps there was 
a bug in a recent date of -stable, I recompiled with older code.  This did 
not solve the problem however, so I can only conclude that it must have been 
something that I broke.  I breifly looked at the w/uptime source code to see 
if there was anything obvious, but that didn't lead me anywhere.  Does anyone 
have any idea why it would be trying to open /dev/:0:?  That of course is not 
a valid device, so I'm guessing the wrong parameters are being fed into the 
program.  If anyone has any ideas of something that could cause this error, 
it would really give me some peace of mind.  Thanks so much.


			-Mike Bohan
			<bogin@shortcircut.org>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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