vol_id8
Probe filesystem type and read label and uuid
Usage
vol_id [--export]
[--type]
[--label]
[--label-raw]
[--uuid]
[--skip-raid]
[--probe-all]
[--help]
[device]
Overview
vol_id is usually called from a udev rule, to provide udev with the filesystem type, the label and the uuid of a volume. It supports most of the common filesystem formats and detects various raid setups to prevent the recognition of raid members as a volume with a filesystem.
Options
-
--export -
Print all values in key/value format to import them into the environment.
-
--type -
Print the filesystem type.
-
--label -
Print the safe version of volume label suitable for use as filename.
-
--label-raw -
Print the raw volume label.
-
--uuid -
Print the uuid of a volume.
-
--skip-raid -
Skip detection of raid metadata.
-
--probe-all -
Probe for all types and print all matches.
-
--help -
Print usage.
Environment
UDEV_LOG
Set the syslog priority.
Exit status
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.
History
- Debian 5.0 (Lenny): the text shown here
- Debian 4.0 (Etch)
--help since Debian 5.0 (Lenny);
--label since Debian 5.0 (Lenny);
--label-raw since Debian 5.0 (Lenny);
--probe-all since Debian 5.0 (Lenny);
--skip-raid since Debian 5.0 (Lenny);
--type since Debian 5.0 (Lenny);
--uuid since Debian 5.0 (Lenny).
-L until Debian 4.0 (Etch);
-l until Debian 4.0 (Etch);
-t until Debian 4.0 (Etch);
-u until Debian 4.0 (Etch).