mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-31 16:21:11 +03:00
16801abde1
Thanks to: Henrique de Moraes Holschuh <hmh@debian.org>
42 lines
1.1 KiB
Groff
42 lines
1.1 KiB
Groff
.TH VOL_ID 8 "November 2005" "" "Linux Administrator's Manual"
|
|
.SH NAME
|
|
vol_id \- probe filesystem type and read label and uuid
|
|
.SH SYNOPSIS
|
|
.BI vol_id
|
|
[\fI--export\fP|\fI-t\fP|\fI-l\fP|\fI-u\fP] \fIblockdevice\fP
|
|
.SH "DESCRIPTION"
|
|
.B 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.
|
|
.SH USAGE
|
|
.B vol_id
|
|
opens the device node specified at the commandline.
|
|
.SH OPTIONS
|
|
The following commandline switches are supported to specify what vol_id
|
|
should print:
|
|
.TP
|
|
.BI --export
|
|
print all values in key/value format to import them into the environment.
|
|
.TP
|
|
.BI -l
|
|
print the label of the volume
|
|
.TP
|
|
.BI -t
|
|
print the type of the volume
|
|
.TP
|
|
.BI -u
|
|
print the uuid of the volume
|
|
.RE
|
|
.SH EXIT STATUS
|
|
.B 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.
|
|
.SH SEE ALSO
|
|
.BR udev (7)
|
|
.SH AUTHORS
|
|
Developed by Kay Sievers <kay.sievers@vrfy.org>.
|
|
|