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


Groups > linux.debian.user > #173323

Re: Which version of Debian from which physical device?

From Ben Finney <bignose@debian.org>
Newsgroups linux.debian.user
Subject Re: Which version of Debian from which physical device?
Date 2016-10-08 18:30 +0200
Message-ID <sq2Fz-Ue-27@gated-at.bofh.it> (permalink)
References <sq22R-pG-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Richard Owlett <rowlett@cloud85.net> writes:

> However today, while chasing down an intermittent problem, I needed to
> know which point release was active and which physical device
> contained the OS. Usually I have gparted installed and can determine
> the active device by the "locked" symbol.

The question “which physical device contains the OS?” may not have a
simple answer:

* “physical device” can have multiple layers of abstraction involved, so
  it's somewhat arbitrary which one you pick as “physical”.

* “the OS” can be on many devices, so you need to pick which part of the
  OS you're interested in.

A question with a simpler answer: “which device is currently mounted
as the root filesystem?”, may serve as a useful proxy. Here is one answer:

    $ mount | grep 'on / '
    /dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)

Does that proxy question suffice?

-- 
 \      “Progress might have been all right once, but it's gone on too |
  `\                                                long.” —Ogden Nash |
_o__)                                                                  |
Ben Finney

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


Thread

Which version of Debian from which physical device? Richard Owlett <rowlett@cloud85.net> - 2016-10-08 17:50 +0200
  Re: Which version of Debian from which physical device? Ben Finney <bignose@debian.org> - 2016-10-08 18:30 +0200
  Re: Which version of Debian from which physical device? Felix Miata <mrmazda@earthlink.net> - 2016-10-08 19:40 +0200
    Thanks all - was [Re: Which version of Debian from which physical  device?] Richard Owlett <rowlett@cloud85.net> - 2016-10-08 20:40 +0200

csiph-web