2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
9 <firstname>Kay</firstname>
10 <surname>Sievers</surname>
11 <email>kay.sievers@vrfy.org</email>
15 <holder>Kay Sievers</holder>
24 <date>March 2006</date>
25 <productname>volume_id</productname>
29 <refentrytitle>vol_id</refentrytitle>
30 <manvolnum>8</manvolnum>
34 <refname>vol_id</refname><refpurpose>probe filesystem type and read label and uuid</refpurpose>
39 <command>vol_id</command>
40 <arg><option>--export</option></arg>
41 <arg><option>-t</option></arg>
42 <arg><option>-l</option></arg>
43 <arg><option>-u</option></arg>
44 <arg><replaceable>device</replaceable></arg>
48 <refsect1><title>DESCRIPTION</title>
49 <para><command>vol_id</command> is usually called from a udev rule, to
50 provide udev with the filesystem type, the label and the uuid of a
51 volume. <command>vol_id</command> supports all common filesystem formats
52 and detects various raid setups to prevent the recognition of raid members
53 as a volume with a filesystem.</para>
56 <refsect1><title>OPTIONS</title>
59 <term><option>--export</option></term>
61 <para>print all values in key/value format to import them into the
66 <term><option>-t</option></term>
68 <para>print the filesystem type</para>
72 <term><option>-l</option></term>
74 <para>print the label of a volume</para>
78 <term><option>-u</option></term>
80 <para>print the uuid of a volume</para>
86 <refsect1><title>ENVIRONMENT</title>
89 <term><option>UDEV_LOG</option></term>
91 <para>Set the syslog priority.</para>
97 <refsect1><title>EXIT STATUS</title>
98 <para><command>vol_id</command> will only return successful if the
99 value asked for is not empty. All trailing whitespace will be removed,
100 spaces replaced by underscore and slashes ignored.</para>
103 <refsect1><title>AUTHOR</title>
104 <para>Written by Kay Sievers <email>kay.sievers@vrfy.org</email></para>
108 <title>SEE ALSO</title>
110 <refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum>
111 </citerefentry></para>