Re: [RESEND][RFC] lscpu - CPU architecture information helper

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

 



Hello,

>   /* Only i686, X86_64 and IA64 are supported at the moment. */
>   if (strcmp (arch, "x86_64") && strcmp (arch, "i686")
>       && strcmp (arch, "ia64"))
>     errx (1, "error - %s is not supported.", arch);

Maybe you could relax this a bit: /proc/cpuinfo is not arch-agnostic
indeed, but /sys/etc is, and that still provides a good amount of useful
information.

Samuel
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux