blkid tells different informations to user or root
Karel Zak
maintainerQuoted 2 lines · Helmut Hullen
Running "blkid" as an underprivileged user apparently shows data (for sdb) which don't fit for the actually configuration.
Sure, if you have no permissions to revalidate the data...
Quoted 1 line
a) where's the bug for this different output?
It's expected behavior, this is reason why programs like mount(8) have suid permissions.
Please, use lsblk(1) if you want see more reliable overview about system block devices. It reads data from /sys and some details from udevd DB.
Quoted 1 line
b) how can I create an actual "
/run/blkid/blkid.tab"? Only via "rm"?
It should be unnecessary for privileged users.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com