HomeFreeBSD

zpoolprops.7: Fix max length of name of user property

Description

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 <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Signed-off-by: Mateusz Piotrowski <0mp@FreeBSD.org>
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Closes #16248

Details

Provenance
0mpAuthored on Jun 3 2024, 2:46 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 8 2024, 10:23 PM
Parents
rG7ceb9ad630f3: tests: user_property_001_pos: Remove unnecessary evals
Branches
Unknown
Tags
Unknown

Event Timeline