Bug #8432

zpool(1M) and zfs(1M) need to better describe allowed characters in dataset names

Added by Yuri Pankov 7 months ago.

Status:NewStart date:2017-06-27
Priority:NormalDue date:
Assignee:-% Done:


Category:manpage - manual pages
Target version:-
Difficulty:Bite-size Tags:


currently, zpool(1M) has the following:

             The pool name must begin with a 
             letter, and can only contain alphanumeric characters as well as
             underscore ("_"), dash ("-"), and period (".").

and zfs(1M) doesn't say anything about dataset names at all.

The problem with the description is that set of characters that can be described as alphanumeric depends on the locale, while in reality we only allow [a-zA-Z], so we should either say ASCII alphanumeric characters, or a-zA-Z.

See http://src.illumos.org/source/xref/illumos-gate/usr/src/common/zfs/zfs_namecheck.c#53 for reference.

Also available in: Atom