--- /dev/null
+debian/patches
--- /dev/null
+zfs-linux (0.6.0.34-0ubuntu1) oneiric; urgency=low
+
+ * The PPA for ZFS is moving.
+
+ The ppa:dajhorn/zfs archive is deprecated because the ZFS project
+ now has a team account at Launchpad. Use the ppa:zfs-native/stable
+ archive instead.
+
+ Please visit: https://launchpad.net/~zfs-native/
+
+ -- Darik Horn <dajhorn@vanadac.com> Tue, 11 Oct 2011 19:23:58 -0500
+
+zfs-linux (0.6.0.7-0ubuntu2) unstable; urgency=medium
+
+ NOTE: The removal of the zfs or zfs-lib package by this
+ upgrade, either now or later, is expected and safe.
+
+ Please ensure that the ubuntu-zfs package is installed so
+ that the upgrade happens automatically.
+
+ This is happening so that the ZFS packages for Linux are
+ more like the packages already in Debian kFreeBSD.
+
+ -- Darik Horn <dajhorn@vanadac.com> Thu, 07 Apr 2011 13:51:23 -0500
--- /dev/null
+zfs-linux (0.6.0.35-0ubuntu2) unstable; urgency=low
+
+ [ Ned Bass ]
+ * Use @ZFS_META LICENSE@ in spec.in files
+
+ [ Alexander Stetsenko ]
+ * Illumos #755: dmu_recv_stream builds incomplete guid_to_ds_map
+
+ [ Brian Behlendorf ]
+ * Set mtime on symbolic links
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 19 Oct 2011 15:26:00 -0500
+
+zfs-linux (0.6.0.34-0ubuntu1) unstable; urgency=low
+
+ [ Oleg Stepura ]
+ * Fix 'unexpected operator' bashism
+
+ [ Brian Behlendorf ]
+ * Synchronize initramfs and system hostid
+ * Export symbols for the full SA API
+ * Prep zfs-0.6.0-rc6 tag
+ * Add provides lustre-backend-fs to rpm
+ * Export symbols for the VFS API
+ * Disable 90-zfs.rules for test suite
+
+ [ Darik Horn ]
+ * Add "activate update-initramfs" dpkg trigger.
+ * Add news item: The PPA for ZFS is moving.
+ * Add patch: Use /bin/bash to invoke dracut scripts.
+ * Add provides lustre-backend-fs to deb
+
+ -- Darik Horn <dajhorn@vanadac.com> Tue, 11 Oct 2011 21:16:47 -0500
+
+zfs-linux (0.6.0.33-0ubuntu1) unstable; urgency=low
+
+ [ Darik Horn ]
+ * Automatically set REMAKE_INITRD in the dkms.conf
+
+ [ Brian Behlendorf ]
+ * Install zfs-devel headers in /usr/include
+ * Suppress kmem_alloc() warning in zfs_prop_set_special()
+ * Export symbols for the full ZAP API
+ * Fix uninitialized varible in zfs_do_userspace()
+
+ [ Ned Bass ]
+ * Use automatic variable in Makefile
+
+ [ Zachary Bedell ]
+ * Fix boot failure in Dracut scripts.
+ * Make libefi-created GPT compatible with gptfdisk
+
+ [ Andreas Dilger ]
+ * zpl: Fix "df -i" to have better free inodes value
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 28 Sep 2011 22:38:56 -0500
+
+zfs-linux (0.6.0.32-0ubuntu1) unstable; urgency=low
+
+ [ Prakash Surya ]
+ * Fix minor autoconf error message inconsistencies
+ * Convert 'if' statements to AS_IF in kernel.m4
+ * Fix package URLs to use the github repository
+ * Fix zfs.spec.in to use @LICENSE@ variable
+
+ [ Jeremy Gill ]
+ * Ensure FC15 boots when zfs isn't used for boot partition
+
+ [ Brian Behlendorf ]
+ * Fix usage of zsb after free
+
+ -- Darik Horn <dajhorn@vanadac.com> Fri, 09 Sep 2011 20:27:34 -0500
+
+zfs-linux (0.6.0.31-0ubuntu2) unstable; urgency=low
+
+ * Change $ZFS to `zfs` in the init script.
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 24 Aug 2011 10:04:15 -0500
+
+zfs-linux (0.6.0.31-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Disable zfs /etc/mtab updates
+ * Fix incompatible pointer type warning
+ * Fix missing format arguments
+ * Fixed uninitialized variable
+ * Buildbot suppression rules
+ * Fix autoconf variable substitution in init scripts.
+ * Fix incorrect zpool_cache substitution
+
+ [ Kyle Fuller ]
+ * Move 90-zfs udev rule from dracut to udev/rules.d
+ * Make dracut module-setup.sh an autoconf config file
+
+ [ Darik Horn ]
+ * Add chkconfig and description lines to zfs init.
+ * Disable default start action in the init script.
+ * Implement the status command in the init script.
+ * Share filesystems in the init script.
+ * Remove ellipses from log lines in the init script.
+
+ -- Darik Horn <dajhorn@vanadac.com> Mon, 22 Aug 2011 21:26:25 -0500
+
+zfs-linux (0.6.0.30-0ubuntu2) unstable; urgency=low
+
+ * Remove zpool_layout from the initramfs manifest.
+ * Let mkinitramfs fail if the utilities are missing.
+
+ -- Darik Horn <dajhorn@vanadac.com> Tue, 09 Aug 2011 16:52:01 -0500
+
+zfs-linux (0.6.0.30-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Cleanup mmap(2) writes
+ * Add backing_device_info per-filesystem
+ * Correctly lock pages for .readpages()
+ * Autogen refresh for udev changes
+ * Improve HAVE_EVICT_INODE check
+
+ [ Kyle Fuller ]
+ * Move udev rules from /etc/udev to /lib/udev
+
+ [ Darik Horn ]
+ * Accomodate udev autotools changes in packaging.
+
+ -- Darik Horn <dajhorn@vanadac.com> Tue, 09 Aug 2011 01:17:20 -0500
+
+zfs-linux (0.6.0.29-0ubuntu1) unstable; urgency=low
+
+ [ Kyle Fuller ]
+ * Make autogen.sh executable
+ * Turn the init.d scripts into autoconf config files
+
+ [ Zachary Bedell ]
+ * Wrap dracut scripts to 79 chars
+
+ [ Brian Behlendorf ]
+ * Add .gitignore for zfs.<distro> init scripts
+
+ [ Tim Haley ]
+ * Illumos #xxx: zdb -vvv broken after zfs diff integration
+
+ [ Gordon Ross ]
+ * Illumos #764: panic in zfs:dbuf_sync_list
+
+ [ Garrett D'Amore ]
+ * Illumos #175: zfs vdev cache consumes excessive memory
+
+ [ Shampavman ]
+ * Illumos #510: 'zfs get' enhancement - mountpoint as an argument
+
+ [ George Wilson ]
+ * Illumos #1051: zfs should handle imbalanced luns
+
+ [ Matt Ahrens ]
+ * Illumos #1092: zfs refratio property
+
+ [ Eric Schrock ]
+ * Illumos #883: ZIL reuse during remount corruption
+
+ [ Martin Matuska ]
+ * Illumos #1043: Recursive zfs snapshot destroy fails
+ * Illumos #1313: Integer overflow in txg_delay()
+
+ [ Alexander Stetsenko ]
+ * Illumos #278: get rid zfs of python and pyzfs dependencies
+
+ [ James H ]
+ * Call exportfs -v once for NFS shares.
+
+ [ Gunnar Beutner ]
+ * Use /dev/null for stdout/stderr in libzfs_run_process().
+ * Use libzfs_run_process() in libshare.
+
+ -- Darik Horn <dajhorn@vanadac.com> Tue, 02 Aug 2011 10:18:10 -0500
+
+zfs-linux (0.6.0.28-0ubuntu2) unstable; urgency=low
+
+ * Update replacement controls for libzfs-dev.
+
+ -- Darik Horn <dajhorn@vanadac.com> Tue, 26 Jul 2011 00:03:19 -0500
+
+zfs-linux (0.6.0.28-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Fix the configure CONFIG_* option detection
+ * Add missing <pool> option
+ * Fix txg_sync_thread deadlock
+
+ [ Zachary Bedell ]
+ * Soft to hard tabs
+ * Catch return errors from zpool commands
+
+ [ Darik Horn ]
+ * Force root pool imports in the initramfs script.
+ * lintian: non-dev-pkg-with-shlib-symlink
+ * Override lintian extra-license-file warnings.
+ * Update the project Github link.
+ * Override dh_shlibdeps warnings.
+
+ -- Darik Horn <dajhorn@vanadac.com> Mon, 25 Jul 2011 23:39:10 -0500
+
+zfs-linux (0.6.0.27-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Use zfs_mknode() to create dataset root
+
+ -- Darik Horn <dajhorn@vanadac.com> Fri, 22 Jul 2011 14:39:22 -0500
+
+zfs-linux (0.6.0.26-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Fix send/recv 'dataset is busy' errors
+ * Update 'zpool import' man page
+ * Fix mmap(2)/write(2)/read(2) deadlock
+ * Fix zio_execute() deadlock
+ * Fix zpl_writepage() deadlock
+ * Fix 'make install' overly broad 'rm'
+ * Honor setgit bit on directories
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 20 Jul 2011 18:27:15 -0500
+
+zfs-linux (0.6.0.25.rc5-0ubuntu4) unstable; urgency=low
+
+ * Add fix-issue-319 patch.
+
+ -- Darik Horn <dajhorn@vanadac.com> Fri, 15 Jul 2011 20:09:22 -0500
+
+zfs-linux (0.6.0.25.rc5-0ubuntu3) unstable; urgency=low
+
+ * Stub the Makefile.in files in scripts/.
+
+ -- Darik Horn <dajhorn@vanadac.com> Fri, 15 Jul 2011 08:45:00 -0500
+
+zfs-linux (0.6.0.25.rc5-0ubuntu1) unstable; urgency=low
+
+ [ Andrew Tselischev ]
+ * Fix 'rc_parallel="YES"' error
+
+ [ Prasad Joshi ]
+ * Use consistent error message in zpool sub-command
+
+ [ Gunnar Beutner ]
+ * Fixed indentation in the zfs.lunar init script.
+ * Removed erroneous backticks in the zfs.lunar init script.
+ * Implemented sharing datasets via NFS using libshare.
+ * Link libshare directly to libzfs
+ * Renamed HAVE_SHARE ifdefs to HAVE_SMB_SHARE.
+ * Updated init scripts to enable automatic sharing of ZFS datasets.
+
+ [ Zachary Bedell ]
+ * Update zfs.gentoo/zfs.lsb init script
+ * Update for Dracut-010
+ * Document initramfs process
+
+ [ Brian Behlendorf ]
+ * Add proper library versioning
+ * Update ztest paths
+ * Update 'zfs send' documentation
+ * Add L2ARC tunables
+ * Improve fstat(2) performance
+
+ [ Darik Horn ]
+ * Refresh patches.
+ * Set the configuration prefix to root.
+ * Remove /usr/bin/hostid from the initramfs image.
+ * Add zfs-dracut package.
+ * Add libshare0 package.
+ * Disable disable-dist-init.patch
+ * Add nfs-kernel-server suggestion.
+ * Demote spl-dkms to a regular dependency.
+ * lintian: package-name-doesnt-match-sonames
+ * lintian: incorrect-libdir-in-la-file
+ * Rename libavl1 to libzavl1.
+
+ [ Fajar A. Nugraha ]
+ * Check for "udevadm settle" vs "udevsettle"
+ * Remove zfs service only on uninstall, not on upgrade
+
+ [ Kyle Fuller ]
+ * Provide a rc.d script for archlinux
+
+ -- Darik Horn <dajhorn@vanadac.com> Tue, 12 Jul 2011 19:49:02 -0500
+
+zfs-linux (0.6.0.22.rc5-0ubuntu1) unstable; urgency=low
+
+ [ Prasad Joshi ]
+ * MMAP Optimization
+
+ [ Brian Behlendorf ]
+ * Remove unused MMAP functions
+ * Add ZFS specific mmap() checks
+ * Avoid 'rpm -q' bug for 'make pkg'
+ * Linux compat 2.6.39: security_inode_init_security()
+ * Linux compat 2.6.39: mount_nodev()
+ * Fix implicit declaration of 'mkdirp'
+ * Always allow non-user xattrs
+ * Prep zfs-0.6.0-rc5 tag
+
+ [ Rohan Puri ]
+ * Support mandatory locks (nbmand)
+
+ -- Darik Horn <dajhorn@vanadac.com> Sun, 03 Jul 2011 13:06:48 -0500
+
+zfs-linux (0.6.0.21-0ubuntu1) unstable; urgency=low
+
+ [ Prasad Joshi ]
+ * Tear down and flush the mmap region
+ * Use truncate_setsize in zfs_setattr
+
+ [ Brian Behlendorf ]
+ * Ensure all block devices are available
+
+ -- Darik Horn <dajhorn@vanadac.com> Fri, 01 Jul 2011 11:41:40 -0500
+
+zfs-linux (0.6.0.20-0ubuntu1) unstable; urgency=low
+
+ [ Gunnar Beutner ]
+ * Removed erroneous zfs_inode_destroy() calls from zfs_rmnode().
+ * Fix unlink/xattr deadlock
+
+ [ Brian Behlendorf ]
+ * Linux 3.0 compat, shrinker compatibility
+
+ [ Ned A. Bass ]
+ * Multipath device manageability improvements
+
+ -- Darik Horn <dajhorn@vanadac.com> Sat, 25 Jun 2011 22:14:26 -0500
+
+zfs-linux (0.6.0.19-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Use datadir not datarootdir for dracut
+ * Update rpm/deb packages to be FHS compliant
+ * Linux 2.6.37 compat, WRITE_FLUSH_FUA
+
+ [ Christian Kohlschütter ]
+ * Add "ashift" property to zpool create
+
+ [ Darik Horn ]
+ * Fix autoconf variable substitution in udev rules.
+ * Autogen refresh.
+ * Refresh patches.
+
+ -- Darik Horn <dajhorn@vanadac.com> Sun, 19 Jun 2011 13:06:43 -0500
+
+zfs-linux (0.6.0.18-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Fix 'zfs send -D' segfault
+ * Pass -f option for import
+ * Add default stack checking
+ * Check for -Wno-unused-but-set-variable gcc support
+ * Always check -Wno-unused-but-set-variable gcc support
+ * Handle /etc/mtab -> /proc/mounts symlink
+
+ -- Darik Horn <dajhorn@vanadac.com> Thu, 16 Jun 2011 09:39:30 -0500
+
+zfs-linux (0.6.0.17-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Make tgx_sync_thread zio's async
+ * Revert "Fix stack traverse_visitbp()"
+ * Fix stack ddt_zap_lookup()
+ * Fix stack ddt_class_contains()
+ * Fix zpios-sanity.sh return code
+ * Always unload zpios.ko on exit
+ * Delay before destroying loopback devices
+ * Sanatize zpios-sanity.sh environment
+
+ -- Darik Horn <dajhorn@vanadac.com> Sun, 05 Jun 2011 20:32:51 -0500
+
+zfs-linux (0.6.0.16-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Pass caller's credential in zfsdev_ioctl()
+ * Default to internal 'zfs userspace' implementation
+ * Use vmem_alloc() for zfs_ioc_userspace_many()
+ * Fix 4K sector support
+
+ -- Darik Horn <dajhorn@vanadac.com> Sat, 28 May 2011 15:47:15 -0500
+
+zfs-linux (0.6.0.15-0ubuntu1) unstable; urgency=low
+
+ [ Alexey Shvetsov ]
+ * Make zfs.gentoo init script more gentoo style.
+ * Fix zfs.gentoo init script logic
+ * Remove root 'ls' after mount workaround
+ * Fix distribution detection for gentoo
+
+ [ Brian Behlendorf ]
+ * Update synchronous open zfs_close() comment
+ * Fix 'negative objects to delete' warning
+
+ -- Darik Horn <dajhorn@vanadac.com> Mon, 23 May 2011 09:18:38 -0500
+
+zfs-linux (0.6.0.14-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Use vmem_alloc() for zfs_ioc_pool_get_history()
+ * Fix awk usage
+ * Handle NULL in nfsd .fsync() hook
+ * Disable direct reclaim for z_wr_* threads
+
+ [ Ned A. Bass ]
+ * Don't store rdev in SA for FIFOs and sockets
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 11 May 2011 20:28:21 -0500
+
+zfs-linux (0.6.0.13.rc4-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Add missing ZFS tunables
+ * Allow mounting of read-only snapshots
+
+ -- Darik Horn <dajhorn@vanadac.com> Thu, 05 May 2011 20:48:14 -0500
+
+zfs-linux (0.6.0.12.rc4-0ubuntu2) unstable; urgency=low
+
+ * Add the debhelper token to zfs-initramfs.preinst
+ * Add the debehelper token to zfsutils.preinst
+ * Add extended package descriptions.
+ * Disable zpool-layout distribution.
+ * Add -e switch to the zfsutils.preinst whackbang.
+ * Add docs file for each package.
+ * Package libexec scripts as examples.
+ * Add -e switch to the zfs-initramfs.preinst whackbang.
+ * Flag autogen.sh as executable.
+ * Add -e switch to the zfs-dkms.postinst whackbang.
+ * Disable scripts distribution.
+ * Add whackbang to the ltmain.sh script.
+ * Remove unused zfs-dkms.preinst script.
+ * Add -e switch to the zfs-dkms.prerm whackbang.
+ * Remove unused zfs-dkms.postrm script.
+ * Specify a distro section for each package.
+ * Add snapshot-mount.patch
+
+ -- Darik Horn <dajhorn@vanadac.com> Thu, 05 May 2011 19:51:35 -0500
+
+zfs-linux (0.6.0.12.rc4-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Add Gentoo/Lunar/Redhat Init Scripts
+ * Prep zfs-0.6.0-rc4 tag
+
+ [ Darik Horn ]
+ * Use 0.6.0.12.rc4 as the unofficial version.
+ * Quilt refresh.
+
+ -- Darik Horn <dajhorn@vanadac.com> Thu, 05 May 2011 10:18:40 -0500
+
+zfs-linux (0.6.0.11-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Suppress 'vdev_metaslab_init' memory warning
+ * Fix 'zfs set volsize=N pool/dataset'
+ * Fully update inode when created
+ * Correct MAXUID
+
+ [ Gunnar Beutner ]
+ * Implemented NFS export_operations.
+
+ [ Alejandro R. Sedeño ]
+ * Add zpl_export.c to the list of targets.
+
+ -- Darik Horn <dajhorn@vanadac.com> Mon, 02 May 2011 19:07:36 -0500
+
+zfs-linux (0.6.0.10-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Fix zvol deadlock
+ * Conserve stack in dsl_scan_visitbp()
+ * Conserve stack in dsl_scan_visitbp()
+ * Conserve stack in dsl_scan_visit()
+
+ [ Darik Horn ]
+ * Use gethostid in the Linux convention.
+ * Use 0.6.0.10 as the unofficial version.
+ * Use substvars versions in the debian/control.
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 27 Apr 2011 11:23:52 -0500
+
+zfs-linux (0.6.0.9-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Update zconfig.sh to use new zvol names
+ * Suppress 'zfs receive' memory warning
+ * Enforce ARC meta-data limits
+ * Fix spurious -EFAULT when setting I/O scheduler
+ * Fix 32-bit MAXOFFSET_T definition
+
+ [ Aniruddha Shankar ]
+ * Added required runlevel info for init on Debian
+
+ [ Gunnar Beutner ]
+ * Fixed a use-after-free bug in zfs_zget().
+
+ [ Darik Horn ]
+ * Use 0.6.0.9 as the unofficial version.
+ * Remove the gawk packaging dependency.
+
+ -- Darik Horn <dajhorn@vanadac.com> Sat, 23 Apr 2011 11:21:36 -0500
+
+zfs-linux (0.6.0.8-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Linux 2.6.29 compat, credentials
+ * Fix rebuildable RPMs for el6/ch5
+ * Autogen refresh for kernel-insert-inode-locked.m4
+ * Linux 2.6.39 compat, invalidate_inodes()
+ * Fix gcc compiler warning, dsl_pool_create()
+ * Fix gcc compiler warning, parse_option()
+ * Fix gcc configure warnings
+ * Set -Wno-unused-but-set-variable globally
+ * Add Gunnar Beutner to AUTHORS for his contributions
+ * Add parted and lsscsi dependencies to zfs-test
+
+ [ Richard Laager ]
+ * Fix a couple comments
+ * Correct man page section numbers for Linux
+ * Change /dev/dsk -> /dev in the man pages
+ * More and correct an example in zpool.8
+ * Use Linux disk names in zpool.8
+ * Linux has "partitions", not "slices"
+ * Remove a stray tab
+ * Improve some quoting consistency
+ * Improve the wording about hot spares
+ * Normalize the deferred destruction language
+ * Update the version in the zpool upgrade example
+ * Cleanup various Sun/Solaris-isms
+ * Support IEC base-2 prefixes
+
+ [ Ned Bass ]
+ * Use consistent indentation in mount-zfs.sh
+ * Align closing fi in mount-zfs.sh
+
+ [ Gunnar Beutner ]
+ * Added missing initialization for va.va_dentry in zfs_get_xattrdir.
+ * Truncate the xattr znode when updating existing attributes.
+
+ [ Darik Horn ]
+ * Refresh debian/patches.
+ * Use zfs-0.6.0.8 as the unofficial upstream version.
+ * Set a version on the spl-dkms dependency.
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 20 Apr 2011 08:21:51 -0500
+
+zfs-linux (0.6.0.7-0ubuntu2) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Call d_instantiate before unlocking inode
+ * Add missing arcstats
+ * Add direct+indirect ARC reclaim
+ * Fix ASSERTION(!dsl_pool_sync_context(tx->tx_pool))
+ * Prep zfs-0.6.0-rc3 tag
+
+ [ Manuel Amador (Rudd-O) ]
+ * Added .gitignore for mount.zfs and zvol_id
+ * Permit both mountpoint=legacy and mountpoint=/ in initrd
+ * Update zfs.fedora init script
+
+ [ Darik Horn ]
+ * Upstream zfs-0.6.0-rc3 tag. Use 0.6.0.7 instead.
+ * Add a zfs-grub dependency to zfs-initramfs.
+ * Add a NEWS entry for the decomposition and rename.
+
+ -- Darik Horn <dajhorn@vanadac.com> Thu, 07 Apr 2011 13:51:23 -0500
+
+zfs-linux (0.6.0.6-0ubuntu2) unstable; urgency=low
+
+ * Partial autogen updates to fix PPA builds.
+
+ -- Darik Horn <dajhorn@vanadac.com> Thu, 07 Apr 2011 10:52:30 -0500
+
+zfs-linux (0.6.0.6-0ubuntu1) unstable; urgency=low
+
+ [ Fajar A. Nugraha ]
+ * Fixes to enable zvol symlink creation
+ * Spec file compat, %{datadir}
+
+ [ Brian Behlendorf ]
+ * Set cmd paths in udev rules using --prefix
+ * Fix inflated load average
+ * Fix libzpool cv_* build error
+ * Update CHAOS 5 Packaging
+ * Fix `make distclean` for `./configure --with-config=user
+
+ [ Ned Bass ]
+ * Call udevadm trigger more safely
+
+ [ Darik Horn ]
+ * Remove `make distclean` kludge.
+ * Ignore `zfs unmount -a` errors in the init script.
+ * Rename /etc/default/zfsload during upgrades.
+ * Disable dracut instead of reverting it.
+ * Move udev rules from /etc to /lib.
+ * Add ${shlibs:Depends} to each control stanza.
+ * Remove volume and swap handling from the init script.
+
+ -- Darik Horn <dajhorn@vanadac.com> Tue, 05 Apr 2011 22:08:06 -0500
+
+zfs-linux (0.6.0.5-1ubuntu7) unstable; urgency=low
+
+ * Force the dkms.conf file into the zfs-dkms package.
+
+ -- Darik Horn <dajhorn@vanadac.com> Thu, 31 Mar 2011 11:03:56 -0500
+
+zfs-linux (0.6.0.5-1ubuntu6) unstable; urgency=low
+
+ * Link /proc/mounts to /etc/mtab.
+ * Add the /etc/default/zfs import to the init script.
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 30 Mar 2011 16:12:41 -0500
+
+zfs-linux (0.6.0.5-1ubuntu5) unstable; urgency=low
+
+ * Use /sbin/mount.zfs for the root mount in the initramfs.
+ * Handle the GRUB zfs-bootfs parameter in the initramfs.
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 30 Mar 2011 12:22:12 -0500
+
+zfs-linux (0.6.0.5-1ubuntu2) unstable; urgency=low
+
+ * Rename the zfs package to zfsutils.
+ * Rename the zfs-lib package to libzfs0.
+ * Decompose the zfs-lib package.
+ * Restrict the package architecture to linux-any.
+ * Remove the KQ init script that was imported from zfs-linux/lzfs.
+ * Import the zfsutils init script from Debian kFreeBSD.
+ * Check zvols for Linux swap areas instead of FreeBSD swap areas.
+ * Replace zfs by zfsutils in the debian/control file.
+ * Add libzfs-dev to the debian/control file.
+ * Change usr/lib/include to usr/include in the libzfs-dev.install file.
+ * Add a zfs-lib replacement to each constituent library.
+
+ -- Darik Horn <dajhorn@vanadac.com> Tue, 29 Mar 2011 09:17:38 -0500
+
+zfs-linux (0.6.0.5-0ubuntu2) unstable; urgency=low
+
+ * Include /sbin/mount.zfs in the zfs package.
+
+ -- Darik Horn <dajhorn@vanadac.com> Thu, 24 Mar 2011 12:37:40 -0500
+
+zfs-linux (0.6.0.5-0ubuntu1) unstable; urgency=low
+
+ [ Brian Behlendorf ]
+ * Check for trailing '/' in mount.zfs
+ * Don't set I/O Scheduler for Partitions
+ * Always allow '-o remount,ro'
+ * Strip 'zfsutil,remount' from /etc/mtab
+ * Register .sync_fs handler
+ * Register .remount_fs handler
+ * Add init scripts
+ * Fix getcwd() warning
+ * Fix 'LDFLAGS=-Wl,--as-needed' build error
+ * Use KM_PUSHPAGE instead of KM_SLEEP
+ * Fix evict() deadlock
+ * Linux compat, umount2(2) flags
+ * Linux 2.6.27 compat, blk_queue_stackable()
+ * Linux 2.6.28 compat, insert_inode_locked()
+ * Linux 2.6.29 compat, credentials
+ * Linux 2.6.29 compat, .freeze_fs/.unfreeze_fs
+
+ [ Darik Horn ]
+ * Full upstream merge. Use zfs-0.6.0.5 as the unofficial upstream version.
+ * Revert the dracut commit in debian/patches.
+ * Revert the init script commit in debian/patches.
+ * Quilt refresh.
+ * Properly strip the bootfs= and rpool= kernel command line parameters.
+ * Remove the whack-bang and execute bit from the initramfs boot script.
+
+ -- Darik Horn <dajhorn@vanadac.com> Tue, 22 Mar 2011 23:07:49 -0500
+
+zfs-linux (0.6.0.4.rc2-0ubuntu6) unstable; urgency=low
+
+ * Trivial typo correction in the debian/copyright file.
+ * Remove the init-top/hostname script and force BUSYBOX=y instead.
+ * Correct typos in the debian/debuild-ppa.sh helper.
+ * Add a debian/source/options file that disable the
+ implied --single-debian-patch build option.
+
+ -- Darik Horn <dajhorn@vanadac.com> Sun, 20 Mar 2011 19:11:12 -0500
+
+zfs-linux (0.6.0.4.rc2-0ubuntu5) unstable; urgency=low
+
+ * Add the debuild-ppa.sh script for Launchpad PPA build convenience.
+ * Add fix-getcwd-warning.patch from behlendorf/master.
+ * Add fix-gentoo-ldflags.patch from behlendorf/master.
+ * Add the pkg-zfs repository to the debian/copyright file.
+
+ -- Darik Horn <dajhorn@vanadac.com> Sun, 20 Mar 2011 15:27:49 -0500
+
+zfs-linux (0.6.0.4.rc2-0ubuntu4) unstable; urgency=low
+
+ * Add behlendorf/dracut patch for better dismount handling at shutdown.
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 16 Mar 2011 09:16:00 -0500
+
+zfs-linux (0.6.0.4.rc2-0ubuntu3) unstable; urgency=low
+
+ * Add patches from behlendorf/master:
+ * check-for-trailing-slash-in-mount.patch
+ * do-not-set-io-scheduler-for-partitions.patch
+ * Add gawk dependency to the zfs-initramfs package.
+
+ -- Darik Horn <dajhorn@vanadac.com> Sun, 13 Mar 2011 21:32:32 -0500
+
+zfs-linux (0.6.0.4.rc2-0ubuntu2) unstable; urgency=low
+
+ * Initial zfs-initramfs packaging for root filesystem support.
+
+ -- Darik Horn <dajhorn@vanadac.com> Fri, 11 Mar 2011 15:39:37 -0600
+
+zfs-linux (0.6.0.4.rc2-0ubuntu1) unstable; urgency=low
+
+ * Upstream spl-0.6.0-rc2 release.
+
+ -- Darik Horn <dajhorn@vanadac.com> Thu, 10 Mar 2011 09:35:43 -0600
+
+zfs-linux (0.6.0.3.git-0ubuntu1) unstable; urgency=low
+
+ * Revert the '+' in the upstream version because it is not recognized by DKMS.
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 09 Mar 2011 12:24:41 -0600
+
+zfs-linux (0.6.0.3+git-0ubuntu2) unstable; urgency=low
+
+ * Change spl-dkms to a pre-dependency in the control file.
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 09 Mar 2011 10:54:07 -0600
+
+zfs-linux (0.6.0.3+git-0ubuntu1) unstable; urgency=low
+
+ * Begin using the +git upstream naming convention.
+ * Merge the behlendorf/mount and behlendorf/master branches.
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 09 Mar 2011 10:09:24 -0600
+
+zfs-linux (0.6.0.2-0ubuntu1) unstable; urgency=low
+
+ * Merge the behlendorf/master branch for the xvattr changes
+ and tag it as 0.6.0.2 upstream.
+
+ -- Darik Horn <dajhorn@vanadac.com> Fri, 04 Mar 2011 19:24:42 -0600
+
+zfs-linux (0.6.0.1rc.1-0ubuntu6) unstable; urgency=low
+
+ * Check for a Debian host in PRE_BUILD and configure for split headers.
+ See https://github.com/behlendorf/spl/issues/closed/#issue/10
+
+ -- Darik Horn <dajhorn@vanadac.com> Sun, 27 Feb 2011 17:51:17 -0600
+
+zfs-linux (0.6.0.1rc.1-0ubuntu5) unstable; urgency=low
+
+ * Remove the build dependency on linux-headers because it is unnecessary
+ for Ubuntu and prevents building on Debian Squeeze and Debian Sid.
+
+ -- Darik Horn <dajhorn@vanadac.com> Sun, 27 Feb 2011 13:20:03 -0600
+
+zfs-linux (0.6.0.1rc.1-0ubuntu4) unstable; urgency=low
+
+ * Add version numbers to the dkms dependencies.
+
+ -- Darik Horn <dajhorn@vanadac.com> Sat, 26 Feb 2011 01:13:40 -0600
+
+zfs-linux (0.6.0.1rc.1-0ubuntu3) unstable; urgency=low
+
+ * Add fix-set-block-scheduler-warnings.patch.
+
+ -- Darik Horn <dajhorn@vanadac.com> Fri, 25 Feb 2011 20:59:26 -0600
+
+zfs-linux (0.6.0.1rc.1-0ubuntu2) unstable; urgency=low
+
+ * Add udev-zvol.patch for udev to create zvol links.
+ (Commit: 4c0d8e50b99b4f3b4a9b7bc67ac7fc4e406f5755)
+
+ -- Darik Horn <dajhorn@vanadac.com> Fri, 25 Feb 2011 15:20:41 -0600
+
+zfs-linux (0.6.0.1rc.1-0ubuntu1) unstable; urgency=low
+
+ * Merge behlendorf/linux-compat for Linux 2.6.38 compatibility.
+ * Add /etc/default/zfsload for the init script.
+ * Add dist-blkdev_compat.patch so that the new block device
+ compatibility header is included by the dist rules.
+
+ -- Darik Horn <dajhorn@vanadac.com> Thu, 24 Feb 2011 10:30:13 -0600
+
+zfs-linux (0.6.0.1rc-1~lucid.4) lucid; urgency=low
+
+ * Force all zfsload returns to 0.
+ * Initial master branch for git-buildpackage.
+ * Update Vcs-Git and Vcs-Browser fields in the control file.
+
+ -- Darik Horn <dajhorn@vanadac.com> Tue, 22 Feb 2011 11:23:31 -0600
+
+zfs-linux (0.6.0.1rc-1~lucid.3) lucid; urgency=low
+
+ * Move the zfsload init script from the zfs-dkms package
+ to the zfs package.
+ * Disable non-zero returns in the zfsload script because
+ `zfs umount -a` is unreliable and init errors cause dpkg
+ to block package updates and removals.
+ * Create zfs.examples for dh_installexamples and change the
+ install manifest for etc/zfs/*.example accordingly.
+ * Split zfs into zfs-lib to satisfy the dpkg-shlibdeps warnings.
+
+ -- Darik Horn <dajhorn@vanadac.com> Mon, 21 Feb 2011 11:27:11 -0600
+
+zfs-linux (0.6.0.1rc-1~lucid.2) lucid; urgency=low
+
+ * Reduce the dpkg scripts to #DEBHELPER# because dh_dkms
+ is automatically and correctly filling template.
+ * Set a versioned debhelper dependency to satisfy the
+ lintian warning.
+
+ -- Darik Horn <dajhorn@vanadac.com> Mon, 21 Feb 2011 10:27:29 -0600
+
+zfs-linux (0.6.0.1rc-1~lucid.1) lucid; urgency=low
+
+ * New upstream zfs-0.6.0-rc1.tar.gz release.
+ * Kludge the "rc1" version for the packaging convenience.
+ * Move the zfsload script to this package.
+ * Supercede the lzfs-dkms package.
+
+ -- Darik Horn <dajhorn@vanadac.com> Fri, 18 Feb 2011 19:46:36 -0600
+
+zfs-linux (0.5.2-1~lucid.6) lucid; urgency=low
+
+ * Do uupdate on kqzfs_0.5.2 tag.
+ * Remove disable-check_stack_overflow patch.
+ * Add kernel-bio-failfast.patch for `make distdir`.
+
+ -- Darik Horn <dajhorn@vanadac.com> Fri, 18 Feb 2011 12:52:07 -0600
+
+zfs-linux (0.5.1-1~lucid.5) lucid; urgency=low
+
+ * Initial DKMS packaging for Debian and Ubuntu.
+
+ -- Darik Horn <dajhorn@vanadac.com> Wed, 16 Feb 2011 12:26:49 -0600
--- /dev/null
+Source: zfs-linux
+Section: kernel
+Priority: extra
+Maintainer: Darik Horn <dajhorn@vanadac.com>
+Build-Depends: autotools-dev, debhelper (>= 7.4), dkms (>> 2.1.1.2-5ubuntu1), uuid-dev, zlib1g-dev
+Standards-Version: 3.8.4
+Vcs-Git: git://github.com/dajhorn/pkg-zfs.git
+Vcs-Browser: http://github.com/dajhorn/pkg-zfs
+
+Package: libzavl1
+Section: libs
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: libavl1
+Replaces: libavl0
+Description: OpenSolaris AVL tree manipulation library for Linux
+ Adelson-Velskii Landis balanced binary tree manipulation library.
+
+Package: libefi1
+Section: libs
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: libefi0
+Description: OpenSolaris EFI library for Linux
+ Extensible Firmware Interface library for GUID disk partitioning.
+
+Package: libnvpair1
+Section: libs
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: libnvpair0
+Description: OpenSolaris name-value library for Linux
+ This library provides routines for packing and unpacking nv pairs for
+ transporting data across process boundaries, transporting between
+ kernel and userland, and possibly saving onto disk files.
+
+Package: libshare1
+Section: libs
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: libshare0
+Description: Solaris network sharing library for Linux
+ This library provides NFS and SMB service integration for
+ ZFS filesystems.
+
+Package: libspl1
+Section: libs
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Conflicts: spl-dev
+Replaces: libspl0
+Description: Solaris Portability Layer library for Linux
+ The Solaris Porting Layer (SPL) library provides APIs that make it
+ possible to run Solaris user code in a Linux environment with
+ relatively minimal modification.
+
+Package: libunicode1
+Section: libs
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: libunicode0
+Description: OpenSolaris unicode library for Linux
+ This library provides UTF-8 text preparation functions and
+ conversion functions for UTF-8, UTF-16, and UTF-32.
+
+Package: libuutil1
+Section: libs
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: libuutil0
+Description: OpenSolaris userland utility library for Linux
+ Solaris glue functions for ZFS.
+
+Package: libzfs-dev
+Section: libdevel
+Architecture: linux-any
+Depends: ${misc:Depends}, libzfs1 (= ${binary:Version})
+Provides: libnvpair-dev, libuutil-dev
+Replaces: libefi1, libnvpair1, libshare1, libspl1, libunicode1, libuutil1, libzavl1, libzfs1, libzpool1
+Description: Native ZFS filesystem development files for Linux
+ Header files and static libraries for compiling software
+ against libzfs.
+
+Package: libzfs1
+Section: libs
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: libzfs0
+Description: Native ZFS filesystem library for Linux
+ The zfs management library.
+
+Package: libzpool1
+Section: libs
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: libzpool0
+Description: Native ZFS pool library for Linux
+ The zpool management library.
+
+Package: zfs-dkms
+Section: kernel
+Architecture: linux-any
+Depends: ${misc:Depends}, dkms (>> 2.1.1.2-5ubuntu1), spl-dkms (>= ${source:Upstream-Version})
+Replaces: lzfs, lzfs-dkms
+Provides: lustre-backend-fs, lzfs, lzfs-dkms
+Conflicts: lzfs, lzfs-dkms
+Description: Native ZFS filesystem kernel modules for Linux
+ An advanced integrated volume manager and filesystem.
+ Includes the SPA, DMU, ZVOL, and ZPL components of ZFS.
+
+Package: zfs-dracut
+Section: kernel
+Architecture: linux-any
+Depends: ${misc:Depends}, dracut, zfsutils
+Description: Native ZFS root filesystem capabilities for Linux
+ This package adds ZFS to the system initramfs with a hook
+ for the dracut infrastructure.
+
+Package: zfs-initramfs
+Section: kernel
+Architecture: linux-any
+Depends: ${misc:Depends}, mountall (>= 2.18), zfsutils, zfs-grub
+Description: Native ZFS root filesystem capabilities for Linux
+ This package adds ZFS to the system initramfs with a hook
+ for the initramfs-tools infrastructure.
+
+Package: zfsutils
+Section: admin
+Architecture: linux-any
+Depends: ${misc:Depends}, ${shlibs:Depends}, udev (<< 174)
+Recommends: zfs-dkms
+Suggests: nfs-kernel-server, zfs-initramfs
+Conflicts: zfs, zfs-fuse
+Replaces: zfs
+Description: Native ZFS management utilities for Linux
+ This package provides the zpool and zfs commands that are used to
+ manage ZFS filesystems.
--- /dev/null
+Upstream Author(s):
+
+ Brian Behlendorf <behlendorf1@llnl.gov>,
+ Herb Wartens <wartens2@llnl.gov>,
+ Jim Garlick <garlick@llnl.gov>,
+ Ricardo M. Correia <Ricardo.M.Correia@sun.com>
+ KQ Infotech <zfs@kqinfotech.com>
+
+
+Copyright:
+
+ The majority of the code in the ZFS on Linux port comes from OpenSolaris
+ which has been released under the terms of the CDDL open source license.
+ This includes the core ZFS code, libavl, libnvpair, libefi, libunicode,
+ and libutil. The original OpenSolaris source can be downloaded from:
+
+ http://dlc.sun.com/osol/on/downloads/b121/on-src.tar.bz2
+
+ Files which do not originate from OpenSolaris are noted in the file header
+ and attributed properly. These exceptions include, but are not limited
+ to, the vdev_disk.c and zvol.c implementation which are licensed under
+ the CDDL.
+
+ The zpios test code is originally derived from the Lustre pios test code
+ which is licenced under the GPLv2. As such the heaviliy modified zpios
+ kernel test code also remains licensed under the GPLv2.
+
+ The latest stable and development versions of this port can be downloaded
+ from the official ZFS on Linux site located at:
+
+ http://github.com/zfsonlinux/zfs/
+
+ This ZFS on Linux port was produced at the Lawrence Livermore National
+ Laboratory (LLNL) under Contract No. DE-AC52-07NA27344 (Contract 44)
+ between the U.S. Department of Energy (DOE) and Lawrence Livermore
+ National Security, LLC (LLNS) for the operation of LLNL. It has been
+ approved for release under LLNL-CODE-403049.
+
+ Unless otherwise noted, all files in this distribution are released
+ under the Common Development and Distribution License (CDDL).
+ Exceptions are noted within the associated source files. See the file
+ OPENSOLARIS.LICENSE for more information.
+
+
+License:
+
+ Unless otherwise noted, all files in this distribution are released
+ under the Common Development and Distribution License (CDDL).
+ Exceptions are noted within the associated source files. See the file
+ OPENSOLARIS.LICENSE for more information.
+
+
+The Debian packaging is:
+
+ Copyright 2011 Darik Horn <dajhorn@vanadac.com>
+ Available at git://github.com/dajhorn/pkg-zfs.git
+
+ Copyright (c) 2010 Knowledge Quest Infotech Pvt. Ltd.
+ Produced at Knowledge Quest Infotech Pvt. Ltd.
+ Written by: Knowledge Quest Infotech Pvt. Ltd. <zfs@kqinfotech.com>
+ Available at git://github.com/zfs-linux/zfs.git
--- /dev/null
+#!/bin/bash
+#
+# Launchpad PPA build helper.
+#
+
+PPA_USER=${PPA_USER:-$(whoami)}
+PPA_NAME='zfs'
+PPA_DISTRIBUTION_LIST='lucid maverick natty oneiric'
+PPA_GENCHANGES='-sa'
+
+if [ ! -d debian/ ]
+then
+ echo 'Error: The debian/ directory is not in the current working path.'
+ exit 1
+fi
+
+for ii in $PPA_DISTRIBUTION_LIST
+do
+ # Change the first line of the debian/changelog file
+ # from: MyPackage (1.2.3-4) unstable; urgency=low
+ # to: MyPackage (1.2.3-4~distname) distname; urgency=low
+ debchange --local="~$ii" --distribution="$ii" dummy
+ sed -i -e '2,8d' debian/changelog
+
+ debuild -S "$PPA_GENCHANGES"
+ git checkout debian/changelog
+
+ # Only do a full upload on the first build.
+ PPA_GENCHANGES='-sd'
+done
--- /dev/null
+COPYRIGHT
+DISCLAIMER
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libefi.so.*
--- /dev/null
+libefi1: extra-license-file
--- /dev/null
+COPYRIGHT
+DISCLAIMER
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libnvpair.so.*
--- /dev/null
+libnvpair1: extra-license-file
--- /dev/null
+lib/libshare.so.*
--- /dev/null
+COPYRIGHT
+DISCLAIMER
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libspl.so.*
--- /dev/null
+libspl1: extra-license-file
--- /dev/null
+COPYRIGHT
+DISCLAIMER
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libunicode.so.*
--- /dev/null
+libunicode1: extra-license-file
--- /dev/null
+COPYRIGHT
+DISCLAIMER
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libuutil.so.*
--- /dev/null
+libuutil1: extra-license-file
--- /dev/null
+COPYRIGHT
+DISCLAIMER
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libavl.so.*
--- /dev/null
+libzavl1: extra-license-file
--- /dev/null
+COPYRIGHT
+DISCLAIMER
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/*.a
+lib/*.la
+lib/*.so
+usr/include
--- /dev/null
+libzfs-dev: extra-license-file
--- /dev/null
+COPYRIGHT
+DISCLAIMER
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libzfs.so.*
--- /dev/null
+libzfs1: extra-license-file
--- /dev/null
+COPYRIGHT
+DISCLAIMER
+OPENSOLARIS.LICENSE
--- /dev/null
+lib/libzpool.so.*
--- /dev/null
+libzpool1: extra-license-file
--- /dev/null
+From 4d7340ec9c3fa9f8918a50349887d212441ada26 Mon Sep 17 00:00:00 2001
+From: Darik Horn <dajhorn@vanadac.com>
+Date: Tue, 11 Oct 2011 19:45:40 -0500
+Subject: [PATCH] Use /bin/bash to invoke dracut scripts.
+
+The system shell on most Debian and Ubuntu systems is dash, so change
+the whack-bang in the Dracut scripts from /bin/sh to /bin/bash.
+
+The `printf "\x$DD\x$CC\x$BB\x$AA" >$TMP` line is problematic because
+dash builtin does not implement the hex format.
+---
+ dracut/90zfs/module-setup.sh.in | 2 +-
+ dracut/90zfs/mount-zfs.sh.in | 2 +-
+ dracut/90zfs/parse-zfs.sh.in | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/dracut/90zfs/module-setup.sh.in b/dracut/90zfs/module-setup.sh.in
+index c01915e..a940cd9 100755
+--- a/dracut/90zfs/module-setup.sh.in
++++ b/dracut/90zfs/module-setup.sh.in
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+
+ check() {
+ # We depend on udev-rules being loaded
+diff --git a/dracut/90zfs/mount-zfs.sh.in b/dracut/90zfs/mount-zfs.sh.in
+index 2d2afd8..8bbc6c2 100755
+--- a/dracut/90zfs/mount-zfs.sh.in
++++ b/dracut/90zfs/mount-zfs.sh.in
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+
+ . /lib/dracut-lib.sh
+
+diff --git a/dracut/90zfs/parse-zfs.sh.in b/dracut/90zfs/parse-zfs.sh.in
+index 571d263..5bfb472 100755
+--- a/dracut/90zfs/parse-zfs.sh.in
++++ b/dracut/90zfs/parse-zfs.sh.in
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+
+ . /lib/dracut-lib.sh
+
+--
+1.7.5.4
+
--- /dev/null
+Index: b/etc/Makefile.am
+===================================================================
+--- a/etc/Makefile.am
++++ b/etc/Makefile.am
+@@ -1 +1 @@
+-SUBDIRS = init.d udev zfs
++SUBDIRS = udev zfs
+Index: b/etc/Makefile.in
+===================================================================
+--- a/etc/Makefile.in
++++ b/etc/Makefile.in
+@@ -301,7 +301,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = init.d udev zfs
++SUBDIRS = udev zfs
+ all: all-recursive
+
+ .SUFFIXES:
+Index: b/configure.ac
+===================================================================
+--- a/configure.ac
++++ b/configure.ac
+@@ -60,7 +60,6 @@
+ etc/Makefile
+ etc/udev/Makefile
+ etc/udev/rules.d/Makefile
+- etc/init.d/Makefile
+ etc/zfs/Makefile
+ man/Makefile
+ man/man8/Makefile
+Index: b/configure
+===================================================================
+--- a/configure
++++ b/configure
+@@ -20555,7 +20555,7 @@
+ $as_echo "$enable_debug" >&6; }
+
+
+-ac_config_files="$ac_config_files Makefile dracut/Makefile dracut/90zfs/Makefile etc/Makefile etc/udev/Makefile etc/udev/rules.d/Makefile etc/init.d/Makefile etc/zfs/Makefile man/Makefile man/man8/Makefile lib/Makefile lib/libspl/Makefile lib/libspl/asm-generic/Makefile lib/libspl/asm-i386/Makefile lib/libspl/asm-x86_64/Makefile lib/libspl/include/Makefile lib/libspl/include/ia32/Makefile lib/libspl/include/ia32/sys/Makefile lib/libspl/include/rpc/Makefile lib/libspl/include/sys/Makefile lib/libspl/include/sys/sysevent/Makefile lib/libspl/include/sys/dktp/Makefile lib/libspl/include/util/Makefile lib/libavl/Makefile lib/libefi/Makefile lib/libnvpair/Makefile lib/libunicode/Makefile lib/libuutil/Makefile lib/libzpool/Makefile lib/libzfs/Makefile lib/libshare/Makefile cmd/Makefile cmd/zdb/Makefile cmd/zfs/Makefile cmd/zinject/Makefile cmd/zpool/Makefile cmd/ztest/Makefile cmd/zpios/Makefile cmd/mount_zfs/Makefile cmd/zpool_layout/Makefile cmd/zvol_id/Makefile cmd/zpool_id/Makefile cmd/sas_switch_id/Makefile module/Makefile module/avl/Makefile module/nvpair/Makefile module/unicode/Makefile module/zcommon/Makefile module/zfs/Makefile module/zpios/Makefile include/Makefile include/linux/Makefile include/sys/Makefile include/sys/fs/Makefile include/sys/fm/Makefile include/sys/fm/fs/Makefile scripts/Makefile scripts/zpios-profile/Makefile scripts/zpios-test/Makefile scripts/zpool-config/Makefile scripts/zpool-layout/Makefile scripts/common.sh zfs.spec zfs-modules.spec zfs-script-config.sh"
++ac_config_files="$ac_config_files Makefile dracut/Makefile dracut/90zfs/Makefile etc/Makefile etc/udev/Makefile etc/udev/rules.d/Makefile etc/zfs/Makefile man/Makefile man/man8/Makefile lib/Makefile lib/libspl/Makefile lib/libspl/asm-generic/Makefile lib/libspl/asm-i386/Makefile lib/libspl/asm-x86_64/Makefile lib/libspl/include/Makefile lib/libspl/include/ia32/Makefile lib/libspl/include/ia32/sys/Makefile lib/libspl/include/rpc/Makefile lib/libspl/include/sys/Makefile lib/libspl/include/sys/sysevent/Makefile lib/libspl/include/sys/dktp/Makefile lib/libspl/include/util/Makefile lib/libavl/Makefile lib/libefi/Makefile lib/libnvpair/Makefile lib/libunicode/Makefile lib/libuutil/Makefile lib/libzpool/Makefile lib/libzfs/Makefile lib/libshare/Makefile cmd/Makefile cmd/zdb/Makefile cmd/zfs/Makefile cmd/zinject/Makefile cmd/zpool/Makefile cmd/ztest/Makefile cmd/zpios/Makefile cmd/mount_zfs/Makefile cmd/zpool_layout/Makefile cmd/zvol_id/Makefile cmd/zpool_id/Makefile cmd/sas_switch_id/Makefile module/Makefile module/avl/Makefile module/nvpair/Makefile module/unicode/Makefile module/zcommon/Makefile module/zfs/Makefile module/zpios/Makefile include/Makefile include/linux/Makefile include/sys/Makefile include/sys/fs/Makefile include/sys/fm/Makefile include/sys/fm/fs/Makefile scripts/Makefile scripts/zpios-profile/Makefile scripts/zpios-test/Makefile scripts/zpool-config/Makefile scripts/zpool-layout/Makefile scripts/common.sh zfs.spec zfs-modules.spec zfs-script-config.sh"
+
+
+ cat >confcache <<\_ACEOF
+@@ -21477,7 +21477,6 @@
+ "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
+ "etc/udev/Makefile") CONFIG_FILES="$CONFIG_FILES etc/udev/Makefile" ;;
+ "etc/udev/rules.d/Makefile") CONFIG_FILES="$CONFIG_FILES etc/udev/rules.d/Makefile" ;;
+- "etc/init.d/Makefile") CONFIG_FILES="$CONFIG_FILES etc/init.d/Makefile" ;;
+ "etc/zfs/Makefile") CONFIG_FILES="$CONFIG_FILES etc/zfs/Makefile" ;;
+ "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
+ "man/man8/Makefile") CONFIG_FILES="$CONFIG_FILES man/man8/Makefile" ;;
--- /dev/null
+Index: b/scripts/Makefile.am
+===================================================================
+--- a/scripts/Makefile.am
++++ b/scripts/Makefile.am
+@@ -1,4 +1,4 @@
+-SUBDIRS = zpool-config zpool-layout zpios-test zpios-profile
++SUBDIRS = zpool-config zpios-test zpios-profile
+
+ pkglibexecdir = $(libexecdir)/@PACKAGE@
+ dist_pkglibexec_SCRIPTS = \
+Index: b/Makefile.am
+===================================================================
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -3,7 +3,7 @@
+ include $(top_srcdir)/config/tgz.am
+
+ if CONFIG_USER
+-USER_DIR = dracut udev etc man scripts lib cmd
++USER_DIR = dracut udev etc man lib cmd
+ endif
+ if CONFIG_KERNEL
+ KERNEL_DIR = module
+Index: b/Makefile.in
+===================================================================
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -131,7 +131,7 @@
+ distdir dist dist-all distcheck
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = dracut udev etc man scripts lib cmd module include
++DIST_SUBDIRS = dracut udev etc man lib cmd module include
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
+@@ -338,7 +338,7 @@
+ top_srcdir = @top_srcdir@
+ udevdir = @udevdir@
+ udevruledir = @udevruledir@
+-@CONFIG_USER_TRUE@USER_DIR = dracut udev etc man scripts lib cmd
++@CONFIG_USER_TRUE@USER_DIR = dracut udev etc man lib cmd
+ @CONFIG_KERNEL_TRUE@KERNEL_DIR = module
+ SUBDIRS = $(USER_DIR) $(KERNEL_DIR) include
+ AUTOMAKE_OPTIONS = foreign
+Index: b/scripts/Makefile.in
+===================================================================
+--- a/scripts/Makefile.in
++++ b/scripts/Makefile.in
+@@ -331,7 +331,7 @@
+ top_srcdir = @top_srcdir@
+ udevdir = @udevdir@
+ udevruledir = @udevruledir@
+-SUBDIRS = zpool-config zpool-layout zpios-test zpios-profile
++SUBDIRS = zpool-config zpios-test zpios-profile
+ dist_pkglibexec_SCRIPTS = \
+ $(top_builddir)/scripts/common.sh \
+ $(top_srcdir)/scripts/zconfig.sh \
--- /dev/null
+Index: b/Makefile.in
+===================================================================
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -47,7 +47,7 @@
+ $(top_srcdir)/module/unicode/Makefile.in \
+ $(top_srcdir)/module/zcommon/Makefile.in \
+ $(top_srcdir)/module/zfs/Makefile.in \
+- $(top_srcdir)/module/zpios/Makefile.in AUTHORS COPYING \
++ $(top_srcdir)/module/zpios/Makefile.in AUTHORS \
+ ChangeLog config/config.guess config/config.sub config/depcomp \
+ config/install-sh config/ltmain.sh config/missing
+ subdir = .
--- /dev/null
+Index: b/config/ltmain.sh
+===================================================================
+--- a/config/ltmain.sh
++++ b/config/ltmain.sh
+@@ -1,3 +1,5 @@
++#!/bin/sh
++
+ # Generated from ltmain.m4sh.
+
+ # ltmain.sh (GNU libtool) 2.2.6b
--- /dev/null
+volatile-version.patch
+#disable-dist-init.patch
+disable-dist-scripts.patch
+lintian-COPYING.patch
+lintian-ltmain.patch
+0001-Use-bin-bash-to-invoke-dracut-scripts.patch
--- /dev/null
+Index: b/META
+===================================================================
+--- a/META
++++ b/META
+@@ -1,7 +1,7 @@
+ Meta: 1
+ Name: zfs
+ Branch: 1.0
+-Version: 0.6.0
++Version: 0.6.0.35
+ Release: rc6
+ Release-Tags: relext
+ License: CDDL
--- /dev/null
+#!/usr/bin/make -f
+
+NAME := $(shell awk '/^Name:/{print $$2}' META)
+VERSION := $(shell awk '/^Version:/{print $$2}' META)
+
+%:
+ dh $@
+
+override_dh_auto_configure:
+ # Build the userland, but don't build the kernel modules.
+ ./configure \
+ --prefix='' \
+ --libexecdir=/usr/libexec \
+ --libdir=/lib \
+ --includedir=/usr/include \
+ --datarootdir=/usr/share \
+ --with-config=user \
+
+override_dh_auto_test:
+ # `make check` cannot run in an unprivileged build environment.
+
+override_dh_auto_install:
+ # Install the utilities.
+ make install DESTDIR='$(CURDIR)/debian/tmp'
+
+ # Get a bare copy of the source code.
+ # This creates the $(CURDIR)/$(NAME)-$(VERSION)/ tree.
+ make distdir
+
+ # @FIXME: Create a distdir_modules rule.
+ #
+ # Scripts distribution is disabled because Lintian complains about
+ # having them in the DKMS sources. Stub the automake files to prevent
+ # a spurious configure error until the distdir rule can be improved.
+ mkdir -p \
+ '$(CURDIR)/$(NAME)-$(VERSION)/scripts' \
+ '$(CURDIR)/$(NAME)-$(VERSION)/scripts/zpios-profile' \
+ '$(CURDIR)/$(NAME)-$(VERSION)/scripts/zpios-test' \
+ '$(CURDIR)/$(NAME)-$(VERSION)/scripts/zpool-config' \
+ '$(CURDIR)/$(NAME)-$(VERSION)/scripts/zpool-layout'
+ touch \
+ '$(CURDIR)/$(NAME)-$(VERSION)/scripts/common.sh.in' \
+ '$(CURDIR)/$(NAME)-$(VERSION)/scripts/Makefile.in' \
+ '$(CURDIR)/$(NAME)-$(VERSION)/scripts/zpios-profile/Makefile.in' \
+ '$(CURDIR)/$(NAME)-$(VERSION)/scripts/zpios-test/Makefile.in' \
+ '$(CURDIR)/$(NAME)-$(VERSION)/scripts/zpool-config/Makefile.in' \
+ '$(CURDIR)/$(NAME)-$(VERSION)/scripts/zpool-layout/Makefile.in'
+
+ # This shunt allows DKMS to delete header files that are peculiar
+ # to each module instance through the POST_REMOVE directive in the
+ # dkms.conf file.
+ echo '#!/bin/sh' >'$(CURDIR)/$(NAME)-$(VERSION)/rm'
+ echo 'rm "$$@"' >>'$(CURDIR)/$(NAME)-$(VERSION)/rm'
+ chmod 755 '$(CURDIR)/$(NAME)-$(VERSION)/rm'
+
+ # Install the DKMS source.
+ mkdir -p '$(CURDIR)/debian/tmp/usr/src/'
+ mv '$(CURDIR)/$(NAME)-$(VERSION)' '$(CURDIR)/debian/tmp/usr/src/'
+
+ # Install the dkms.conf file.
+ dh_dkms -V $(VERSION)
+
+ # Install the init.d file.
+ dh_installinit --name=zfs
+
+override_dh_shlibdeps:
+ dh_shlibdeps -- --warnings=0
--- /dev/null
+3.0 (quilt)
--- /dev/null
+extend-diff-ignore='.*'
--- /dev/null
+# Force the inclusion of Busybox in the initramfs.
+BUSYBOX=y
--- /dev/null
+#!/bin/sh
+#
+# Add ZFS filesystem capabilities to an initrd through update-initramfs.
+#
+
+
+# This module depends on these initramfs-tools modules.
+PREREQ="udev"
+
+# ZFS on Linux uses udev for device node creation.
+PREREQ_UDEV_RULES="60-zpool.rules 60-zvol.rules"
+
+# These prerequisites are provided by the zfs package. The zdb utility is not
+# strictly required, but it can be useful at the initramfs recovery prompt.
+COPY_EXEC_LIST=" \
+ /lib/udev/zvol_id \
+ /lib/udev/zpool_id \
+ /sbin/zdb \
+ /sbin/zpool \
+ /sbin/zfs \
+ /sbin/mount.zfs \
+ "
+
+# These prerequisites are provides by other packages.
+COPY_EXEC_LIST="$COPY_EXEC_LIST /bin/hostname"
+
+# Explicitly specify all modules because dependency resolution is unreliable here.
+MANUAL_ADD_MODULES_LIST="zlib_deflate spl zavl zcommon znvpair zunicode zfs"
+
+# Generic result code.
+RC=0
+
+case $1 in
+prereqs)
+ echo "$PREREQ"
+ exit 0
+ ;;
+esac
+
+for ii in $COPY_EXEC_LIST
+do
+ if [ ! -x "$ii" ]
+ then
+ echo "Error: $ii is not executable."
+ RC=2
+ fi
+done
+
+if [ "$RC" -ne 0 ]
+then
+ exit "$RC"
+fi
+
+. /usr/share/initramfs-tools/hook-functions
+
+mkdir -p "$DESTDIR/etc/"
+mkdir -p "$DESTDIR/lib/udev/rules.d/"
+
+for ii in $PREREQ_UDEV_RULES
+do
+ if [ -e "/etc/udev/rules.d/$ii" ]
+ then
+ cp -p "/etc/udev/rules.d/$ii" "$DESTDIR/lib/udev/rules.d/"
+ elif [ -e "/lib/udev/rules.d/$ii" ]
+ then
+ cp -p "/lib/udev/rules.d/$ii" "$DESTDIR/lib/udev/rules.d/"
+ else
+ echo "Error: Missing udev rule: $ii"
+ echo " This file must be in the /etc/udev/rules.d or /lib/udev/rules.d directory."
+ exit 1
+ fi
+done
+
+for ii in $COPY_EXEC_LIST
+do
+ copy_exec "$ii"
+done
+
+for ii in $MANUAL_ADD_MODULES_LIST
+do
+ manual_add_modules "$ii"
+done
+
+if [ -f "/etc/hostname" ]
+then
+ cp -p "/etc/hostname" "$DESTDIR/etc/"
+else
+ hostname >"$DESTDIR/etc/hostname"
+fi
+
+# The spl package ensures that the /etc/hostid file exists.
+# NB: Commentary in the spl.postinst script.
+cp -p "/etc/hostid" "$DESTDIR/etc/hostid"
+
+if [ -e "/etc/zfs/" ]
+then
+ cp -a "/etc/zfs/" "$DESTDIR/etc/"
+fi
--- /dev/null
+# ZFS boot stub for initramfs-tools.
+#
+# In the initramfs environment, the /init script sources this stub to
+# override the default functions in the /scripts/local script.
+#
+# Enable this by passing boot=zfs on the kernel command line.
+#
+
+
+pre_mountroot()
+{
+ [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-top"
+ run_scripts /scripts/local-top
+ [ "$quiet" != "y" ] && log_end_msg
+}
+
+
+mountroot()
+{
+ pre_mountroot
+
+ [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-premount"
+ run_scripts /scripts/local-premount
+ [ "$quiet" != "y" ] && log_end_msg
+
+ # Wait for all of the /dev/{hd,sd}[a-z] device nodes to appear.
+ wait_for_udev
+
+ # Load the module now to get consistent automatic pool import behavior.
+ modprobe zfs
+
+ # Check the kernel command line for overrides.
+ ZFS_RPOOL="${rpool#rpool=}"
+ ZFS_BOOTFS="${bootfs#bootfs=}"
+
+ if [ -z "$ZFS_RPOOL" ]
+ then
+ # Check for the `-B zfs-bootfs=%s/%u,...` kind of parameter.
+ #
+ # The ${zfs-bootfs} variable is set at the kernel commmand
+ # line, usually by GRUB, but it cannot be referenced here
+ # directly because bourne variable names cannot contain a
+ # hyphen.
+ #
+ # Reassign the variable by dumping the environment and
+ # stripping the zfs-bootfs= prefix. Let the shell handle
+ # quoting through the eval command.
+ eval ZFS_RPOOL=$(set | sed -n -e 's,^zfs-bootfs=,,p')
+
+ # Only the pool name is relevant because the ZFS filesystem on
+ # Linux is extrinsic and the userland cannot resolve a ZFS
+ # object number.
+ #
+ # Strip everything after the first slash character.
+ ZFS_RPOOL=$(echo "$ZFS_RPOOL" | sed -e 's,/.*,,')
+ fi
+
+ # Use "rpool" as the default, like on most Solaris systems.
+ [ -z "$ZFS_RPOOL" ] && ZFS_RPOOL='rpool'
+
+ # @FIXME: Forcing the import should not be necessary.
+ #
+ # Consider inhibiting automatic zpool imports in the initramfs
+ # environment and doing a full import in the regular system instead.
+
+ [ "$quiet" != "y" ] && log_begin_msg "Importing ZFS root pool $ZFS_RPOOL"
+ if [ -f /etc/zfs/zpool.cache ]
+ then
+ ZFS_STDERR=$(zpool list "$ZFS_RPOOL" 1>/dev/null 2>&1 \
+ || zpool import -f -N "$ZFS_RPOOL" 2>&1)
+ ZFS_ERROR=$?
+ else
+ ZFS_STDERR=$(zpool import -f -N "$ZFS_RPOOL" 2>&1)
+ ZFS_ERROR=$?
+ fi
+ [ "$quiet" != "y" ] && log_end_msg
+
+ if [ "$ZFS_ERROR" -ne 0 ]
+ then
+ echo "Command: zpool import -f -N $ZFS_RPOOL"
+ echo "Message: $ZFS_STDERR"
+ echo "Error: $ZFS_ERROR"
+ echo ""
+ echo "Manually import the root pool at the command prompt and then exit."
+ echo "Hint: Try: zpool import -f -R / -N $ZFS_RPOOL"
+ /bin/sh
+ fi
+
+ if [ -z "$ZFS_BOOTFS" ]
+ then
+ [ "$quiet" != "y" ] && log_begin_msg "Getting ZFS bootfs property"
+ ZFS_BOOTFS=$(zpool list -H -o bootfs "$ZFS_RPOOL")
+ ZFS_ERROR=$?
+ [ "$quiet" != "y" ] && log_end_msg
+ fi
+
+ if [ -z "$ZFS_BOOTFS" ]
+ then
+ echo "Command: zpool list -H -o bootfs $ZFS_RPOOL"
+ echo "Error: $ZFS_ERROR, unable to get the bootfs property."
+ echo ""
+ echo "Manually mount the root filesystem on $rootmnt and then exit."
+ echo "Hint: Try: mount -t zfs -o zfsutil $ZFS_RPOOL/ROOT/system $rootmnt"
+ /bin/sh
+ fi
+
+ # Force the mountpoint to the only correct value for a root filesystem.
+ [ "$quiet" != "y" ] && log_begin_msg "Setting mountpoint=/ on ZFS filesystem $ZFS_BOOTFS"
+ ZFS_STDERR=$(zfs set -o mountpoint=/ "$ZFS_BOOTFS" 2>&1)
+ [ "$quiet" != "y" ] && log_end_msg
+
+ # Ideally, the root filesystem would be mounted like this:
+ #
+ # zpool import -R "$rootmnt" -N "$ZFS_RPOOL"
+ # zfs mount -o mountpoint=/ "$ZFS_BOOTFS"
+ #
+ # but the MOUNTPOINT prefix is preserved on descendent filesystem after
+ # the pivot into the regular root, which later breaks things like
+ # `zfs mount -a` and the /etc/mtab refresh.
+
+ [ "$quiet" != "y" ] && log_begin_msg "Mounting ZFS filesystem $ZFS_BOOTFS"
+ ZFS_STDERR=$(mount -t zfs -o zfsutil "$ZFS_BOOTFS" "$rootmnt" 2>&1)
+ ZFS_ERROR=$?
+ [ "$quiet" != "y" ] && log_end_msg
+
+ if [ "$ZFS_ERROR" -ne 0 ]
+ then
+ echo ""
+ echo "Command: mount -t zfs -o zfsutil $ZFS_BOOTFS $rootmnt"
+ echo "Message: $ZFS_STDERR"
+ echo "Error: $ZFS_ERROR"
+ echo ""
+ echo "Manually mount the root filesystem on $rootmnt and then exit."
+ /bin/sh
+ fi
+
+ [ "$quiet" != "y" ] && log_begin_msg "Running /scripts/local-bottom"
+ run_scripts /scripts/local-bottom
+ [ "$quiet" != "y" ] && log_end_msg
+}
--- /dev/null
+version=3
+http://githubredir.debian.net/github/zfs-linux/zfs/([\d\.].*).tar.gz
--- /dev/null
+AUTOINSTALL="yes"
+PACKAGE_NAME="zfs"
+PACKAGE_VERSION="#MODULE_VERSION#"
+PRE_BUILD="configure --prefix=/usr --with-config=kernel --with-linux=$(case `lsb_release -is` in Debian) echo ${kernel_source_dir/%build/source};; *) echo ${kernel_source_dir};; esac) --with-linux-obj=${kernel_source_dir}"
+POST_REMOVE="rm -r /usr/src/zfs-#MODULE_VERSION#/${kernelver}"
+REMAKE_INITRD="$(if test -e /usr/share/initramfs-tools/hooks/zfs -o -e /usr/share/dracut/modules.d/90zfs; then echo yes; else echo no; fi)"
+MAKE[0]="make && make install-data-local && make -C include install"
+BUILT_MODULE_NAME[0]="zavl"
+BUILT_MODULE_LOCATION[0]="module/avl/"
+DEST_MODULE_LOCATION[0]="/extra/zfs/zavl"
+MAKE[1]="true"
+BUILT_MODULE_NAME[1]="zcommon"
+BUILT_MODULE_LOCATION[1]="module/zcommon/"
+DEST_MODULE_LOCATION[1]="/extra/zfs/zcommon"
+MAKE[2]="true"
+BUILT_MODULE_NAME[2]="znvpair"
+BUILT_MODULE_LOCATION[2]="module/nvpair/"
+DEST_MODULE_LOCATION[2]="/extra/zfs/znvpair"
+MAKE[3]="true"
+BUILT_MODULE_NAME[3]="zpios"
+BUILT_MODULE_LOCATION[3]="module/zpios/"
+DEST_MODULE_LOCATION[3]="/extra/zfs/zpios"
+MAKE[4]="true"
+BUILT_MODULE_NAME[4]="zunicode"
+BUILT_MODULE_LOCATION[4]="module/unicode/"
+DEST_MODULE_LOCATION[4]="/extra/zfs/zunicode"
+MAKE[5]="true"
+BUILT_MODULE_NAME[5]="zfs"
+BUILT_MODULE_LOCATION[5]="module/zfs/"
+DEST_MODULE_LOCATION[5]="/extra/zfs/zfs"
--- /dev/null
+COPYRIGHT
+DISCLAIMER
+OPENSOLARIS.LICENSE
--- /dev/null
+zfs-dkms: extra-license-file
--- /dev/null
+#!/bin/sh -e
+
+#DEBHELPER#
--- /dev/null
+#!/bin/sh -e
+
+#DEBHELPER#
--- /dev/null
+usr/share/dracut
--- /dev/null
+../tree/zfs-initramfs/* /
--- /dev/null
+#!/bin/sh -e
+
+# @FIXME: During system start, the /etc/init/mountall.conf on Ubuntu is unable
+# to generate the /etc/mtab file from the /proc/mounts file if a ZFS filesystem
+# is already mounted.
+
+# This depends on mountall 2.18, which recognizes the link.
+ln -sf /proc/mounts /etc/mtab
+
+#DEBHELPER#
--- /dev/null
+activate update-initramfs
--- /dev/null
+COPYRIGHT
+DISCLAIMER
+OPENSOLARIS.LICENSE
--- /dev/null
+etc/zfs/zdev.conf.x4550.example
+etc/zfs/zdev.conf.supermicro.example
+etc/zfs/zdev.conf.dragon.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
--- /dev/null
+etc/zfs/zdev.conf
+sbin
+lib/udev
+usr/share/man
--- /dev/null
+zfsutils: extra-license-file
--- /dev/null
+#!/bin/sh -e
+
+if [ -f /etc/default/zfsload ]
+then
+ mv /etc/default/zfsload /etc/default/zfs
+fi
+
+#DEBHELPER#
--- /dev/null
+# Automatically run `zfs mount -a` at system startup if set non-empty.
+ZFS_MOUNT=''
+
+# Automatically run `zfs unmount -a` at system shutdown if set non-empty.
+ZFS_UNMOUNT=''
--- /dev/null
+#!/bin/sh
+#
+# chkconfig: 2345 01 99
+#
+### BEGIN INIT INFO
+# Provides: zvol zfs
+# Required-Start: $local_fs
+# Required-Stop: $local_fs
+# Required-Start:
+# Required-Stop:
+# Default-Start: 2 3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: Start/stop ZFS subsystem.
+# Description: ZFS is an advanced filesystem designed to simplify managing
+# and protecting your data. This service mounts the ZFS
+# filesystems and starts all related zfs services.
+### END INIT INFO
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+. /lib/lsb/init-functions
+. /lib/init/vars.sh
+
+[ -f /etc/default/zfs ] && . /etc/default/zfs
+
+do_start() {
+ log_begin_msg "Starting ZFS subsystem"
+ log_progress_msg "filesystems"
+ zfs mount -a
+ RET=$?
+ if [ $RET != 0 ] ; then
+ log_end_msg $RET
+ exit $RET
+ fi
+ log_end_msg 0
+
+ log_begin_msg "Exporting ZFS filesystems"
+ zfs share -a
+ log_end_msg $?
+}
+
+do_stop() {
+ log_begin_msg "Stopping ZFS subsystem"
+ log_progress_msg "filesystems"
+ zfs umount -a
+ RET=$?
+ if [ $RET != 0 ] ; then
+ log_end_msg $RET
+ fi
+ log_end_msg 0
+}
+
+do_status() {
+ zpool status
+ echo ''
+ zpool list
+ true
+}
+
+case "$1" in
+ start)
+ [ -z "$ZFS_MOUNT" ] && exit 0
+ do_start
+ ;;
+ stop)
+ [ -z "$ZFS_UNMOUNT" ] && exit 0
+ do_stop
+ ;;
+ status)
+ do_status
+ ;;
+ *)
+ [ -n "$1" ] && echo "Error: Unknown command $1."
+ echo "Usage: $0 {start|stop|status}"
+ exit 3
+ ;;
+esac
+++ /dev/null
-Stub file for 'make dist' distdir rule.
-
-This file is directly referenced by ../Makefile.am as a source
-file and thus will be expected by 'make dist'. To avoid this
-being a problem this stub file was added. It will be overwritten
-at build time based on assmebly generated from atomic.c.
+++ /dev/null
-1x256th-65536rc-4rs-1cs-4off.sh
\ No newline at end of file
--- /dev/null
+#!/bin/bash
+#
+# Usage: zpios
+# --threadcount -t =values
+# --threadcount_low -l =value
+# --threadcount_high -h =value
+# --threadcount_incr -e =value
+# --regioncount -n =values
+# --regioncount_low -i =value
+# --regioncount_high -j =value
+# --regioncount_incr -k =value
+# --offset -o =values
+# --offset_low -m =value
+# --offset_high -q =value
+# --offset_incr -r =value
+# --chunksize -c =values
+# --chunksize_low -a =value
+# --chunksize_high -b =value
+# --chunksize_incr -g =value
+# --regionsize -s =values
+# --regionsize_low -A =value
+# --regionsize_high -B =value
+# --regionsize_incr -C =value
+# --load -L =dmuio|ssf|fpp
+# --pool -p =pool name
+# --name -M =test name
+# --cleanup -x
+# --prerun -P =pre-command
+# --postrun -R =post-command
+# --log -G =log directory
+# --regionnoise -I =shift
+# --chunknoise -N =bytes
+# --threaddelay -T =jiffies
+# --verify -V
+# --zerocopy -z
+# --nowait -O
+# --human-readable -H
+# --verbose -v =increase verbosity
+# --help -? =this help
+
+ZPIOS_CMD="${ZPIOS} \
+ --load=dmuio \
+ --pool=${ZPOOL_NAME} \
+ --name=${ZPOOL_CONFIG} \
+ --threadcount=1,2,4,8,16,32,64,128,256 \
+ --regioncount=65536 \
+ --regionsize=4M \
+ --chunksize=1M \
+ --offset=4M \
+ --cleanup \
+ --human-readable \
+ ${ZPIOS_OPTIONS}"
+
+zpios_start() {
+ if [ ${VERBOSE} ]; then
+ ZPIOS_CMD="${ZPIOS_CMD} --verbose"
+ echo ${ZPIOS_CMD}
+ fi
+
+ ${ZPIOS_CMD} || exit 1
+}
+
+zpios_stop() {
+ [ ${VERBOSE} ] && echo
+}
+++ /dev/null
-256th-65536rc-4rs-1cs-4off.sh
\ No newline at end of file
--- /dev/null
+#!/bin/bash
+#
+# Usage: zpios
+# --threadcount -t =values
+# --threadcount_low -l =value
+# --threadcount_high -h =value
+# --threadcount_incr -e =value
+# --regioncount -n =values
+# --regioncount_low -i =value
+# --regioncount_high -j =value
+# --regioncount_incr -k =value
+# --offset -o =values
+# --offset_low -m =value
+# --offset_high -q =value
+# --offset_incr -r =value
+# --chunksize -c =values
+# --chunksize_low -a =value
+# --chunksize_high -b =value
+# --chunksize_incr -g =value
+# --regionsize -s =values
+# --regionsize_low -A =value
+# --regionsize_high -B =value
+# --regionsize_incr -C =value
+# --load -L =dmuio|ssf|fpp
+# --pool -p =pool name
+# --name -M =test name
+# --cleanup -x
+# --prerun -P =pre-command
+# --postrun -R =post-command
+# --log -G =log directory
+# --regionnoise -I =shift
+# --chunknoise -N =bytes
+# --threaddelay -T =jiffies
+# --verify -V
+# --zerocopy -z
+# --nowait -O
+# --human-readable -H
+# --verbose -v =increase verbosity
+# --help -? =this help
+
+ZPIOS_CMD="${ZPIOS} \
+ --load=dmuio \
+ --pool=${ZPOOL_NAME} \
+ --name=${ZPOOL_CONFIG} \
+ --threadcount=256 \
+ --regioncount=65536 \
+ --regionsize=4M \
+ --chunksize=1M \
+ --offset=4M \
+ --cleanup \
+ --human-readable \
+ ${ZPIOS_OPTIONS}"
+
+zpios_start() {
+ if [ ${VERBOSE} ]; then
+ ZPIOS_CMD="${ZPIOS_CMD} --verbose"
+ echo ${ZPIOS_CMD}
+ fi
+
+ ${ZPIOS_CMD} || exit 1
+}
+
+zpios_stop() {
+ [ ${VERBOSE} ] && echo
+}
+++ /dev/null
-16th-8192rc-4rs-1cs-4off.sh
\ No newline at end of file
--- /dev/null
+#!/bin/bash
+#
+# Usage: zpios
+# --threadcount -t =values
+# --threadcount_low -l =value
+# --threadcount_high -h =value
+# --threadcount_incr -e =value
+# --regioncount -n =values
+# --regioncount_low -i =value
+# --regioncount_high -j =value
+# --regioncount_incr -k =value
+# --offset -o =values
+# --offset_low -m =value
+# --offset_high -q =value
+# --offset_incr -r =value
+# --chunksize -c =values
+# --chunksize_low -a =value
+# --chunksize_high -b =value
+# --chunksize_incr -g =value
+# --regionsize -s =values
+# --regionsize_low -A =value
+# --regionsize_high -B =value
+# --regionsize_incr -C =value
+# --load -L =dmuio|ssf|fpp
+# --pool -p =pool name
+# --name -M =test name
+# --cleanup -x
+# --prerun -P =pre-command
+# --postrun -R =post-command
+# --log -G =log directory
+# --regionnoise -I =shift
+# --chunknoise -N =bytes
+# --threaddelay -T =jiffies
+# --verify -V
+# --zerocopy -z
+# --nowait -O
+# --human-readable -H
+# --verbose -v =increase verbosity
+# --help -? =this help
+
+ZPIOS_CMD="${ZPIOS} \
+ --load=dmuio \
+ --pool=${ZPOOL_NAME} \
+ --name=${ZPOOL_CONFIG} \
+ --threadcount=16 \
+ --regioncount=8192 \
+ --regionsize=4M \
+ --chunksize=1M \
+ --offset=4M \
+ --cleanup \
+ --human-readable \
+ ${ZPIOS_OPTIONS}"
+
+zpios_start() {
+ if [ ${VERBOSE} ]; then
+ ZPIOS_CMD="${ZPIOS_CMD} --verbose"
+ echo ${ZPIOS_CMD}
+ fi
+
+ ${ZPIOS_CMD} || exit 1
+}
+
+zpios_stop() {
+ [ ${VERBOSE} ] && echo
+}
+++ /dev/null
-4th-1024rc-4rs-1cs-4off.sh
\ No newline at end of file
--- /dev/null
+#!/bin/bash
+#
+# Usage: zpios
+# --threadcount -t =values
+# --threadcount_low -l =value
+# --threadcount_high -h =value
+# --threadcount_incr -e =value
+# --regioncount -n =values
+# --regioncount_low -i =value
+# --regioncount_high -j =value
+# --regioncount_incr -k =value
+# --offset -o =values
+# --offset_low -m =value
+# --offset_high -q =value
+# --offset_incr -r =value
+# --chunksize -c =values
+# --chunksize_low -a =value
+# --chunksize_high -b =value
+# --chunksize_incr -g =value
+# --regionsize -s =values
+# --regionsize_low -A =value
+# --regionsize_high -B =value
+# --regionsize_incr -C =value
+# --load -L =dmuio|ssf|fpp
+# --pool -p =pool name
+# --name -M =test name
+# --cleanup -x
+# --prerun -P =pre-command
+# --postrun -R =post-command
+# --log -G =log directory
+# --regionnoise -I =shift
+# --chunknoise -N =bytes
+# --threaddelay -T =jiffies
+# --verify -V
+# --zerocopy -z
+# --nowait -O
+# --human-readable -H
+# --verbose -v =increase verbosity
+# --help -? =this help
+
+ZPIOS_CMD="${ZPIOS} \
+ --load=dmuio \
+ --pool=${ZPOOL_NAME} \
+ --name=${ZPOOL_CONFIG} \
+ --threadcount=4 \
+ --regioncount=1024 \
+ --regionsize=4M \
+ --chunksize=1M \
+ --offset=4M \
+ --cleanup \
+ --human-readable \
+ ${ZPIOS_OPTIONS}"
+
+zpios_start() {
+ if [ ${VERBOSE} ]; then
+ ZPIOS_CMD="${ZPIOS_CMD} --verbose"
+ echo ${ZPIOS_CMD}
+ fi
+
+ ${ZPIOS_CMD} || exit 1
+}
+
+zpios_stop() {
+ [ ${VERBOSE} ] && echo
+}
+++ /dev/null
-1th-16rc-4rs-1cs-4off.sh
\ No newline at end of file
--- /dev/null
+#!/bin/bash
+#
+# Usage: zpios
+# --threadcount -t =values
+# --threadcount_low -l =value
+# --threadcount_high -h =value
+# --threadcount_incr -e =value
+# --regioncount -n =values
+# --regioncount_low -i =value
+# --regioncount_high -j =value
+# --regioncount_incr -k =value
+# --offset -o =values
+# --offset_low -m =value
+# --offset_high -q =value
+# --offset_incr -r =value
+# --chunksize -c =values
+# --chunksize_low -a =value
+# --chunksize_high -b =value
+# --chunksize_incr -g =value
+# --regionsize -s =values
+# --regionsize_low -A =value
+# --regionsize_high -B =value
+# --regionsize_incr -C =value
+# --load -L =dmuio|ssf|fpp
+# --pool -p =pool name
+# --name -M =test name
+# --cleanup -x
+# --prerun -P =pre-command
+# --postrun -R =post-command
+# --log -G =log directory
+# --regionnoise -I =shift
+# --chunknoise -N =bytes
+# --threaddelay -T =jiffies
+# --verify -V
+# --zerocopy -z
+# --nowait -O
+# --human-readable -H
+# --verbose -v =increase verbosity
+# --help -? =this help
+
+
+ZPIOS_CMD="${ZPIOS} \
+ --load=dmuio \
+ --pool=${ZPOOL_NAME} \
+ --name=${ZPOOL_CONFIG} \
+ --threadcount=1 \
+ --regioncount=16 \
+ --regionsize=4M \
+ --chunksize=1M \
+ --offset=4M \
+ --cleanup \
+ --human-readable \
+ ${ZPIOS_OPTIONS}"
+
+zpios_start() {
+ if [ ${VERBOSE} ]; then
+ ZPIOS_CMD="${ZPIOS_CMD} --verbose"
+ echo ${ZPIOS_CMD}
+ fi
+
+ ${ZPIOS_CMD} || exit 1
+}
+
+zpios_stop() {
+ [ ${VERBOSE} ] && echo
+}