cd /usr/ports; grep -R blkid *
... sysutils/e2fsprogs/pkg-plist:man/man8/blkid.8.gz sysutils/e2fsprogs/pkg-plist:sbin/blkid
blkidis including the pkg-plist file of sysutils/e2fsprogs. Looking at that port, it uses the library you installed automatically. So you don't need to install that package you installed as it will be used automatically. Just
pkg install e2fsprogsshould be enough.
pkg info -l e2fsprogs-libblkid
gpart listis what you are looking for as it also shows the label, UUID, and file system type. If you need different forms of parsable output, try out each of the following and see what works:
gpart listcan be used to retrieve the same information given by the Linux "blkid" command.
sysctl kern.geom.conftxtcan you help me to understand how can I extract them from the output of this command, that is show them on the monitor or again store them in a text file ?