blkid: Use -c /dev/null option to kill the cache.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 20 Jul 2011 13:41:39 +0000 (14:41 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 27 Jul 2011 13:51:04 +0000 (14:51 +0100)
commit880374c6df2a694bb1457231f110d9ef7035e5b7
treefa1298bda52ede5203025a29a892cc44ce0c957f
parent7b45f7d04f8eecae7ab8e3db2193dcbbd3cd839f
blkid: Use -c /dev/null option to kill the cache.

On recent Debian, /etc/blkid.tab is now a symlink to /dev/.blkid.tab.
Rather than chasing the cache file around (it may move to /run in future)
use the -c /dev/null option to stop blkid from reading the cache.
(cherry picked from commit 1d0f398d8e3c74ce6a70cbbb8d9b8ae07c6d7ef6)
daemon/blkid.c