"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<article>
- <articleinfo>
- <title>xmlto</title>
- <author>
- <firstname>Kay</firstname>
- <surname>Sievers</surname>
- <email>kay.sievers@vrfy.org</email>
- </author>
- <copyright>
- <year>2006</year>
- <holder>Kay Sievers</holder>
- </copyright>
- </articleinfo>
-
<section>
<title>vol_id</title>
<refentry>
<refmeta>
<refentrytitle>vol_id</refentrytitle>
<manvolnum>8</manvolnum>
+ <refmiscinfo class="version"></refmiscinfo>
</refmeta>
<refnamediv>
<cmdsynopsis>
<command>vol_id</command>
<arg><option>--export</option></arg>
- <arg><option>-t</option></arg>
- <arg><option>-l</option></arg>
- <arg><option>-u</option></arg>
+ <arg><option>--type</option></arg>
+ <arg><option>--label</option></arg>
+ <arg><option>--label-raw</option></arg>
+ <arg><option>--uuid</option></arg>
+ <arg><option>--skip-raid</option></arg>
+ <arg><option>--probe-all</option></arg>
+ <arg><option>--offset=<replaceable>bytes</replaceable></option></arg>
+ <arg><option>--debug</option></arg>
+ <arg><option>--help</option></arg>
<arg><replaceable>device</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1><title>DESCRIPTION</title>
<para><command>vol_id</command> is usually called from a udev rule, to
provide udev with the filesystem type, the label and the uuid of a
- volume. <command>vol_id</command> supports all common filesystem formats
- and detects various raid setups to prevent the recognition of raid members
+ volume. It supports most of the common filesystem formats and detects
+ various raid setups to prevent the recognition of raid members
as a volume with a filesystem.</para>
</refsect1>
<varlistentry>
<term><option>--export</option></term>
<listitem>
- <para>print all values in key/value format to import them into the
+ <para>Print all values in key/value format to import them into the
environment.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-t</option></term>
+ <term><option>--type</option></term>
+ <listitem>
+ <para>Print the filesystem type.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--label</option></term>
+ <listitem>
+ <para>
+ Print the safe version of volume label suitable for
+ use as filename.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--label-raw</option></term>
+ <listitem>
+ <para>
+ Print the raw volume label.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--uuid</option></term>
+ <listitem>
+ <para>Print the uuid of a volume.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--skip-raid</option></term>
+ <listitem>
+ <para>Skip detection of raid metadata.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--probe-all</option></term>
+ <listitem>
+ <para>Probe for all types and print all matches.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--offset=<replaceable>bytes</replaceable></option></term>
<listitem>
- <para>print the filesystem type</para>
+ <para>Probing at the given offset, instead of the start of the volume.
+ The offset value is specified in bytes.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-l</option></term>
+ <term><option>--debug</option></term>
<listitem>
- <para>print the label of a volume</para>
+ <para>Print debug messages to stderr.</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-u</option></term>
+ <term><option>--help</option></term>
<listitem>
- <para>print the uuid of a volume</para>
+ <para>Print usage.</para>
</listitem>
</varlistentry>
</variablelist>