mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
f66434268c
The horrible effects of human slavery continue to impact society. The casual use of the term "slave" in computer software is an unnecessary reference to a painful human experience. This commit removes all possible references to the term "slave". Implementation notes: The zpool.d/slaves script is renamed to dm-deps, which uses the same terminology as `dmsetup deps`. References to the `/sys/class/block/$dev/slaves` directory remain. This directory name is determined by the Linux kernel. Although `dmsetup deps` provides the same information, it unfortunately requires elevated privileges, whereas the `/sys/...` directory is world-readable. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Matthew Ahrens <mahrens@delphix.com> Closes #10435
133 lines
2.2 KiB
Makefile
133 lines
2.2 KiB
Makefile
include $(top_srcdir)/config/Rules.am
|
|
|
|
DEFAULT_INCLUDES += -I$(srcdir)
|
|
|
|
sbin_PROGRAMS = zpool
|
|
|
|
zpool_SOURCES = \
|
|
zpool_iter.c \
|
|
zpool_main.c \
|
|
zpool_util.c \
|
|
zpool_util.h \
|
|
zpool_vdev.c
|
|
|
|
if BUILD_FREEBSD
|
|
zpool_SOURCES += os/freebsd/zpool_vdev_os.c
|
|
endif
|
|
|
|
if BUILD_LINUX
|
|
zpool_SOURCES += os/linux/zpool_vdev_os.c
|
|
endif
|
|
|
|
zpool_LDADD = \
|
|
$(top_builddir)/lib/libnvpair/libnvpair.la \
|
|
$(top_builddir)/lib/libuutil/libuutil.la \
|
|
$(top_builddir)/lib/libzfs_core/libzfs_core.la \
|
|
$(top_builddir)/lib/libzfs/libzfs.la
|
|
|
|
if BUILD_FREEBSD
|
|
zpool_LDADD += -L/usr/local/lib -lintl -lgeom
|
|
endif
|
|
zpool_LDADD += -lm $(LIBBLKID)
|
|
|
|
zpoolconfdir = $(sysconfdir)/zfs/zpool.d
|
|
zpoolexecdir = $(zfsexecdir)/zpool.d
|
|
|
|
EXTRA_DIST = zpool.d/README
|
|
|
|
dist_zpoolexec_SCRIPTS = \
|
|
zpool.d/dm-deps \
|
|
zpool.d/enc \
|
|
zpool.d/encdev \
|
|
zpool.d/fault_led \
|
|
zpool.d/iostat \
|
|
zpool.d/iostat-1s \
|
|
zpool.d/iostat-10s \
|
|
zpool.d/label \
|
|
zpool.d/locate_led \
|
|
zpool.d/lsblk \
|
|
zpool.d/media \
|
|
zpool.d/model \
|
|
zpool.d/serial \
|
|
zpool.d/ses \
|
|
zpool.d/size \
|
|
zpool.d/slot \
|
|
zpool.d/smart \
|
|
zpool.d/smartx \
|
|
zpool.d/temp \
|
|
zpool.d/health \
|
|
zpool.d/r_proc \
|
|
zpool.d/w_proc \
|
|
zpool.d/r_ucor \
|
|
zpool.d/w_ucor \
|
|
zpool.d/nonmed \
|
|
zpool.d/defect \
|
|
zpool.d/hours_on \
|
|
zpool.d/realloc \
|
|
zpool.d/rep_ucor \
|
|
zpool.d/cmd_to \
|
|
zpool.d/pend_sec \
|
|
zpool.d/off_ucor \
|
|
zpool.d/ata_err \
|
|
zpool.d/nvme_err \
|
|
zpool.d/pwr_cyc \
|
|
zpool.d/upath \
|
|
zpool.d/vendor \
|
|
zpool.d/smart_test \
|
|
zpool.d/test_type \
|
|
zpool.d/test_status \
|
|
zpool.d/test_progress \
|
|
zpool.d/test_ended
|
|
|
|
zpoolconfdefaults = \
|
|
dm-deps \
|
|
enc \
|
|
encdev \
|
|
fault_led \
|
|
iostat \
|
|
iostat-1s \
|
|
iostat-10s \
|
|
label \
|
|
locate_led \
|
|
lsblk \
|
|
media \
|
|
model \
|
|
serial \
|
|
ses \
|
|
size \
|
|
slot \
|
|
smart \
|
|
smartx \
|
|
temp \
|
|
health \
|
|
r_proc \
|
|
w_proc \
|
|
r_ucor \
|
|
w_ucor \
|
|
nonmed \
|
|
defect \
|
|
hours_on \
|
|
realloc \
|
|
rep_ucor \
|
|
cmd_to \
|
|
pend_sec \
|
|
off_ucor \
|
|
ata_err \
|
|
nvme_err \
|
|
pwr_cyc \
|
|
upath \
|
|
vendor \
|
|
smart_test \
|
|
test_type \
|
|
test_status \
|
|
test_progress \
|
|
test_ended
|
|
|
|
install-data-hook:
|
|
$(MKDIR_P) "$(DESTDIR)$(zpoolconfdir)"
|
|
for f in $(zpoolconfdefaults); do \
|
|
test -f "$(DESTDIR)$(zpoolconfdir)/$${f}" -o \
|
|
-L "$(DESTDIR)$(zpoolconfdir)/$${f}" || \
|
|
ln -s "$(zpoolexecdir)/$${f}" "$(DESTDIR)$(zpoolconfdir)"; \
|
|
done
|