Skip to contentSkip to conversation

document vol_id -L

PATCH New Andrey Borzenkov 1 participant 1 message Jan 22, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 document vol_id -L

Quoted 7 lines · Kay Sievers
Quoted 3 lines · Andrey Borzenkov

vol_id is apparently the only portable (and sometimes simply the only) way to get partition label (and UUID). This patch adds option to print raw label as opposed to safe one.

Applied.

OK here is documentation for it (I still do not understand why file generated at build time are kept in SCM, but well ...)

regards

-andrey

Subject: [PATCH] Document vol_id -L option

From: Andrey Borzenkov <[email protected]>

Add description of -L to vol_id man page; point out difference between safe label (-l) and raw version (-L)

---

 extras/volume_id/vol_id.xml |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
extras/volume_id/vol_id.xml +12 -1
index b9b35ab..2b26b3b 100644
@@ -59,7 +59,10 @@
           <varlistentry>
             <term><option>-l</option></term>
             <listitem>
-              <para>print the label of a volume</para>
+	      <para>
+		print the safe version of volume label suitable for
+		use as filename. Use <option>-L</option> to print literal label
+	      </para>
             </listitem>
           </varlistentry>
           <varlistentry>
@@ -68,6 +71,14 @@
               <para>print the uuid of a volume</para>
             </listitem>
           </varlistentry>
+          <varlistentry>
+            <term><option>-L</option></term>
+            <listitem>
+	      <para>
+		print raw volume label
+	      </para>
+            </listitem>
+          </varlistentry>
         </variablelist>
       </refsect1>
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel