Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #75680 > unrolled thread
| Started by | c186282 <c186282@nnada.net> |
|---|---|
| First post | 2025-10-04 02:18 -0400 |
| Last post | 2025-10-13 03:06 -0400 |
| Articles | 20 on this page of 35 — 13 participants |
Back to article view | Back to comp.os.linux.misc
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
Page 1 of 2 [1] 2 Next page →
| From | c186282 <c186282@nnada.net> |
|---|---|
| Date | 2025-10-04 02:18 -0400 |
| Subject | Hmm ... Where Does "lsblk" Get It's Info From ? |
| Message-ID | <rsadnRrcKZC9IX31nZ2dnZfqn_adnZ2d@giganews.com> |
Easy enough to find what's mounted at the moment, but you need 'lsblk' to find what CAN possibly be mounted. Where/how does 'lsblk' get its info ???
[toc] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2025-10-04 08:04 +0100 |
| Message-ID | <10bqgtk$2am7p$4@dont-email.me> |
| In reply to | #75680 |
On 04/10/2025 07:18, c186282 wrote: > Easy enough to find what's mounted at the moment, but > you need 'lsblk' to find what CAN possibly be mounted. > > Where/how does 'lsblk' get its info ??? > Look at the source and find out? -- Climate Change: Socialism wearing a lab coat.
[toc] | [prev] | [next] | [standalone]
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| Date | 2025-10-04 08:22 +0000 |
| Message-ID | <10bqlgl$2brde$1@dont-email.me> |
| In reply to | #75685 |
/sys/block
[toc] | [prev] | [next] | [standalone]
| From | c186282 <c186282@nnada.net> |
|---|---|
| Date | 2025-10-04 22:39 -0400 |
| Message-ID | <KiydnT1tdvbyR3z1nZ2dnZfqn_adnZ2d@giganews.com> |
| In reply to | #75686 |
On 10/4/25 04:22, Lawrence D’Oliveiro wrote: > /sys/block Thank you - straight-up quick answer. /sys/block/<whatever> IS a bit messy to navigate/parse alas.
[toc] | [prev] | [next] | [standalone]
| From | Marc Haber <mh+usenetspam1118@zugschl.us> |
|---|---|
| Date | 2025-10-05 18:17 +0200 |
| Message-ID | <10bu5nb$120i0$1@news1.tnib.de> |
| In reply to | #75680 |
c186282 <c186282@nnada.net> wrote: >Easy enough to find what's mounted at the moment, but >you need 'lsblk' to find what CAN possibly be mounted. > >Where/how does 'lsblk' get its info ??? The problem was already solved. So all I can add is that strace would have been helpful here. Greetings Marc -- ---------------------------------------------------------------------------- Marc Haber | " Questions are the | Mailadresse im Header Rhein-Neckar, DE | Beginning of Wisdom " | Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 6224 1600402
[toc] | [prev] | [next] | [standalone]
| From | apapmurray <apap.murray@mail.com> |
|---|---|
| Date | 2025-10-11 14:09 +0100 |
| Message-ID | <10cdkv2$pc59$1@dont-email.me> |
| In reply to | #75680 |
On 04/10/2025 07:18, c186282 wrote: > Easy enough to find what's mounted at the moment, but > you need 'lsblk' to find what CAN possibly be mounted. > > Where/how does 'lsblk' get its info ??? > I can't imagine asking a question like this on Usenet instead of just using a search engine.
[toc] | [prev] | [next] | [standalone]
| From | Nuno Silva <nunojsilva@invalid.invalid> |
|---|---|
| Date | 2025-10-11 23:39 +0100 |
| Message-ID | <10cemau$13dfg$1@dont-email.me> |
| In reply to | #75943 |
On 2025-10-11, apapmurray wrote: > On 04/10/2025 07:18, c186282 wrote: >> Easy enough to find what's mounted at the moment, but >> you need 'lsblk' to find what CAN possibly be mounted. >> >> Where/how does 'lsblk' get its info ??? >> > I can't imagine asking a question like this on Usenet instead of just > using a search engine. Especially in this age where at least some search engines keep getting shittier? Google, for example, might just provide a screenful of links to ad-ridden content scrappers, and may "helpfully" include other spellings of words making the search less specific (I think someone even got it to include "extinct" when searching for "extant" or vice-versa). Not to mention all the time such search engines seem to think a web search must include videos and images. -- Nuno Silva
[toc] | [prev] | [next] | [standalone]
| From | Charlie Gibbs <cgibbs@kltpzyxm.invalid> |
|---|---|
| Date | 2025-10-12 00:28 +0000 |
| Message-ID | <ZCCGQ.239931$xYr1.99262@fx14.iad> |
| In reply to | #75959 |
On 2025-10-11, Nuno Silva <nunojsilva@invalid.invalid> wrote: > On 2025-10-11, apapmurray wrote: > >> On 04/10/2025 07:18, c186282 wrote: >> >>> Easy enough to find what's mounted at the moment, but >>> you need 'lsblk' to find what CAN possibly be mounted. >>> >>> Where/how does 'lsblk' get its info ??? >> >> I can't imagine asking a question like this on Usenet instead of just >> using a search engine. > > Especially in this age where at least some search engines keep getting > shittier? > > Google, for example, might just provide a screenful of links to > ad-ridden content scrappers, and may "helpfully" include other spellings > of words making the search less specific (I think someone even got it to > include "extinct" when searching for "extant" or vice-versa). Not to > mention all the time such search engines seem to think a web search must > include videos and images. In a recent podcast, Cory Doctorow stated that Google is making their searches less useful in order to make people work harder to find stuff. They're being paid by the mouse click, so the more clicks the better (for them). It's part of what he calls the "enshittification" of the Internet. -- /~\ Charlie Gibbs | Growth for the sake of \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology X I'm really at ac.dekanfrus | of the cancer cell. / \ if you read it the right way. | -- Edward Abbey
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2025-10-12 02:46 +0200 |
| Message-ID | <9carrlx2l1.ln2@Telcontar.valinor> |
| In reply to | #75962 |
On 2025-10-12 02:28, Charlie Gibbs wrote: > On 2025-10-11, Nuno Silva <nunojsilva@invalid.invalid> wrote: > >> On 2025-10-11, apapmurray wrote: >> >>> On 04/10/2025 07:18, c186282 wrote: >>> >>>> Easy enough to find what's mounted at the moment, but >>>> you need 'lsblk' to find what CAN possibly be mounted. >>>> >>>> Where/how does 'lsblk' get its info ??? >>> >>> I can't imagine asking a question like this on Usenet instead of just >>> using a search engine. >> >> Especially in this age where at least some search engines keep getting >> shittier? >> >> Google, for example, might just provide a screenful of links to >> ad-ridden content scrappers, and may "helpfully" include other spellings >> of words making the search less specific (I think someone even got it to >> include "extinct" when searching for "extant" or vice-versa). Not to >> mention all the time such search engines seem to think a web search must >> include videos and images. > > In a recent podcast, Cory Doctorow stated that Google is making their > searches less useful in order to make people work harder to find stuff. > They're being paid by the mouse click, so the more clicks the better > (for them). It's part of what he calls the "enshittification" of the > Internet. Not going to happen. People are learning to ask an AI instead. In fact, many google searches have an answer by the google AI, which often gets results wrong, and you can not chat with it to refine the results. Search engines like google are losing hits to the AIs. They are worried. -- Cheers, Carlos. ES🇪🇸, EU🇪🇺;
[toc] | [prev] | [next] | [standalone]
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
|---|---|
| Date | 2025-10-12 00:51 +0000 |
| Message-ID | <10ceu31$157ko$2@dont-email.me> |
| In reply to | #75965 |
On Sun, 12 Oct 2025 02:46:33 +0200, Carlos E.R. wrote: > On 2025-10-12 02:28, Charlie Gibbs wrote: >> >> In a recent podcast, Cory Doctorow stated that Google is making their >> searches less useful in order to make people work harder to find stuff. >> They're being paid by the mouse click, so the more clicks the better >> (for them). It's part of what he calls the "enshittification" of the >> Internet. > > Not going to happen. People are learning to ask an AI instead. AI services cost money (i.e. electricity bills) to provide. So don’t expect that to be a low/no-cost alternative -- certainly not for long.
[toc] | [prev] | [next] | [standalone]
| From | Stéphane CARPENTIER <sc@fiat-linux.fr> |
|---|---|
| Date | 2025-10-12 11:18 +0000 |
| Message-ID | <68eb8e93$0$16819$426a74cc@news.free.fr> |
| In reply to | #75965 |
Le 12-10-2025, Carlos E.R. <robin_listas@es.invalid> a écrit : > On 2025-10-12 02:28, Charlie Gibbs wrote: >> In a recent podcast, Cory Doctorow stated that Google is making their >> searches less useful in order to make people work harder to find stuff. >> They're being paid by the mouse click, so the more clicks the better >> (for them). It's part of what he calls the "enshittification" of the >> Internet. > > Not going to happen. People are learning to ask an AI instead. In fact, > many google searches have an answer by the google AI, which often gets > results wrong, and you can not chat with it to refine the results. > > Search engines like google are losing hits to the AIs. They are worried. The AI can't replace search engines for everything. There is a limit to that. For example, 25% of Internet bandwidth is done for porn. And AI can't help. So, they'll never been able to win more than 75% of search engines marketplaces. <https://ibb.co/kVfK0jL7> OK, there are ways to circumvent that, but it's far more difficult for knowledge guys to use search engines for that than to circumvent the AI. And for the street guy, there is no way around. -- Si vous avez du temps à perdre : https://scarpet42.gitlab.io
[toc] | [prev] | [next] | [standalone]
| From | c186282 <c186282@nnada.net> |
|---|---|
| Date | 2025-10-11 22:42 -0400 |
| Message-ID | <W-WcnRBsBfQCiHb1nZ2dnZfqnPhj4p2d@giganews.com> |
| In reply to | #75959 |
On 10/11/25 18:39, Nuno Silva wrote: > On 2025-10-11, apapmurray wrote: > >> On 04/10/2025 07:18, c186282 wrote: >>> Easy enough to find what's mounted at the moment, but >>> you need 'lsblk' to find what CAN possibly be mounted. >>> >>> Where/how does 'lsblk' get its info ??? >>> >> I can't imagine asking a question like this on Usenet instead of just >> using a search engine. > > Especially in this age where at least some search engines keep getting > shittier? Gotta get past the damned ads first ... Then the clearly 'sponsored' links ... Now they all offer "AI" to schmooze you even better and probably build up a big search dossier that will be used against you by somebody eventually. > Google, for example, might just provide a screenful of links to > ad-ridden content scrappers, and may "helpfully" include other spellings > of words making the search less specific (I think someone even got it to > include "extinct" when searching for "extant" or vice-versa). Not to > mention all the time such search engines seem to think a web search must > include videos and images. Went through a lot of 'duck' pages, but did not see any straight-up stuff on where lsblk got all its info. Mostly just endless examples of the man page. DID get immediate, straight accurate, info in this forum however. Alas, still a lot of messy parsing of the dir contents ... would probably use Python rather than 'C' - slice dice and splice are easy with Python.
[toc] | [prev] | [next] | [standalone]
| From | Jim Jackson <jj@franjam.org.uk> |
|---|---|
| Date | 2025-10-12 10:28 +0000 |
| Message-ID | <slrn10en0lk.3ud.jj@iridium.wf32df> |
| In reply to | #75979 |
On 2025-10-12, c186282 <c186282@nnada.net> wrote: > On 10/11/25 18:39, Nuno Silva wrote: >> On 2025-10-11, apapmurray wrote: >> >>> On 04/10/2025 07:18, c186282 wrote: >>>> Easy enough to find what's mounted at the moment, but >>>> you need 'lsblk' to find what CAN possibly be mounted. >>>> >>>> Where/how does 'lsblk' get its info ??? >>>> >>> I can't imagine asking a question like this on Usenet instead of just >>> using a search engine. >> >> Especially in this age where at least some search engines keep getting >> shittier? > > > Gotta get past the damned ads first ... Ads, what ads? Ublockorigin seems to do a good job, the few times I resort to using google, or youtube.
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2025-10-12 12:20 +0100 |
| Message-ID | <10cg2ts$1dscj$7@dont-email.me> |
| In reply to | #75988 |
On 12/10/2025 11:28, Jim Jackson wrote: > On 2025-10-12, c186282 <c186282@nnada.net> wrote: >> On 10/11/25 18:39, Nuno Silva wrote: >>> On 2025-10-11, apapmurray wrote: >>> >>>> On 04/10/2025 07:18, c186282 wrote: >>>>> Easy enough to find what's mounted at the moment, but >>>>> you need 'lsblk' to find what CAN possibly be mounted. >>>>> >>>>> Where/how does 'lsblk' get its info ??? >>>>> >>>> I can't imagine asking a question like this on Usenet instead of just >>>> using a search engine. >>> >>> Especially in this age where at least some search engines keep getting >>> shittier? >> >> >> Gotta get past the damned ads first ... > > Ads, what ads? Ublockorigin seems to do a good job, the few times I > resort to using google, or youtube. > I have to say that I have been using adblockers since forever and I never ever see most ads. -- “Those who can make you believe absurdities, can make you commit atrocities.” ― Voltaire, Questions sur les Miracles à M. Claparede, Professeur de Théologie à Genève, par un Proposant: Ou Extrait de Diverses Lettres de M. de Voltaire
[toc] | [prev] | [next] | [standalone]
| From | rbowman <bowman@montana.com> |
|---|---|
| Date | 2025-10-12 18:52 +0000 |
| Message-ID | <ml2bmiFqcs2U4@mid.individual.net> |
| In reply to | #75999 |
On Sun, 12 Oct 2025 12:20:28 +0100, The Natural Philosopher wrote: > On 12/10/2025 11:28, Jim Jackson wrote: >> On 2025-10-12, c186282 <c186282@nnada.net> wrote: >>> On 10/11/25 18:39, Nuno Silva wrote: >>>> On 2025-10-11, apapmurray wrote: >>>> >>>>> On 04/10/2025 07:18, c186282 wrote: >>>>>> Easy enough to find what's mounted at the moment, but you need >>>>>> 'lsblk' to find what CAN possibly be mounted. >>>>>> >>>>>> Where/how does 'lsblk' get its info ??? >>>>>> >>>>> I can't imagine asking a question like this on Usenet instead of >>>>> just using a search engine. >>>> >>>> Especially in this age where at least some search engines keep >>>> getting shittier? >>> >>> >>> Gotta get past the damned ads first ... >> >> Ads, what ads? Ublockorigin seems to do a good job, the few times I >> resort to using google, or youtube. >> > I have to say that I have been using adblockers since forever and I > never ever see most ads. I use the Brave browser that has much of that built in. There is one annoyance that I need to find a fix for. Click on a link '34 Gerbils Go Wild in Valdosta' and you're brought to a news site with a text story. However above the text there is a video with some blow-dried moron babbling on. Kill that, scroll down, and a thumbnail popup of the same idiot appears with the same content. lynx gets rid of the video fluff but there doesn't seem to be a 'shove your cookies up your ass' option.
[toc] | [prev] | [next] | [standalone]
| From | c186282 <c186282@nnada.net> |
|---|---|
| Date | 2025-10-11 21:38 -0400 |
| Message-ID | <W-WcnRhsBfQdm3b1nZ2dnZfqnPhj4p2d@giganews.com> |
| In reply to | #75943 |
On 10/11/25 09:09, apapmurray wrote: > On 04/10/2025 07:18, c186282 wrote: >> Easy enough to find what's mounted at the moment, but >> you need 'lsblk' to find what CAN possibly be mounted. >> >> Where/how does 'lsblk' get its info ??? >> > I can't imagine asking a question like this on Usenet instead of just > using a search engine. Well, I did ... and got a good clear prompt answer. What's YOUR attitude problem ? 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 ......
[toc] | [prev] | [next] | [standalone]
| From | Andy Burns <usenet@andyburns.uk> |
|---|---|
| Date | 2025-10-12 08:25 +0100 |
| Message-ID | <ml13g1FkdtuU1@mid.individual.net> |
| In reply to | #75971 |
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.>
[toc] | [prev] | [next] | [standalone]
| From | c186282 <c186282@nnada.net> |
|---|---|
| Date | 2025-10-13 03:20 -0400 |
| Message-ID | <pY-dnaDGLdyjNXH1nZ2dnZfqn_GdnZ2d@giganews.com> |
| In reply to | #75984 |
On 10/12/25 03:25, 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. They tell you how to USE lsblk, but not where/how it gets its info. A day after I posted my question some very useful/practical guy made it clear. Alas lots of parsing required. IMHO ... modern Linux SHOULD keep a much more processed/accessible file for this kind of stuff. People NEED it, so why should it be so complicated ??? Yea, yea ... I can, mostly have, built a Python script to parse/find/consolidate the required info. But it shouldn't be that hard.
[toc] | [prev] | [next] | [standalone]
| From | Andy Burns <usenet@andyburns.uk> |
|---|---|
| Date | 2025-10-13 08:33 +0100 |
| Message-ID | <ml3o9rF3js4U1@mid.individual.net> |
| In reply to | #76030 |
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?
[toc] | [prev] | [next] | [standalone]
| From | c186282 <c186282@nnada.net> |
|---|---|
| Date | 2025-10-13 03:51 -0400 |
| Message-ID | <pY-dnaPGLdz1MnH1nZ2dnZfqn_GdnZ2d@giganews.com> |
| In reply to | #76032 |
On 10/13/25 03:33, Andy Burns wrote: > 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? Not NEARLY detailed enough. Man pages are mostly for how to use the particular app - NOT how they work in fine detail. From info I got, here, I now can see where it gets its info - lots of parsing required. However for MY future apps I can likely just use a LITTLE of that. EZ. >> 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? Ummm ... not mine. I was only asking a question. I do have my answer now - thanks to a straight-practical poster not keen on being superior/insulting. Maybe, a decade ago, I'd have "just known", but lots of water under the bridge now. TOO much to try and remember.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.os.linux.misc
csiph-web