Whamcloud - gitweb
Prevent error messages to stderr caused by libblkid calling libdevmapper
authorTheodore Ts'o <tytso@mit.edu>
Sun, 19 Mar 2006 20:26:26 +0000 (15:26 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 19 Mar 2006 20:26:26 +0000 (15:26 -0500)
commitf4f425b20bfec2bfa11a2b1df99b246541b3aff9
tree41805259fa94e291401698a0c99d26fb2127cece
parent8deb80a5d1078cbe43eaffcdeebf0a1a549d6a54
Prevent error messages to stderr caused by libblkid calling libdevmapper

Make the libdevmapper fail quietly if blkid is called without root
privileges or the kernel does not include device mapper support.
(What is the device mapper _library_ doing writing to stderr, anyway?)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/blkid/ChangeLog
lib/blkid/devname.c