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, 20 Jul 2011 14:58:38 +0000 (15:58 +0100)
commit1d0f398d8e3c74ce6a70cbbb8d9b8ae07c6d7ef6
tree70844e48ea3b632709ff07847df041e40e1830fa
parent168fd4ad5d1e5da93e11388095d41aaa8f804ceb
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.
daemon/blkid.c