Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244882

Re: i386 or AMD64 - Which is currently running?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: i386 or AMD64 - Which is currently running?
Date 2022-01-31 20:20 +0100
Message-ID <DLKnv-7Ib-3@gated-at.bofh.it> (permalink)
References <DLE8p-3SP-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 31 Jan 2022 at 06:32:23 (-0600), Richard Owlett wrote:
> Due to historical circumstances, I have laptops which multi-boot
> various Debian releases. There be 32 bit and 64 bit versions of the
> same release on a particular machine.
> 
> 1. From current console, how can I determine which is running?
>    [ equivalent of /etc/debian_version would be ideal ]
> 
> 2. As superuser, how can I determine which is installed on a different
>    partition?
>    [ My typical installation routine has been a descriptive label for
>      each root partition. But not always done ;{ ]

Perhaps the best proof of the presence of a Debian system
with a given architecture has to be /usr/bin/dpkg itself,
and   file /usr/bin/dpkg   also has the advantage of being
able to answer the second question, where you obviously
can't run a binary belonging the foreign partition.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

i386 or AMD64 - Which is currently running? Richard Owlett <rowlett@cloud85.net> - 2022-01-31 13:40 +0100
  Re: i386 or AMD64 - Which is currently running? Curt <curty@free.fr> - 2022-01-31 13:40 +0100
    Re: i386 or AMD64 - Which is currently running? Richard Owlett <rowlett@cloud85.net> - 2022-01-31 17:00 +0100
      Re: i386 or AMD64 - Which is currently running? Curt <curty@free.fr> - 2022-01-31 17:40 +0100
        Re: i386 or AMD64 - Which is currently running? Greg Wooledge <greg@wooledge.org> - 2022-01-31 17:40 +0100
          Re: i386 or AMD64 - Which is currently running? Brian <ad44@cityscape.co.uk> - 2022-01-31 21:10 +0100
            Re: i386 or AMD64 - Which is currently running? Stefan Monnier <monnier@iro.umontreal.ca> - 2022-01-31 22:40 +0100
              Re: i386 or AMD64 - Which is currently running? Greg Wooledge <greg@wooledge.org> - 2022-01-31 22:50 +0100
                Re: i386 or AMD64 - Which is currently running? Stefan Monnier <monnier@iro.umontreal.ca> - 2022-02-01 03:10 +0100
                Re: i386 or AMD64 - Which is currently running? David Wright <deblis@lionunicorn.co.uk> - 2022-02-01 04:00 +0100
                Re: i386 or AMD64 - Which is currently running? Stefan Monnier <monnier@iro.umontreal.ca> - 2022-02-01 06:30 +0100
                Re: i386 or AMD64 - Which is currently running? Michael Stone <mstone@debian.org> - 2022-02-01 04:20 +0100
                Re: i386 or AMD64 - Which is currently running? Stefan Monnier <monnier@iro.umontreal.ca> - 2022-02-01 06:40 +0100
                Re: i386 or AMD64 - Which is currently running? Michael Stone <mstone@debian.org> - 2022-02-01 14:40 +0100
              Re: i386 or AMD64 - Which is currently running? Richard Owlett <rowlett@cloud85.net> - 2022-02-01 01:40 +0100
              Re: i386 or AMD64 - Which is currently running? <tomas@tuxteam.de> - 2022-02-01 06:50 +0100
              Re: i386 or AMD64 - Which is currently running? Curt <curty@free.fr> - 2022-02-01 13:30 +0100
                Re: i386 or AMD64 - Which is currently running? Stanislav Vlasov <stanislav.v.v@gmail.com> - 2022-02-01 17:20 +0100
                Re: i386 or AMD64 - Which is currently running? Curt <curty@free.fr> - 2022-02-01 18:50 +0100
            CLARIFICATION --- Re: i386 or AMD64 - Which is currently running? Richard Owlett <rowlett@cloud85.net> - 2022-02-01 01:40 +0100
              Re: CLARIFICATION --- Re: i386 or AMD64 - Which is currently running? songbird <songbird@anthive.com> - 2022-02-01 07:20 +0100
                Re: CLARIFICATION --- Re: i386 or AMD64 - Which is currently running? Richard Owlett <rowlett@cloud85.net> - 2022-02-01 13:10 +0100
      Re: i386 or AMD64 - Which is currently running? Stefan Krusche <linux@stefan-krusche.de> - 2022-02-01 11:50 +0100
  Re: i386 or AMD64 - Which is currently running? Greg Wooledge <greg@wooledge.org> - 2022-01-31 14:40 +0100
    Re: i386 or AMD64 - Which is currently running? David Wright <deblis@lionunicorn.co.uk> - 2022-01-31 17:50 +0100
  Re: i386 or AMD64 - Which is currently running? Teemu Likonen <tlikonen@iki.fi> - 2022-01-31 14:40 +0100
    Re: i386 or AMD64 - Which is currently running? Greg Wooledge <greg@wooledge.org> - 2022-01-31 14:40 +0100
  Re: i386 or AMD64 - Which is currently running? Stefan Monnier <monnier@iro.umontreal.ca> - 2022-01-31 14:40 +0100
  Re: i386 or AMD64 - Which is currently running? David Wright <deblis@lionunicorn.co.uk> - 2022-01-31 20:20 +0100

csiph-web