diff options
author | Karel Zak | 2012-01-25 12:56:39 +0100 |
---|---|---|
committer | Karel Zak | 2012-01-25 13:20:37 +0100 |
commit | b82590ad46acf9fe8d332b53875e24c3c31e2482 (patch) | |
tree | 6e2f7e53424393b1925a896a309d2913ae48c136 /libmount/src/cache.c | |
parent | blkid: remove -w option from man page and usage() output (diff) | |
download | kernel-qcow2-util-linux-b82590ad46acf9fe8d332b53875e24c3c31e2482.tar.gz kernel-qcow2-util-linux-b82590ad46acf9fe8d332b53875e24c3c31e2482.tar.xz kernel-qcow2-util-linux-b82590ad46acf9fe8d332b53875e24c3c31e2482.zip |
blkid: move cache to /run on new systems
Why?
* read-only root
* /etc is pretty bad place for caches
* all is usually cached by udev in /dev/disk/by-* and libblkid
is able to use these symlinks
* boot persistent cache is attractive for very small subset of
Linux machines (and they already need extra udev tunning otherwise
udev will probe all block devices during boot)
* the default is possible to override in /etc/blkid.conf
The systems without /run directory will not be affected by this
change.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libmount/src/cache.c')
-rw-r--r-- | libmount/src/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/src/cache.c b/libmount/src/cache.c index cf319ca25..1b3e94d00 100644 --- a/libmount/src/cache.c +++ b/libmount/src/cache.c @@ -54,7 +54,7 @@ struct libmnt_cache { * 1/ all tags are evaluated by udev /dev/disk/by-* symlinks, * then the blkid_cache is NULL. * - * 2/ all tags are read from /etc/blkid.tab and verified by /dev + * 2/ all tags are read from blkid.tab and verified by /dev * scanning, then the blkid_cache is not NULL and then it's * better to reuse the blkid_cache. */ |