On Sat 25 May 2013 at 14:21:29 +0400, Vladimir Budnev wrote:

> 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

>From the info page for uname:

     '-i'
     '--hardware-platform'
     Print the hardware platform name (sometimes called the hardware
     implementation).  Print 'unknown' if the kernel does not make this
     information easily available, as is the case with Linux kernels.


-- 
To UNSUBSCRIBE, email to [email protected] 
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20130525104613.GG3596@desktop

Reply via email to