4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
28 # Copyright (c) 2012 by Delphix. All rights reserved.
31 export BYND_MAX_NAME="byondmaxnamelength\
32 012345678901234567890123456789\
33 012345678901234567890123456789\
34 012345678901234567890123456789\
35 012345678901234567890123456789\
36 012345678901234567890123456789\
37 012345678901234567890123456789\
38 012345678901234567890123456789\
39 012345678901234567890123456789"
41 # There're 3 different prompt messages while create
42 # a volume that great than 1TB on 32-bit
43 # - volume size exceeds limit for this system. (happy gate)
44 # - max volume size is 1TB on 32-bit systems (s10u2)
45 # - value is too large (old)
47 export VOL_LIMIT_KEYWORD1="1TB on 32-bit"
48 export VOL_LIMIT_KEYWORD2="value is too large"
49 export VOL_LIMIT_KEYWORD3="volume size exceeds limit"
51 set -A size "8k" "8K" "1m" "1M" "1mb" "1mB" "1Mb" "1MB" "1g" "1G" \
52 "1p" "1P" "1z" "1Z" "1gb" "1gB" "1Gb" "1GB" "1pb" "1pB" "1Pb" \
53 "1PB" "1zb" "1zB" "1Zb" "1ZB"