Web lists-archives.com

Re: Discovering alternative commands




On 06/01/2017 08:14 AM, tomas@xxxxxxxxxx wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jun 01, 2017 at 07:22:36AM -0500, Richard Owlett wrote:
I'm working on a problem that requires as input an association of
disk partitions and their "label" (in gparted sense).

I already have blkid and lsblk. They are obviously designed for
different purposes. They both _can_ supply the desired information.
Neither is ideal for me.

You're always so whimsical :)

*ROFL* I disagree.
My questions may be weird, obtuse, or convoluted. Rarely, if ever, whimsical ;)
What people have said about my world view for >70 yrs best left ...


Do those commands provide the information you need, albeit in a wrong
format, or is anything truly amiss?

Yes.


Two questions (one asking for fish, the other asking to be taught to fish):
1. what other commands should I look at?

That is EXPLICITLY the intended question.
I've in the past have had teachers who would pick grammatical/syntactic nits who would have asserted that "can" would would have a better word choice than "should". [P.S. linguistics is an semantically fascinating universe of discourse ;]

I terms of set theory ;}
Please enumerate those commands which can report all partition ids and associated labels.
That specifies the appropriate necessary and sufficient conditions.
Literally the best way to interpret my questions is literally.

2. is there some reference that groups commands/programs by similarity?

Your requests for help tend to contain restrictions which sometimes
are difficult to grasp for your interlocutors.

I'll paraphrase a hermeneutics professor "If the plain sense makes common sense, seek no other sense."

To you, of course, these
restrictions seem natural, because they are the result of a thought
process you have access to -- but consider that we don't. Sometimes
those restrictions seem artificial, without the context, and I'm left
left wondering whether it's that I'm not understanding your request
or whether it's you excluding a viable possibility.

So is it the output's content or their form what isn't up to your
needs?

Neither.
One, of many, things that prompted me ask if either was preferable is one requires root privileges and the other not.