lsblk is not working. I tried entering a bug report but keep getting rejected.

lsblk -nPo mountpoint,uuid,label
provides…
MOUNTPOINT="" UUID="" LABEL="" #for each non-mount point)
MOUNTPOINT="/boot/efi" UUID="" LABEL="" #where is the UUID= value, where is the LABEL value
MOUNTPOINT="/boot" UUID="" LABEL=""
MOUNTPOINT="/" UUID="" LABEL=""
MOUNTPOINT="/home" UUID="" LABEL=""
MOUNTPOINT="[SWAP]" UUID="" LABEL=""

MOUNTPOINT="/share" UUID="" LABEL=""
MOUNTPOINT="" UUID="" LABEL=""
MOUNTPOINT="" UUID="" LABEL=""

I should have values for UUID, LABEL, and even other fields (PARTLABEL, PARTUUID’, type,name)

lsblk works with Fedora 31

Please submit a bug report on my behalf, I was unable to get past “test case.id” on that form.

Here is what my objective is: To create a xreferenced and crosschecked /etc/fstab…

system installed 14 December at 21:45

#<file system> <mount> <type> <options> <dmp pass> <xref> <label/uuid>
UUID=c54f3905-476f-4950-a93c-aeecbc10b6a9 none swap pri=10 0 0 #/dev/sda5 sda6swap
UUID=342b8397-5918-4a38-8003-bbce102d6152 / xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota 0 2 #/dev/sda3 kdeslash
UUID=eb99fd6d-62db-4d0b-b7fa-7a8257e0dd79 /boot ext4 relatime,data=ordered 0 1 #/dev/sda2 kdeboot
UUID=6a93809e-6fe6-4434-a915-7f35583441ec /home ext4 data=ordered 0 0 #/dev/sda4 kdehome
UUID=AA36-40A5 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0 #/dev/sda1 KDEEFI
UUID=acefc30a-d7fc-40fb-82c5-e0cae7c85ff0 /share ext4 defaults,relatime 0 2 #/dev/nvme0n1p5 nvme0n1p5Share
UUID=2821d3c2-0c1a-452f-ae49-bff5201302aa /scratch2 ext4 defaults,relatime,noauto,user 0 0 #/dev/sdc5 scratch2
UUID=93d0771c-f7fc-4c41-af99-795098d9281a /scratch1 ext4 defaults,relatime,noauto,user 0 0 #/dev/sdc4 scratch1
UUID=f887e10f-e68b-4434-892b-6e27c923af6c /backup ext4 defaults,relatime,noauto,user 0 0 #/dev/sdc3 backup
UUID=378e9bda-3488-4378-9066-afbd0e80c73c /junk ext4 defaults,relatime,data=ordered 0 0 #/dev/sdc9 junk
tmpfs /tmp tmpfs size=10% 0 0 #/dev/rdsk ramdisk

I need lsblk to match mountpoint to label or partlabel.

Further update.
sudo blkid provides the full listing. blkid needs root privileges, but lsblk does not.

I’m not sure what form you were using.

I normally use this link:
https://en.opensuse.org/openSUSE:Submitting_bug_reports
and I don’t recall any “test case id” for that page.

High nrickert
I don’t know why I ended up at a different bug report page, but following your link, I was successful in posting my bug as #1160484
Thank you for posting the link.

I am going to try copying the Fedora 31 lsblk utility to Tumbleweed. If it does not use dynamic libraries, I think I should be OK.

You probably went directly to the bugzilla, which presents a page which is difficult to follow. The link I provided is easier to use. Thanks for reporting back the bug number.

I happen to multiboot systems
Tumbleweed, Fedora 31, Deepin, Fedora Rawhide and Clear Linux.

I test my programs on each distribution.

When my lsblk failed with TWD, I noted the size as being 88k.

I copied over the one from Fedora 31, (130k) and it works as per the documentaiton.

So, we know it is not my code but a bug in Tumbleweed’s default lsblk copy.

I did not try to perform a refresh of that module. I would be surprised if a refresh retrieves a bugfree copy.

I presume this topic can be closed (solved).

Today, Tumbleweed update dated 8 january, 2020 included an updated lsblk
The issue is closed.

SOLVED