xfs_protofile walks a directory tree to generate a protofile. The
protofile format is specified in the mkfs.xfs(8) manual page and
is derived from 3rd edition Unix.
path Create protofile directives to copy this path into the root
directory. If the path is a directory, protofile
directives will be emitted to replicate the entire subtree
as a subtree of the root directory. If the path is a not a
directory, protofile directives will be emitted to create
the file as an entry in the root directory. The first path
must resolve to a directory.
This page is part of the xfsprogs (utilities for XFS filesystems)
project. Information about the project can be found at
⟨http://xfs.org/⟩. If you have a bug report for this manual page,
send it to linux-xfs@vger.kernel.org. This page was obtained from
the project's upstream Git repository
⟨https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git⟩ on
2025-08-11. (At that time, the date of the most recent commit
that was found in the repository was 2025-06-23.) If you discover
any rendering problems in this HTML version of the page, or you
believe there is a better or more up-to-date source for the page,
or you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a
mail to man-pages@man7.org
xfs_protofile(8)