aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorMateusz Piotrowski <[email protected]>2024-06-03 16:46:46 +0200
committerBrian Behlendorf <[email protected]>2024-08-08 15:23:33 -0700
commit2558518c5d6b5b348aa7b8047ac3c037d3787e6a (patch)
treefb599c386cf6dfd439a7bb986fc3d4ad884423e0 /man
parent7ceb9ad630f3cf4857a9fa2ad860d5990ff3f7c1 (diff)
zpoolprops.7: Fix max length of name of user property
The documentation mentioned that the property name can be 256 characters long. This was incorrect. The last byte is reserved for NUL, so the name provided by the operator can be only 255 characters long. Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Reviewed-by: Allan Jude <[email protected]> Signed-off-by: Mateusz Piotrowski <[email protected]> Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Closes #16248
Diffstat (limited to 'man')
-rw-r--r--man/man7/zpoolprops.74
1 files changed, 2 insertions, 2 deletions
diff --git a/man/man7/zpoolprops.7 b/man/man7/zpoolprops.7
index 9aba11ad5..f4fcc620e 100644
--- a/man/man7/zpoolprops.7
+++ b/man/man7/zpoolprops.7
@@ -28,7 +28,7 @@
.\" Copyright (c) 2021, Colm Buckley <[email protected]>
.\" Copyright (c) 2023, Klara Inc.
.\"
-.Dd January 14, 2024
+.Dd July 29, 2024
.Dt ZPOOLPROPS 7
.Os
.
@@ -488,7 +488,7 @@ The expected convention is that the property name is divided into two portions
such as
.Ar module : Ns Ar property ,
but this namespace is not enforced by ZFS.
-User property names can be at most 256 characters, and cannot begin with a dash
+User property names can be at most 255 characters, and cannot begin with a dash
.Pq Qq Sy - .
.Pp
When making programmatic use of user properties, it is strongly suggested to use