diff options
author | Andrey Borzenkov <arvidjaar@mail.ru> | 2007-01-22 22:27:16 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-01-22 22:27:16 +0100 |
commit | 27283c2fdaefd9c7fd557fd4663566eacccca33a (patch) | |
tree | bb1bc6e3632a047383cd7711b075846d99babcc2 | |
parent | ff2eecef88733e669ff5a43083534b32b435e2b0 (diff) |
vol_id: document -L
-rw-r--r-- | extras/volume_id/vol_id.8 | 9 | ||||
-rw-r--r-- | extras/volume_id/vol_id.xml | 13 |
2 files changed, 20 insertions, 2 deletions
diff --git a/extras/volume_id/vol_id.8 b/extras/volume_id/vol_id.8 index 1d7e1330c0..47837de7b5 100644 --- a/extras/volume_id/vol_id.8 +++ b/extras/volume_id/vol_id.8 @@ -35,13 +35,20 @@ print the filesystem type .PP \fB\-l\fR .RS 4 -print the label of a volume +print the safe version of volume label suitable for use as filename. Use +\fB\-L\fR +to print literal label .RE .PP \fB\-u\fR .RS 4 print the uuid of a volume .RE +.PP +\fB\-L\fR +.RS 4 +print raw volume label +.RE .SH "ENVIRONMENT" .PP \fBUDEV_LOG\fR diff --git a/extras/volume_id/vol_id.xml b/extras/volume_id/vol_id.xml index b9b35abaa4..2b26b3bddd 100644 --- a/extras/volume_id/vol_id.xml +++ b/extras/volume_id/vol_id.xml @@ -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> |