.RB [ \-dghlv ]
.RB [ \-c
.IR file ]
-.RB [ \-w
-.IR file ]
.RB [ \-o
.IR format ]
.in +6
.B \-v
Display version number and exit.
.TP
-.BI \-w " writecachefile"
-Write the device cache to
-.I writecachefile
-instead of writing it to the default cache file
-.IR /etc/blkid.tab .
-If you don't want to save the cache at all, specify
-.IR /dev/null.
-If not specified, it will be the same file as that given with the
-.B \-c
-option.
-.TP
.I device
Display tokens from only the specified device. It is possible to
give multiple
"Usage:\n"
" %1$s -L <label> | -U <uuid>\n\n"
" %1$s [-c <file>] [-ghlLv] [-o <format>] [-s <tag>] \n"
- " [-t <token>] [-w <file>] [<dev> ...]\n\n"
+ " [-t <token>] [<dev> ...]\n\n"
" %1$s -p [-s <tag>] [-O <offset>] [-S <size>] \n"
" [-o <format>] <dev> ...\n\n"
" %1$s -i [-s <tag>] [-o <format>] <dev> ...\n\n"
" -L <label> convert LABEL to device name\n"
" -U <uuid> convert UUID to device name\n"
" -v print version and exit\n"
- " -w <file> write cache to different file (/dev/null = no write)\n"
" <dev> specify device(s) to probe (default: all devices)\n\n"
"Low-level probing options:\n"
" -p low-level superblocks probing (bypass cache)\n"
char *show[128] = { NULL, };
char *search_type = NULL, *search_value = NULL;
char *read = NULL;
- char *write = NULL;
int fltr_usage = 0;
char **fltr_type = NULL;
int fltr_flag = BLKID_FLTR_ONLYIN;
read = NULL;
else
read = optarg;
- if (!write)
- write = read;
break;
case 'd':
raw_chars = 1;
version = 1;
break;
case 'w':
- if (optarg && !*optarg)
- write = NULL;
- else
- write = optarg;
+ /* ignore - backward compatibility */
break;
case 'h':
err = 0;