]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
Per Matthew Ahrens, version 5000 should not be exposed to user and there is
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 4 Apr 2013 17:10:36 +0000 (17:10 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 4 Apr 2013 17:10:36 +0000 (17:10 +0000)
commit87805c9e597c136d4740fd098f8b10815dd1171a
tree5731bd9875b323ad4435fb764ab7822cda13c875
parent0dffa77133535c7fd6843b8d9e80a87b25eb5385
Per Matthew Ahrens, version 5000 should not be exposed to user and there is
a problem with my first revision, namely, specifying -d -o feature@...=enable
will still bail out with:

    'feature@' and 'version' properties cannot be specified together.

Because zpool create -o version=5000 will not likely be supported by other
ZFS implementations (including ours on -CURRENT and 9-STABLE), remove the
hack that make that work.  Users who want feature flags support can still
do an explicit 'zpool upgrade' after creating a pool.

git-svn-id: svn://svn.freebsd.org/base/stable/8@249100 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/cmd/zpool/zpool_main.c