VOL_ID(8) vol_id VOL_ID(8)
vol_id - probe filesystem type and read label and uuid
vol_id [--export] [-t] [-l] [-u] [device]
vol_id is usually called from a udev rule, to provide udev with the
filesystem type, the label and the uuid of a volume. vol_id supports
all common filesystem formats and detects various raid setups to
prevent the recognition of raid members as a volume with a filesystem.
print all values in key/value format to import them into the
print the filesystem type
print the safe version of volume label suitable for use as
filename. Use -L to print literal label
print the uuid of a volume
print raw volume label
Set the syslog priority.
vol_id 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.
Written by Kay Sievers
volume_id March 2006 VOL_ID(8)