xfs_protofile(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | BUGS | COLOPHON

xfs_protofile(8)         System Manager's Manual         xfs_protofile(8)

NAME         top

       xfs_protofile - create a protofile for use with mkfs.xfs

SYNOPSIS         top

       xfs_protofile path [ paths...  ]
       xfs_protofile -V

DESCRIPTION         top

       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.

OPTIONS         top

       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.

BUGS         top

       Filenames cannot contain spaces.  Extended attributes are not
       copied into the filesystem.

COLOPHON         top

       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)