X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=extras%2Fvolume_id%2Fvol_id.8;h=bb248a45e087ca6691734bbcbfc9e0fd58bc664c;hp=6ffe7ce2206c53c0341f31c3787d17b34a87d55f;hb=4c13270a77d0a6b7c440af6f80e6dff4e078b3a6;hpb=0c25d156b06259f4d0ba4cfafffc8c64c27a0baf
diff --git a/extras/volume_id/vol_id.8 b/extras/volume_id/vol_id.8
index 6ffe7ce22..bb248a45e 100644
--- a/extras/volume_id/vol_id.8
+++ b/extras/volume_id/vol_id.8
@@ -1,41 +1,68 @@
-.TH VOL_ID 8 "November 2005" "" "Linux Administrator's Manual"
-.SH NAME
+.\" Title: vol_id
+.\" Author:
+.\" Generator: DocBook XSL Stylesheets v1.72.0
+.\" Date: March 2006
+.\" Manual: vol_id
+.\" Source: volume_id
+.\"
+.TH "VOL_ID" "8" "March 2006" "volume_id" "vol_id"
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.SH "NAME"
vol_id \- probe filesystem type and read label and uuid
-.SH SYNOPSIS
-.BI vol_id
-[\fI--export\fP|\fI-t\fP|\fI-l\fP|\fI-u\fP] \fIblockdevice\fP
+.SH "SYNOPSIS"
+.HP 7
+\fBvol_id\fR [\fB\-\-export\fR] [\fB\-t\fR] [\fB\-l\fR] [\fB\-u\fR] [\fIdevice\fR]
.SH "DESCRIPTION"
-.B vol_id
-is normally called from a udev rule, to provide udev with the
-label and uuid of a filesystem. vol_id supports all common
-filesystem formats and detects various raid setups to prevent
-the recognition of raid members as a filesystem.
-.SH USAGE
-.B vol_id
-opens the device node specified at the commandline.
-.SH OPTIONS
-The following commandline switches are supported to specify what vol_id
-should print:
-.TP
-.BI --export
+.PP
+\fBvol_id\fR
+is usually called from a udev rule, to provide udev with the filesystem type, the label and the uuid of a volume.
+\fBvol_id\fR
+supports all common filesystem formats and detects various raid setups to prevent the recognition of raid members as a volume with a filesystem.
+.SH "OPTIONS"
+.PP
+\fB\-\-export\fR
+.RS 4
print all values in key/value format to import them into the environment.
-.TP
-.BI -l
-print the label of the partition
-.TP
-.BI -t
-print the type of the partition
-.TP
-.BI -u
-print the uuid of the partition
.RE
-.SH EXIT STATUS
-.B vol_id
-will only return successful if the string asked for is not empty.
-All trailing whitespace will be removed, spaces replaced by underscore
-and slashes ignored.
-.SH SEE ALSO
-.BR udev (8)
-.SH AUTHORS
-Developed by Kay Sievers .
-
+.PP
+\fB\-t\fR
+.RS 4
+print the filesystem type
+.RE
+.PP
+\fB\-l\fR
+.RS 4
+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
+.RS 4
+Set the syslog priority.
+.RE
+.SH "EXIT STATUS"
+.PP
+\fBvol_id\fR
+will only return successful if the value asked for is not empty. All trailing whitespace will be removed, spaces replaced by underscore and slashes ignored.
+.SH "AUTHOR"
+.PP
+Written by Kay Sievers
+
+.SH "SEE ALSO"
+.PP
+\fBudev\fR(7)