summaryrefslogtreecommitdiffstats
path: root/sys-utils/Makemodule.am
diff options
context:
space:
mode:
authorShaun Tancheff2017-01-23 14:32:42 +0100
committerKarel Zak2017-02-09 13:19:44 +0100
commit70bb534511f193a00ece0e4777ad2e318a62daa0 (patch)
treec43e3e1d2ec2760e951fb936026617e42ad075b5 /sys-utils/Makemodule.am
parenthwclock: remove if-if-condition (diff)
downloadkernel-qcow2-util-linux-70bb534511f193a00ece0e4777ad2e318a62daa0.tar.gz
kernel-qcow2-util-linux-70bb534511f193a00ece0e4777ad2e318a62daa0.tar.xz
kernel-qcow2-util-linux-70bb534511f193a00ece0e4777ad2e318a62daa0.zip
blkzonecmd, blkreport: Add new commands for ZAC/ZBC drives
This patch adds: - blkreset to issue Reset (Write Pointer) zone commands - blkreport to retrieve drive zone information [kzak@redhat.com: - cleanup man page and usage() - remove command line options aliases, - use strtosize_or_err() - remove unnecessary -ludev - use blkdev.h stuff] Signed-off-by: Shaun Tancheff <shaun@tancheff.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/Makemodule.am')
-rw-r--r--sys-utils/Makemodule.am14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am
index be643c965..91d3bf0c2 100644
--- a/sys-utils/Makemodule.am
+++ b/sys-utils/Makemodule.am
@@ -126,6 +126,20 @@ blkdiscard_SOURCES = sys-utils/blkdiscard.c lib/monotonic.c
blkdiscard_LDADD = $(LDADD) libcommon.la $(REALTIME_LIBS)
endif
+if BUILD_BLKREPORT
+sbin_PROGRAMS += blkreport
+dist_man_MANS += sys-utils/blkreport.8
+blkreport_SOURCES = sys-utils/blkreport.c
+blkreport_LDADD = $(LDADD) libcommon.la $(REALTIME_LIBS)
+endif
+
+if BUILD_BLKRESET
+sbin_PROGRAMS += blkreset
+dist_man_MANS += sys-utils/blkreset.8
+blkreset_SOURCES = sys-utils/blkreset.c
+blkreset_LDADD = $(LDADD) libcommon.la $(REALTIME_LIBS)
+endif
+
if BUILD_LDATTACH
usrsbin_exec_PROGRAMS += ldattach
dist_man_MANS += sys-utils/ldattach.8