1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-11-01 00:51:08 +03:00
systemd-stable/extras/volume_id/vol_id.8

52 lines
1.4 KiB
Groff
Raw Normal View History

2006-07-29 04:13:42 +04:00
.\" Title: vol_id
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
.\" Date: March 2006
.\" Manual: vol_id
.\" Source: volume_id
.\"
.TH "VOL_ID" "8" "March 2006" "volume_id" "vol_id"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAME"
vol_id \- probe filesystem type and read label and uuid
.SH "SYNOPSIS"
.HP 7
\fBvol_id\fR [\fB\-\-export\fR] [\fB\-t\fR] [\fB\-l\fR] [\fB\-u\fR] [\fIdevice\fR]
.SH "DESCRIPTION"
.PP
\fBvol_id\fR
is usually called from a udev rule, to provide udev with the filesystem type, the label and the uuid of a volume.
\fBvol_id\fR
supports all common filesystem formats and detects various raid setups to prevent the recognition of raid members as a volume with a filesystem.
.SH "OPTIONS"
2006-07-29 04:13:42 +04:00
.TP 3n
\fB\-\-export\fR
print all values in key/value format to import them into the environment.
2006-07-29 04:13:42 +04:00
.TP 3n
\fB\-t\fR
print the filesystem type
2006-07-29 04:13:42 +04:00
.TP 3n
\fB\-l\fR
print the label of a volume
2006-07-29 04:13:42 +04:00
.TP 3n
\fB\-u\fR
print the uuid of a volume
.SH "ENVIRONMENT"
2006-07-29 04:13:42 +04:00
.TP 3n
\fBUDEV_LOG\fR
Set the syslog priority.
.SH "EXIT STATUS"
.PP
\fBvol_id\fR
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.
.SH "AUTHOR"
.PP
Written by Kay Sievers
<kay.sievers@vrfy.org>
.SH "SEE ALSO"
.PP
\fBudev\fR(7)