blob: 75090c138f3393844e6fa147559a060b1b86876e [file] [log] [blame]
.TH xfs_protofile 8
.SH NAME
xfs_protofile \- create a protofile for use with mkfs.xfs
.SH SYNOPSIS
.B xfs_protofile
.I path
[
.I paths...
]
.br
.B xfs_protofile \-V
.SH DESCRIPTION
.B xfs_protofile
walks a directory tree to generate a protofile.
The protofile format is specified in the
.BR mkfs.xfs (8)
manual page and is derived from 3rd edition Unix.
.SH OPTIONS
.TP 1.0i
.I 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.
.SH BUGS
Filenames cannot contain spaces.
Extended attributes are not copied into the filesystem.
.PD
.RE