1VOL_ID(8) vol_id VOL_ID(8)
2
3
4
6 vol_id - probe filesystem type and read label and uuid
7
9 vol_id [--export] [--type] [--label] [--label-raw] [--uuid]
10 [--skip-raid] [--probe-all] [--help] [device]
11
13 vol_id is usually called from a udev rule, to provide udev with the
14 filesystem type, the label and the uuid of a volume. It supports most
15 of the common filesystem formats and detects various raid setups to
16 prevent the recognition of raid members as a volume with a filesystem.
17
19 --export
20 Print all values in key/value format to import them into the
21 environment.
22
23 --type
24 Print the filesystem type.
25
26 --label
27 Print the safe version of volume label suitable for use as
28 filename.
29
30 --label-raw
31 Print the raw volume label.
32
33 --uuid
34 Print the uuid of a volume.
35
36 --skip-raid
37 Skip detection of raid metadata.
38
39 --probe-all
40 Probe for all types and print all matches.
41
42 --help
43 Print usage.
44
46 UDEV_LOG
47 Set the syslog priority.
48
50 vol_id will only return successful if the value asked for is not empty.
51 All trailing whitespace will be removed, spaces replaced by underscore
52 and slashes ignored.
53
55 Written by Kay Sievers <kay.sievers@vrfy.org>
56
58 udev(7)
59
60
61
62volume_id March 2006 VOL_ID(8)