blob: 89fbb7f173e23bb6b08935206fbca8d76f717d46 [file] [log] [blame]
bigbiff7b4c7a62015-01-01 19:44:14 -05001<?xml version="1.0"?>
2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
4[
5 <!ENTITY version SYSTEM "version.xml">
6]>
7<refentry id="libblkid-config">
8<refmeta>
9<refentrytitle role="top_of_page" id="libblkid-config.top_of_page">Config file</refentrytitle>
10<manvolnum>3</manvolnum>
11<refmiscinfo>LIBBLKID Library</refmiscinfo>
12</refmeta>
13
14<refnamediv>
15<refname>Config file</refname>
16<refpurpose>config file to control paths and basic library behavior</refpurpose>
17</refnamediv>
18
19<refsect1 id="libblkid-config.description" role="desc">
20<title role="desc.title">Description</title>
21<para>
22The standard location of the
23/etc/blkid.conf config file can be overridden by the environment variable
24BLKID_CONF. The following options control the libblkid library:
25</para>
26
27<variablelist role="params">
28 <varlistentry>
29 <term>SEND_UEVENT=<parameter>yes|not</parameter></term>
30 <listitem><simpara>
31 Sends uevent when /dev/disk/by-{label,uuid}/
32 symlink does not match with LABEL or UUID on the device. Default is "yes".
33 </simpara></listitem>
34 </varlistentry>
35 <varlistentry>
36 <term>CACHE_FILE=<parameter>path</parameter></term>
37 <listitem><simpara>
38 Overrides the standard location of the cache file. This
39 setting can be overridden by the environment variable BLKID_FILE. Default is
40 /etc/blkid.tab.
41 </simpara></listitem>
42 </varlistentry>
43 <varlistentry>
44 <term>EVALUATE=<parameter>method</parameter></term>
45 <listitem><simpara>
46 Defines LABEL and UUID evaluation method(s). Currently,
47 the libblkid library supports "udev" and "scan" methods. More than one methods
48 may be specified in a comma separated list. Default is "udev,scan". The "udev"
49 method uses udev /dev/disk/by-* symlinks and the "scan" method scans all
50 block devices from the /proc/partitions file.
51 </simpara></listitem>
52 </varlistentry>
53</variablelist>
54
55</refsect1>
56
57</refentry>