[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

can one rely on uname -i results?



Goodday everyone!

While trying some opensource utility I'v found that one of launching scripts uses uname -i | grep x86_64 to check for 64/32 bit platform and futher processing.

But on my desktop it gives "unknown", so script does not work as expected.
And at the same time:
steve@dbsteve: /home/coin %
% uname -a
Linux dbsteve 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux

Does it mean one cant rely on uname -i results or my distro (debian testing) behaves strange?

PS
% cat /etc/debian_version 
7.0





Reply to: