* Re: blkid tells different informations to user or root
[not found] <COGoGFiPCXB@helmut.hullen.de>
@ 2013-01-07 12:10 ` Karel Zak
0 siblings, 0 replies; only message in thread
From: Karel Zak @ 2013-01-07 12:10 UTC (permalink / raw)
To: helmut; +Cc: util-linux
On Sat, Jan 05, 2013 at 12:20:00PM +0100, Helmut Hullen wrote:
> 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...
> 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.
> b) how can I create an actual "/run/blkid/blkid.tab"? Only via "rm"?
It should be unnecessary for privileged users.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-07 12:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <COGoGFiPCXB@helmut.hullen.de>
2013-01-07 12:10 ` blkid tells different informations to user or root Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox