mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Updated documentation for dmeventd.
Update man page style. Mention raid and thin plugins. Update help text printed by command to match man page.
This commit is contained in:
parent
301e821d3b
commit
59e1bb62de
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.89 -
|
Version 2.02.89 -
|
||||||
==================================
|
==================================
|
||||||
|
Updated documentation for dmeventd.
|
||||||
Drop extra stat call before opening device.
|
Drop extra stat call before opening device.
|
||||||
Reduce number of lstat calls when selecting device alias.
|
Reduce number of lstat calls when selecting device alias.
|
||||||
Add function to inialize common structure device members.
|
Add function to inialize common structure device members.
|
||||||
|
@ -1872,11 +1872,12 @@ out:
|
|||||||
static void usage(char *prog, FILE *file)
|
static void usage(char *prog, FILE *file)
|
||||||
{
|
{
|
||||||
fprintf(file, "Usage:\n"
|
fprintf(file, "Usage:\n"
|
||||||
"%s [-V] [-h] [-d] [-d] [-d] [-f]\n\n"
|
"%s [-d [-d [-d]]] [-f] [-h] [-R] [-V] [-?]\n\n"
|
||||||
" -V Show version of dmeventd\n"
|
|
||||||
" -h Show this help information\n"
|
|
||||||
" -d Log debug messages to syslog (-d, -dd, -ddd)\n"
|
" -d Log debug messages to syslog (-d, -dd, -ddd)\n"
|
||||||
" -f Don't fork, run in the foreground\n\n", prog);
|
" -f Don't fork, run in the foreground\n"
|
||||||
|
" -h -? Show this help information\n"
|
||||||
|
" -R Restart dmeventd\n"
|
||||||
|
" -V Show version of dmeventd\n\n", prog);
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
dmeventd \- Device-mapper event daemon
|
dmeventd \- Device-mapper event daemon
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B dmeventd
|
.B dmeventd
|
||||||
[\-d]
|
.RB [ \-d " [" -d " [" -d ]]]
|
||||||
[\-f]
|
.RB [ \-f ]
|
||||||
[\-R]
|
.RB [ \-h ]
|
||||||
[\-h]
|
.RB [ \-R ]
|
||||||
[\-V]
|
.RB [ \-V ]
|
||||||
[\-?]
|
.RB [ \-? ]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
dmeventd is the event monitoring daemon for device-mapper devices.
|
dmeventd is the event monitoring daemon for device-mapper devices.
|
||||||
Library plugins can register and carry out actions triggered when
|
Library plugins can register and carry out actions triggered when
|
||||||
@ -19,30 +19,39 @@ LVM PLUGINS
|
|||||||
.I Mirror
|
.I Mirror
|
||||||
Attempts to handle device failure automatically. See \fBlvm.conf\fP(5).
|
Attempts to handle device failure automatically. See \fBlvm.conf\fP(5).
|
||||||
.TP
|
.TP
|
||||||
|
.I Raid
|
||||||
|
Attempts to handle device failure automatically. See \fBlvm.conf\fP(5).
|
||||||
|
.TP
|
||||||
.I Snapshot
|
.I Snapshot
|
||||||
Monitors how full a snapshot is becoming and emits a warning to
|
Monitors how full a snapshot is becoming and emits a warning to
|
||||||
syslog when it exceeds 80% full.
|
syslog when it exceeds 80% full.
|
||||||
The warning is repeated when 85%, 90% and 95% of the snapshot is filled.
|
The warning is repeated when 85%, 90% and 95% of the snapshot is filled.
|
||||||
See \fBlvm.conf\fP(5).
|
See \fBlvm.conf\fP(5).
|
||||||
|
.TP
|
||||||
|
.I Thin
|
||||||
|
Monitors how full a thin pool is becoming and emits a warning to
|
||||||
|
syslog when it exceeds 80% full.
|
||||||
|
The warning is repeated when 85%, 90% and 95% of the thin pool is filled.
|
||||||
|
See \fBlvm.conf\fP(5).
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.I \-d
|
.B \-d
|
||||||
Repeat from 1 to 3 times (-d, -dd, -ddd) to increase the detail of
|
Repeat from 1 to 3 times (-d, -dd, -ddd) to increase the detail of
|
||||||
debug messages sent to syslog.
|
debug messages sent to syslog.
|
||||||
Each extra d adds more debugging information.
|
Each extra d adds more debugging information.
|
||||||
.TP
|
.TP
|
||||||
.I \-f
|
.B \-f
|
||||||
Don't fork, run in the foreground.
|
Don't fork, run in the foreground.
|
||||||
.TP
|
.TP
|
||||||
.I \-R
|
.BR \-h ", " \-?
|
||||||
|
Show help information.
|
||||||
|
.TP
|
||||||
|
.B \-R
|
||||||
Replace a running dmeventd instance. The running dmeventd must be version
|
Replace a running dmeventd instance. The running dmeventd must be version
|
||||||
2.02.77 or newer. The new dmeventd instance will obtain a list of devices and
|
2.02.77 or newer. The new dmeventd instance will obtain a list of devices and
|
||||||
events to monitor from the currently running daemon.
|
events to monitor from the currently running daemon.
|
||||||
.TP
|
.TP
|
||||||
.I \-h, \-?
|
.B \-V
|
||||||
Show help information.
|
|
||||||
.TP
|
|
||||||
.I \-V
|
|
||||||
Show version of dmeventd.
|
Show version of dmeventd.
|
||||||
|
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
|
Loading…
Reference in New Issue
Block a user