Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.misc > #76032

Re: Hmm ... Where Does "lsblk" Get It's Info From ?

From Andy Burns <usenet@andyburns.uk>
Newsgroups comp.os.linux.misc
Subject Re: Hmm ... Where Does "lsblk" Get It's Info From ?
Date 2025-10-13 08:33 +0100
Message-ID <ml3o9rF3js4U1@mid.individual.net> (permalink)
References <rsadnRrcKZC9IX31nZ2dnZfqn_adnZ2d@giganews.com> <10cdkv2$pc59$1@dont-email.me> <W-WcnRhsBfQdm3b1nZ2dnZfqnPhj4p2d@giganews.com> <ml13g1FkdtuU1@mid.individual.net> <pY-dnaDGLdyjNXH1nZ2dnZfqn_GdnZ2d@giganews.com>

Show all headers | View raw


c186282 wrote:

> Andy Burns wrote:
> >> c186282 wrote:
>>
>>>    BTW there's no good response when searching
>>>    for "Where does lsblk get its information".
>>>    Basically you just get 50 copies of the man
>>>    page ......
>>
>> The man pages *do* know the answer ...
>>
>> <https://man7.org/linux/man-pages/man8/lsblk.8.html#:~:text=The%20lsblk%20command%20reads%20the,types%20from%20the%20block%20device.>
> 
>    Um ... no ... actually.

Did you read the link?  Did you notice the highlighted fragment?

>    They tell you how to USE lsblk, but not
>    where/how it gets its info.

"The lsblk command reads the sysfs filesystem and udev db to gather 
information. If the udev db is not available or lsblk is compiled 
without udev support, then it tries to read LABELs, UUIDs and filesystem 
types from the block device."

Is that not your answer?

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Hmm ... Where Does "lsblk" Get It's Info From ? c186282 <c186282@nnada.net> - 2025-10-04 02:18 -0400
  Re: Hmm ... Where Does "lsblk" Get It's Info From ? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-04 08:04 +0100
    Re: Hmm ... Where Does "lsblk" Get It's Info From ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-04 08:22 +0000
      Re: Hmm ... Where Does "lsblk" Get It's Info From ? c186282 <c186282@nnada.net> - 2025-10-04 22:39 -0400
  Re: Hmm ... Where Does "lsblk" Get It's Info From ? Marc Haber <mh+usenetspam1118@zugschl.us> - 2025-10-05 18:17 +0200
  Re: Hmm ... Where Does "lsblk" Get It's Info From ? apapmurray <apap.murray@mail.com> - 2025-10-11 14:09 +0100
    Re: Hmm ... Where Does "lsblk" Get It's Info From ? Nuno Silva <nunojsilva@invalid.invalid> - 2025-10-11 23:39 +0100
      Re: Hmm ... Where Does "lsblk" Get It's Info From ? Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-10-12 00:28 +0000
        Re: Hmm ... Where Does "lsblk" Get It's Info From ? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-12 02:46 +0200
          Re: Hmm ... Where Does "lsblk" Get It's Info From ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-12 00:51 +0000
          Re: Hmm ... Where Does "lsblk" Get It's Info From ? Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-10-12 11:18 +0000
      Re: Hmm ... Where Does "lsblk" Get It's Info From ? c186282 <c186282@nnada.net> - 2025-10-11 22:42 -0400
        Re: Hmm ... Where Does "lsblk" Get It's Info From ? Jim Jackson <jj@franjam.org.uk> - 2025-10-12 10:28 +0000
          Re: Hmm ... Where Does "lsblk" Get It's Info From ? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-12 12:20 +0100
            Re: Hmm ... Where Does "lsblk" Get It's Info From ? rbowman <bowman@montana.com> - 2025-10-12 18:52 +0000
    Re: Hmm ... Where Does "lsblk" Get It's Info From ? c186282 <c186282@nnada.net> - 2025-10-11 21:38 -0400
      Re: Hmm ... Where Does "lsblk" Get It's Info From ? Andy Burns <usenet@andyburns.uk> - 2025-10-12 08:25 +0100
        Re: Hmm ... Where Does "lsblk" Get It's Info From ? c186282 <c186282@nnada.net> - 2025-10-13 03:20 -0400
          Re: Hmm ... Where Does "lsblk" Get It's Info From ? Andy Burns <usenet@andyburns.uk> - 2025-10-13 08:33 +0100
            Re: Hmm ... Where Does "lsblk" Get It's Info From ? c186282 <c186282@nnada.net> - 2025-10-13 03:51 -0400
            Re: Hmm ... Where Does "lsblk" Get It's Info From ? c186282 <c186282@nnada.net> - 2025-10-13 03:53 -0400
              Re: Hmm ... Where Does "lsblk" Get It's Info From ? Andy Burns <usenet@andyburns.uk> - 2025-10-13 09:38 +0100
                Re: Hmm ... Where Does "lsblk" Get It's Info From ? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-13 10:22 +0100
            Re: Hmm ... Where Does "lsblk" Get It's Info From ? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-13 10:40 +0200
              Re: Hmm ... Where Does "lsblk" Get It's Info From ? Andy Burns <usenet@andyburns.uk> - 2025-10-13 09:56 +0100
                Re: Hmm ... Where Does "lsblk" Get It's Info From ? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-13 11:45 +0200
                Re: Hmm ... Where Does "lsblk" Get It's Info From ? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-13 11:32 +0100
                Re: Hmm ... Where Does "lsblk" Get It's Info From ? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-13 21:21 +0000
                Re: Hmm ... Where Does "lsblk" Get It's Info From ? John Ames <commodorejohn@gmail.com> - 2025-10-13 14:34 -0700
                Re: Hmm ... Where Does "lsblk" Get It's Info From ? Andy Burns <usenet@andyburns.uk> - 2025-10-13 11:38 +0100
                Re: Hmm ... Where Does "lsblk" Get It's Info From ? Andy Burns <usenet@andyburns.uk> - 2025-10-13 11:45 +0100
                Re: Hmm ... Where Does "lsblk" Get It's Info From ? "Carlos E.R." <robin_listas@es.invalid> - 2025-10-13 13:05 +0200
    Re: Hmm ... Where Does "lsblk" Get It's Info From ? The Natural Philosopher <tnp@invalid.invalid> - 2025-10-12 12:19 +0100
      Re: Hmm ... Where Does "lsblk" Get It's Info From ? rbowman <bowman@montana.com> - 2025-10-12 18:58 +0000
    Re: Hmm ... Where Does "lsblk" Get It's Info From ? c186282 <c186282@nnada.net> - 2025-10-13 03:06 -0400

csiph-web