Skip to contentSkip to conversation

mkfs.xfs.8: Clarify mkfs vs. mount block size limits.

PATCH In review Eric Sandeen 2 participants 2 messages Jan 21, 2016 – Jan 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mkfs.xfs.8: Clarify mkfs vs. mount block size limits.

The current explanation is a bit vague to the uninitiated; clarify the text to make it obvious that while the mkfs.xfs utility is able to create valid filesystems with block sizes up to 65536, the Linux kernel can only mount filesystems with page sized or smaller blocks.

---

man/man8/mkfs.xfs.8 +4 -1
index 1fe510b..980c7bc 100644
@@ -126,7 +126,10 @@ or in bytes with
 .BR size= .
 The default value is 4096 bytes (4 KiB), the minimum is 512, and the
 maximum is 65536 (64 KiB).
-XFS on Linux currently only supports pagesize or smaller blocks.
+Although
+.B mkfs.xfs
+will accept any of these values and create a valid filesystem,
+XFS on Linux can only mount filesystems with pagesize or smaller blocks.
 .TP
 .BI \-m " global_metadata_options"
 These options specify metadata format options that either apply to the entire

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Eric Sandeen

The current explanation is a bit vague to the uninitiated; clarify the text to make it obvious that while the mkfs.xfs utility is able to create valid filesystems with block sizes up to 65536, the Linux kernel can only mount filesystems with page sized or smaller blocks.

---

Quoted 18 lines
man/man8/mkfs.xfs.8 +4 -1
index 1fe510b..980c7bc 100644
@@ -126,7 +126,10 @@ or in bytes with
 .BR size= .
 The default value is 4096 bytes (4 KiB), the minimum is 512, and the
 maximum is 65536 (64 KiB).
-XFS on Linux currently only supports pagesize or smaller blocks.
+Although
+.B mkfs.xfs
+will accept any of these values and create a valid filesystem,
+XFS on Linux can only mount filesystems with pagesize or smaller blocks.
 .TP
 .BI \-m " global_metadata_options"
 These options specify metadata format options that either apply to the entire
Quoted 4 lines

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs