From: Andrey Borzenkov Date: Mon, 22 Jan 2007 21:27:16 +0000 (+0100) Subject: vol_id: document -L X-Git-Tag: 174~2078 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=27283c2fdaefd9c7fd557fd4663566eacccca33a vol_id: document -L --- diff --git a/extras/volume_id/vol_id.8 b/extras/volume_id/vol_id.8 index 1d7e1330c..47837de7b 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 b9b35abaa..2b26b3bdd 100644 --- a/extras/volume_id/vol_id.xml +++ b/extras/volume_id/vol_id.xml @@ -59,7 +59,10 @@ - print the label of a volume + + print the safe version of volume label suitable for + use as filename. Use to print literal label + @@ -68,6 +71,14 @@ print the uuid of a volume + + + + + print raw volume label + + +