* Help: Trying to obtain KNAME and PKNAME via <blkid.h> and partititons.c
@ 2023-08-27 23:56 Tony Rodriguez
0 siblings, 0 replies; only message in thread
From: Tony Rodriguez @ 2023-08-27 23:56 UTC (permalink / raw
To: util-linux
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-27 23:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-27 23:56 Help: Trying to obtain KNAME and PKNAME via <blkid.h> and partititons.c Tony Rodriguez
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).