aboutsummaryrefslogtreecommitdiffstats
path: root/rpm/generic
diff options
context:
space:
mode:
authorAntonio Russo <[email protected]>2018-04-06 17:11:09 -0400
committerBrian Behlendorf <[email protected]>2018-04-06 14:11:09 -0700
commit55d80e651a8c19919b8ee6a1c05fb36ad97ab5ad (patch)
tree10250074931531d3b32418dc8780fafbc122f0f5 /rpm/generic
parent5c27ec10889d3d8f12d59fb7e5068ed2d8697c85 (diff)
systemd mount generator and tracking ZEDLET
zfs-mount-generator implements the "systemd generator" protocol, producing systemd.mount units from the cached outputs of zfs list, during early boot, integrating with systemd. Each pool has an indpendent cache of the command zfs list -H -oname,mountpoint,canmount -tfilesystem -r $pool which is kept synchronized by the ZEDLET history_event-zfs-list-cacher.sh Datasets not in the cache will be loaded later in the boot process by zfs-mount.service, including pools without a cache. Among other things, this allows for complex mount hierarchies. Reviewed-by: Fabian Grünbichler <[email protected]> Reviewed-by: Richard Laager <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Antonio Russo <[email protected]> Closes #7329
Diffstat (limited to 'rpm/generic')
-rw-r--r--rpm/generic/zfs.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in
index beb7671a1..b06cf3002 100644
--- a/rpm/generic/zfs.spec.in
+++ b/rpm/generic/zfs.spec.in
@@ -338,6 +338,7 @@ systemctl --system daemon-reload >/dev/null || true
/usr/lib/modules-load.d/*
%{_unitdir}/*
%{_presetdir}/*
+%{_generatordir}/*
%else
%config(noreplace) %{_sysconfdir}/init.d/*
%config(noreplace) %{_initconfdir}/zfs