Provided by: udev_079-0ubuntu34_i386
vol_id - probe filesystem type and read label and uuid
vol_id [--export|-t|-l|-u] blockdevice
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.
vol_id opens the device node specified at the commandline.
The following commandline switches are supported to specify what vol_id
print all values in key/value format to import them into the
-l print the label of the partition
-t print the type of the partition
-u print the uuid of the partition
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.
Developed by Kay Sievers <firstname.lastname@example.org>.
November 2005 VOL_ID(8)