fd7089e44b
Note that the upstream package has been renamed from util-linux-ng back to util-linux. The util-linux-ng is obsolete now. Signed-off-by: Karel Zak <kzak@redhat.com>
79 lines
3.1 KiB
Diff
79 lines
3.1 KiB
Diff
---
|
|
misc-utils/blkid.8 | 4 ++--
|
|
misc-utils/blkid.c | 2 +-
|
|
shlibs/blkid/libblkid.3 | 6 +++---
|
|
shlibs/blkid/src/blkidP.h | 2 +-
|
|
4 files changed, 7 insertions(+), 7 deletions(-)
|
|
|
|
--- util-linux-ng-2.18-rc1.orig/misc-utils/blkid.8
|
|
+++ util-linux-ng-2.18-rc1/misc-utils/blkid.8
|
|
@@ -81,7 +81,7 @@ same meaning as "KiB") or decimal (10^N)
|
|
Read from
|
|
.I cachefile
|
|
instead of reading from the default cache file
|
|
-.IR /etc/blkid.tab .
|
|
+.IR /etc/blkid/blkid.tab .
|
|
If you want to start with a clean cache (i.e. don't report devices previously
|
|
scanned but not necessarily available at this time), specify
|
|
.IR /dev/null .
|
|
@@ -228,7 +228,7 @@ Display version number and exit.
|
|
Write the device cache to
|
|
.I writecachefile
|
|
instead of writing it to the default cache file
|
|
-.IR /etc/blkid.tab .
|
|
+.IR /etc/blkid/blkid.tab .
|
|
If you don't want to save the cache to the default file, specify
|
|
.IR /dev/null.
|
|
If not specified it will be the same file as that given by the
|
|
--- util-linux-ng-2.18-rc1.orig/misc-utils/blkid.c
|
|
+++ util-linux-ng-2.18-rc1/misc-utils/blkid.c
|
|
@@ -65,7 +65,7 @@ static void usage(int error)
|
|
" [-o format] <dev> [dev ...]\n\n"
|
|
" %1$s -i [-s <tag>] [-o format] <dev> [dev ...]\n\n"
|
|
"Options:\n"
|
|
- " -c <file> cache file (default: /etc/blkid.tab, /dev/null = none)\n"
|
|
+ " -c <file> cache file (default: /etc/blkid/blkid.tab, /dev/null = none)\n"
|
|
" -h print this usage message and exit\n"
|
|
" -g garbage collect the blkid cache\n"
|
|
" -o <format> output format; can be one of:\n"
|
|
--- util-linux-ng-2.18-rc1.orig/shlibs/blkid/libblkid.3
|
|
+++ util-linux-ng-2.18-rc1/shlibs/blkid/libblkid.3
|
|
@@ -24,7 +24,7 @@ A common use is to allow use of LABEL= a
|
|
specific block device names into configuration files.
|
|
.P
|
|
Block device information is normally kept in a cache file
|
|
-.I /etc/blkid.tab
|
|
+.I /etc/blkid/blkid.tab
|
|
and is verified to still be valid before being returned to the user
|
|
(if the user has read permission on the raw block device, otherwise not).
|
|
The cache file also allows unprivileged users (normally anyone other
|
|
@@ -59,7 +59,7 @@ symlink does not match with LABEL or UUI
|
|
.I CACHE_FILE=<path>
|
|
Overrides the standard location of the cache file. This setting can be
|
|
overridden by the environment variable BLKID_FILE. Default is
|
|
-.I /etc/blkid.tab.
|
|
+.I /etc/blkid/blkid.tab.
|
|
.TP
|
|
.I EVALUATE=<methods>
|
|
Defines LABEL and UUID evaluation method(s). Currently, the libblkid library
|
|
@@ -77,7 +77,7 @@ from Ted Ts'o. The library was subseque
|
|
The low-level probing code was rewritten by Karel Zak.
|
|
.SH FILES
|
|
.TP 18
|
|
-.I /etc/blkid.tab
|
|
+.I /etc/blkid/blkid.tab
|
|
caches data extracted from each recognized block device
|
|
.TP
|
|
.I /etc/blkid.conf
|
|
--- util-linux-ng-2.18-rc1.orig/shlibs/blkid/src/blkidP.h
|
|
+++ util-linux-ng-2.18-rc1/shlibs/blkid/src/blkidP.h
|
|
@@ -279,7 +279,7 @@ extern int blkid_fstatat(DIR *dir, const
|
|
extern int blkid_openat(DIR *dir, const char *dirname, const char *filename,
|
|
int flags);
|
|
|
|
-#define BLKID_CACHE_FILE "/etc/blkid.tab"
|
|
+#define BLKID_CACHE_FILE "/etc/blkid/blkid.tab"
|
|
#define BLKID_CONFIG_FILE "/etc/blkid.conf"
|
|
|
|
#define BLKID_ERR_IO 5
|