Help: Trying to obtain KNAME and PKNAME via <blkid.h> and partititons.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux