Can confirm on OI148, Sun version returns the correct result, gnu doesn't. Bye, Deano [email protected]
-----Original Message----- From: Jesus Cea [mailto:[email protected]] Sent: 10 February 2011 17:39 To: Discussion list for OpenIndiana Subject: Re: [OpenIndiana-discuss] Finding current runlevel? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/02/11 15:35, Roy Sigurd Karlsbakk wrote: >> Trying who -r on openindiana 147/148 seems to fail. I have tested this >> on three machines plus a VM so far, all on 148, but one was rebooted >> to an old BE with 147 just to see if there were any differences, which >> there wasn't. The output I get is >> >> . run-level 3 Feb 10 13:36 3 0 S > > Sorry - that was wrong (or right). The above is what I get form an old opensolaris install. From OI, I get this > > run-level 2011-02-10 13:43 This seems to be a "bug" in GNU "who" implementation. Running this in Solaris 10, I get: """ [root@stargate-host /]# /usr/bin/who -r (NATIVE SUN VERSION) . run-level 3 Jan 18 20:33 3 0 S [root@stargate-host /]# /usr/local/bin/who -r (GNU VERSION) run-level Jan 18 20:33 """ - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ [email protected] - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:[email protected] _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQCVAwUBTVQinplgi5GaxT1NAQL3cgP/agIIF0cKapPDknFyKqQQ8B9deBB3nIkm oW4ISPxQ9/PVJIwVoOHK8qUntZko48f3JdFdd9Fteeh9Vg6pwt5ayzalVgntBeFr liA0pYjlO5YfsElDxgQ1KWqjPjik+KxIog/IahYBxwFv1e8biPhwLC+zvxdCmiVQ hrL9Zmzr+9Q= =Hqbw -----END PGP SIGNATURE----- _______________________________________________ OpenIndiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss _______________________________________________ OpenIndiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
