| 1 |
.TH xfs_protofile 8 |
| 2 |
.SH NAME |
| 3 |
xfs_protofile \- create a protofile for use with mkfs.xfs |
| 4 |
.SH SYNOPSIS |
| 5 |
.B xfs_protofile |
| 6 |
.I path |
| 7 |
[ |
| 8 |
.I paths... |
| 9 |
] |
| 10 |
.br |
| 11 |
.B xfs_protofile \-V |
| 12 |
.SH DESCRIPTION |
| 13 |
.B xfs_protofile |
| 14 |
walks a directory tree to generate a protofile. |
| 15 |
The protofile format is specified in the |
| 16 |
.BR mkfs.xfs (8) |
| 17 |
manual page and is derived from 3rd edition Unix. |
| 18 |
.SH OPTIONS |
| 19 |
.TP 1.0i |
| 20 |
.I path |
| 21 |
Create protofile directives to copy this path into the root directory. |
| 22 |
If the path is a directory, protofile directives will be emitted to |
| 23 |
replicate the entire subtree as a subtree of the root directory. |
| 24 |
If the path is a not a directory, protofile directives will be emitted |
| 25 |
to create the file as an entry in the root directory. |
| 26 |
The first path must resolve to a directory. |
| 27 |
|
| 28 |
.SH BUGS |
| 29 |
Filenames cannot contain spaces. |
| 30 |
Extended attributes are not copied into the filesystem. |
| 31 |
|
| 32 |
.PD |
| 33 |
.RE |