]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
man: document the -n parent mkfs option
authorDarrick J. Wong <djwong@kernel.org>
Wed, 27 Nov 2024 22:13:50 +0000 (14:13 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:23 +0000 (18:01 -0800)
Document the -n parent option to mkfs.xfs so that users will actually
know how to turn on directory parent pointers.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
man/man8/mkfs.xfs.8.in

index a854b0e87cb1a22949ec2eda31f4b90feb5ddd91..e56c8f31a52c78b2237b7ca21af8e4e3b8754c37 100644 (file)
@@ -902,6 +902,18 @@ When CRCs are enabled (the default), the ftype functionality is always
 enabled, and cannot be turned off.
 .IP
 In other words, this option is only tunable on the deprecated V4 format.
+.TP
+.BI parent= value
+This feature creates back references from child files to parent directories
+so that online repair can reconstruct broken directory files.
+The value is either 0 to disable the feature, or 1 to create parent pointers.
+
+By default,
+.B mkfs.xfs
+will not create parent pointers.
+This feature is only available for filesystems created with the (default)
+.B \-m crc=1
+option set.
 .RE
 .PP
 .PD 0