mirror_zfs/lib/libzfs
Brian Behlendorf 01c0e61da0 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.
2011-03-17 16:51:54 -07:00
..
libzfs_changelist.c Remove HAVE_ZPL from commands and libraries 2011-02-04 16:14:34 -08:00
libzfs_config.c Fix gcc missing braces warnings 2010-08-27 15:34:03 -07:00
libzfs_dataset.c Remove HAVE_ZPL from commands and libraries 2011-02-04 16:14:34 -08:00
libzfs_diff.c Add linux compatibility 2010-08-31 13:41:59 -07:00
libzfs_fru.c Add linux topology support 2010-08-31 13:42:00 -07:00
libzfs_graph.c Fix gcc missing braces warnings 2010-08-27 15:34:03 -07:00
libzfs_import.c Improve 'zpool import' safety 2011-02-17 09:35:43 -08:00
libzfs_mount.c Print mount/umount errors 2011-03-09 15:26:48 -08:00
libzfs_pool.c Support shorthand names with zpool remove 2010-10-22 12:25:46 -07:00
libzfs_sendrecv.c Add linux user util support 2010-08-31 13:42:01 -07:00
libzfs_status.c Update core ZFS code from build 121 to build 141. 2010-05-28 13:45:14 -07:00
libzfs_util.c Print mount/umount errors 2011-03-09 15:26:48 -08:00
Makefile.am Add missing libspl+libzpool libs to libzfs 2011-03-03 15:48:57 -08:00
Makefile.in Add init scripts 2011-03-17 16:51:54 -07:00