Deutsch   English   Français   Italiano  
<721252537@f1.n770.z15354.fidonet.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.bbs.nz!.POSTED.agency.bbs.nz!not-for-mail
From: nospam.Dan.Clough@f1.n770.z15354.fidonet.org (Dan Clough)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Inconsistent results for checking whether the OS is 32 or 64 bit
Date: Wed, 17 Jul 2024 12:23:00 +1300
Organization: Agency HUB, Dunedin - New Zealand
Message-ID: <721252537@f1.n770.z15354.fidonet.org>
References: <khvkmkx35l.ln2@news.ducksburg.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: news.bbs.nz; posting-host="8IWYKlztXHa0+IViEdY46zrq8kpk7dC9fTbT74JiSDQ";
	logging-data="13207"; mail-complaints-to="abuse@news.bbs.nz"
User-Agent: VSoup v1.2.9.47Beta [95/NT]
X-MailConverter: SoupGate-Win32 v1.05
X-Comment-To: Adam Funk
Bytes: 1629
Lines: 36

-=> Adam Funk wrote to All <=-

 AF> I have a Pi 4 B that I use headlessly over SSH. I can't remember
 AF> whether I installed the 32-bit or 64-bit OS on it, but different
 AF> commands found on the web give different results.

 AF> $ uname -m
 AF> aarch64

 AF> $ getconf LONG_BIT
 AF> 32

 AF> $ dpkg --print-architecture
 AF> armhf

 AF> Which one is right?

On my Pi4B, which I know has a 64-bit OS installed, I get:

$ uname -m
aarch64

$ getconf LONG_BIT
64

dpkg --print-architecture
arm64

So.... I'd say you have a 32-bit OS installed.

The "uname -m" reports on the device HARDWARE, not software/kernel, so 
your results make sense.



.... So easy, a child could do it. Child sold separately.
=== MultiMail/Linux v0.52