uptime from sh-utils broken? (was: Re: uptime & w)

Dagmar d'Surreal dagmar.wants at nospam.com
Wed Jul 30 10:12:58 PDT 2003


On Wed, 2003-07-30 at 06:47, Ulrich Fahrenberg wrote:

> Thanks, all there. Why didn't I look for /proc/uptime before I posted?
> 
> The problem is that my uptime is the one from sh-utils-2.0, not from
> procps-3.1.8 (as it would be if I had a standard 4.1 install). The
> procps-uptime works like a snap here, but shutils-uptime does not.
> 
> This might also shed some light on the recent lfs-dev discussion
> whether The Book should use the uptime from procps-3 or coreutils:
> Is it only me, or is the shutils/coreutils version of uptime broken?
> (And if it's only me, why?)

There are almost zero cases where it is useful to _not_ mount /proc. 
The uptime command failing because you don't have proc mounted does not
make it broken.
-- 
The email address above is just as phony as it looks, and for obvious reasons.
Instant messaging contact nfo: AIM: evilDagmar  Jabber: evilDagmar at jabber.org




More information about the blfs-support mailing list