e2fsprogs/e2fsprogs-1.40.5-blkid_cache_file_env.patch

14 lines
750 B
Diff

Index: e2fsprogs-1.40.5/lib/blkid/libblkid.3.in
===================================================================
--- e2fsprogs-1.40.5.orig/lib/blkid/libblkid.3.in
+++ e2fsprogs-1.40.5/lib/blkid/libblkid.3.in
@@ -29,6 +29,8 @@ and is verified to still be valid before
(if the user has read permission on the raw block device, otherwise not).
The cache file also allows unprivileged users (normally anyone other
than root, or those not in the "disk" group) to locate devices by label/id.
+The standard location of the cache file can be overridden by the
+environment variable BLKID_FILE.
.P
In situations where one is getting information about a single known device,
it does not impact performance whether the cache is used or not (unless you