You are not logged in.

#1 2016-10-29 23:44:48

archbok
Member
Registered: 2016-06-10
Posts: 7

Why the "unknown" for uname -p

Why the "unknown" for uname -p
in e.g., (-rv showing I am current ;-)

    uname -rvp
    4.8.4-1-ARCH #1 SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 unknown

when it is availble, e.g.

    grep -m1 'model name' /proc/cpuinfo
    model name    : Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz

Is there a race being avoided between a uname -p use and
/proc/cpuinfo being available maybe?

Offline

#2 2016-10-29 23:55:48

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Why the "unknown" for uname -p

IIUC the output of uname -p comes from things which are on BSD and not Linux. So on Linux it shows "unknown". The mapage says that option is not portable.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2016-10-30 03:38:47

archbok
Member
Registered: 2016-06-10
Posts: 7

Re: Why the "unknown" for uname -p

Well, thanks to refind, I am UEFI multibooting, and I can boot
Slackware 14.2, which is Linux from before Arch IWT, and it
shows uname -p "correctly" -- likewise UIAM Fedora shows it,
and if so probably most Debian derivatives?

In any case, Arch seems to be the bleeding edge of making the
newest work, so why not uname? ;-)

Offline

#4 2016-10-30 03:56:21

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Why the "unknown" for uname -p

archbok wrote:

Arch seems to be the bleeding edge of making the newest work, so why not uname? ;-)

No, this is really not a goal.  On the contrary, arch devs tend to hope/expect that upstream devs will make their software work and keep our packages as "vanilla" as possible with minimal if any patches.  That is not at all the case for the other distros you mention (especially debian which patches the hell out of everything).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2016-10-30 14:02:50

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Why the "unknown" for uname -p

I don't know about Slackware and Debian, but this is the patch Fedora uses. If you want the feature badly, recompile coreutils with the patch. Bear in mind that patch makes uname -p a synonym of uname -m.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB