Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #272423
| From | Andy Smith <andy@strugglers.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: What tool(s) reports OS buss width, which processor present? |
| Date | 2024-08-21 16:50 +0200 |
| Message-ID | <JdUOS-6zUu-23@gated-at.bofh.it> (permalink) |
| References | <JdRR0-6y9S-13@gated-at.bofh.it> <JdRR0-6y9S-11@gated-at.bofh.it> <JdSal-6ygq-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello, On Wed, Aug 21, 2024 at 07:52:14AM -0400, Greg Wooledge wrote: > It's extremely likely that whatever arch /bin/ls uses is the "primary" > arch for the system. It works on every Linux system I've encountered, > even if the kernel doesn't match it. > > Of course, for Debian specifically, there's also > > dpkg --print-architecture > > If that agrees with file /bin/ls, then you've got one more level of trust. I'm sure that if a reader has done the following they would know and remember, but I do have some i386 Debian hosts which were partially cross-graded to amd64 only as far as running the amd64 kernel while leaving all of the user land and the primary dpkg architecture as i386. This is a supported configuration. In that case "uname -a" reports the amd64 kernel correctly, while "file /bin/ls" and "dpkg --print-architecture" both still report i386! 😀 Thanks, Andy -- https://bitfolk.com/ -- No-nonsense VPS hosting
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: What tool(s) reports OS buss width, which processor present? <tomas@tuxteam.de> - 2024-08-21 13:40 +0200
Re: What tool(s) reports OS buss width, which processor present? Richard Owlett <rowlett@access.net> - 2024-08-21 13:50 +0200
Re: What tool(s) reports OS buss width, which processor present? Greg Wooledge <greg@wooledge.org> - 2024-08-21 14:00 +0200
Re: What tool(s) reports OS buss width, which processor present? Andy Smith <andy@strugglers.net> - 2024-08-21 16:50 +0200
Re: What tool(s) reports OS buss width, which processor present? Stefan Monnier <monnier@iro.umontreal.ca> - 2024-08-22 14:40 +0200
Re: What tool(s) reports OS buss width, which processor present? Andy Smith <andy@strugglers.net> - 2024-08-22 22:20 +0200
csiph-web