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 14:04:11 +0000 (15:04 +0100)
commitcbabf827ecac7342b8f96f043e89b86220544812
tree7f703fd977522ba689afbcb18e8bf8921343ca5a
parentfbfc1768a878044720cd5f03dc6e308dbdc70595
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