| Summary: | [RFE] Add dmeventd option to list currently monitored devices | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Peter Rajnoha <prajnoha> |
| Component: | lvm2 | Assignee: | LVM and device-mapper development team <lvm-team> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | agk, bmarzins, bmr, dwysocha, heinzm, jonathan, lvm-team, msnitzer, prajnoha, zkabelac |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Peter Rajnoha
2012-03-21 09:31:12 UTC
Currently:
dmeventd [-d [-d [-d]]] [-f] [-h] [-R] [-V] [-?]
-d Log debug messages to syslog (-d, -dd, -ddd)
-f Don't fork, run in the foreground
-h -? Show this help information
-R Restart dmeventd
-V Show version of dmeventd
dmevent_tool -[Vh?amru]
-V Show version of dmevent_tool
-{h/?} Show this help information
-m[r|u] List all currently active device mapper devices
and their current status with dmeventd
for registered (-r)/unregistered (-m) devices
Syntax: dmevent_tool -m[u|r]
-a[r|u] Same as -m, but for devices with UUID only!
Syntax: dmevent_tool -a[u|r]
-r Register a device with dmeventd
Syntax: dmevent_tool -r <device name> <path to DSO library>
Example: dmevent_tool -r isw_abcdeh_Volume0 libdmraid-events.so
-u Unregister a device with dmeventd
Syntax: dmevent_tool -u <device name> [<path to DSO library>]
Example: dmevent_tool -u isw_abcdefgh_Volume0
The whole client library functionality should be exposed to the command line. Comments in the header file suggest it's waiting for some review. |