chiark / gitweb /
man pages: mention udev(7) not udev(8)
[elogind.git] / extras / volume_id / vol_id.8
1 .TH VOL_ID 8 "November 2005" "" "Linux Administrator's Manual"
2 .SH NAME
3 vol_id \- probe filesystem type and read label and uuid
4 .SH SYNOPSIS
5 .BI vol_id
6 [\fI--export\fP|\fI-t\fP|\fI-l\fP|\fI-u\fP] \fIblockdevice\fP
7 .SH "DESCRIPTION"
8 .B vol_id
9 is normally called from a udev rule, to provide udev with the
10 label and uuid of a filesystem. vol_id supports all common
11 filesystem formats and detects various raid setups to prevent
12 the recognition of raid members as a filesystem.
13 .SH USAGE
14 .B vol_id
15 opens the device node specified at the commandline.
16 .SH OPTIONS
17 The following commandline switches are supported to specify what vol_id
18 should print:
19 .TP
20 .BI --export
21 print all values in key/value format to import them into the environment.
22 .TP
23 .BI -l
24 print the label of the volume
25 .TP
26 .BI -t
27 print the type of the volume
28 .TP
29 .BI -u
30 print the uuid of the volume
31 .RE
32 .SH EXIT STATUS
33 .B vol_id
34 will only return successful if the string asked for is not empty.
35 All trailing whitespace will be removed, spaces replaced by underscore
36 and slashes ignored.
37 .SH SEE ALSO
38 .BR udev (7)
39 .SH AUTHORS
40 Developed by Kay Sievers <kay.sievers@vrfy.org>.
41