-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Rastislav Vojtko on 6/21/2008 3:31 PM: | Dear developers, | | The "uname" command contains two bugs. | | If I type "uname -r" in terminal the result is "#1 SMP Wed May 28 | 20:27:26 UTC 2008", | if I type "uname -v" in terminal the result is "2.6.24-18-generic" | These two flags "-v, -r" of the "uname" command are most probably replaced.
Thanks for the report. However, this is a bug in coreutils, since it merely outputs exactly what the kernel reported in the release and version fields of struct utsname in uname(2). POSIX doesn't really describe in much details what these fields must contain, so there is a lot of room for variance between different operating systems. http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/utsname.h.html In general, uname(1) output is not very portable, since uname(2) is so loosely standardized. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkhdf+cACgkQ84KuGfSFAYA5ZgCfZw4bGbetnV5FxpwzmjN8v+c6 dEcAn1gn4N3mzVefFX9tkEbCFNdK1P3r =fuNa -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils