chiark / gitweb /
9f5a9c5d8e7f25934f915a81cf7278db6791d00a
[elogind.git] / extras / volume_id / vol_id.8
1 .\" ** You probably do not want to edit this file directly **
2 .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
3 .\" Instead of manually editing it, you probably should edit the DocBook XML
4 .\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
5 .TH "VOL_ID" "8" "March 2006" "volume_id" "vol_id"
6 .\" disable hyphenation
7 .nh
8 .\" disable justification (adjust text to left margin only)
9 .ad l
10 .SH "NAME"
11 vol_id \- probe filesystem type and read label and uuid
12 .SH "SYNOPSIS"
13 .HP 7
14 \fBvol_id\fR [\fB\-\-export\fR] [\fB\-t\fR] [\fB\-l\fR] [\fB\-u\fR] [\fIdevice\fR]
15 .SH "DESCRIPTION"
16 .PP
17 \fBvol_id\fR
18 is usually called from a udev rule, to provide udev with the filesystem type, the label and the uuid of a volume.
19 \fBvol_id\fR
20 supports all common filesystem formats and detects various raid setups to prevent the recognition of raid members as a volume with a filesystem.
21 .SH "OPTIONS"
22 .TP
23 \fB\-\-export\fR
24 print all values in key/value format to import them into the environment.
25 .TP
26 \fB\-t\fR
27 print the filesystem type
28 .TP
29 \fB\-l\fR
30 print the label of a volume
31 .TP
32 \fB\-u\fR
33 print the uuid of a volume
34 .SH "ENVIRONMENT"
35 .TP
36 \fBUDEV_LOG\fR
37 Set the syslog priority.
38 .SH "EXIT STATUS"
39 .PP
40 \fBvol_id\fR
41 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.
42 .SH "AUTHOR"
43 .PP
44 Written by Kay Sievers
45 <kay.sievers@vrfy.org>
46 .SH "SEE ALSO"
47 .PP
48 \fBudev\fR(7)