chiark / gitweb /
scsi_id: make sure, we do not have slashes in values
[elogind.git] / extras / volume_id / vol_id.xml
index b9b35abaa40faab4078f255e9495777333afc619..3ab0b05c8204a16daa7785985be6123f78c18148 100644 (file)
         <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>
@@ -36,8 +42,8 @@
       <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>
+              <para>Print the filesystem type.</para>
             </listitem>
           </varlistentry>
           <varlistentry>
-            <term><option>-l</option></term>
+            <term><option>--label</option></term>
             <listitem>
-              <para>print the label of a volume</para>
+              <para>
+                Print the safe version of volume label suitable for
+                use as filename.
+              </para>
             </listitem>
           </varlistentry>
           <varlistentry>
-            <term><option>-u</option></term>
+            <term><option>--label-raw</option></term>
             <listitem>
-              <para>print the uuid of a volume</para>
+              <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>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>--debug</option></term>
+            <listitem>
+              <para>Print debug messages to stderr.</para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
+            <term><option>--help</option></term>
+            <listitem>
+              <para>Print usage.</para>
             </listitem>
           </varlistentry>
         </variablelist>