OpenZFS on Linux and FreeBSD
Go to file
Massimo Maggi 52cd92022e Fix snapshot automounting with GrSecurity constify plugin.
./configure erroneously detects absence of dops->d_automount
when built against a GrSecurity patched kernel.

Summerized error message found in config.log:

  checking whether dops->d_automount() exists
  ...
  In function 'main': ... error: constified variable 'dops'
  cannot be local

The "dops" variable cannot be a local variable, so it's
moved to the global scope.

This test also fails if the prototype of the dops->d_automount
function pointer is changed.

Signed-off-by: Massimo Maggi <massimo@mmmm.it>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Closes #884
2012-08-24 08:56:38 -07:00
cmd Illumos #1796, #2871, #2903, #2957 2012-08-23 10:40:02 -07:00
config Fix snapshot automounting with GrSecurity constify plugin. 2012-08-24 08:56:38 -07:00
dracut Set zvol discard_granularity to the volblocksize. 2012-08-07 14:55:31 -07:00
etc Set zvol discard_granularity to the volblocksize. 2012-08-07 14:55:31 -07:00
include Illumos #2635: 'zfs rename -f' to perform force unmount 2012-08-23 10:39:43 -07:00
lib Illumos #2803: zfs get guid pretty-prints the output 2012-08-23 10:40:14 -07:00
man Illumos #2635: 'zfs rename -f' to perform force unmount 2012-08-23 10:39:43 -07:00
module Export dmu_buf_rele() symbol 2012-08-14 08:38:19 -07:00
patches Adding grub2 mkconfig support patch 2012-07-30 16:17:23 -07:00
scripts Set zvol discard_granularity to the volblocksize. 2012-08-07 14:55:31 -07:00
udev Set zvol discard_granularity to the volblocksize. 2012-08-07 14:55:31 -07:00
.gitignore Ignore unsigned module build products 2010-03-09 14:14:09 -08:00
AUTHORS Add "ashift" property to zpool create 2011-06-17 16:35:49 -07:00
COPYING Relocate COPYING+COPYRIGHT, remove README cruft 2008-12-01 15:34:53 -08:00
COPYRIGHT Update COPYRIGHT to reference zpios CDDL exceptions. 2010-05-18 14:25:28 -07:00
ChangeLog Add build system 2010-08-31 13:41:27 -07:00
DISCLAIMER Update COPYRIGHT and DISCLAIMER. 2010-05-18 10:32:23 -07:00
META ZFS 0.6.0-rc10 2012-08-14 08:38:19 -07:00
Makefile.am Add copy-builtin to EXTRA_DIST 2012-08-23 09:50:00 -07:00
Makefile.in Add copy-builtin to EXTRA_DIST 2012-08-23 09:50:00 -07:00
OPENSOLARIS.LICENSE Add CDDL license file 2008-12-01 14:49:34 -08:00
PKGBUILD-zfs-modules.in Add make rule for building Arch Linux packages 2011-12-14 19:14:23 -08:00
PKGBUILD-zfs.in Add make rule for building Arch Linux packages 2011-12-14 19:14:23 -08:00
README.markdown Add script for builtin module building. 2012-07-26 13:45:09 -07:00
ZFS.RELEASE Update to onnv_147 2010-08-26 14:24:34 -07:00
autogen.sh Make autogen.sh executable 2011-07-26 10:15:35 -07:00
configure Fix snapshot automounting with GrSecurity constify plugin. 2012-08-24 08:56:38 -07:00
configure.ac Support building a zfs-modules-dkms sub package 2012-08-08 15:21:01 -07:00
copy-builtin Add missing dependencies to ./copy-builtin 2012-08-06 11:47:47 -07:00
dkms.conf.in Support building a zfs-modules-dkms sub package 2012-08-08 15:21:01 -07:00
dkms.postinst Support building a zfs-modules-dkms sub package 2012-08-08 15:21:01 -07:00
zfs-modules.spec.in Cleanly remove zfs-modules-devel headers 2012-08-13 16:35:26 -07:00
zfs-script-config.sh.in Unconditionally load core kernel modules 2010-11-11 11:38:25 -08:00
zfs.release.in Move zfs.release generation to configure step 2012-07-12 12:22:51 -07:00
zfs.spec.in Fix man page installation path 2012-08-10 15:32:30 -07:00
zfs_config.h.in Set zvol discard_granularity to the volblocksize. 2012-08-07 14:55:31 -07:00

README.markdown

Native ZFS for Linux! ZFS is an advanced file system and volume manager which was originally developed for Solaris. It has been successfully ported to FreeBSD and now there is a functional Linux ZFS kernel port too. The port currently includes a fully functional and stable SPA, DMU, and ZVOL with a ZFS Posix Layer (ZPL) on the way!

$ ./configure
$ make pkg

To copy the kernel code inside your kernel source tree for builtin compilation:

$ ./configure --enable-linux-builtin --with-linux=/usr/src/linux-...
$ ./copy-builtin /usr/src/linux-...

Full documentation for building, configuring, and using ZFS can be found at: http://zfsonlinux.org