]> git.ipfire.org Git - thirdparty/util-linux.git/commit
findmnt: allow to read (PART)UUID/LABEL from udev DB
authorKarel Zak <kzak@redhat.com>
Mon, 18 Feb 2013 13:53:12 +0000 (14:53 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 18 Feb 2013 14:00:57 +0000 (15:00 +0100)
commite346233ea2c234a28a9dc968bcc04e848af92033
treea7b37ad69bf75f0a978408a0015a564516f52893
parentd44e3391b77ea06b0de2677cffe89578973a9a3a
findmnt: allow to read (PART)UUID/LABEL from udev DB

Currently findmnt uses libmount to get filesystem properties (and
libmount uses libblkid). This works as expected, but root permissions
are required to read the tags from the devices.

It seems better to read the information from udev db and use libblkid
as fallback solution only.

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/Makemodule.am
misc-utils/findmnt.c