OpenZFS on Linux and FreeBSD
Go to file
наб 35cce6ea63 bash_completion.d: always call zfs/zpool binaries directly
/dev/zfs is 0:0 666 on most systems, so the [ -w /dev/zfs ] check always
succeeds, but if zfs isn't in $PATH (e.g. when completing from
"/sbin/zfs list" on a regular account) this can lead to error spew like

  nabijaczleweli@szarotka:~$ /sbin/zfs list bash: zfs: command not found
  @ bash: zfs: command not found

We only do read-only commands, and quite general ones at that,
so there's no need to elevate one way or another.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11828
2021-04-07 13:27:06 -07:00
.github CI: Increase free space in workflow 2021-04-07 13:24:28 -07:00
cmd fsck.zfs: implement 4/8 exit codes as suggested in manpage 2021-04-07 13:24:18 -07:00
config Bump libzfs.so and libzpool.so versions 2021-04-07 13:25:13 -07:00
contrib bash_completion.d: always call zfs/zpool binaries directly 2021-04-07 13:27:06 -07:00
etc zfs-import-{cache,scan}: change condition to FileNotEmpty 2021-02-05 11:25:22 -08:00
include Use a helper function to clarify gang block size 2021-03-26 11:19:35 -07:00
lib Bump libzfs.so and libzpool.so versions 2021-04-07 13:25:13 -07:00
man Don't scale zfs_zevent_len_max by CPU count 2021-04-07 13:24:38 -07:00
module FreeBSD: Fix stable/12 after AT_BENEATH removal 2021-04-07 13:25:20 -07:00
rpm Bump libzfs.so and libzpool.so versions 2021-04-07 13:25:13 -07:00
scripts Fix error message when zfs module are already unloaded 2021-02-20 20:23:10 -08:00
tests ZTS: inheritance/inherit_001_pos is flaky 2021-04-07 13:26:35 -07:00
udev
.editorconfig
.gitignore
.gitmodules
AUTHORS
CODE_OF_CONDUCT.md Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
COPYRIGHT
LICENSE
META Tag 2.1.0-rc1 2021-03-29 16:39:52 -07:00
Makefile.am Add RELEASES.md file 2021-04-07 13:26:58 -07:00
NEWS Fix NEWS file 2020-08-26 21:44:41 -07:00
NOTICE
README.md Update FreeBSD versions 2021-03-16 15:03:28 -07:00
RELEASES.md Add RELEASES.md file 2021-04-07 13:26:58 -07:00
TEST
autogen.sh
configure.ac ZTS: Add tests for DOS mode attributes 2021-03-16 15:00:14 -07:00
copy-builtin Replace ZFS on Linux references with OpenZFS 2020-10-08 20:10:13 -07:00
zfs.release.in

README.md

img

OpenZFS is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the OpenZFS community. This repository contains the code for running OpenZFS on Linux and FreeBSD.

codecov coverity

Official Resources

Installation

Full documentation for installing OpenZFS on your favorite operating system can be found at the Getting Started Page.

Contribute & Develop

We have a separate document with contribution guidelines.

We have a Code of Conduct.

Release

OpenZFS is released under a CDDL license. For more details see the NOTICE, LICENSE and COPYRIGHT files; UCRL-CODE-235197

Supported Kernels

  • The META file contains the officially recognized supported Linux kernel versions.
  • Supported FreeBSD versions are any supported branches and releases starting from 12.2-RELEASE.