Vcs-Git: git://anonscm.debian.org/pkg-zfsonlinux/zfs.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-zfsonlinux/spl.git
-Package: libnvpair1
+Package: libnvpair1linux
Section: libs
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}
transporting data across process boundaries, transporting between
kernel and userland, and possibly saving onto disk files.
-Package: libuutil1
+Package: libuutil1linux
Section: libs
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}
partitioning.
* libshare: NFS, SMB, and iSCSI service integration for ZFS.
-Package: libzfs-dev
+Package: libzfslinux-dev
Section: libdevel
Architecture: linux-any
-Depends: libzfs2 (= ${binary:Version}), ${misc:Depends}
+Depends: libzfs2linux (= ${binary:Version}), ${misc:Depends}
Provides: libnvpair-dev, libuutil-dev
Description: Native ZFS filesystem development files for Linux
Header files and static libraries for compiling software against
This package includes the development files of libnvpair1, libuutil1,
and libzfs2.
-Package: libzfs2
+Package: libzfs2linux
Section: libs
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}
.
The ZFS library provides support for managing ZFS filesystems.
-Package: libzpool1
+Package: libzpool1linux
Section: libs
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}
Architecture: all
Pre-Depends: spl-dkms (>= ${source:Upstream-Version})
Depends: dkms (>> 2.1.1.2-5), lsb-release, ${misc:Depends}
-Recommends: zfsutils
+Recommends: zfsutils-linux
Replaces: lzfs, lzfs-dkms
Provides: lustre-backend-fs, lzfs, lzfs-dkms, zfs-modules
Conflicts: lzfs, lzfs-dkms
Package: zfs-initramfs
Architecture: linux-any
-Depends: initramfs-tools, zfs-modules | zfs-dkms, zfsutils, ${misc:Depends}
+Depends: initramfs-tools, zfs-modules | zfs-dkms, zfsutils-linux, ${misc:Depends}
Description: Native ZFS root filesystem capabilities for Linux
The Z file system is a pooled filesystem designed for maximum data
integrity, supporting data snapshots, multiple copies, and data
This package adds ZFS to the system initramfs with a hook
for the initramfs-tools infrastructure.
-Package: zfsutils
+Package: zfsutils-linux
Section: admin
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: nfs-kernel-server, samba-common-bin (>= 3.0.23), zfs-initramfs
Conflicts: zfs, zfs-fuse
Replaces: zfs
+Provides: zfsutils
Description: command-line tools to manage ZFS filesystems
The Z file system is a pooled filesystem designed for maximum data
integrity, supporting data snapshots, multiple copies, and data
Section: debug
Priority: extra
Architecture: linux-any
-Depends: libnvpair1 (= ${binary:Version}),
- libuutil1 (= ${binary:Version}),
- libzfs2 (= ${binary:Version}),
- libzpool1 (= ${binary:Version}),
+Depends: libnvpair1linux (= ${binary:Version}),
+ libuutil1linux (= ${binary:Version}),
+ libzfs2linux (= ${binary:Version}),
+ libzpool1linux (= ${binary:Version}),
${misc:Depends}
-Recommends: zfsutils (= ${binary:Version})
+Recommends: zfsutils-linux (= ${binary:Version})
Description: Debugging symbols for ZFS userland libraries and tools
The Z file system is a pooled filesystem designed for maximum data
integrity, supporting data snapshots, multiple copies, and data
checksums.
.
- This package contains the debugging symbols for libzpoo1, libzfs2,
- libnvpair1, libuutil1, and zfsutils.
+ This package contains the debugging symbols for libzpoo1linux, libzfs2linux,
+ libnvpair1linux, libuutil1linux, and zfsutils-linux.
Vcs-Git: git://anonscm.debian.org/pkg-zfsonlinux/zfs.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-zfsonlinux/spl.git
-Package: libnvpair1
+Package: libnvpair1linux
Section: libs
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}
transporting data across process boundaries, transporting between
kernel and userland, and possibly saving onto disk files.
-Package: libuutil1
+Package: libuutil1linux
Section: libs
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}
partitioning.
* libshare: NFS, SMB, and iSCSI service integration for ZFS.
-Package: libzfs-dev
+Package: libzfslinux-dev
Section: libdevel
Architecture: linux-any
-Depends: libzfs2 (= ${binary:Version}), ${misc:Depends}
+Depends: libzfs2linux (= ${binary:Version}), ${misc:Depends}
Provides: libnvpair-dev, libuutil-dev
Description: Native ZFS filesystem development files for Linux
Header files and static libraries for compiling software against
This package includes the development files of libnvpair1, libuutil1,
and libzfs2.
-Package: libzfs2
+Package: libzfs2linux
Section: libs
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}
.
The ZFS library provides support for managing ZFS filesystems.
-Package: libzpool1
+Package: libzpool1linux
Section: libs
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}
Architecture: all
Pre-Depends: spl-dkms (>= ${source:Upstream-Version})
Depends: dkms (>> 2.1.1.2-5), lsb-release, ${misc:Depends}
-Recommends: zfsutils
+Recommends: zfsutils-linux
Replaces: lzfs, lzfs-dkms
Provides: lustre-backend-fs, lzfs, lzfs-dkms, zfs-modules
Conflicts: lzfs, lzfs-dkms
Package: zfs-initramfs
Architecture: linux-any
-Depends: initramfs-tools, zfs-modules | zfs-dkms, zfsutils, ${misc:Depends}
+Depends: initramfs-tools, zfs-modules | zfs-dkms, zfsutils-linux, ${misc:Depends}
Description: Native ZFS root filesystem capabilities for Linux
The Z file system is a pooled filesystem designed for maximum data
integrity, supporting data snapshots, multiple copies, and data
This package adds ZFS to the system initramfs with a hook
for the initramfs-tools infrastructure.
-Package: zfsutils
+Package: zfsutils-linux
Section: admin
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: nfs-kernel-server, samba-common-bin (>= 3.0.23), zfs-initramfs
Conflicts: zfs, zfs-fuse
Replaces: zfs
+Provides: zfsutils
Description: command-line tools to manage ZFS filesystems
The Z file system is a pooled filesystem designed for maximum data
integrity, supporting data snapshots, multiple copies, and data
Section: debug
Priority: extra
Architecture: linux-any
-Depends: libnvpair1 (= ${binary:Version}),
- libuutil1 (= ${binary:Version}),
- libzfs2 (= ${binary:Version}),
- libzpool1 (= ${binary:Version}),
+Depends: libnvpair1linux (= ${binary:Version}),
+ libuutil1linux (= ${binary:Version}),
+ libzfs2linux (= ${binary:Version}),
+ libzpool1linux (= ${binary:Version}),
${misc:Depends}
-Recommends: zfsutils (= ${binary:Version})
+Recommends: zfsutils-linux (= ${binary:Version})
Description: Debugging symbols for ZFS userland libraries and tools
The Z file system is a pooled filesystem designed for maximum data
integrity, supporting data snapshots, multiple copies, and data
checksums.
.
- This package contains the debugging symbols for libzpoo1, libzfs2,
- libnvpair1, libuutil1, and zfsutils.
+ This package contains the debugging symbols for libzpoo1linux, libzfs2linux,
+ libnvpair1linux, libuutil1linux, and zfsutils-linux.
+++ /dev/null
-lib/libnvpair/.libs/libnvpair.so.*[0-9] lib
+++ /dev/null
-COPYRIGHT
-OPENSOLARIS.LICENSE
+++ /dev/null
-lib/libnvpair.so.*
--- /dev/null
+lib/libnvpair/.libs/libnvpair.so.*[0-9] lib
--- /dev/null
+COPYRIGHT
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libnvpair.so.*
+++ /dev/null
-lib/libuutil/.libs/libuutil.so.*[0-9] lib
+++ /dev/null
-COPYRIGHT
-OPENSOLARIS.LICENSE
+++ /dev/null
-lib/libuutil.so.*
--- /dev/null
+lib/libuutil/.libs/libuutil.so.*[0-9] lib
--- /dev/null
+COPYRIGHT
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libuutil.so.*
+++ /dev/null
-COPYRIGHT
-OPENSOLARIS.LICENSE
+++ /dev/null
-lib/*.a usr/lib/
-usr/include
-usr/lib/*.so
+++ /dev/null
-lib/libzfs/.libs/libzfs.so.*[0-9] lib
+++ /dev/null
-COPYRIGHT
-OPENSOLARIS.LICENSE
+++ /dev/null
-lib/libzfs.so.*
-lib/libzfs_core.so.*
--- /dev/null
+lib/libzfs/.libs/libzfs.so.*[0-9] lib
--- /dev/null
+COPYRIGHT
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libzfs.so.*
+lib/libzfs_core.so.*
--- /dev/null
+COPYRIGHT
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/*.a usr/lib/
+usr/include
+usr/lib/*.so
+++ /dev/null
-lib/libzpool/.libs/libzpool.so.*[0-9] lib
+++ /dev/null
-COPYRIGHT
-OPENSOLARIS.LICENSE
+++ /dev/null
-lib/libzpool.so.*
--- /dev/null
+lib/libzpool/.libs/libzpool.so.*[0-9] lib
--- /dev/null
+COPYRIGHT
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libzpool.so.*
--- /dev/null
+../tmp/lib/udev/*_id /sbin
+../tmp/sbin/* /sbin
--- /dev/null
+#!/bin/sh
+
+# Require ZFS v28 in kernel
+exit 0
--- /dev/null
+COPYRIGHT
+OPENSOLARIS.LICENSE
--- /dev/null
+etc/zfs/vdev_id.conf.alias.example
+etc/zfs/vdev_id.conf.multipath.example
+etc/zfs/vdev_id.conf.sas_direct.example
+etc/zfs/vdev_id.conf.sas_switch.example
+scripts/common.sh
+scripts/zconfig.sh
+scripts/zfault.sh
+scripts/zfs.sh
+scripts/zpios-profile/zpios-profile-disk.sh
+scripts/zpios-profile/zpios-profile-pids.sh
+scripts/zpios-profile/zpios-profile-post.sh
+scripts/zpios-profile/zpios-profile-pre.sh
+scripts/zpios-profile/zpios-profile.sh
+scripts/zpios-sanity.sh
+scripts/zpios-survey.sh
+scripts/zpios-test/16th-8192rc-4rs-1cs-4off.sh
+scripts/zpios-test/1th-16rc-4rs-1cs-4off.sh
+scripts/zpios-test/1x256th-65536rc-4rs-1cs-4off.sh
+scripts/zpios-test/256th-65536rc-4rs-1cs-4off.sh
+scripts/zpios-test/4th-1024rc-4rs-1cs-4off.sh
+scripts/zpios-test/large-thread-survey.sh
+scripts/zpios-test/large.sh
+scripts/zpios-test/lustre.sh
+scripts/zpios-test/medium.sh
+scripts/zpios-test/small.sh
+scripts/zpios-test/tiny.sh
+scripts/zpios.sh
+scripts/zpool-config/dm0-raid0.sh
+scripts/zpool-config/file-raid0.sh
+scripts/zpool-config/file-raid10.sh
+scripts/zpool-config/file-raidz.sh
+scripts/zpool-config/file-raidz2.sh
+scripts/zpool-config/hda-raid0.sh
+scripts/zpool-config/lo-faulty-raid0.sh
+scripts/zpool-config/lo-faulty-raid10.sh
+scripts/zpool-config/lo-faulty-raidz.sh
+scripts/zpool-config/lo-faulty-raidz2.sh
+scripts/zpool-config/lo-faulty-raidz3.sh
+scripts/zpool-config/lo-raid0.sh
+scripts/zpool-config/lo-raid10.sh
+scripts/zpool-config/lo-raidz.sh
+scripts/zpool-config/lo-raidz2.sh
+scripts/zpool-config/md0-raid10.sh
+scripts/zpool-config/md0-raid5.sh
+scripts/zpool-config/ram0-raid0.sh
+scripts/zpool-config/scsi_debug-noraid.sh
+scripts/zpool-config/scsi_debug-raid0.sh
+scripts/zpool-config/scsi_debug-raid10.sh
+scripts/zpool-config/scsi_debug-raidz.sh
+scripts/zpool-config/scsi_debug-raidz2.sh
+scripts/zpool-config/scsi_debug-raidz3.sh
+scripts/zpool-config/sda-raid0.sh
+scripts/zpool-config/zpool-raid0.sh
+scripts/zpool-config/zpool-raid10.sh
+scripts/zpool-config/zpool-raidz.sh
+scripts/zpool-create.sh
+debian/examples/zfsutils/*
--- /dev/null
+../tree/zfsutils/* /
+lib/udev
+sbin
+usr/share/man
--- /dev/null
+#!/bin/sh
+set -e
+
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null
+then
+ dpkg-maintscript-helper rm_conffile /etc/default/zfsload -- "$@"
+ dpkg-maintscript-helper rm_conffile /etc/init.d/zfs -- "$@"
+fi
+
+#DEBHELPER#
--- /dev/null
+#!/bin/sh
+set -e
+
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null
+then
+ dpkg-maintscript-helper rm_conffile /etc/default/zfsload -- "$@"
+ dpkg-maintscript-helper rm_conffile /etc/init.d/zfs -- "$@"
+fi
+
+#DEBHELPER#
--- /dev/null
+#!/bin/sh
+set -e
+
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null
+then
+ dpkg-maintscript-helper rm_conffile /etc/default/zfsload -- "$@"
+ dpkg-maintscript-helper rm_conffile /etc/init.d/zfs -- "$@"
+fi
+
+#DEBHELPER#
--- /dev/null
+#!/bin/sh
+#
+### BEGIN INIT INFO
+# Provides: zvol zfs zfs-mount
+# Required-Start: $local_fs
+# Required-Stop: $local_fs
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Mount ZFS filesystems
+# Description: Run the `zfs mount -a` or `zfs umount -a` command.
+# This init script is deprecated and should be disabled in the
+# /etc/default/zfs options file. Instead, use the zfs-mount
+# package for Debian or the zfs-mountall package for Ubuntu
+### END INIT INFO
+
+PATH=/sbin:/bin
+
+. /lib/lsb/init-functions
+# Do not source /lib/init/*.sh as they are not public APIs after getting rid
+# of /lib/init/rw. However, this line may help when doing back port to older
+# releases.
+#
+#. /lib/init/vars.sh
+
+[ -f /etc/default/zfs ] && . /etc/default/zfs
+
+do_start()
+{
+ log_begin_msg "Mounting ZFS filesystems"
+ log_progress_msg "filesystems"
+ zfs mount -a
+ RET=$?
+
+ if [ $RET != 0 ] ; then
+ log_end_msg $RET
+ exit $RET
+ fi
+
+ log_end_msg 0
+}
+
+do_stop()
+{
+ log_begin_msg "Unmounting ZFS filesystems"
+ log_progress_msg "filesystems"
+ zfs unmount -a
+ RET=$?
+
+ # Ignore a non-zero `zfs` result so that a busy ZFS instance
+ # does not hang the system during shutdown.
+ if [ $RET != 0 ] ; then
+ log_end_msg $RET
+ fi
+
+ log_end_msg 0
+}
+
+case "$1" in
+ (start)
+ case "$ZFS_MOUNT" in
+ ([Oo][Ff][Ff]|[Nn][Oo]|'')
+ exit 0
+ ;;
+ esac
+ do_start
+ ;;
+ (stop)
+ case "$ZFS_UNMOUNT" in
+ ([Oo][Ff][Ff]|[Nn][Oo]|'')
+ exit 0
+ ;;
+ esac
+ do_stop
+ ;;
+ (force-reload|reload|restart|status)
+ # no-op
+ ;;
+
+ (*)
+ [ -n "$1" ] && echo "Error: Unknown command $1."
+ echo "Usage: $0 {start|stop}"
+ exit 3
+ ;;
+esac
--- /dev/null
+#!/bin/sh
+
+### BEGIN INIT INFO
+# Provides: shareiscsi sharenfs sharesmb zfs-share
+# Required-Start: $local_fs $network $remote_fs
+# Required-Stop: $local_fs $network $remote_fs
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Should-Start: iscsi iscsitarget istgt nfs-kernel-server samba
+# Should-Stop: iscsi iscsitarget istgt nfs-kernel-server samba
+# Short-Description: Network share ZFS datasets.
+# Description: Run the `zfs share -a` or `zfs unmount -a` commands
+# for controlling iSCSI, NFS, or CIFS network shares.
+### END INIT INFO
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+. /lib/lsb/init-functions
+# Do not source /lib/init/*.sh as they are not public APIs after getting rid
+# of /lib/init/rw. However, this line may help when doing back port to older
+# releases.
+#
+#. /lib/init/vars.sh
+
+[ -f /etc/default/zfs ] && . /etc/default/zfs
+
+do_start()
+{
+ log_begin_msg "Sharing ZFS filesystems"
+ log_progress_msg "filesystems"
+ zfs share -a
+ RET=$?
+
+ if [ $RET != 0 ] ; then
+ log_end_msg $RET
+ exit $RET
+ fi
+
+ log_end_msg 0
+}
+
+do_stop()
+{
+ log_begin_msg "Unsharing ZFS filesystems"
+ log_progress_msg "filesystems"
+ zfs unshare -a
+ RET=$?
+
+ # Ignore a non-zero `zfs` result so that a busy ZFS instance
+ # does not hang the system during shutdown.
+ if [ $RET != 0 ] ; then
+ log_end_msg $RET
+ fi
+
+ log_end_msg 0
+}
+
+case "$1" in
+ (start)
+ case "$ZFS_SHARE" in
+ ([Oo][Ff][Ff]|[Nn][Oo]|'')
+ exit 0
+ ;;
+ esac
+ do_start
+ ;;
+ (stop)
+ case "$ZFS_UNSHARE" in
+ ([Oo][Ff][Ff]|[Nn][Oo]|'')
+ exit 0
+ ;;
+ esac
+ do_stop
+ ;;
+ (force-reload|reload|restart|status)
+ # no-op
+ ;;
+
+ (*)
+ [ -n "$1" ] && echo "Error: Unknown command $1."
+ echo "Usage: $0 {start|stop}"
+ exit 3
+ ;;
+esac
--- /dev/null
+# ZoL userland configuration.
+
+# Run `zfs mount -a` during system start?
+# This should be 'no' if zfs-mountall or a systemd generator is available.
+ZFS_MOUNT='no'
+
+# Run `zfs unmount -a` during system stop?
+# This should be 'no' on most systems.
+ZFS_UNMOUNT='no'
+
+# Run `zfs share -a` during system start?
+# nb: The shareiscsi, sharenfs, and sharesmb dataset properties.
+ZFS_SHARE='no'
+
+# Run `zfs unshare -a` during system stop?
+ZFS_UNSHARE='no'
+
+# Build kernel modules with the --enable-debug switch?
+ZFS_DKMS_ENABLE_DEBUG='no'
+
+# Build kernel modules with the --enable-debug-dmu-tx switch?
+ZFS_DKMS_ENABLE_DEBUG_DMU_TX='no'
+
+# Keep debugging symbols in kernel modules?
+ZFS_DKMS_DISABLE_STRIP='no'
+
+# Wait for this many seconds in the initrd pre_mountroot?
+# This delays startup and should be '0' on most systems.
+ZFS_INITRD_PRE_MOUNTROOT_SLEEP='0'
+++ /dev/null
-../tmp/lib/udev/*_id /sbin
-../tmp/sbin/* /sbin
+++ /dev/null
-#!/bin/sh
-
-# Require ZFS v28 in kernel
-exit 0
+++ /dev/null
-COPYRIGHT
-OPENSOLARIS.LICENSE
+++ /dev/null
-etc/zfs/vdev_id.conf.alias.example
-etc/zfs/vdev_id.conf.multipath.example
-etc/zfs/vdev_id.conf.sas_direct.example
-etc/zfs/vdev_id.conf.sas_switch.example
-scripts/common.sh
-scripts/zconfig.sh
-scripts/zfault.sh
-scripts/zfs.sh
-scripts/zpios-profile/zpios-profile-disk.sh
-scripts/zpios-profile/zpios-profile-pids.sh
-scripts/zpios-profile/zpios-profile-post.sh
-scripts/zpios-profile/zpios-profile-pre.sh
-scripts/zpios-profile/zpios-profile.sh
-scripts/zpios-sanity.sh
-scripts/zpios-survey.sh
-scripts/zpios-test/16th-8192rc-4rs-1cs-4off.sh
-scripts/zpios-test/1th-16rc-4rs-1cs-4off.sh
-scripts/zpios-test/1x256th-65536rc-4rs-1cs-4off.sh
-scripts/zpios-test/256th-65536rc-4rs-1cs-4off.sh
-scripts/zpios-test/4th-1024rc-4rs-1cs-4off.sh
-scripts/zpios-test/large-thread-survey.sh
-scripts/zpios-test/large.sh
-scripts/zpios-test/lustre.sh
-scripts/zpios-test/medium.sh
-scripts/zpios-test/small.sh
-scripts/zpios-test/tiny.sh
-scripts/zpios.sh
-scripts/zpool-config/dm0-raid0.sh
-scripts/zpool-config/file-raid0.sh
-scripts/zpool-config/file-raid10.sh
-scripts/zpool-config/file-raidz.sh
-scripts/zpool-config/file-raidz2.sh
-scripts/zpool-config/hda-raid0.sh
-scripts/zpool-config/lo-faulty-raid0.sh
-scripts/zpool-config/lo-faulty-raid10.sh
-scripts/zpool-config/lo-faulty-raidz.sh
-scripts/zpool-config/lo-faulty-raidz2.sh
-scripts/zpool-config/lo-faulty-raidz3.sh
-scripts/zpool-config/lo-raid0.sh
-scripts/zpool-config/lo-raid10.sh
-scripts/zpool-config/lo-raidz.sh
-scripts/zpool-config/lo-raidz2.sh
-scripts/zpool-config/md0-raid10.sh
-scripts/zpool-config/md0-raid5.sh
-scripts/zpool-config/ram0-raid0.sh
-scripts/zpool-config/scsi_debug-noraid.sh
-scripts/zpool-config/scsi_debug-raid0.sh
-scripts/zpool-config/scsi_debug-raid10.sh
-scripts/zpool-config/scsi_debug-raidz.sh
-scripts/zpool-config/scsi_debug-raidz2.sh
-scripts/zpool-config/scsi_debug-raidz3.sh
-scripts/zpool-config/sda-raid0.sh
-scripts/zpool-config/zpool-raid0.sh
-scripts/zpool-config/zpool-raid10.sh
-scripts/zpool-config/zpool-raidz.sh
-scripts/zpool-create.sh
-debian/examples/zfsutils/*
+++ /dev/null
-../tree/zfsutils/* /
-lib/udev
-sbin
-usr/share/man
+++ /dev/null
-#!/bin/sh
-set -e
-
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null
-then
- dpkg-maintscript-helper rm_conffile /etc/default/zfsload -- "$@"
- dpkg-maintscript-helper rm_conffile /etc/init.d/zfs -- "$@"
-fi
-
-#DEBHELPER#
+++ /dev/null
-#!/bin/sh
-set -e
-
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null
-then
- dpkg-maintscript-helper rm_conffile /etc/default/zfsload -- "$@"
- dpkg-maintscript-helper rm_conffile /etc/init.d/zfs -- "$@"
-fi
-
-#DEBHELPER#
+++ /dev/null
-#!/bin/sh
-set -e
-
-if dpkg-maintscript-helper supports rm_conffile 2>/dev/null
-then
- dpkg-maintscript-helper rm_conffile /etc/default/zfsload -- "$@"
- dpkg-maintscript-helper rm_conffile /etc/init.d/zfs -- "$@"
-fi
-
-#DEBHELPER#
+++ /dev/null
-#!/bin/sh
-#
-### BEGIN INIT INFO
-# Provides: zvol zfs zfs-mount
-# Required-Start: $local_fs
-# Required-Stop: $local_fs
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: Mount ZFS filesystems
-# Description: Run the `zfs mount -a` or `zfs umount -a` command.
-# This init script is deprecated and should be disabled in the
-# /etc/default/zfs options file. Instead, use the zfs-mount
-# package for Debian or the zfs-mountall package for Ubuntu
-### END INIT INFO
-
-PATH=/sbin:/bin
-
-. /lib/lsb/init-functions
-# Do not source /lib/init/*.sh as they are not public APIs after getting rid
-# of /lib/init/rw. However, this line may help when doing back port to older
-# releases.
-#
-#. /lib/init/vars.sh
-
-[ -f /etc/default/zfs ] && . /etc/default/zfs
-
-do_start()
-{
- log_begin_msg "Mounting ZFS filesystems"
- log_progress_msg "filesystems"
- zfs mount -a
- RET=$?
-
- if [ $RET != 0 ] ; then
- log_end_msg $RET
- exit $RET
- fi
-
- log_end_msg 0
-}
-
-do_stop()
-{
- log_begin_msg "Unmounting ZFS filesystems"
- log_progress_msg "filesystems"
- zfs unmount -a
- RET=$?
-
- # Ignore a non-zero `zfs` result so that a busy ZFS instance
- # does not hang the system during shutdown.
- if [ $RET != 0 ] ; then
- log_end_msg $RET
- fi
-
- log_end_msg 0
-}
-
-case "$1" in
- (start)
- case "$ZFS_MOUNT" in
- ([Oo][Ff][Ff]|[Nn][Oo]|'')
- exit 0
- ;;
- esac
- do_start
- ;;
- (stop)
- case "$ZFS_UNMOUNT" in
- ([Oo][Ff][Ff]|[Nn][Oo]|'')
- exit 0
- ;;
- esac
- do_stop
- ;;
- (force-reload|reload|restart|status)
- # no-op
- ;;
-
- (*)
- [ -n "$1" ] && echo "Error: Unknown command $1."
- echo "Usage: $0 {start|stop}"
- exit 3
- ;;
-esac
+++ /dev/null
-#!/bin/sh
-
-### BEGIN INIT INFO
-# Provides: shareiscsi sharenfs sharesmb zfs-share
-# Required-Start: $local_fs $network $remote_fs
-# Required-Stop: $local_fs $network $remote_fs
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Should-Start: iscsi iscsitarget istgt nfs-kernel-server samba
-# Should-Stop: iscsi iscsitarget istgt nfs-kernel-server samba
-# Short-Description: Network share ZFS datasets.
-# Description: Run the `zfs share -a` or `zfs unmount -a` commands
-# for controlling iSCSI, NFS, or CIFS network shares.
-### END INIT INFO
-
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-
-. /lib/lsb/init-functions
-# Do not source /lib/init/*.sh as they are not public APIs after getting rid
-# of /lib/init/rw. However, this line may help when doing back port to older
-# releases.
-#
-#. /lib/init/vars.sh
-
-[ -f /etc/default/zfs ] && . /etc/default/zfs
-
-do_start()
-{
- log_begin_msg "Sharing ZFS filesystems"
- log_progress_msg "filesystems"
- zfs share -a
- RET=$?
-
- if [ $RET != 0 ] ; then
- log_end_msg $RET
- exit $RET
- fi
-
- log_end_msg 0
-}
-
-do_stop()
-{
- log_begin_msg "Unsharing ZFS filesystems"
- log_progress_msg "filesystems"
- zfs unshare -a
- RET=$?
-
- # Ignore a non-zero `zfs` result so that a busy ZFS instance
- # does not hang the system during shutdown.
- if [ $RET != 0 ] ; then
- log_end_msg $RET
- fi
-
- log_end_msg 0
-}
-
-case "$1" in
- (start)
- case "$ZFS_SHARE" in
- ([Oo][Ff][Ff]|[Nn][Oo]|'')
- exit 0
- ;;
- esac
- do_start
- ;;
- (stop)
- case "$ZFS_UNSHARE" in
- ([Oo][Ff][Ff]|[Nn][Oo]|'')
- exit 0
- ;;
- esac
- do_stop
- ;;
- (force-reload|reload|restart|status)
- # no-op
- ;;
-
- (*)
- [ -n "$1" ] && echo "Error: Unknown command $1."
- echo "Usage: $0 {start|stop}"
- exit 3
- ;;
-esac
+++ /dev/null
-# ZoL userland configuration.
-
-# Run `zfs mount -a` during system start?
-# This should be 'no' if zfs-mountall or a systemd generator is available.
-ZFS_MOUNT='no'
-
-# Run `zfs unmount -a` during system stop?
-# This should be 'no' on most systems.
-ZFS_UNMOUNT='no'
-
-# Run `zfs share -a` during system start?
-# nb: The shareiscsi, sharenfs, and sharesmb dataset properties.
-ZFS_SHARE='no'
-
-# Run `zfs unshare -a` during system stop?
-ZFS_UNSHARE='no'
-
-# Build kernel modules with the --enable-debug switch?
-ZFS_DKMS_ENABLE_DEBUG='no'
-
-# Build kernel modules with the --enable-debug-dmu-tx switch?
-ZFS_DKMS_ENABLE_DEBUG_DMU_TX='no'
-
-# Keep debugging symbols in kernel modules?
-ZFS_DKMS_DISABLE_STRIP='no'
-
-# Wait for this many seconds in the initrd pre_mountroot?
-# This delays startup and should be '0' on most systems.
-ZFS_INITRD_PRE_MOUNTROOT_SLEEP='0'