GNU bug report logs -
#36688
uname no longer accessing hw-platform nor cpu (not updated to use primary info source)
Previous Next
Full log
View this message in rfc822 format
This is a bit weird, as the hw-platform, apparently is i386 or i686, not
sure,
but the cpu is definitely accessible in /proc/cpuinfo.
The following text is from the sysctl call in the
kernel help text for the option:
CONFIG_SYSCTL_SYSCALL:
sys_sysctl uses binary paths that have been found challenging
to properly maintain and use. The interface in /proc/sys
using paths with ascii names is now the primary path to this
information.
Apparently my copy of uname is still using the sysctl call(or trying to),
as it comes up with 'unknown' for
-p, --processor
print the processor type or "unknown"
-i, --hardware-platform
print the hardware platform or "unknown"
This appears to come from:
uname (GNU coreutils) 8.26.18-5e871
Is this fixed in a newer version?
Thanks.
This bug report was last modified 5 years and 336 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.