zfs-project(8)

zfs-project8

Manage projects in zfs filesystem

Usage

zfs {project [{-d | -r}] file | directory…}

zfs {project -C [-kr] file | directory…}

zfs {project -c [-0] [{-d | -r}] [-p id] file | directory…}

zfs {project [-p id] [-rs] file | directory…}

Overview

zfs project [-d|-r] file|directory… List project identifier (ID) and inherit flag of files and directories.

-d

Show the directory project ID and inherit flag, not its children.

-r

List subdirectories recursively.

zfs project -C [-kr] file|directory… Clear project inherit flag and/or ID on the files and directories.

-k

Keep the project ID unchanged. If not specified, the project ID will be reset to zero.

-r

Clear subdirectories' flags recursively.

zfs project -c [-0] [-d|-r] [-p id] file|directory… Check project ID and inherit flag on the files and directories: report entries without the project inherit flag, or with project IDs different from the target directory's project ID or the one specified with -p.

-0

Delimit filenames with a NUL byte instead of newline, don't output diagnoses.

-d

Check the directory project ID and inherit flag, not its children.

-p id

Compare to id instead of the target files and directories' project IDs.

-r

Check subdirectories recursively.

zfs project -p id [-rs] file|directory… Set project ID and/or inherit flag on the files and directories.

-p id

Set the project ID to the given value.

-r

Set on subdirectories recursively.

-s

Set project inherit flag on the given files and directories. This is usually used for setting up tree quotas with -r. In that case, the directory's project ID will be set for all its descendants, unless specified explicitly with -p.

Releases

15 releases since FreeBSD 13.0-RELEASE; the text changed 4 times.

  1. 13.0
  2. 13.1–13.5
  3. 14.0–14.5
  4. 15.0–15.1
  5. 16.0

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.