From: Tony Rodriguez <unixpro1970@gmail.com>
To: util-linux@vger.kernel.org
Subject: Help: Trying to obtain KNAME and PKNAME via <blkid.h> and partititons.c
Date: Sun, 27 Aug 2023 16:56:15 -0700 [thread overview]
Message-ID: <97a0149d-8e08-46d7-a2c9-7aa27defb55d@gmail.com> (raw)
Hello blkid team,
Please help. Compiled the example blkid partitions.c (iink id below)
which works well for obtaining the UUID. However, I also would like to
obtain KNAME and PKNAME for each fstab entry. When I attempt to modify
the partitions.c code code, I am unable to obtain KNAME and PKNAME.
How can I obtain KNAME and PKNAME by modifying the following
partitions.c example. lsblk.c does it, but requires functions that
don't appear to part of <blkid.h> and I am sure what to do?
https://github.com/util-linux/util-linux/blob/master/libblkid/samples/partitions.c
Thanks,
Tony
reply other threads:[~2023-08-27 23:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=97a0149d-8e08-46d7-a2c9-7aa27defb55d@gmail.com \
--to=unixpro1970@gmail.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).