]> git.proxmox.com Git - mirror_zfs-debian.git/commit
Add init scripts
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 17 Mar 2011 22:02:28 +0000 (15:02 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 17 Mar 2011 23:51:54 +0000 (16:51 -0700)
commit01c0e61da027925b71c923a2b3896abf458b45a9
treef13ab6ab75c33b35e5202059f9588de52f7e81c6
parent0de19dad9cbca9ac89aea1c7742f131713ef8012
Add init scripts

To support automatically mounting your zfs on filesystem on boot
a basic init script is needed.  Unfortunately, every distribution
has their own idea of the _right_ way to do things.  Rather than
write one very complicated portable init script, which would be
invariably replaced by the distributions own anyway.  I have
instead added support to provide multiple distribution specific
init scripts.

The correct init script for your distribution will be selected
by ZFS_AC_DEFAULT_PACKAGE which will set DEFAULT_INIT_SCRIPT.
During 'make install' the correct script for your system will
be installed from zfs/etc/init.d/zfs.DEFAULT_INIT_SCRIPT to the
usual /etc/init.d/zfs location.

Currently, there is zfs.fedora and a more generic zfs.lsb init
script.  Hopefully, the distribution maintainers who know best
how they want their init scripts to function will feedback their
approved versions to be included in the project.

This change does not consider upstart jobs but I'm not at all
opposed to add that sort of thing.
61 files changed:
Makefile.in
cmd/Makefile.in
cmd/mount_zfs/Makefile.in
cmd/zdb/Makefile.in
cmd/zfs/Makefile.in
cmd/zinject/Makefile.in
cmd/zpios/Makefile.in
cmd/zpool/Makefile.in
cmd/zpool_id/Makefile.in
cmd/zpool_layout/Makefile.in
cmd/ztest/Makefile.in
cmd/zvol_id/Makefile.in
config/zfs-build.m4
configure
configure.ac
etc/Makefile.am
etc/Makefile.in
etc/init.d/Makefile.am [new file with mode: 0644]
etc/init.d/Makefile.in [new file with mode: 0644]
etc/init.d/zfs.fedora [new file with mode: 0644]
etc/init.d/zfs.lsb [new file with mode: 0644]
etc/udev/Makefile.am [new file with mode: 0644]
etc/udev/Makefile.in [new file with mode: 0644]
etc/udev/rules.d/Makefile.am [new file with mode: 0644]
etc/udev/rules.d/Makefile.in [new file with mode: 0644]
etc/zfs/Makefile.am [new file with mode: 0644]
etc/zfs/Makefile.in [new file with mode: 0644]
include/Makefile.in
include/linux/Makefile.in
include/sys/Makefile.in
include/sys/fm/Makefile.in
include/sys/fm/fs/Makefile.in
include/sys/fs/Makefile.in
lib/Makefile.in
lib/libavl/Makefile.in
lib/libefi/Makefile.in
lib/libnvpair/Makefile.in
lib/libspl/Makefile.in
lib/libspl/asm-generic/Makefile.in
lib/libspl/asm-i386/Makefile.in
lib/libspl/asm-x86_64/Makefile.in
lib/libspl/include/Makefile.in
lib/libspl/include/ia32/Makefile.in
lib/libspl/include/ia32/sys/Makefile.in
lib/libspl/include/rpc/Makefile.in
lib/libspl/include/sys/Makefile.in
lib/libspl/include/sys/dktp/Makefile.in
lib/libspl/include/sys/sysevent/Makefile.in
lib/libspl/include/util/Makefile.in
lib/libunicode/Makefile.in
lib/libuutil/Makefile.in
lib/libzfs/Makefile.in
lib/libzpool/Makefile.in
man/Makefile.in
man/man8/Makefile.in
scripts/Makefile.in
scripts/zpios-profile/Makefile.in
scripts/zpios-test/Makefile.in
scripts/zpool-config/Makefile.in
scripts/zpool-layout/Makefile.in
zfs.spec.in