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. Sponsored-by: Klara, Inc. Sponsored-by: Wasabi Technology, Inc. Signed-off-by: Mateusz Piotrowski <0mp@FreeBSD.org>
This commit is contained in:
parent
abb78af3e0
commit
06aa9d1efe
|
@ -28,7 +28,7 @@
|
|||
.\" Copyright (c) 2021, Colm Buckley <colm@tuatha.org>
|
||||
.\" 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
|
||||
|
|
Loading…
Reference in New Issue